Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2022 17:09:20 +0100
From:      Mike Clarke <jmc-freebsd2@milibyte.co.uk>
To:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   13.0-RELEASE fails to detect SD card reader
Message-ID:  <2878244.hHqAuc6tWs@curlew>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--nextPart2270801.THHZn3L5Ee
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="UTF-8"

I have an Akasa AK-ICR-01B card reader connected to a USB header on the motherboard

With previous versions of FreeBSD the reader was detected at boot time and device nodes 
are created for da0, da1, da2 and da3. Since upgrading from 13.0 to 13.1-RELEASE this 
device is no longer detected.

These are the relevant sections from dmesg with 13.0 when booting with no cards in the 
reader:

---------------------------------------------------------------------------------
ugen1.1: <Intel EHCI root HUB> at usbus1
uhub0 on usbus1
ugen2.1: <Intel EHCI root HUB> at usbus2
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ugen0.1: <0x8086 XHCI root HUB> at usbus0
uhub1 on usbus2
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
uhub2 on usbus0
uhub2: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0


uhub1: 2 ports with 2 removable, self powered
uhub0: 2 ports with 2 removable, self powered
uhub2: 21 ports with 21 removable, self powered
ugen1.2: <vendor 0x8087 product 0x8009> at usbus1
uhub3 on uhub0
uhub3: <vendor 0x8087 product 0x8009, class 9/0, rev 2.00/0.00, addr 2> on usbus1
ugen2.2: <vendor 0x8087 product 0x8001> at usbus2
uhub4 on uhub1
uhub4: <vendor 0x8087 product 0x8001, class 9/0, rev 2.00/0.00, addr 2> on usbus2
ugen0.2: <Generic USB2.0-CRW> at usbus0
umass0 on uhub2
umass0: <Bulk-In, Bulk-Out, Interface> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x4000
umass0:6:0: Attached to scbus6
uhub3: 6 ports with 6 removable, self powered
da0 at umass-sim0 bus 0 scbus6 target 0 lun 0
da0: <Generic- Compact Flash 1.00> Removable Direct Access SCSI device
da0: Serial Number 20060413092100000
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
da0: quirks=0x2<NO_6_BYTE>
da1 at umass-sim0 bus 0 scbus6 target 0 lun 1
da1: <Generic- SM/xD-Picture 1.00> Removable Direct Access SCSI device
da1: Serial Number 20060413092100000
da1: 40.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
da1: quirks=0x2<NO_6_BYTE>
uhub4: 8 ports with 8 removable, self powered
da2 at umass-sim0 bus 0 scbus6 target 0 lun 2
da2: <Generic- SD/MMC 1.00> Removable Direct Access SCSI device
da2: Serial Number 20060413092100000
da2: 40.000MB/s transfers
da2: Attempt to query device size failed: NOT READY, Medium not present
da2: quirks=0x2<NO_6_BYTE>
da3 at umass-sim0 bus 0 scbus6 target 0 lun 3
da3: <Generic- MS/MS-Pro 1.00> Removable Direct Access SCSI device
da3: Serial Number 20060413092100000
da3: 40.000MB/s transfers
da3: Attempt to query device size failed: NOT READY, Medium not present
da3: quirks=0x2<NO_6_BYTE>
---------------------------------------------------------------------------------

But with 13.1 I only get this:

---------------------------------------------------------------------------------
ugen0.1: <Intel XHCI root HUB> at usbus0
ugen1.1: <Intel EHCI root HUB> at usbus1
uhub0 on usbus0
uhub0: <Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub1 on usbus1
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ugen2.1: <Intel EHCI root HUB> at usbus2
uhub2 on usbus2
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2


uhub2: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub0: 21 ports with 21 removable, self powered
ugen1.2: <vendor 0x8087 product 0x8009> at usbus1
uhub3 on uhub1
uhub3: <vendor 0x8087 product 0x8009, class 9/0, rev 2.00/0.00, addr 2> on usbus1
ugen2.2: <vendor 0x8087 product 0x8001> at usbus2
uhub4 on uhub2
uhub4: <vendor 0x8087 product 0x8001, class 9/0, rev 2.00/0.00, addr 2> on usbus2
uhub3: 6 ports with 6 removable, self powered
uhub4: 8 ports with 8 removable, self powered
usb_alloc_device: set address 2 failed (USB_ERR_TIMEOUT, ignored)
ugen0.2: <Generic USB2.0-CRW> at usbus0
umass0 on uhub0
umass0: <Bulk-In, Bulk-Out, Interface> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x4000
umass0:6:0: Attached to scbus6
---------------------------------------------------------------------------------

-- 
Mike Clarke

