usbdevs
Alan Batie
alan at batie.org
Sat Aug 30 14:35:29 PDT 2003
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?
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, addr 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
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.00
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.00
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), DMI(0x0c0b), rev 11.10
port 2 addr 4: low speed, power 98 mA, config 1, USB-PS/2 Optical Mouse(0xc00e), 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 going...
--
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030830/5f02a063/attachment.bin
More information about the freebsd-questions
mailing list