Wow, cool!
I will add this to the usb_modeswitch 'database'.
Re: Huawei u2800: a $40 USB tethering phone?
Support for the model is is now in the latest package, but broken due to the control command being incorrect. See the control message in my previous post.
In order for hot-plug to work under Ubuntu 13.04, (and likely most Linux distros):
1. Create /etc/modprobe.d/usbmodeswitch.conf containing:
# Tell usb-storage to ignore Huawei U2800 phone
options usb-storage quirks=12d1
i
2. update-initramfs -u
3. To have the change take effect, either reboot or 'rmmod usb_storage'.
I believe this solution is applicable for any device usb-storage interferes with, including most phones.
Regards,
Peter Fedorow
In order for hot-plug to work under Ubuntu 13.04, (and likely most Linux distros):
1. Create /etc/modprobe.d/usbmodeswitch.conf containing:
# Tell usb-storage to ignore Huawei U2800 phone
options usb-storage quirks=12d1
2. update-initramfs -u
3. To have the change take effect, either reboot or 'rmmod usb_storage'.
I believe this solution is applicable for any device usb-storage interferes with, including most phones.
Regards,
Peter Fedorow
Re: Huawei u2800: a $40 USB tethering phone?
Don't know how that happened ...
Anyway, I'll release a corrected bug-fix data package tonight.
Regarding the suggestion to "blacklist" all modems and phones - I would be careful with that!
There are several modems I know which need the initialization by the storage driver to make the mode switching work.
If the problem is showing only on Ubuntu and not on Fedora, it's a problem of the specific distribution.
Anyway, I'll release a corrected bug-fix data package tonight.
Regarding the suggestion to "blacklist" all modems and phones - I would be careful with that!
There are several modems I know which need the initialization by the storage driver to make the mode switching work.
If the problem is showing only on Ubuntu and not on Fedora, it's a problem of the specific distribution.
Re: Huawei u2800: a $40 USB tethering phone?
Hi!
I did the following
usb_modeswitch -v 12d1 -p 1805 -C 0xff -M"55534243123456780600000080000601000000000000000000000000000000"
And I get the following output :
[ 101.212202] usb 2-1.3: usbfs: process 2302 (usb_modeswitch) did not claim interface 0 before use
[ 111.439867] usb 2-1.3: USB disconnect, device number 3
[ 112.021410] usb 2-1.3: new high-speed USB device number 4 using ehci-pci
[ 112.115987] usb 2-1.3: New USB device found, idVendor=12d1, idProduct=1805
[ 112.115999] usb 2-1.3: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 112.116004] usb 2-1.3: Product: HuaWei Technologies MSM
[ 112.116010] usb 2-1.3: Manufacturer: HuaWei, Incorporated
[ 112.119075] scsi6 : usb-storage 2-1.3:1.2
[ 112.169353] usbcore: registered new interface driver usbserial
[ 112.169399] usbcore: registered new interface driver usbserial_generic
[ 112.169435] usbserial: USB Serial support registered for generic
[ 112.192062] usbcore: registered new interface driver option
[ 112.192082] usbserial: USB Serial support registered for GSM modem (1-port)
[ 112.192294] option 2-1.3:1.0: GSM modem (1-port) converter detected
[ 112.192415] usb 2-1.3: GSM modem (1-port) converter now attached to ttyUSB0
[ 112.192434] option 2-1.3:1.1: GSM modem (1-port) converter detected
[ 112.192517] usb 2-1.3: GSM modem (1-port) converter now attached to ttyUSB1
[ 113.116579] scsi 6:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 113.119424] sr1: scsi-1 drive
[ 113.119556] sr 6:0:0:0: Attached scsi CD-ROM sr1
[ 113.119622] sr 6:0:0:0: Attached scsi generic sg3 type 5
I do all this and yet it does not work, searched the message displayed on that "usb_modeswitch not claim interface" bug got is very old but if that s not the real problem.
I did the following
usb_modeswitch -v 12d1 -p 1805 -C 0xff -M"55534243123456780600000080000601000000000000000000000000000000"
And I get the following output :
[ 101.212202] usb 2-1.3: usbfs: process 2302 (usb_modeswitch) did not claim interface 0 before use
[ 111.439867] usb 2-1.3: USB disconnect, device number 3
[ 112.021410] usb 2-1.3: new high-speed USB device number 4 using ehci-pci
[ 112.115987] usb 2-1.3: New USB device found, idVendor=12d1, idProduct=1805
[ 112.115999] usb 2-1.3: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 112.116004] usb 2-1.3: Product: HuaWei Technologies MSM
[ 112.116010] usb 2-1.3: Manufacturer: HuaWei, Incorporated
[ 112.119075] scsi6 : usb-storage 2-1.3:1.2
[ 112.169353] usbcore: registered new interface driver usbserial
[ 112.169399] usbcore: registered new interface driver usbserial_generic
[ 112.169435] usbserial: USB Serial support registered for generic
[ 112.192062] usbcore: registered new interface driver option
[ 112.192082] usbserial: USB Serial support registered for GSM modem (1-port)
[ 112.192294] option 2-1.3:1.0: GSM modem (1-port) converter detected
[ 112.192415] usb 2-1.3: GSM modem (1-port) converter now attached to ttyUSB0
[ 112.192434] option 2-1.3:1.1: GSM modem (1-port) converter detected
[ 112.192517] usb 2-1.3: GSM modem (1-port) converter now attached to ttyUSB1
[ 113.116579] scsi 6:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 113.119424] sr1: scsi-1 drive
[ 113.119556] sr 6:0:0:0: Attached scsi CD-ROM sr1
[ 113.119622] sr 6:0:0:0: Attached scsi generic sg3 type 5
I do all this and yet it does not work, searched the message displayed on that "usb_modeswitch not claim interface" bug got is very old but if that s not the real problem.
Re: Huawei u2800: a $40 USB tethering phone?
You can ignore the warning message "usb_modeswitch did not claim interface 0 before use".
Your dmesg shows that usb_modeswitch has done the switching and you have got the 2 ttyUSB devices, what remains for you is to configure your modem manager/dial-up program and connect. This is not a usb_modeswitch task..
Your dmesg shows that usb_modeswitch has done the switching and you have got the 2 ttyUSB devices, what remains for you is to configure your modem manager/dial-up program and connect. This is not a usb_modeswitch task..