USB connect of Visor with 2.2.18pre17

USB connect of Visor with 2.2.18pre17

Post by Holger Schaue » Fri, 27 Oct 2000 19:44:20



Hi there,

I still haven't figured out how to connect (hotsync) my Visor with my
Athlon-System. Here's what I have: a Visor Deluxe, an NMC-Board with
a Via KX133-Chipset (i.e. USB-Adaptor is the same as on the Via
Apollo-Boards, i.e. UHCI-hub) and both USB and serial-cradle.
Hotsyncing via the serial cradle works fine, USB connect works fine
under that Non-OS called Win98. The system is a Debian 2.2 potato with
glibc2.1.

What I did to get the Visor connect via USB under Linux is to install
a plain 2.2.18pre17 (which I was told should include the latest
USB-backport from 2.4.0pre-Kernels) and re-compile, create new
/dev/ttyUSB*-devices and so forth, as described in the
Linux-Visor-Mini-Howto. On pressing the hotsync-button and starting
coldsync (1.2.6) or pilot-link nothing much happens -- other than that
/var/log/messages grows infinitely. This also doesn't change when I
press the hotsync-button again, only when I remove the Visor from the
cradle I can abort the (not at all working) sync. I have two
/proc/bus/usb-directories (with the same inode number) but the Visor
doesn't show up.

