Page 2 of 2
Posted: 10 Apr 2011, 09:05
by dune
Thanks Josh,
We're already doing that (
http://conclave.notionink.com/showthrea ... lease-when). It's a friendly company that seems to be stuck in a communication mess.
Btw, the static binary version 1.1.7 that I had downloaded still reports version number 1.1.6 when run.
Success! (Partial)
Posted: 11 May 2011, 19:44
by dune
Hi, I am back!
I am happy to say that using the instructions gleaned from this thread, I was successful in running usb_modeswitch on my Android tablet (Notion Ink Adam). Critical to this was of course a modified kernel that included the usb-serial driver and a module for option gsmmodems, passed on to me by a hacker.
I had to jump through various hoops to install this kernel, which required an nvflash and use of the Android Debug Bridge (with USB driver modification) to push the kernel module. This last step is avoidable if you have a rooted device - remount /system as rw, copy driver to /system/lib, run insmod. However, I relied on the suggested method.
Once I had the proper kernel and device driver in place, the other steps were easy:
mount -t usbfs usbfs /proc/bus/usb (this is necessary to avoid the "could not opendir()" error)
echo "12d1 140b" > /sys/bus/usb-serial/drivers/option1/new_id (to flash the switched device ID)
usb_modeswitch -I -W -c /path/to/usb_modeswitch.conf
It correctly identified the device, switched it, and dmesg told me it had been mounted to ttyUSB0 etc.
However, once I copied and modified the dialer script from this thread and went to put it in my /system/etc/ppp folder, I suspected a problem. When I tried to run the dialer, I realised to my dismay that the kernel lacks PPP support.
I am stuck again, but I will ask the friendly hackers to give me a patch for PPP support too.
Posted: 21 Jun 2011, 15:50
by ffxx68
A minor (major?) fix needed in the chat script I gave above:
OK ATD*99#
should be
OK ATDT*99#
Maybe I made a mistake in copying it here on the post...
Posted: 21 Jun 2011, 20:28
by Josh
This should not make any difference at all. ATD means "dial", ATDT means "dial with tone" as opposed to the classic ATDP, "dial with pulse".
In the digital mobile networks, modems know how to dial. Like cell phones, they connect by sending a "setup request message". There is no tone or pulse dialing involved anymore.
Posted: 22 Jun 2011, 10:04
by ffxx68
mhhh ... OK, I see
Thanks for letting me know
Posted: 23 Jun 2011, 10:52
by dune
Hi all,
I am happy to report success in finally getting the modem to work on the Notion Ink Adam. It was a long road with begging hackers to help in getting a kernel with all drivers included. It is still a manual process, but some of the original steps are now unnecessary.
Here's the how-to for anyone who comes looking for a hint.
All of this is thanks to the developers and hackers, including the admin and posters here.
Posted: 09 Aug 2011, 10:31
by dune
Hi Josh, thanks for the updated version of the static ARM binary!
Posted: 09 Aug 2011, 19:15
by Josh
I figured the changes were important enough (new special mode) to justify a version refresh ...
hi all
Posted: 11 Dec 2011, 15:31
by gamming
I need help.
I am using moto xoom hc 3.2 with tiamat rom
I was able to run usb_ modeswith succesfully but i cannot connect to internet. Help pls
<5>[25588.836636] scsi 0:0:0:0: Attached scsi generic sg0 type 5
<6>[26033.981053] USB Serial support registered for GSM modem (1-port)
<6>[26033.981266] usbcore: registered new interface driver option
<6>[26033.981275] option: v0.7.2:USB Driver for GSM modems
<6>[26034.549855] usb 2-1: USB disconnect, address 4
<6>[26036.934677] usb 2-1: new full speed USB device using tegra-ehci and address 5
<3>[26040.264435] usb 2-1: device not accepting address 5, error -71
<3>[26040.324423] hub 2-0:1.0: unable to enumerate USB device on port 1
<6>[26040.604590] usb 2-1: new full speed USB device using tegra-ehci and address 7
<6>[26041.034396] usb 2-1: New USB device found, idVendor=19d2, idProduct=ffdd
<6>[26041.034447] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=11
<6>[26041.034489] usb 2-1: Product: CBP7.1
<6>[26041.034520] usb 2-1: Manufacturer: China TeleCom
<6>[26041.034552] usb 2-1: SerialNumber:
<6>[26041.139685] scsi1 : usb-storage 2-1:1.3
<5>[26042.154572] scsi 1:0:0:0: Direct-Access EVDO ReV A 7.00 PQ: 0 ANSI: 0 CCS
<5>[26042.160628] sd 1:0:0:0: Attached scsi generic sg0 type 0
<5>[26042.194778] sd 1:0:0:0: [sda] Attached SCSI removable disk
<6>[26042.915110] option 2-1:1.0: GSM modem (1-port) converter detected
<6>[26042.916952] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
<6>[26042.917136] option 2-1:1.1: GSM modem (1-port) converter detected
<6>[26042.919032] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
<6>[26042.919211] option 2-1:1.2: GSM modem (1-port) converter detected
<6>[26042.920969] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
I am using ac 682 that supported by usb_modeswitch.
That modem is a cdma modem
I execute pppd call cdma. Nothing happen.
How i know this modem is already connected.
I try echo at > /dev/ttyUSB0 nothing happen.
Please help josh. I hope you read this
hi all
Posted: 11 Dec 2011, 15:33
by gamming
I need help.
I am using moto xoom hc 3.2 with tiamat rom
I was able to run usb_ modeswith succesfully but i cannot connect to internet. Help pls
<5>[25588.836636] scsi 0:0:0:0: Attached scsi generic sg0 type 5
<6>[26033.981053] USB Serial support registered for GSM modem (1-port)
<6>[26033.981266] usbcore: registered new interface driver option
<6>[26033.981275] option: v0.7.2:USB Driver for GSM modems
<6>[26034.549855] usb 2-1: USB disconnect, address 4
<6>[26036.934677] usb 2-1: new full speed USB device using tegra-ehci and address 5
<3>[26040.264435] usb 2-1: device not accepting address 5, error -71
<3>[26040.324423] hub 2-0:1.0: unable to enumerate USB device on port 1
<6>[26040.604590] usb 2-1: new full speed USB device using tegra-ehci and address 7
<6>[26041.034396] usb 2-1: New USB device found, idVendor=19d2, idProduct=ffdd
<6>[26041.034447] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=11
<6>[26041.034489] usb 2-1: Product: CBP7.1
<6>[26041.034520] usb 2-1: Manufacturer: China TeleCom
<6>[26041.034552] usb 2-1: SerialNumber:
<6>[26041.139685] scsi1 : usb-storage 2-1:1.3
<5>[26042.154572] scsi 1:0:0:0: Direct-Access EVDO ReV A 7.00 PQ: 0 ANSI: 0 CCS
<5>[26042.160628] sd 1:0:0:0: Attached scsi generic sg0 type 0
<5>[26042.194778] sd 1:0:0:0: [sda] Attached SCSI removable disk
<6>[26042.915110] option 2-1:1.0: GSM modem (1-port) converter detected
<6>[26042.916952] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
<6>[26042.917136] option 2-1:1.1: GSM modem (1-port) converter detected
<6>[26042.919032] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
<6>[26042.919211] option 2-1:1.2: GSM modem (1-port) converter detected
<6>[26042.920969] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
I am using ac 682 that supported by usb_modeswitch.
That modem is a cdma modem
I execute pppd call cdma. Nothing happen.
How i know this modem is already connected.
I try echo at > /dev/ttyUSB0 nothing happen.
Please help josh. I hope you read this
Posted: 14 Dec 2011, 22:29
by Josh
Did I understand right that your Xoom is the host?
In that case make sure the modem is receiving enough power from the socket. These wireless modems usually need the full 500mA that the USB specification suggests. But many mobile devices can't provide this. If you are not sure if your Xoom can do it, try to use a powered hub between device and modem.
I find that "error 71" suspicious in your log. May be the problem described above.