Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
Anwar
Posts: 3
Joined: 23 Jun 2011, 07:00
Location: Chittagong, Bangladesh

About ZTE AX226 Modem

Post by Anwar » 23 Jun 2011, 13:21

I am dual-booting between Windows 7 ( and Windows XP ) and Ubuntu 11.04.
I recently have a ZTE AX226 WiMAX Modem ( from Bangladeshi WiMAX vendor Banglalion ).
It worked fine with Windows 7 and XP, but in Ubuntu it is not recognized.

After searching google i finally at least able to modeswitch the device,

The Device ID before switching is = 19d2:bccd
The Device ID after switching = 19d2:0172. ( I used the config of BCSM250 Wimax Modem ).

I also verified the device id before and after switching in windows 7.

I still cannot use this device,
so, my question / request is how can i be able to use this device in Ubuntu.

Thanks, in advance.

Josh
Site Admin
Posts: 6593
Joined: 03 Nov 2007, 00:30

Post by Josh » 23 Jun 2011, 15:53

You have probably already created a new config file in /usr/share/usb_modeswitch. The name should be "19d2:bccd", with this contents:

Code: Select all

DefaultVendor= 0x19d2
DefaultProduct=0xbccd

TargetVendor=  0x19d2
TargetProduct= 0x0172

CheckSuccess=20

MessageContent="55534243f0298d8124000000800006bc626563240000000000000000000000"

NoDriverLoading=1
For automatic modeswitching you have to add a line to /lib/udev/40-usb_modeswitch.rules:

Code: Select all

ATTRS{idVendor}=="19d2", ATTRS{idProduct}=="bccd", RUN+="usb_modeswitch '%b/%k'"
Now there should be at least a mode switch when you plug in the device.

I'm not familiar with the driver situation though. There seems to be a Beceem driver that you can probably adapt to your device by adding the new USB ID.


Anwar
Posts: 3
Joined: 23 Jun 2011, 07:00
Location: Chittagong, Bangladesh

How can

Post by Anwar » 23 Jun 2011, 20:02

There seems to be a Beceem driver that you can probably adapt to your device by adding the new USB ID
How can i do that, can you explain further.

Thanks

Josh
Site Admin
Posts: 6593
Joined: 03 Nov 2007, 00:30

Post by Josh » 23 Jun 2011, 20:50

A Linux USB driver module will load automatically if either the device ID is known to it (explicitely added to the driver source code) or the class of the device is defined by the USB standard (printer, storage, sound etc.).

I don't think that your Wimax device has a device class other than 255 which means "vendor-specific". That means the right driver has to know about the device ID. Usually, that's only one line in the source code and does not even require programming skills.

During a quick Internet search I found this:
http://cateee.net/lkddb/web-lkddb/BCM_WIMAX.html

You can see that your device ID is not (yet) listed for the driver.


Anwar
Posts: 3
Joined: 23 Jun 2011, 07:00
Location: Chittagong, Bangladesh

Post by Anwar » 23 Jun 2011, 21:11

You can see that your device ID is not (yet) listed for the driver.
Is it mean that i have to wait for correct driver release for linux ?

Thanks, your help.

Josh
Site Admin
Posts: 6593
Joined: 03 Nov 2007, 00:30

Post by Josh » 24 Jun 2011, 00:20

It means that you can add your device yourself or you can ask the developers of this driver to do it. They might be able to provide advice how to proceed.

Post Reply