I installed usb-modeswitch on a Huawei HG553 modem (running OpenWRT 14.07 Barrier Breaker), and followed the wiki on their page on how to activate a 3G modem.
I'm using the Haier CE682, and upon checking the JSON config file I found the device/product ID assumed that it is supported, so I run $ > usbmode -s -v -c /etc/usb-mode.json.
However it is still seem disconnected while the install CD function is attached. I tried to enable logging with the /etc/usb_modeswitch.conf file, but I found no long at /var/log/usb_modeswitch_xxx to figure out what's wrong.
Here's my dmesg dump:
Code: Select all
[ 6850.400000] sd 26:0:0:0: [sda] Attached SCSI removable disk
[ 6915.476000] option1 ttyUSB0: option_instat_callback: error -2
[ 6946.484000] option1 ttyUSB0: option_instat_callback: error -2
[ 6948.864000] option1 ttyUSB0: option_instat_callback: error -2
[ 8653.580000] option1 ttyUSB0: option_instat_callback: error -2
[ 8684.596000] option1 ttyUSB0: option_instat_callback: error -2
[ 8686.868000] option1 ttyUSB0: option_instat_callback: error -2
[37815.380000] usb 1-1: USB disconnect, device number 8
[37816.220000] option1 ttyUSB0: option_instat_callback: error -143
[37817.216000] option1 ttyUSB2: usb_wwan_indat_callback: resubmit read urb failed. (-19)
[37817.216000] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19)
[37819.844000] option1 ttyUSB2: usb_wwan_indat_callback: resubmit read urb failed. (-19)
[37821.160000] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19)
[37822.476000] option1 ttyUSB2: usb_wwan_indat_callback: resubmit read urb failed. (-19)
[37823.788000] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19)
[37825.104000] option1 ttyUSB2: usb_wwan_indat_callback: resubmit read urb failed. (-19)
[37826.416000] option1 ttyUSB0: usb_wwan_indat_callback: resubmit read urb failed. (-19)
[37827.768000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[37830.600000] option 1-1:1.0: device disconnected
[37831.584000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[37834.976000] option 1-1:1.3: device disconnected
[37835.752000] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[37838.344000] option 1-1:1.4: device disconnected
[37839.972000] usb 2-1: new full-speed USB device number 4 using ohci-platform
[37842.684000] usb-storage 2-1:1.0: USB Mass Storage device detected
[37844.552000] scsi27 : usb-storage 2-1:1.0
[37845.348000] usb 2-1: USB disconnect, device number 4
[37847.432000] usb 2-1: new full-speed USB device number 5 using ohci-platform
[37849.264000] usb-storage 2-1:1.3: USB Mass Storage device detected
[37852.348000] scsi28 : usb-storage 2-1:1.3
[37854.420000] scsi 28:0:0:0: Direct-Access SDVDISK EVDO ReV A 7.00 PQ: 0 ANSI: 0 CCS
[37855.884000] sd 28:0:0:0: [sda] Attached SCSI removable disk