This is what I get in /var/log/messages: at first the device is
detected but then somehow it is instantely disconnected (of course, I
didn't touch it):

Oct 26 08:24:19 bauhaus kernel: usbserial.c: serial_open
Oct 26 08:24:19 bauhaus kernel: usb-serial.h: serial_open - serial == NULL
Oct 26 08:24:22 bauhaus kernel: usbserial.c: serial_open
Oct 26 08:24:22 bauhaus kernel: usb-serial.h: serial_open - serial == NULL
Oct 26 08:24:33 bauhaus kernel: usbserial.c: serial_open
Oct 26 08:24:33 bauhaus kernel: usb-serial.h: serial_open - serial == NULL
Oct 26 08:24:33 bauhaus kernel: hub.c: port 1 connection change
Oct 26 08:24:33 bauhaus kernel: hub.c: port 1 connection change
Oct 26 08:24:33 bauhaus kernel: hub.c: portstatus 101, change 1, 12 Mb/s
Oct 26 08:24:33 bauhaus kernel: hub.c: portstatus 101, change 0, 12 Mb/s
Oct 26 08:24:34 bauhaus kernel: hub.c: portstatus 103, change 0, 12 Mb/s
Oct 26 08:24:34 bauhaus kernel: usb.c: USB new device connect, assigned
device number 2
Oct 26 08:24:34 bauhaus kernel: usb.c: kmalloc IF c6f5b400, numif 1
Oct 26 08:24:34 bauhaus kernel: usb.c: new device strings: Mfr=1, Product=2,
SerialNumber=0
Oct 26 08:24:34 bauhaus kernel: usb.c: USB device number 2 default language
ID 0 x409
Oct 26 08:24:34 bauhaus kernel: Manufacturer: Handspring Inc
Oct 26 08:24:34 bauhaus kernel: Product: Handspring Visor
Oct 26 08:24:34 bauhaus kernel: usbserial.c: Looking at Handspring Visor
Vendor id=082d Product id=0100
Oct 26 08:24:34 bauhaus kernel: usbserial.c: descriptor matches
Oct 26 08:24:34 bauhaus kernel: usbserial.c: found bulk in
Oct 26 08:24:34 bauhaus kernel: usbserial.c: found bulk out
Oct 26 08:24:34 bauhaus kernel: usbserial.c: found bulk in
Oct 26 08:24:34 bauhaus kernel: usbserial.c: found bulk out
Oct 26 08:24:34 bauhaus kernel: usbserial.c: Handspring Visor converter
detected
Oct 26 08:24:34 bauhaus kernel: usbserial.c: get_free_serial 2
Oct 26 08:24:34 bauhaus kernel: usbserial.c: get_free_serial - minor base = 0
Oct 26 08:24:34 bauhaus kernel: visor.c: visor_startup
Oct 26 08:24:34 bauhaus kernel: visor.c: visor_startup - Set config to 1
Oct 26 08:24:34 bauhaus kernel: visor.c: Handspring Visor: Number of ports: 2
Oct 26 08:24:34 bauhaus kernel: visor.c: Handspring Visor: port 1, is for
Generic use and is bound to ttyUSB0
Oct 26 08:24:34 bauhaus kernel: visor.c: Handspring Visor: port 2, is for
HotSync use and is bound to ttyUSB1
Oct 26 08:24:34 bauhaus kernel: usbserial.c: Handspring Visor converter now
attached to ttyUSB0 (or usb/tts/0 for devfs)
Oct 26 08:24:34 bauhaus kernel: usbserial.c: Handspring Visor converter now
attached to ttyUSB1 (or usb/tts/1 for devfs)
Oct 26 08:24:34 bauhaus kernel: usb.c: serial driver claimed interface c6f5b400
Oct 26 08:24:34 bauhaus kernel: usb.c: kusbd: /sbin/hotplug add 2
Oct 26 08:24:34 bauhaus kernel: usb.c: kusbd policy returned 0x0
Oct 26 08:24:34 bauhaus kernel: hub.c: port 1 connection change
Oct 26 08:24:34 bauhaus kernel: hub.c: portstatus 103, change 0, 12 Mb/s
Oct 26 08:24:34 bauhaus kernel: usb.c: USB disconnect on device 2
Oct 26 08:24:34 bauhaus kernel: usb.c: kusbd: /sbin/hotplug remove 2
Oct 26 08:24:34 bauhaus kernel: usb.c: kusbd policy returned 0x0
Oct 26 08:24:34 bauhaus kernel: visor.c: visor_shutdown
Oct 26 08:24:34 bauhaus kernel: usbserial.c: Handspring Visor converter now
disconnected from ttyUSB0
Oct 26 08:24:34 bauhaus kernel: usbserial.c: Handspring Visor converter now
disconnected from ttyUSB1
Oct 26 08:24:34 bauhaus kernel: usbserial.c: return_serial
Oct 26 08:24:34 bauhaus kernel: hub.c: portstatus 103, change 0, 12 Mb/s
Oct 26 08:24:34 bauhaus kernel: usb.c: USB new device connect, assigned
device number 2
Oct 26 08:24:34 bauhaus kernel: usb.c: kmalloc IF c6f5b440, numif 1
Oct 26 08:24:34 bauhaus kernel: usb.c: new device strings: Mfr=1, Product=2,
SerialNumber=0
Oct 26 08:24:34 bauhaus kernel: usb.c: USB device number 2 default language
ID 0x409
Oct 26 08:24:34 bauhaus kernel: Manufacturer: Handspring Inc
Oct 26 08:24:34 bauhaus kernel: Product: Handspring Visor
Oct 26 08:24:34 bauhaus kernel: usbserial.c: Looking at Handspring Visor
Vendor id=082d Product id=0100

And then it goes on and on to detect and disconnect ...

Anybody any ideas?

Holger

--
---          http://www.coling.uni-freiburg.de/~schauer/            ---
"I'm just like you -- you're boring, too."
                   -- Hagfish, "Plain"

 
 
 

1. ioctl to USB under 2.2.18

I'm trying to do an ioctl to a USB device, under RedHat, (a 2.2.18 kernel with
the devices built in).  The open call (fd = open( "/dev/usblp0", O_RDWR );)
works fine, but I can't even figure out from any HOWTO or man page, what possible
args to put in the ioctl:
  retval = ioctl( fd, SIOCGIFMAP);

Initially, I'd like to requests PNP Id's from everything on the USB bus.

-Marty

2. Konqueror and Javascript

3. USB sound with kernels 2.2.18 / 2.2.19

4. Problem configuring wireless Network in Mandrake 10.0

5. USB Mouse Problem in 2.4 Kernels - 2.2.18 Works Fine

6. binding two IP to one NIC on solaris

7. USB printer with kernel 2.2.18...

8. 3c509b initiation question

9. USB CD-R suggestions for use with kernel 2.2.18

10. more info on using MOL with kernel 2.2.18 usb devices

11. how to make my imac USB keyboard work with 2.2.18 kernel?

12. LinuxPPC 2.2.18 w/ USB - How do I get my mouse to work?

13. 2.2.18 & USB Does It or Doesn't It