[PLUG] Any experience using a Treo600 as (usb) modem?

Adam L. Klein alklein at dsl-only.net
Wed Apr 28 20:52:02 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric House wrote:

|I'm trying to set up my IBM T41 laptop, running Debian Sarge
|("testing"), to use my Sprint Treo600 as a modem.  Several websites
|suggest that this should be possible, and even give directions, but
|it's not working for me.  The problem is that I have too little
|experience with USB, connecting to the Treo600 from Linux, and Sprint
|to know what's going wrong.  I'll describe what I'm seeing hoping
|it'll make sense to someone who knows more.
|
|My Treo is recognized by the USB subsystem to the extent that I can
|"hotsync" using pilot-link (device /dev/ttyUSB1).  When I hit the
|hotsync button on the Treo's USB cable, entries in /var/log/syslog
|suggest that /dev/ttyUSB0 and /dev/ttyUSB1 are attached to the device.
|But as soon as I fire up minicom and send anything to the device
|(using /dev/ttyUSB0) it crashes (resets).  I've done this with other
|Sprint Treo600s, and with the latest Knoppix, all with the same
|result, so I don't think it's the device or my kernel config.  I'm
|hoping I'm just leaving out a step.
|
|The device works fine as a modem from XP on the laptop (though that's
|with proprietary software, not with the device as a vanilla modem).
|It behaves this way even after a hard reset, so it's not something
|I've added, though it could be a bug in the ROMs.  It's also possible
|that the '##TETHERED' feature -- type that string into the phone app
|to turn on the modem functionality -- has been disabled.  But it works
|for some folks if you believe their websites. :-)
|
|I read somewhere that the Treo needs to be recognized as an acm device
|rather than as usb-serial, but this isn't happening.  Is it possible
|that's part of the problem?  The pilot-link functionality, at least,
|is there via /dev/ttyUSB1, not /dev/ttyACM?.  But could I force it to
|be acm?
|
|Here's what I see in /proc/bus/usb/devices when the Treo's connected.
|I'll include all the devices.  Again, this usb stuff is too new to me.
|I'm running 2.6.5.  On Knoppix (2.4.24?), though, it looks pretty much
|the same except Driver=visor becomes Driver=serial.
|
|T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
|B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
|D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
|P:  Vendor=0000 ProdID=0000 Rev= 2.06
|S:  Manufacturer=Linux 2.6.5 uhci_hcd
|S:  Product=Intel Corp. 82801DB USB (Hub #3)
|S:  SerialNumber=0000:00:1d.2
|C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
|I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
|E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
|
|T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
|B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
|D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
|P:  Vendor=0000 ProdID=0000 Rev= 2.06
|S:  Manufacturer=Linux 2.6.5 uhci_hcd
|S:  Product=Intel Corp. 82801DB USB (Hub #2)
|S:  SerialNumber=0000:00:1d.1
|C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
|I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
|E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
|
|T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
|D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
|P:  Vendor=082d ProdID=0300 Rev= 1.00
|S:  Manufacturer=Palm, Inc.
|S:  Product=Palm Handheld
|S:  SerialNumber=PalmSN12345678
|C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
|I:  If#= 0 Alt= 0 #EPs= 4 Cls=ff(vend.) Sub=00 Prot=00 Driver=visor
|E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
|E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
|E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
|E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
|
|T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
|B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
|D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
|P:  Vendor=0000 ProdID=0000 Rev= 2.06
|S:  Manufacturer=Linux 2.6.5 uhci_hcd
|S:  Product=Intel Corp. 82801DB USB (Hub #1)
|S:  SerialNumber=0000:00:1d.0
|C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
|I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
|E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
|
|T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
|B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
|D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
|P:  Vendor=0000 ProdID=0000 Rev= 2.06
|S:  Manufacturer=Linux 2.6.5 ehci_hcd
|S:  Product=Intel Corp. 82801DB USB2
|S:  SerialNumber=0000:00:1d.7
|C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
|I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
|E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms
|
|Here's what shows up in /var/log/syslog when I put the connected
|device into tethered mode:
|
|Apr 28 18:52:38 toogood kernel: usb 3-2: new full speed USB device
using address 5
|Apr 28 18:52:38 toogood kernel: visor 3-2:1.0: Handspring Visor /
Palm OS converter detected
|Apr 28 18:52:38 toogood kernel: usb 3-2: Handspring Visor / Palm OS
converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
|Apr 28 18:52:38 toogood kernel: usb 3-2: Handspring Visor / Palm OS
converter now attached to ttyUSB1 (or usb/tts/1 for devfs)
|
|I have devfs turned on in my kernel, yet /dev/usb/tts/0 and
|/dev/usb/tts/0 don't exist.  Is *that* part of the problem?
|
|Thanks,
|
|--Eric

A but off-topic, but a co-worker has had success with his Treo 300,
under Windows.  He's looking for a Linux solution (and he's quite
good, so he'll probably find something soon).  I'll keep you (and the
list) posted, if interested

- --
Adam L. Klein
<alklein at dsl-only.net>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAkHu8ddENTvuDvPsRAsggAJ0WlwMrlWaP9Lu/8q56WBVNdRC7oACeN9ab
3ribooOH/Sl5ZKSQLf8lKlc=
=JldW
-----END PGP SIGNATURE-----





More information about the PLUG mailing list