Re: Clandestine USB SD card slot

2016-10-16 Thread George Mitchell
Whoops, I should send this to freebsd-stable instead of freebsd-usb.
Sorry! -- George

On 10/16/16 09:22, George Mitchell wrote:
> On 10/15/16 23:10, Anthony Jenkins wrote:
>> On 10/15/16 18:28, George Mitchell wrote:
>>> FreeBSD 10.3-RELEASE-p7 #0: Thu Aug 11 18:38:15 UTC 2016
>>> Acer Aspire E15
>>> There is a slot on the front of this laptop which sure looks like an
>>> SD card slot, which I hope corresponds to one of these:
>>>
>>> ugen1.1:  at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
>>> pwr=SAVE (0mA)
>>> ugen0.1:  at usbus0, cfg=0 md=HOST spd=SUPER
>>> (5.0Gbps) pwr=SAVE (0mA)
>>> ugen2.1:  at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps)
>>> pwr=SAVE (0mA)
>>> ugen1.2:  at usbus1, cfg=0 md=HOST
>>> spd=HIGH (480Mbps) pwr=SAVE (100mA)
>>> ugen2.2:  at usbus2, cfg=0 md=HOST
>>> spd=HIGH (480Mbps) pwr=SAVE (100mA)
>>> ugen0.2:  at usbus0, cfg=0 md=HOST
>>> spd=SUPER (5.0Gbps) pwr=ON (224mA)
>>> ugen1.3:  at usbus1, cfg=0 md=HOST spd=FULL
>>> (12Mbps) pwr=SAVE (100mA)
>>> ugen2.3:  at usbus2, cfg=0 md=HOST
>>> spd=FULL (12Mbps) pwr=ON (100mA)
>>> ugen1.4:  at usbus1, cfg=0 md=HOST
>>> spd=LOW (1.5Mbps) pwr=ON (100mA)
>>> ugen1.5:  at usbus1, cfg=0 md=HOST spd=FULL
>>> (12Mbps) pwr=SAVE (100mA)
>>> ugen1.6:  at usbus1, cfg=0 md=HOST
>>> spd=FULL (12Mbps) pwr=ON (100mA)
>>> ugen1.7:  at usbus1, cfg=0 md=HOST
>>> spd=FULL (12Mbps) pwr=ON (100mA)
>>> ugen1.8:  at usbus1, cfg=0 md=HOST
>>> spd=HIGH (480Mbps) pwr=ON (500mA)
>>>
>>> But inserting a card into the slot produces no results, even with
>>> sysctl hw.usb.umass.debug=1 hw.usb.ugen.debug=1 hw.usb.dev.debug=1.
>>> (sysctl hw.usb.debug=1 produces way too much output all the time.)
>>> Any suggestions on how I can get this slot to overcome its shyness?
>>> (I am not subscribed to the list; please CC me.)  -- George
>> Your card reader is probably on the PCI bus (and likely not supported by
>> FreeBSD); I couldn't find any of your USB Pid:Vids as card readers.
>>
>> [ajenkins@ajenkins-hplaptop ~]$ pciconf -lv
>> ...
>> none2@pci0:3:0:0:   class=0xff card=0x1995103c chip=0x522910ec
>> rev=0x01 hdr=0x00
>> vendor = 'Realtek Semiconductor Co., Ltd.'
>> device = 'RTS5229 PCI Express Card Reader'
>>
>> Anthony Jenkins
>>
> Ah!  It didn't occur to me to run pciconf.  "pciconf -lv" shows this:
> 
> sdhci_pci0@pci0:0:20:7:   class=0x080501 card=0x08651025 chip=0x78131022
> rev=0x01 hdr=0x00
> vendor = 'Advanced Micro Devices, Inc. [AMD]'
> device = 'FCH SD Flash Controller'
> class  = base peripheral
> subclass   = SD host controller
> 
> So not only is it (apparently) recognized, but the sdhci_pci driver
> attached to it!  But inserting or removing a card shows no activity.
> What's my next step?  -- George
> 

___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: Clandestine USB SD card slot

2016-10-16 Thread George Mitchell
On 10/15/16 23:10, Anthony Jenkins wrote:
> On 10/15/16 18:28, George Mitchell wrote:
>> FreeBSD 10.3-RELEASE-p7 #0: Thu Aug 11 18:38:15 UTC 2016
>> Acer Aspire E15
>> There is a slot on the front of this laptop which sure looks like an
>> SD card slot, which I hope corresponds to one of these:
>>
>> ugen1.1:  at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
>> pwr=SAVE (0mA)
>> ugen0.1:  at usbus0, cfg=0 md=HOST spd=SUPER
>> (5.0Gbps) pwr=SAVE (0mA)
>> ugen2.1:  at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps)
>> pwr=SAVE (0mA)
>> ugen1.2:  at usbus1, cfg=0 md=HOST
>> spd=HIGH (480Mbps) pwr=SAVE (100mA)
>> ugen2.2:  at usbus2, cfg=0 md=HOST
>> spd=HIGH (480Mbps) pwr=SAVE (100mA)
>> ugen0.2:  at usbus0, cfg=0 md=HOST
>> spd=SUPER (5.0Gbps) pwr=ON (224mA)
>> ugen1.3:  at usbus1, cfg=0 md=HOST spd=FULL
>> (12Mbps) pwr=SAVE (100mA)
>> ugen2.3:  at usbus2, cfg=0 md=HOST
>> spd=FULL (12Mbps) pwr=ON (100mA)
>> ugen1.4:  at usbus1, cfg=0 md=HOST
>> spd=LOW (1.5Mbps) pwr=ON (100mA)
>> ugen1.5:  at usbus1, cfg=0 md=HOST spd=FULL
>> (12Mbps) pwr=SAVE (100mA)
>> ugen1.6:  at usbus1, cfg=0 md=HOST
>> spd=FULL (12Mbps) pwr=ON (100mA)
>> ugen1.7:  at usbus1, cfg=0 md=HOST
>> spd=FULL (12Mbps) pwr=ON (100mA)
>> ugen1.8:  at usbus1, cfg=0 md=HOST
>> spd=HIGH (480Mbps) pwr=ON (500mA)
>>
>> But inserting a card into the slot produces no results, even with
>> sysctl hw.usb.umass.debug=1 hw.usb.ugen.debug=1 hw.usb.dev.debug=1.
>> (sysctl hw.usb.debug=1 produces way too much output all the time.)
>> Any suggestions on how I can get this slot to overcome its shyness?
>> (I am not subscribed to the list; please CC me.)  -- George
> Your card reader is probably on the PCI bus (and likely not supported by
> FreeBSD); I couldn't find any of your USB Pid:Vids as card readers.
> 
> [ajenkins@ajenkins-hplaptop ~]$ pciconf -lv
> ...
> none2@pci0:3:0:0:   class=0xff card=0x1995103c chip=0x522910ec
> rev=0x01 hdr=0x00
> vendor = 'Realtek Semiconductor Co., Ltd.'
> device = 'RTS5229 PCI Express Card Reader'
> 
> Anthony Jenkins
> 
Ah!  It didn't occur to me to run pciconf.  "pciconf -lv" shows this:

sdhci_pci0@pci0:0:20:7: class=0x080501 card=0x08651025 chip=0x78131022
rev=0x01 hdr=0x00
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'FCH SD Flash Controller'
class  = base peripheral
subclass   = SD host controller

So not only is it (apparently) recognized, but the sdhci_pci driver
attached to it!  But inserting or removing a card shows no activity.
What's my next step?  -- George
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Clandestine USB SD card slot

2016-10-15 Thread George Mitchell
FreeBSD 10.3-RELEASE-p7 #0: Thu Aug 11 18:38:15 UTC 2016
Acer Aspire E15
There is a slot on the front of this laptop which sure looks like an
SD card slot, which I hope corresponds to one of these:

ugen1.1:  at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE (0mA)
ugen0.1:  at usbus0, cfg=0 md=HOST spd=SUPER
(5.0Gbps) pwr=SAVE (0mA)
ugen2.1:  at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE (0mA)
ugen1.2:  at usbus1, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=SAVE (100mA)
ugen2.2:  at usbus2, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=SAVE (100mA)
ugen0.2:  at usbus0, cfg=0 md=HOST
spd=SUPER (5.0Gbps) pwr=ON (224mA)
ugen1.3:  at usbus1, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=SAVE (100mA)
ugen2.3:  at usbus2, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON (100mA)
ugen1.4:  at usbus1, cfg=0 md=HOST
spd=LOW (1.5Mbps) pwr=ON (100mA)
ugen1.5:  at usbus1, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=SAVE (100mA)
ugen1.6:  at usbus1, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON (100mA)
ugen1.7:  at usbus1, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON (100mA)
ugen1.8:  at usbus1, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=ON (500mA)

