Dear list and visor.c maintainer,

I suppose I have found a bug in visor.c.

Using pilot-xfer (pilot-link utility), the communication doesn't work.

More details :

My hardware :

- HP pavilion ze4200 laptop with usb-ohci controller
- Palm Zire m150

After launching the pilot-xfer program with this command-line :

$ pilot-xfer -p /dev/ttyUSB0 -i prog.prc

it leaves me with :

   Port not connected, sleeping for 2 seconds, 1 retries..
   Listening to port: /dev/ttyUSB0
 
   Please press the HotSync button now...

And my palm looses the connection.

More interesting, in /var/log/messages :


Nov 24 10:22:12 lothlorien kernel: hub.c: new USB device 00:02.0-2,
assigned address 5
Nov 24 10:22:12 lothlorien kernel: usb.c: USB device 5 (vend/prod
0x830/0x70) is not claimed by any active driver.
Nov 24 10:22:15 lothlorien kernel: usb.c: registered new driver serial
Nov 24 10:22:15 lothlorien kernel: usbserial.c: USB Serial support
registered for Generic
Nov 24 10:22:15 lothlorien kernel: usbserial.c: USB Serial Driver core
v1.4
Nov 24 10:22:15 lothlorien kernel: usbserial.c: USB Serial support
registered for Handspring Visor / Treo / Palm 4.0 / Cli� 4.x
Nov 24 10:22:15 lothlorien kernel: usbserial.c: Handspring Visor / Treo
/ Palm 4.0 / Cli� 4.x converter detected
Nov 24 10:22:15 lothlorien kernel: usbserial.c: Handspring Visor / Treo
/ Palm 4.0 / Cli� 4.x converter now attached to ttyUSB0 (or usb/tts/0
for devfs)
Nov 24 10:22:15 lothlorien kernel: usbserial.c: Handspring Visor / Treo
/ Palm 4.0 / Cli� 4.x converter now attached to ttyUSB1 (or usb/tts/1
for devfs)
Nov 24 10:22:15 lothlorien kernel: usbserial.c: USB Serial support
registered for Sony Cli� 3.5
Nov 24 10:22:15 lothlorien kernel: visor.c: USB HandSpring Visor, Palm
m50x, Treo, Sony Cli� driver v1.7
Nov 24 10:22:28 lothlorien kernel: i8253 count too high! resetting..
Nov 24 10:22:28 lothlorien kernel: usb.c: USB disconnect on device
00:02.0-2 address 5
Nov 24 10:22:28 lothlorien kernel: visor.c: Bytes In = 0  Bytes Out = 0
Nov 24 10:22:28 lothlorien kernel:  printing eip:
Nov 24 10:22:28 lothlorien kernel: cc86fe54
Nov 24 10:22:28 lothlorien kernel: Oops: 0002
Nov 24 10:22:28 lothlorien kernel: CPU:    0
Nov 24 10:22:28 lothlorien kernel: EIP:    0010:[<cc86fe54>]    Not
tainted
Nov 24 10:22:28 lothlorien kernel: EFLAGS: 00010246
Nov 24 10:22:28 lothlorien kernel: eax: 00000000   ebx: ca9e181c   ecx:
cbe06000   edx: 00000000
Nov 24 10:22:28 lothlorien kernel: esi: 00000001   edi: ca9e1800   ebp:
00000000   esp: cbe07f4c
Nov 24 10:22:28 lothlorien kernel: ds: 0018   es: 0018   ss: 0018
Nov 24 10:22:28 lothlorien kernel: Process khubd (pid: 8,
stackpage=cbe07000)
Nov 24 10:22:28 lothlorien kernel: Stack: cc871180 c6f1e300 cc8711a0
c023709f ca5ecc00 ca9e1800 00000100 00000002
Nov 24 10:22:28 lothlorien kernel:        cbe0aa00 00000001 00000000
ca5ecc00 c023939e cbe0ab14 00000001 00000002
Nov 24 10:22:28 lothlorien kernel:        cbe0aa00 cbe087c0 00000001
00000001 0000000a c023963d cbe087c0 00000001
Nov 24 10:22:28 lothlorien kernel: Call Trace:    [<cc871180>]
[<cc8711a0>] [usb_disconnect+135/292]
[usb_hub_port_connect_change+74/520] [usb_hub_events+225/616]
Nov 24 10:22:28 lothlorien kernel:   [usb_hub_thread+51/168]
[arch_kernel_thread+40/56]
Nov 24 10:22:28 lothlorien kernel:
Nov 24 10:22:28 lothlorien kernel: Code: c7 80 a4 09 00 00 00 00 00 00
8d 4b 5c ff 43 5c 0f 8e d8 03

Result of lsmod :

Module                  Size  Used by    Not tainted
visor                  10336   0
usbserial              17152   0  [visor]

I hope it can help, don't hesitate to ask me more infos. If I can be of
some help...
-- 
Emmanuel Lesouef <[EMAIL PROTECTED]>
Soci�t� Taika



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to