From owner-freebsd-questions@FreeBSD.ORG Sun Dec 7 06:27:09 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CDB816A4CE for ; Sun, 7 Dec 2003 06:27:09 -0800 (PST) Received: from mailhost.nmt.edu (mailhost.nmt.edu [129.138.4.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 444A443FBD for ; Sun, 7 Dec 2003 06:27:08 -0800 (PST) (envelope-from josyoun@nmt.edu) Received: from [192.168.1.100] (msa-d5-a.rcn.nmt.edu [129.138.37.121]) by mailhost.nmt.edu (8.12.10/8.12.10) with ESMTP id hB7EQwTG018911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 7 Dec 2003 07:27:07 -0700 From: Joseph Young To: freebsd-questions@FreeBSD.ORG Content-Type: text/plain Message-Id: <1070807951.804.1.camel@msa-d5-a.rcn.nmt.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Sun, 07 Dec 2003 07:39:12 -0700 Content-Transfer-Encoding: 7bit Subject: Trouble with USB and Visor on FreeBSD 4.9 Stable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2003 14:27:09 -0000 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@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: port 0xe000-0xe01f irq 11 at device 20.2 on p ci0 usb0: 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: port 0xe400-0xe41f irq 11 at device 20.3 on p ci0 usb1: 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"