USB / Gnome 2.2 / Tungsten T2
There's piles of traffic concerning USB palms out there. A lot of it
has helped. Still, I'm stalemated. Hopefully someone can help me see
through this last piece of ****.
Status :
Kernel 2.4.22. Has usb-uhci, usbserial, usbcore, visor modules support
and active. Pilot-link 0.11.8. I'm on gnome2.2.
My usb-related /var/log/messages on bootup:
kernel: usb.c: registered new driver usbdevfs
kernel: usb.c: registered new driver hub
kernel: usb.c: registered new driver serial
kernel: usbserial.c: USB Serial support registered for Generic
kernel: usbserial.c: USB Serial Driver core v1.4
kernel: usb-uhci.c: $Revision: 1.275 $ time 18:21:56 Dec 13 2003
kernel: usb-uhci.c: High bandwidth mode enabled
kernel: usb-uhci.c: USB UHCI at I/O 0xef80, IRQ 10
kernel: usb-uhci.c: Detected 2 ports
kernel: usb.c: new USB bus registered, assigned bus number 1
kernel: Product: USB UHCI Root Hub
kernel: SerialNumber: ef80
kernel: hub.c: USB hub found
kernel: hub.c: 2 ports detected
(additional info from dmesg)
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface dfe14ca0
usb.c: kusbd: /sbin/hotplug add 1
kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface
driver
As root, I modproble the visor module, and the following is added
(dmesg output)
usbserial.c: USB Serial support registered for Handspring Visor / Treo
/ Palm 4.0 / Cli? 4.x
usbserial.c: USB Serial support registered for Sony Cli? 3.5
visor.c: USB HandSpring Visor, Palm m50x, Treo, Sony Cli? driver v1.7
At this point, the output from lsmod looks like this:
lsmod
Module Size Used by Not tainted
visor 10316 0 (unused)
serial 43268 0 (autoclean)
usb-uhci 21164 0 (unused)
nls_cp437 4348 1 (autoclean)
parport_pc 11780 1 (autoclean)
lp 5984 0
parport 13792 1 [parport_pc lp]
nls_iso8859-1 2844 1
vfat 9292 1
fat 29272 0 [vfat]
usbserial 16508 0 [visor]
usbcore 61856 1 [visor usb-uhci usbserial]
af_packet 8360 0 (unused)
Looks good, right?
When I press the hotsync button on the cradle, usbview shows the palm
appear, displays the correct serial number, etc:
(usbview output for palm)
Palm Handheld
Manufacturer: Palm, Inc.
Serial Number: 789456963147753159642825
Speed: 12Mb/s (full)
USB Version: 1.10
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 0830
Product Id: 0060
Revision Number: 1.00
Config Number: 1
Number of Interfaces: 1
Attributes: c0
MaxPower Needed: 2mA
Interface Number: 0
Name: serial
Alternate Number: 0
Class: ff(vend.)
Sub Class: 0
Protocol: 0
Number of Endpoints: 4
Endpoint Address: 82
Direction: in
Attribute: 2
Type: Bulk
Max Packet Size: 64
Interval: 0ms
Endpoint Address: 03
Direction: out
Attribute: 2
Type: Bulk
Max Packet Size: 64
Interval: 0ms
Endpoint Address: 08
Direction: out
Attribute: 2
Type: Bulk
Max Packet Size: 64
Interval: 0ms
Endpoint Address: 89
Direction: in
Attribute: 2
Type: Bulk
Max Packet Size: 64
Interval: 0ms
>From this point, however, all palm applications stall. For example, if
I hit the
hotsync button and then run
pilot-xfer -p /dev/ttyUSB1 -l
The message "Please press the HotSync buttno now" displays forever and
then times out. Pressing the HotSync button (pavlov) does nothing.
This occurs no matter
which port I specify (/dev/palm and /dev/pilot both symlink to
/dev/ttyUSB1)
I kill the process with ctrl-c. Dmesg then shows
hub.c: port 1, portstatus 101, change 1, 12 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 101, change 1, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 103, change 0, 12 Mb/s
hub.c: new USB device 00:07.2-1, assigned address 2
usb.c: kmalloc IF d97cfe40, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=5
usb.c: USB device number 2 default language ID 0x409
Manufacturer: Palm, Inc.
Product: Palm Handheld
Serial Number: 7896541233698E2177539514
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Cli? 4.x converter
detected
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Cli? 4.x converter
now attached to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Cli? 4.x converter
now attached to ttyUSB1 (or usb/tts/1 for devfs)
usb.c: serial driver claimed interface d97cfe40
usb.c: kusbd: /sbin/hotplug add 2
hub.c: port 2, portstatus 100, change 0, 12 Mb/s
hub.c: port 1, portstatus 103, change 0, 12 Mb/s
hub.c: port 2, portstatus 100, change 0, 12 Mb/s
usb_control/bulk_msg: timeout
usb_control/bulk_msg: timeout
visor.c: Bytes In = 0 Bytes Out = 0
hub.c: port 1, portstatus 100, change 3, 12 Mb/s
hub.c: port 1 connection change
hub.c: port 1, portstatus 100, change 3, 12 Mb/s
usb.c: USB disconnect on device 00:07.2-1 address 2
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Cli? 4.x converter
now disconnected from ttyUSB0
usbserial.c: Handspring Visor / Treo / Palm 4.0 / Cli? 4.x converter
now disconnected from ttyUSB1
usb.c: kusbd: /sbin/hotplug remove 2
hub.c: port 2, portstatus 100, change 0, 12 Mb/s
hub.c: port 1, portstatus 100, change 2, 12 Mb/s
hub.c: port 1 enable change, status 100
hub.c: port 2, portstatus 100, change 0, 12 Mb/s
I installed the lastest hotplug stuff, though I don't know how that
would help if the system can't comm with the palm.
Oh, and just incase there's a question about other conflicting
processes, here's my ps -A:
ps -A
PID TTY TIME CMD
1 ? 00:00:04 init
2 ? 00:00:00 keventd
0 ? 00:00:00 ksoftirqd_CPU0
0 ? 00:00:00 kswapd
0 ? 00:00:00 bdflush
0 ? 00:00:00 kupdated
45 ? 00:00:00 khubd
149 ? 00:00:00 portmap
275 ? 00:00:00 syslogd
291 ? 00:00:00 klogd
296 ? 00:00:00 cupsd
313 ? 00:00:00 inetd
352 ? 00:00:02 xfs
355 ? 00:00:00 rpc.statd
358 ? 00:00:00 atd
361 ? 00:00:00 cron
365 ? 00:00:00 gdm
369 ? 00:00:00 gdm
371 ? 00:01:08 X
374 tty1 00:00:00 getty
375 tty2 00:00:00 getty
376 tty3 00:00:00 getty
377 tty4 00:00:00 getty
378 tty5 00:00:00 getty
379 tty6 00:00:00 getty
391 ? 00:00:00 gnome-session
417 ? 00:00:00 ssh-agent
420 ? 00:00:00 gconfd-2
422 ? 00:00:00 esd
424 ? 00:00:00 bonobo-activati
426 ? 00:00:00 gnome-smproxy
428 ? 00:00:00 gnome-settings-
430 ? 00:00:00 famd
435 ? 00:00:00 xscreensaver
438 ? 00:00:04 metacity
443 ? 00:00:03 gnome-panel
445 ? 00:00:01 nautilus
446 ? 00:00:00 nautilus
447 ? 00:00:00 nautilus
448 ? 00:00:00 nautilus
449 ? 00:00:00 nautilus
450 ? 00:00:00 nautilus
451 ? 00:00:00 nautilus
452 ? 00:00:00 nautilus
453 ? 00:00:00 nautilus
455 ? 00:00:00 mixer_applet2
475 ? 00:00:05 gnome-terminal
476 ? 00:00:00 gnome-pty-helpe
477 pts/0 00:00:00 bash
480 pts/0 00:00:00 bash
501 pts/0 00:00:05 kate
503 ? 00:00:00 kdeinit
506 ? 00:00:00 kdeinit
509 ? 00:00:00 kdeinit
512 ? 00:00:00 kdeinit
523 ? 00:00:11 kword
525 ? 00:00:00 kdeinit
528 ? 00:00:00 kdeinit
531 ? 00:00:00 kdeinit
534 ? 00:00:00 kdeinit
542 pts/0 00:00:00 usbview
596 pts/0 00:00:00 ps
There's no extraneous gpilotd or anything blocking the apps that I can
see.
Anybody have any ideas?
Thanks for reading this far :)
later,
dirk
Reply to: