Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2016 09:22:20 -0400
From:      George Mitchell <george+freebsd@m5p.com>
To:        Anthony Jenkins <Scoobi_doo@yahoo.com>, freebsd-usb@freebsd.org
Subject:   Re: Clandestine USB SD card slot
Message-ID:  <2bf09be6-e2ad-2d38-ffd8-d80b45d4c3d8@m5p.com>
In-Reply-To: <832db721-d03a-a21e-11ed-701190140d17@yahoo.com>
References:  <b11d8197-eb1b-b98a-3686-b738c41dca9f@m5p.com> <832db721-d03a-a21e-11ed-701190140d17@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <EHCI root HUB AMD> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
>> pwr=SAVE (0mA)
>> ugen0.1: <XHCI root HUB 0x1022> at usbus0, cfg=0 md=HOST spd=SUPER
>> (5.0Gbps) pwr=SAVE (0mA)
>> ugen2.1: <EHCI root HUB AMD> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps)
>> pwr=SAVE (0mA)
>> ugen1.2: <product 0x7900 vendor 0x0438> at usbus1, cfg=0 md=HOST
>> spd=HIGH (480Mbps) pwr=SAVE (100mA)
>> ugen2.2: <product 0x7900 vendor 0x0438> at usbus2, cfg=0 md=HOST
>> spd=HIGH (480Mbps) pwr=SAVE (100mA)
>> ugen0.2: <product 0x10b8 vendor 0x1058> at usbus0, cfg=0 md=HOST
>> spd=SUPER (5.0Gbps) pwr=ON (224mA)
>> ugen1.3: <Generic USB Hub ALCOR> at usbus1, cfg=0 md=HOST spd=FULL
>> (12Mbps) pwr=SAVE (100mA)
>> ugen2.3: <product 0x2970 vendor 0x06cb> at usbus2, cfg=0 md=HOST
>> spd=FULL (12Mbps) pwr=ON (100mA)
>> ugen1.4: <USB OPTICAL MOUSE vendor 0x0101> at usbus1, cfg=0 md=HOST
>> spd=LOW (1.5Mbps) pwr=ON (100mA)
>> ugen1.5: <USB 2.0 Hub vendor 0x1a40> at usbus1, cfg=0 md=HOST spd=FULL
>> (12Mbps) pwr=SAVE (100mA)
>> ugen1.6: <E-MU XMidi1X1 Tab E-MU Systems,Inc.> at usbus1, cfg=0 md=HOST
>> spd=FULL (12Mbps) pwr=ON (100mA)
>> ugen1.7: <product 0x300b vendor 0x04ca> at usbus1, cfg=0 md=HOST
>> spd=FULL (12Mbps) pwr=ON (100mA)
>> ugen1.8: <HD WebCam NC.21411.02W44504122LM0007> 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=0xff0000 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2bf09be6-e2ad-2d38-ffd8-d80b45d4c3d8>