Trouble with USB and Visor on FreeBSD 4.9 Stable

Joseph Young josyoun at nmt.edu
Sun Dec 7 06:27:09 PST 2003


    Currently, I'm using two USB devices, a Logitech Trackball and a
Handspring Visor.  The trackball appears to work fine, but the Visor
does not.  If I boot without the Visor attempting to sync, only the
mouse appears in the boot log; booting with the Visor attempting to
sync, displays both.  After booting, in either case, usbdevs -dv shows
up blank, the trackball works correctly, but the Visor does not.
Further, if I attempt to hotsync, usbdevs -dv still appears blank. 

    Shouldn't usbdevs display both devices?  Further, if it doesn't, how
can I check that FreeBSD is recognizing the devices? 

    Here are some different outputs to help: 

$ uname -a 
FreeBSD xxx.xxx.xxx.xxx 4.9-RELEASE FreeBSD 4.9-RELEASE #4: Sun Dec  7
03:39:19 MST 2003     root at xxx.xxx.xxx.xxx:/usr/obj/usr/src/sys/MYKERNEL
i386 

$ dmesg (generated when asking the Visor to hotsync during boot;
otherwise, the Visor doesn't show up) 
uhci0: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 11 at device
20.2 on p 
ci0 
usb0: <VIA 83C572 USB controller> on uhci0 
usb0: USB revision 1.0 
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 
uhub0: 2 ports with 2 removable, self powered 
uhci1: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 11 at device
20.3 on p 
ci0 
usb1: <VIA 83C572 USB controller> on uhci1 
usb1: USB revision 1.0 
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 
uhub1: 2 ports with 2 removable, self powered 
ums0: Logitech Trackball, rev 1.10/2.20, addr 2, iclass 3/1 
ums0: 3 buttons and Z dir. 
ucom0: Handspring Inc Handspring Visor, rev 1.00/1.00, addr 3 
ucom0: Handspring Inc Handspring Visor, rev 1.00/1.00, addr 3 

The kernel config (I've tried this w/ and w/o ohci): 
# USB support 
device          uhci            # UHCI PCI->USB interface 
#device         ohci            # OHCI PCI->USB interface 
device          usb             # USB Bus (required) 
device          ugen            # Generic 
device          uhid            # "Human Interface Devices" 
device          ukbd            # Keyboard 
device          ums             # Mouse 
# USB Com devices 
device          ucom 
device          uvisor 

$ usbdevs -dv (Same regardless of whether the Visor is attempting to
hotsync) 
Controller /dev/usb0: 
addr 1: self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev
1.00 
  uhub0 
 port 1 powered 
 port 2 powered 

usbd.conf (in case you're wondering, neither coldsync nor pilotlink are
working): 
device "Handspring Visor" 
        devname "ugen[0-9]+" 
        vendor  0x082d 
        product 0x0100 
        release 0x0100 
#        attach "/usr/local/bin/coldsync -md -p /dev/${DEVNAME} -t usb" 
#syncing 
#        attach "/usr/local/bin/coldsync -md -p /dev/${DEVNAME} -t usb
-f /usr/home/josyoun/.coldsyncrc" 
#initalize 
        attach "/usr/local/bin/coldsync -mI -p /dev/${DEVNAME} -t usb -f
/usr/home/josyoun/.coldsyncrc" 
#backup 
#        attach "/usr/local/bin/coldsync -mb /usr/home/josyoun/.palm  -p
/dev/${DEVNAME} -t usb -f /usr/home/josyoun/.coldsyncrc" 
device "Mouse" 
        devname "ums[0-9]+" 
        attach "/usr/sbin/moused -p /dev/${DEVNAME} -I
/var/run/moused.${DEVNAME}.pid ; /usr/sbin/vidcontrol -m on" 



More information about the freebsd-questions mailing list