Date: Sat, 30 Aug 2003 14:35:26 -0700 From: Alan Batie <alan@batie.org> To: freebsd-questions@freebsd.org Subject: Re: usbdevs Message-ID: <20030830213526.GA76426@agora.rdrop.com> In-Reply-To: <Pine.BSF.4.21.0308281934030.57303-100000@server1.ultratrends.com> References: <20030828212015.GC32069@agora.rdrop.com> <Pine.BSF.4.21.0308281934030.57303-100000@server1.ultratrends.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 28, 2003 at 07:36:26PM -0700, Technical Director wrote: > Do you get ugen# announcements for generic usb devices on boot up?=20 OK, I got a D-Link USB 2 pci card, and now the devices get seen at boot up, though it still thinks it's uhci instead of ohci; I don't know what's what, but thought uhci was 1.1 and ohci was 2.0: uhci0: <Intel 82371SB (PIIX3) USB controller> port 0xe400-0xe41f irq 12 at = device 1.2 on pci0 usb0: <Intel 82371SB (PIIX3) USB controller> on uhci0 usb0: USB revision 1.0 uhub0: Intel 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 0xe000-0xe01f irq 12 at device 9.0 = on pci0 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 uhub2: NEC Corporation USB2.0 Hub Controller, class 9/0, rev 2.00/1.00, add= r 2 uhub2: 4 ports with 4 removable, self powered umass0: DMI USB 2.0 Storage Adaptor, rev 2.00/11.10, addr 3 ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 4, iclass 3/1 ums0: 3 buttons and Z dir. ugen0: Prolific Technology PL2303 Serial adapter (ATEN/IOGEAR UC232A), rev = 1.10/2.02, addr 5 uhci2: <VIA 83C572 USB controller> irq 0 at device 9.1 on pci0 uhci2: Could not map ports device_probe_and_attach: uhci2 attach returned 6 pci0: <USB controller> at 9.2 irq 11 Hmmm, it even found the hard disk: da0 at umass-sim0 bus 0 target 0 lun 0 da0: <Maxtor 6 E030L0 NAR6> Fixed Direct Access SCSI-0 device=20 da0: 650KB/s transfers da0: 29325MB (60058656 512 byte sectors: 64H 32S/T 29325C) But usbdevs still reports: usbdevs -v Controller /dev/usb0: addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1= =2E00 port 1 powered port 2 powered It *looks* like it's only looking at the onboard controller, and not the add on... Ah Hah! cd /dev; sh ./MAKEDEV usb1 Now: usbdevs -v Controller /dev/usb0: addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1= =2E00 port 1 powered port 2 powered Controller /dev/usb1: addr 1: self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 port 1 powered port 2 addr 2: self powered, config 1, USB2.0 Hub Controller(0x0058), NEC = Corporation(0x0409), rev 1.00 port 1 addr 3: self powered, config 2, USB 2.0 Storage Adaptor(0xb001), D= MI(0x0c0b), rev 11.10 port 2 addr 4: low speed, power 98 mA, config 1, USB-PS/2 Optical Mouse(0= xc00e), Logitech(0x046d), rev 11.10 port 3 addr 5: power 500 mA, config 1, PL2303 Serial adapter (ATEN/IOGEAR= UC232A)(0x2303), Prolific Technology(0x067b), rev 2.02 port 4 powered I did check, and it didn't see the hard disk before, so both the new controller, and adding the /dev node were needed for usbdevs. The mouse daemon came up on its own with the new controller, so things are looking good... Now to figure out how to get the disk and serial port devices goin= g... --=20 Alan Batie ______ alan.batie.org Me alan at batie.org \ / www.qrd.org The Triangle PGPFP DE 3C 29 17 C0 49 7A \ / www.pgpi.com The Weird Numbers 27 40 A5 3C 37 4A DA 52 B9 \/ spamassassin.taint.org NO SPAM! To announce that there must be no criticism of the President, or that we are to stand by the President, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public. -Theodore Roosevelt, 26th US President (1858-1919) --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iQCVAwUBP1EYnov4wNua7QglAQHRrgP/V7vokQgC/eqC+m+uQdQY+f9dpZAbUaPC 30tWtyLrM5l2LuEV1W/WBnkq6Y9me8/Dm1XuOIULFFMgukcvbU+4mcH6PXcLV3fH d37PXG51bb0jIKPK7DsxcwxChqEZuGeXFsZCK10cUsdfkMD6OkAfhCk6Fl0OWuLT JMKRNIVg+rE= =DFQo -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030830213526.GA76426>