Re: Clandestine USB SD card slot
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
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
On Sun, 16 Oct 2016, George Mitchell wrote: 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 Is a device created for the empty reader? It's worth trying to force a retaste of that device with 'true > /dev/daX' after the card is inserted. ___ 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
On Sun, Oct 16, 2016 at 12:08 PM, Warren Block wrote: > On Sun, 16 Oct 2016, George Mitchell wrote: > >>> 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 > > > Is a device created for the empty reader? It's worth trying to force a > retaste of that device with 'true > /dev/daX' after the card is inserted. Don't look for da anything. Look for mmcsd something. The sdhci_pci driver provides disks that are mmcsdX. Looks like card change interrupts aren't happening, or there's something else making the driver unhappy with the SDHCI controller though... Warner ___ 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"
[Bug 211716] [PATCH] USB Driver didn't get the right size
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211716 --- Comment #3 from commit-h...@freebsd.org --- A commit references this bug: Author: sephe Date: Mon Oct 17 05:39:45 UTC 2016 New revision: 307474 URL: https://svnweb.freebsd.org/changeset/base/307474 Log: MFC 303944 cam/da: Add quirk for I-O Data USB Flash Disk PR: 211716 Submitted by: Jun Su Reported by:Jun Su Sponsored by: Microsoft Changes: _U stable/11/ stable/11/sys/cam/scsi/scsi_da.c -- You are receiving this mail because: You are the assignee for the bug. ___ 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"