It's rumored that around Thu, May 10, 2001 at 12:47:19PM -0700
Greg KH <[EMAIL PROTECTED]> wrote:
> On Thu, May 10, 2001 at 03:38:17PM -0500, Derrick Daugherty wrote:
> > It's rumored that around Thu, May 10, 2001 at 12:06:31AM -0700
> > Greg KH <[EMAIL PROTECTED]> wrote:
> > > Ok, could you (and anyone else who wants to try) please apply this patch
> > > to your visor.c file, recompile it (you also have to have the previous
> > > visor.h file change for the Palm ids) enable debugging, and try to sync
> > > on ttyUSB1?
> > >
> > > You can now enable debugging by loading the module like:
> > > insmod visor debug=1
> > > instead of having to select it at compile time for kernels 2.4.4 and
> > > greater.
> >
> > Hmm, I don't seem to be getting any further debug info at all.
>
> What does 'dmesg' show? It doesn't look like you have syslogd
> configured to put the kernel debug messages into the var/log/messages
> file. Try adding:
> kern.* -/var/log/kernel
> to /etc/syslog.conf and restarting syslog to get the debug messages to
> go to /var/log/kernel
ah-hah. I thought I had debug going to log/syslog as I usually do but It is
separated into /var/log/debug on this box.
****
pressing the sync button on the cradle:
****
==> /var/log/debug <==
May 10 16:49:56 tachyon kernel: hub.c: port 2 connection change
May 10 16:49:56 tachyon kernel: hub.c: port 2, portstatus 101, change 1, 12 Mb/s
May 10 16:49:56 tachyon kernel: hub.c: port 2, portstatus 103, change 0, 12 Mb/s
May 10 16:49:56 tachyon kernel: usb.c: kmalloc IF ca0cf440, numif 1
==> /var/log/messages <==
May 10 16:49:56 tachyon kernel: Manufacturer: Palm, Inc.
May 10 16:49:56 tachyon kernel: Product: Palm Handheld
May 10 16:49:56 tachyon kernel: SerialNumber: blehbleh
May 10 16:49:56 tachyon kernel: usbserial.c: Handspring Visor converter detected
May 10 16:49:56 tachyon kernel: usbserial.c: Handspring Visor converter now attached
to ttyUSB0 (or usb/tts/0 for devfs)
May 10 16:49:56 tachyon kernel: usbserial.c: Handspring Visor converter now attached
to ttyUSB1 (or usb/tts/1 for devfs)
==> /var/log/debug <==
May 10 16:49:56 tachyon kernel: usb.c: new device strings: Mfr=1, Product=2,
SerialNumber=5
May 10 16:49:56 tachyon kernel: usb.c: USB device number 6 default language ID 0x409
May 10 16:49:56 tachyon kernel: visor.c: visor_startup
May 10 16:49:56 tachyon kernel: visor.c: visor_startup - Set config to 1
May 10 16:49:56 tachyon kernel: visor.c: visor_startup - length = 20, data = 01 00 00
00 63 6e 79 73 02 00 00 00 01 4e 00 5c 00 1e 00 09
May 10 16:49:56 tachyon kernel: visor.c: visor_startup - length = 20, data = 01 00 00
00 63 6e 79 73 02 00 00 00 ea 24 00 1e ea 24 00 03
May 10 16:49:56 tachyon kernel: usb.c: serial driver claimed interface ca0cf440
May 10 16:49:56 tachyon kernel: usb.c: kusbd: /sbin/hotplug add 6
May 10 16:49:56 tachyon kernel: usb.c: kusbd policy returned 0xfffffffe
****
running `pilot-xfer -p /dev/ttyUSB1 -l`
****
==> /var/log/debug <==
May 10 16:50:29 tachyon kernel: visor.c: visor_open - port 1
May 10 16:50:29 tachyon kernel: visor.c: visor_ioctl - port 1, cmd 0x5401
May 10 16:50:29 tachyon kernel: visor.c: visor_ioctl - port 1, cmd 0x5401
May 10 16:50:29 tachyon kernel: visor.c: visor_ioctl - port 1, cmd 0x5402
May 10 16:50:29 tachyon kernel: visor.c: visor_set_termios - port 1
May 10 16:50:29 tachyon kernel: visor.c: visor_set_termios - nothing to change...
May 10 16:50:29 tachyon kernel: visor.c: visor_ioctl - port 1, cmd 0x5401
May 10 16:50:29 tachyon kernel: visor.c: visor_ioctl - port 1, cmd 0x5401
May 10 16:50:29 tachyon kernel: visor.c: visor_ioctl - port 1, cmd 0x5403
May 10 16:50:29 tachyon kernel: visor.c: visor_chars_in_buffer - port 1
May 10 16:50:29 tachyon kernel: visor.c: visor_chars_in_buffer - returns 0
May 10 16:50:29 tachyon kernel: visor.c: visor_set_termios - port 1
May 10 16:50:29 tachyon kernel: visor.c: visor_set_termios - nothing to change...
May 10 16:50:29 tachyon kernel: visor.c: visor_chars_in_buffer - port 1
May 10 16:50:29 tachyon kernel: visor.c: visor_chars_in_buffer - returns 0
May 10 16:50:29 tachyon kernel: visor.c: visor_read_bulk_callback - port 1
May 10 16:50:29 tachyon kernel: visor.c: visor_read_bulk_callback - length = 22, data
= 90 01 00 00 00 00 00 00 00 20 00 00 00 08 00 00 01 00 00 00 00 00
May 10 16:50:29 tachyon kernel: visor.c: visor_chars_in_buffer - port 1
May 10 16:50:29 tachyon kernel: visor.c: visor_chars_in_buffer - returns 0
May 10 16:50:29 tachyon kernel: visor.c: visor_chars_in_buffer - port 1
May 10 16:50:29 tachyon kernel: visor.c: visor_chars_in_buffer - returns 0
***************** 50 lines of the same two messages *********************
==> /var/log/syslog <==
May 10 16:50:39 tachyon kernel: usb-uhci.c: interrupt, status 2, frame# 705
May 10 16:50:39 tachyon kernel: usb-uhci.c: interrupt, status 3, frame# 706
==> /var/log/debug <==
May 10 16:50:39 tachyon kernel: visor.c: visor_chars_in_buffer - port 1
May 10 16:50:39 tachyon kernel: visor.c: visor_chars_in_buffer - returns 0
May 10 16:50:39 tachyon kernel: visor.c: visor_ioctl - port 1, cmd 0x5403
May 10 16:50:39 tachyon kernel: visor.c: visor_chars_in_buffer - port 1
May 10 16:50:39 tachyon kernel: visor.c: visor_chars_in_buffer - returns 0
May 10 16:50:39 tachyon kernel: visor.c: visor_set_termios - port 1
May 10 16:50:39 tachyon kernel: visor.c: visor_set_termios - nothing to change...
May 10 16:50:39 tachyon kernel: visor.c: visor_close - port 1
May 10 16:50:39 tachyon kernel: visor.c: visor_read_bulk_callback - port 1
May 10 16:50:39 tachyon kernel: visor.c: visor_read_bulk_callback - nonzero read bulk
status received: -2
==> /var/log/messages <==
May 10 16:51:01 tachyon kernel: usb.c: USB disconnect on device 6
May 10 16:51:01 tachyon kernel: usbserial.c: Handspring Visor converter now
disconnected from ttyUSB0
May 10 16:51:01 tachyon kernel: usbserial.c: Handspring Visor converter now
disconnected from ttyUSB1
==> /var/log/debug <==
May 10 16:51:01 tachyon kernel: hub.c: port 2 connection change
May 10 16:51:01 tachyon kernel: hub.c: port 2, portstatus 100, change 3, 12 Mb/s
May 10 16:51:01 tachyon kernel: visor.c: visor_shutdown
May 10 16:51:01 tachyon kernel: usb.c: kusbd: /sbin/hotplug remove 6
May 10 16:51:01 tachyon kernel: usb.c: kusbd policy returned 0xfffffffe
May 10 16:51:01 tachyon kernel: hub.c: port 2 enable change, status 100
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-users