Hi Black Rider,
I managed to get my Huawei 3G USB-Stick up and running (actually using it now to edit this message).
Here's what I do:
1.) I added a line in my /etc/init.d/local.sh containing the following:
modprobe usbserial vendor=0x19d2 product=0x0031
2.) I added a udev rule (named 10-wlan-usb.rules in /etc/udev/rules.d containing:
BUS=="usb", SYSFS{idVendor}=="19d2", SYSFS{idProduct}=="2000", RUN+="/usr/sbin/switch"
3.) The command that's executed by udev (/usr/sbin/switch) contains:
#!/bin/sh
/usr/sbin/usb_modeswitch -I -c /etc/usb_modeswitch.d/19d2:2000
4.) /usr/sbin/usb_modeswitch is the ELF-binary you already used, as well as the file in /etc/usb_modswitch.d
5.) What might be a key problem is that the product id changes when the device is switched from virtual-CD-mode (which is used under MSWin to provide the device drivers and application) to modem-mode. (For me this is 19d2:2000 to 19d2:0031). That's why the usbserial-module is installed at boot-time with the product-id :0031. You may find your correct vendor/product-id using lsusb (part of usbutils-package)
6.) Although multiple /dev/ttyUSB-devices might appear, the first device is not necessarily the correct one. For me, /dev/ttyUSB2 is the right device to use with wvdial. I attach my /etc/wvdial.conf for your information, too. I might add, that handing over the PIN with AT+CPIN (or similar) didn't work for me so I deactivated the PIN in my 3G-Card.
Hope you have success, too...
Greets,
Filou
Attachments
- wvdial.txt (0.3 KB, 1,280 downloads) 13 years old