matilda:~$ pilot-xfer -L
No $PILOTPORT specified and no -p <port> given.
Defaulting to '/dev/pilot'
Listening to port: /dev/pilot
Please press the HotSync button now... (hangs)


The hotsync to my m515 was working 2 weeks ago, but has now mysteriously stopped. The syslog indicates that the visor drivers are being installed ok.

Strange. The only significant thing that may have changed was the usb-perms deb package.

Here is a summary of my system:

Versions:
Palm Pilot m515 (usb)
Debian 3.0 / testing
Kernel 2.4.19
KPilot 4.3.3
pilot-link 0.11.5

matilda:/etc/devfs# lsmod
visor 10348 6
usbserial 17020 0 [visor]
usbcore 62624 1 [visor usbserial hid usb-uhci]
usb-uhci 21516 0 (unused)
hid 19396 0 (unused)

>insmod usbserial vendor=0x830 product=0x3

Using /lib/modules/2.4.19/kernel/drivers/usb/serial/usbserial.o
insmod: a module named usbserial already exists

> USB serial Converter in kernel - yes
> Generic serial driver in kernel, & visor driver - yes
> kuser (OR gpasswd -a myusername dialout)

> ln -s /dev/ttyUSB0 /dev/pilot
> chown root.dialout /dev/pilot

> Edit the usbfs:
----------------/etc/devfs/perms----------------------------
REGISTER ^(tts|cua)/[^/]*$ PERMISSIONS root.dialout 0777
REGISTER ^usb/tts/[0-9]* PERMISSIONS root.dialout 0777
REGISTER ^tts/USB[0-9]* PERMISSIONS root.dialout 0777
REGISTER ^tts/0 PERMISSIONS root.dialout 0777
REGISTER ^tts/1 PERMISSIONS root.dialout 0777
REGISTER ^usb/tts/0 PERMISSIONS root.dialout 0777
REGISTER ^usb/tts/1 PERMISSIONS root.dialout 0777
-------------------------------------------------------------------------------------

> update-devfsd

> mv /usr/local/bin/pilot-* /usr/bin/
> chown root.dialout /usr/bin/pilot-*
> chmod 770 /usr/bin/pilot-*
(and do the same for other locally compiled pilot binaries)

> apt-get install kpim
> knotes must be running for it's conduit to work, and therefore the sync.

> matilda:/$ kpilotDaemon > /tmp/daemon.log 2>&1


matilda:/$ kpilotDaemon > /tmp/daemon.log 2>&1
matilda:/$ tail -f /tmp/daemon.log

requestSync: Next sync is: HotSync
openDevice (../../../kpilot/lib/kpilotlink.cc:165)
openDevice (../../../kpilot/lib/kpilotlink.cc:165)
openDevice (../../../kpilot/lib/kpilotlink.cc:165)
openDevice (../../../kpilot/lib/kpilotlink.cc:165)
open (../../../kpilot/lib/kpilotlink.cc:208)
open: Got master 10
open: Binding to path /dev/ttyUSB0

... then hangs.


matilda:/dev# ls -al /dev/pilot
lr-xr-xr-x 1 root root 7 Nov 7 21:58 /dev/pilot -> ttyUSB0

matilda:/dev# ls -al /dev/ttyUSB?
lr-xr-xr-x 1 root root 9 Nov 10 15:33 /dev/ttyUSB0 -> usb/tts/0
lr-xr-xr-x 1 root root 9 Nov 10 15:33 /dev/ttyUSB1 -> usb/tts/1

matilda:/dev# ls -al /dev/usb/tts/?
crwxrwxrwx 1 root dialout 188, 0 Jan 1 1970 /dev/usb/tts/0
crwxrwxrwx 1 root dialout 188, 1 Jan 1 1970 /dev/usb/tts/1


matilda:/# tail -f /var/log/syslog

Nov 10 15:55:09 matilda kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s
Nov 10 15:55:09 matilda kernel: hub.c: port 1 connection change
Nov 10 15:55:09 matilda kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s
Nov 10 15:55:09 matilda kernel: hub.c: port 1, portstatus 101, change 0, 12 Mb/s
Nov 10 15:55:10 matilda last message repeated 3 times
Nov 10 15:55:10 matilda kernel: hub.c: port 1, portstatus 103, change 0, 12 Mb/s
Nov 10 15:55:10 matilda kernel: hub.c: USB new device connect on bus1/1, assigned device number 23
Nov 10 15:55:10 matilda kernel: usb.c: kmalloc IF cdbb31c0, numif 1
Nov 10 15:55:10 matilda kernel: usb.c: new device strings: Mfr=1, Product=2, SerialNumber=5
Nov 10 15:55:10 matilda kernel: usb.c: USB device number 23 default language ID 0x409
Nov 10 15:55:10 matilda kernel: Manufacturer: Palm, Inc.
Nov 10 15:55:10 matilda kernel: Product: Palm Handheld
Nov 10 15:55:10 matilda kernel: SerialNumber: 00RP3CK169G8
Nov 10 15:55:10 matilda kernel: usbserial.c: Palm 4.0 converter detected
Nov 10 15:55:10 matilda kernel: visor.c: Palm 4.0: Number of ports: 2
Nov 10 15:55:10 matilda kernel: visor.c: Palm 4.0: port 1, is for Generic use and is bound to ttyUSB0
Nov 10 15:55:10 matilda kernel: visor.c: Palm 4.0: port 2, is for HotSync use and is bound to ttyUSB1
Nov 10 15:55:10 matilda kernel: usbserial.c: Palm 4.0 converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
Nov 10 15:55:10 matilda kernel: usbserial.c: Palm 4.0 converter now attached to ttyUSB1 (or usb/tts/1 for devfs)
Nov 10 15:55:10 matilda kernel: usb.c: serial driver claimed interface cdbb31c0
Nov 10 15:55:10 matilda kernel: usb.c: kusbd: /sbin/hotplug add 23
Nov 10 15:55:10 matilda kernel: hub.c: port 2, portstatus 100, change 0, 12 Mb/s
Nov 10 15:55:10 matilda kernel: hub.c: port 1, portstatus 103, change 0, 12 Mb/s
Nov 10 15:55:10 matilda kernel: hub.c: port 2, portstatus 100, change 0, 12 Mb/s
Nov 10 15:55:10 matilda /sbin/hotplug: arguments (usb) env (DEVFS=/proc/bus/usb OLDPWD=/ PATH=/bin:/sbin:/usr/sbin:/usr/bin ACTION=add PWD=/etc/hotplug SHLVL=1 HOME=/ DEVICE=/proc/bus/usb/001/023 INTERFACE=255/0/0 PRODUCT=830/3/100 TYPE=0/0/0 DEBUG=kernel _=/usr/bin/env)
Nov 10 15:55:10 matilda /sbin/hotplug: invoke /etc/hotplug/usb.agent ()
Nov 10 15:55:13 matilda /etc/hotplug/usb.agent: Setup visor for USB product 830/3/100


ps. If I can get this working I will have shaken off the M$ monkey completely!
Thanks pilot-link team for the great progress so far.

pps. Sorry to pilot-link if this turns out to be a debian specific problem.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to