User:Delimiter/Treo 650

From ConShell
Jump to navigation Jump to search
Treo650.jpg

I've had this Treo 650 since about early 2006. Here are some details about getting it recognized and sync-able under Linux ... specifically Ubuntu Edgy Eft and Feisty Fawn (below).

Doing nothing else but plugging in to the USB port and initiating a hot sync, this appears in /proc/bus/usb/devices:

T:  Bus=05 Lev=02 Prnt=02 Port=02 Cnt=03 Dev#=  9 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs=  1
P:  Vendor=0830 ProdID=0061 Rev= 1.00
S:  Manufacturer=PalmOne, 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=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=86(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=07(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

Here is what appears in /var/log/syslog:

kernel: [17428835.856000] usb 5-6.3: new full speed USB device using ehci_hcd and address 10
kernel: [17428835.948000] usb 5-6.3: configuration #1 chosen from 1 choice
kernel: [17428835.948000] visor 5-6.3:1.0: Handspring Visor / Palm OS converter detected
kernel: [17428835.948000] usb 5-6.3: Handspring Visor / Palm OS converter now attached to ttyUSB2
kernel: [17428835.948000] usb 5-6.3: Handspring Visor / Palm OS converter now attached to ttyUSB3

Lo-and-behold /dev/pilot just "appears":

mdf-laptop:~> ls -al /dev/pilot 
lrwxrwxrwx 1 root root 7 2007-03-05 07:40 /dev/pilot -> ttyUSB

I added this line to /etc/modprobe.d/options and rebooted.

options visor vendor=0x830 product=0x61

Same story, but under Feisty.


Here is what appears in /var/log/syslog:

May 31 12:18:43 mdf-laptop kernel: [ 8414.180000] usb 5-6.3: configuration #1 chosen from 1 choice
May 31 12:18:43 mdf-laptop NetworkManager: <debug info>^I[1180639123.453217] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_830_61_PalmSN12345678').
May 31 12:18:43 mdf-laptop NetworkManager: <debug info>^I[1180639123.479246] nm_hal_device_added (): New  device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_830_61_PalmSN12345678_if0').
May 31 12:18:43 mdf-laptop NetworkManager: <debug info>^I[1180639123.486783] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_830_61_PalmSN12345678_usbraw')

And yet the device is not there.

mdf-laptop:~> ls -al /dev/pilot
ls: /dev/pilot: No such file or directory

Under /proc/bus/usb/devices:

T:  Bus=05 Lev=02 Prnt=02 Port=02 Cnt=03 Dev#=  8 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs=  1
P:  Vendor=0830 ProdID=0061 Rev= 1.00
S:  Manufacturer=PalmOne, 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=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=86(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=07(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

Doing a modprobe visor after adding the line in /etc/modprobe.d/options and we're in business.

May 31 12:28:36 mdf-laptop kernel: [ 9007.112000] usb 5-6.3: Handspring Visor / Palm OS converter now attached to ttyUSB1
May 31 12:28:36 mdf-laptop kernel: [ 9007.112000] usbcore: registered new interface driver visor
mdf-laptop:~# ls -al /dev/ttyUSB*
crw-rw-r-- 1 root dialout 188, 0 2007-05-31 12:29 /dev/ttyUSB0
crw-rw-r-- 1 root dialout 188, 1 2007-05-31 12:29 /dev/ttyUSB1
mdf-laptop:~# ls -al /dev/pilot
lrwxrwxrwx 1 root root 7 2007-05-31 12:29 /dev/pilot -> ttyUSB1

Note that these device files only appear after initiating a hot sync from the Treo.


Bluetooth & Dial-up networking

Lots of fun to be had here.

Here are some helpful links.

I was able to get most of the way to setting it up, but ultimately the ppp connection fails when initializing the "modem" (AT) never returns OK. Might be the channel. Never mind that I haven't setup the PAP secrets file for Cingular.

Anyway, my setup notes are in bluetooth-dun-treo-notes