--nextPart2270801.THHZn3L5Ee
Content-Transfer-Encoding: 7Bit
Content-Type: text/html; charset="UTF-8"

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">I have an Akasa AK-ICR-01B card reader connected to a USB header on the motherboard</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">With previous versions of FreeBSD the reader was detected at boot time and device nodes are created for da0, da1, da2 and da3. Since upgrading from 13.0 to 13.1-RELEASE this device is no longer detected.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">These are the relevant sections from dmesg with 13.0 when booting with no cards in the reader:</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">---------------------------------------------------------------------------------</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">ugen1.1: &lt;Intel EHCI root HUB&gt; at usbus1</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub0 on usbus1</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">ugen2.1: &lt;Intel EHCI root HUB&gt; at usbus2</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub0: &lt;Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1&gt; on usbus1</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">ugen0.1: &lt;0x8086 XHCI root HUB&gt; at usbus0</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub1 on usbus2</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub1: &lt;Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1&gt; on usbus2</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub2 on usbus0</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub2: &lt;0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1&gt; on usbus0</p>
<br /><br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub1: 2 ports with 2 removable, self powered</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub0: 2 ports with 2 removable, self powered</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub2: 21 ports with 21 removable, self powered</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">ugen1.2: &lt;vendor 0x8087 product 0x8009&gt; at usbus1</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub3 on uhub0</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub3: &lt;vendor 0x8087 product 0x8009, class 9/0, rev 2.00/0.00, addr 2&gt; on usbus1</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">ugen2.2: &lt;vendor 0x8087 product 0x8001&gt; at usbus2</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub4 on uhub1</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub4: &lt;vendor 0x8087 product 0x8001, class 9/0, rev 2.00/0.00, addr 2&gt; on usbus2</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">ugen0.2: &lt;Generic USB2.0-CRW&gt; at usbus0</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">umass0 on uhub2</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">umass0: &lt;Bulk-In, Bulk-Out, Interface&gt; on usbus0</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">umass0:&nbsp; SCSI over Bulk-Only; quirks = 0x4000</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">umass0:6:0: Attached to scbus6</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub3: 6 ports with 6 removable, self powered</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da0 at umass-sim0 bus 0 scbus6 target 0 lun 0</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da0: &lt;Generic- Compact Flash 1.00&gt; Removable Direct Access SCSI device</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da0: Serial Number 20060413092100000</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da0: 40.000MB/s transfers</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da0: Attempt to query device size failed: NOT READY, Medium not present</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da0: quirks=0x2&lt;NO_6_BYTE&gt;</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da1 at umass-sim0 bus 0 scbus6 target 0 lun 1</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da1: &lt;Generic- SM/xD-Picture 1.00&gt; Removable Direct Access SCSI device</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da1: Serial Number 20060413092100000</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da1: 40.000MB/s transfers</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da1: Attempt to query device size failed: NOT READY, Medium not present</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da1: quirks=0x2&lt;NO_6_BYTE&gt;</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub4: 8 ports with 8 removable, self powered</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da2 at umass-sim0 bus 0 scbus6 target 0 lun 2</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da2: &lt;Generic- SD/MMC 1.00&gt; Removable Direct Access SCSI device</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da2: Serial Number 20060413092100000</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da2: 40.000MB/s transfers</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da2: Attempt to query device size failed: NOT READY, Medium not present</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da2: quirks=0x2&lt;NO_6_BYTE&gt;</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da3 at umass-sim0 bus 0 scbus6 target 0 lun 3</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da3: &lt;Generic- MS/MS-Pro 1.00&gt; Removable Direct Access SCSI device</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da3: Serial Number 20060413092100000</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da3: 40.000MB/s transfers</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da3: Attempt to query device size failed: NOT READY, Medium not present</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">da3: quirks=0x2&lt;NO_6_BYTE&gt;</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">---------------------------------------------------------------------------------</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">But with 13.1 I only get this:</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">---------------------------------------------------------------------------------</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">ugen0.1: &lt;Intel XHCI root HUB&gt; at usbus0</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">ugen1.1: &lt;Intel EHCI root HUB&gt; at usbus1</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub0 on usbus0</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub0: &lt;Intel XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1&gt; on usbus0</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub1 on usbus1</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub1: &lt;Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1&gt; on usbus1</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">ugen2.1: &lt;Intel EHCI root HUB&gt; at usbus2</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub2 on usbus2</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub2: &lt;Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1&gt; on usbus2</p>
<br /><br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub2: 2 ports with 2 removable, self powered</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub1: 2 ports with 2 removable, self powered</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub0: 21 ports with 21 removable, self powered</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">ugen1.2: &lt;vendor 0x8087 product 0x8009&gt; at usbus1</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub3 on uhub1</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub3: &lt;vendor 0x8087 product 0x8009, class 9/0, rev 2.00/0.00, addr 2&gt; on usbus1</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">ugen2.2: &lt;vendor 0x8087 product 0x8001&gt; at usbus2</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub4 on uhub2</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub4: &lt;vendor 0x8087 product 0x8001, class 9/0, rev 2.00/0.00, addr 2&gt; on usbus2</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub3: 6 ports with 6 removable, self powered</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">uhub4: 8 ports with 8 removable, self powered</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">usb_alloc_device: set address 2 failed (USB_ERR_TIMEOUT, ignored)</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">ugen0.2: &lt;Generic USB2.0-CRW&gt; at usbus0</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">umass0 on uhub0</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">umass0: &lt;Bulk-In, Bulk-Out, Interface&gt; on usbus0</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">umass0:&nbsp; SCSI over Bulk-Only; quirks = 0x4000</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">umass0:6:0: Attached to scbus6</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">---------------------------------------------------------------------------------</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-- </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Mike Clarke</p>
</body>
</html>
--nextPart2270801.THHZn3L5Ee--






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2878244.hHqAuc6tWs>