Re: USB expansion card for OpenBSD/hppa?
Tom Lane <[email protected]> Sun, 13 Mar 2022 13:26:12 -0400
| Newsgroups | gmane.os.openbsd.hppa |
|---|---|
| Message-ID | <[email protected]> |
I wrote: > ... for small values of "work", anyway. It now shows up with > reasonable-looking entries in pcidump and dmesg. However, > OpenBSD still doesn't see the USB drive I plugged in for > test purposes. In case anybody's interested, I found that NetBSD 9.2 works fine with this hardware. I've been able to install a working system on a USB thumb drive inserted in the StarTech card. (The kernel has to be netboot'ed, since the machine's ancient boot ROM knows nothing of USB, but after that everything is on the USB drive.) Here's relevant dmesg output from NetBSD: [ 1.000000] pci1 at dino1 bus 0 [ 1.000000] pci1: i/o space, memory space enabled [ 1.000000] uhci0 at pci1 dev 2 function 0: VIA Technologies VT83C572 = USB Controller (rev. 0x62) [ 1.000000] uhci0: interrupting at irq 2 [ 1.000000] usb0 at uhci0: USB revision 1.0 [ 1.000000] uhci1 at pci1 dev 2 function 1: VIA Technologies VT83C572 = USB Controller (rev. 0x62) [ 1.000000] uhci1: interrupting at irq 3 [ 1.000000] usb1 at uhci1: USB revision 1.0 [ 1.000000] ehci0 at pci1 dev 2 function 2: VIA Technologies VT8237 EH= CI USB Controller (rev. 0x65) [ 1.000000] ehci0: 32-bit DMA [ 1.000000] ehci0: interrupting at irq 0 [ 1.000000] ehci0: dropped intr workaround enabled [ 1.000000] ehci0: EHCI version 1.0 [ 1.000000] ehci0: 2 companion controllers, 2 ports each: uhci0 uhci1 [ 1.000000] usb2 at ehci0: USB revision 2.0 ... [ 1.177021] uhub0 at usb0: NetBSD (0x0000) UHCI root hub (0x0000), cla= ss 9/0, rev 1.00/1.00, addr 1 [ 1.203955] uhub0: 2 ports with 2 removable, self powered [ 1.203955] uhub1 at usb1: NetBSD (0x0000) UHCI root hub (0x0000), cla= ss 9/0, rev 1.00/1.00, addr 1 [ 1.228708] uhub1: 2 ports with 2 removable, self powered [ 1.228708] uhub2 at usb2: NetBSD (0x0000) EHCI root hub (0x0000), cla= ss 9/0, rev 2.00/1.00, addr 1 [ 1.253188] uhub2: 4 ports with 4 removable, self powered ... [ 2.303397] umass0 at uhub2 port 1 configuration 1 interface 0 [ 2.325317] umass0: SanDisk (0x0781) Ultra Fit (0x5583), rev 2.10/1.00= , addr 2 [ 2.345298] umass0: using SCSI over Bulk-Only [ 2.345298] scsibus2 at umass0: 2 targets, 1 lun per target [ 3.412952] uhub3 at uhub2 port 4: vendor 1a40 (0x1a40) USB 2.0 Hub [M= TT] (0x0101), class 9/0, rev 2.00/1.00, addr 3 [ 3.442913] uhub3: multiple transaction translators [ 3.457875] uhub3: 4 ports with 4 removable, self powered ... [ 11.063199] sd2 at scsibus2 target 0 lun 0: <SanDisk, Ultra Fit, 1.00>= disk removable [ 11.089447] sd2: 58680 MB, 65535 cyl, 16 head, 63 sec, 512 bytes/sect = x 120176640 sectors The bit about "dropped intr workaround enabled" seems pretty interesting, and so does "multiple transaction translators". I guess that NetBSD's USB driver knows a thing or two about this chipset that OpenBSD hasn't learned yet. regards, tom lane