From owner-freebsd-stable Sun Apr 15 5: 0:28 2001 Delivered-To: freebsd-stable@freebsd.org Received: from TK212017121218.teleweb.at (TK212017121218.teleweb.at [212.17.121.218]) by hub.freebsd.org (Postfix) with SMTP id BA6DD37B42C for ; Sun, 15 Apr 2001 05:00:20 -0700 (PDT) (envelope-from herbert@TK212017121218.teleweb.at) Received: (qmail 2484 invoked from network); 15 Apr 2001 12:00:18 -0000 Received: from unknown (HELO freebsd2.rocks) (192.168.1.3) by 192.168.1.1 with SMTP; 15 Apr 2001 12:00:18 -0000 Received: (qmail 37399 invoked by uid 1001); 15 Apr 2001 12:00:09 -0000 Date: Sun, 15 Apr 2001 14:00:09 +0200 From: Herbert To: freebsd-stable@FreeBSD.org Subject: USB in FreeBSD 4.3 RCx? Message-ID: <20010415140008.A37371@freebsd2.rocks> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.2-STABLE i386 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hei! Is there something wrong with USB in FreeBSD 4.3 RCx? I got my Handspring Visor working in FreeBSD 4.2, but not with the latest release candidate. My Visor works under NetBSD-1.5.1_BETA (pilot-link,malsync). I compiled USB support into the kernel and later as modules. But my Visor is not found, when I press the Hotsync button. Something strange happened when I compiled USB as modules first time: The USB devices where detected during the boot process: uhci0: port 0xd400-0xd41f irq 11 at device 7.2 on pci0 usb0: on uhci0 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 although kldstat said: Id Refs Address Size Name 1 5 0xc0100000 2b0944 kernel 2 1 0xc03b1000 9cc0 agp.ko 3 1 0xc12a8000 6000 linprocfs.ko 4 1 0xc12d6000 4000 logo_saver.ko 5 1 0xc12dc000 12000 linux.ko When I did kldload usb and kldload ugen I got the following errors: module_register: module usb/uhub already exists! linker_file_sysinit "usb.ko" failed to register! 17 module_register: module uhub/ugen already exists! linker_file_sysinit "ugen.ko" failed to register! 17 Kldstat reported afterwards: Id Refs Address Size Name 1 7 0xc0100000 2b0944 kernel 2 1 0xc03b1000 9cc0 agp.ko 3 1 0xc12a8000 6000 linprocfs.ko 4 1 0xc12d6000 4000 logo_saver.ko 5 1 0xc12dc000 12000 linux.ko 6 1 0xc134f000 19000 usb.ko 7 1 0xc1371000 5000 ugen.ko I compiled the same kernel again and now my USB devices are reported as unknown devices during boot. Loading the modules does work again. kldload usb kldload ugen kldstat Id Refs Address Size Name 1 9 0xc0100000 29b520 kernel 2 1 0xc039c000 9cc0 agp.ko 3 1 0xc12a3000 6000 linprocfs.ko 4 1 0xc12cf000 4000 logo_saver.ko 5 1 0xc12d4000 12000 linux.ko 6 1 0xc1341000 19000 usb.ko 9 1 0xc1381000 10000 mga.ko 10 1 0xc1392000 d000 drm.ko 13 1 0xc15c5000 5000 ugen.ko I can kldunload ugen, but not usb : kldunload -v usb Unloading usb.ko, id=6 kldunload: can't unload file: Device not configured When I got my Visor working under FreeBSD 4.2, I could only use coldsync, but not malsync to sync my avantgo channels. It always reported 'can't bind to /dev/ugen0' As I mentioned earlier, I can sync my Visor under NetBSD-1.5.1_BETA, both with pilot-link and malsync. Any comments? Regards, Herbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message