Re: USB device fails to attach

Valery Ushakov <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
On Mon, Aug 04, 2025 at 01:09:10 +0300, Valery Ushakov wrote:

> But my intel mac mini with NetBSD 10.1 fails with:
> 
>   uhub1: port 1, set config at addr 18 failed
>   uhub1: autoconfiguration error: device problem, disabling port 1

On a hunch I've used USB pass-through to hand this device from my
Linux laptop host to a NetBSD 9 guest in a VirtualBox VM (b/c iirc,
that's how I successfully used it last time I needed to access ffs on
a CF card) and there:

  umass0 at uhub1 port 1 configuration 1 interface 0
  umass0: Generic (0x58f) Mass Storage Device (0x6362), rev 2.00/1.00, addr 2
  umass0: using SCSI over Bulk-Only
  scsibus0 at umass0: 2 targets, 4 luns per target
  sd0 at scsibus0 target 0 lun 0: <Generic, USB SD Reader, 1.00> disk removable
  sd0: drive offline
  sd1 at scsibus0 target 0 lun 1: <Generic, USB CF Reader, 1.01> disk removable
  sd1: drive offline
  sd2 at scsibus0 target 0 lun 2: <Generic, USB SM Reader, 1.02> disk removable
  sd2: drive offline
  sd3 at scsibus0 target 0 lun 3: <Generic, USB MS Reader, 1.03> disk removable
  sd3: drive offline

So there's something that goes askew in the initial autoconf attempt,
but I don't know anything about USB in general and our USB stack in
particular.

-uwe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.