But inserting a card into the slot produces no results, even with
sysctl hw.usb.umass.debug=1 hw.usb.ugen.debug=1 hw.usb.dev.debug=1.
(sysctl hw.usb.debug=1 produces way too much output all the time.)
Any suggestions on how I can get this slot to overcome its shyness?
(I am not subscribed to the list; please CC me.)  -- George
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: 10-1-RELEASE xhci failure

2016-10-09 Thread George Mitchell
On 10/09/16 15:33, George Mitchell wrote:
> On 10/09/16 14:15, George Mitchell wrote:
>> I have an Acer Aspire E15, with one allegedly USB 3.0 capable port and
>> a Western Digital USB 3.0 drive; but they don't talk to each other.
>> [...]
> I left out how the xhci interface itself shows up in usbconfig:
> 
> ugen0.1:  at usbus0, cfg=0 md=HOST spd=SUPER
> (5.0Gbps) pwr=SAVE (0mA)
> 
> -- George
> 

After upgrading to 10.3-RELEASE, the interface happily talks to the
disk in USB 3.0 mode!  Hurray!  -- George
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


10-1-RELEASE xhci failure

2016-10-09 Thread George Mitchell
I have an Acer Aspire E15, with one allegedly USB 3.0 capable port and
a Western Digital USB 3.0 drive; but they don't talk to each other.
After plugging it in, usbconfig shows that there is a:

ugen0.2:  at usbus0, cfg=255 md=HOST
spd=SUPER (5.0Gbps) pwr=ON (224mA)

connected, but it does not attach to the umass driver.  I turned on
all the USB debugging sysctls I could find, and here's the portion of
the system log:  http://m5p.com/~george/10.1-RELEASE-p35-xhci-messages
Have there been improvements in the xhci driver between 10.1 and 10.3
that might relate to the problem?

The drive works on the USB 2.0 ports, but of course much more slowly
than I assume it would in USB 3.0 mode.

I am not subscribed to the freebsd-usb list, so please cc me on your
reply.  -- George
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: 9.0 umass problem

2012-09-18 Thread George Mitchell

On 09/18/12 13:47, Hans Petter Selasky wrote:

On Sunday 15 January 2012 20:36:09 Hans Petter Selasky wrote:

On Sunday 15 January 2012 18:35:59 George Mitchell wrote:

I have a USB compact flash reader-writer which is normally connected to
my computer all the time but rarely contains a compact flash card. Here
is a snippet from a verbose dmesg with FreeBSD 9.0-RC3:
[...]

Hi,

Can you try 9-stable or apply this patch:

http://svn.freebsd.org/changeset/base/240662

--HPS



Probably not before Saturday, but thanks for the patch! -- George
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


9.0 umass problem

2012-01-15 Thread George Mitchell
): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(da0:umass-sim0:0:0:0): Error 6, Unretryable error
Opened disk da0 - 6

(which all took only a couple of seconds, compared to half a minute
with 9.0.)

When there is a flash card in the device, 9.0 behaves even worse,
taking about two and a half minutes to do this:

ugen0.5: vendor 0x05e3 at usbus0
umass0: vendor 0x05e3 USB TO IDE, class 0/0, rev 2.00/0.32, addr 5 on 
usbus0

umass0:  SCSI over Bulk-Only; quirks = 0x4101
umass0:2:0:-1: Attached to scbus2
(probe0:umass-sim0:0:0:0): Down reving Protocol Version from 2 to 0?
GEOM: new disk da0
pass2 at umass-sim0 bus 0 scbus2 target 0 lun 0
pass2: Generic STORAGE DEVICE 1.00 Removable Direct Access SCSI-0 device
pass2: 1.000MB/s transfers
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: Generic STORAGE DEVICE 1.00 Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 245MB (501760 512 byte sectors: 64H 32S/T 245C)
...
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Error 5, Retries exhausted
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Error 5, Retries exhausted
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Error 5, Retries exhausted
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Error 5, Retries exhausted
Opened disk da0 - 5
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Retrying command
(da0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(da0:umass-sim0:0:0:0): Error 5, Retries exhausted
Opened disk da0 - 5

Suggestions?   -- George Mitchell
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org