I got a new (haha) PC for Christmas which I want to turn into my new home system. I could improve from Intel P4 2GHz 768 MB SDR-SDRAM and ATA disks to Intel Core2 1.8 GHz 2 GB DDR-SDRAM and SATA disk(s). A nice feature of the new system is a built-in card reader which I would like to be a replacement for my (ab)use of a defective MP3 player as a means to access SD cards (and maybe CF cards).
>From dmesg of that system, USB-related messages only: uhci0: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 20 at device 16.0 on pci0 uhci0: [ITHREAD] usbus0: <VIA 83C572 USB controller> on uhci0 uhci1: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 22 at device 16.1 on pci0 uhci1: [ITHREAD] usbus1: <VIA 83C572 USB controller> on uhci1 uhci2: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 21 at device 16.2 on pci0 uhci2: [ITHREAD] usbus2: <VIA 83C572 USB controller> on uhci2 uhci3: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 23 at device 16.3 on pci0 uhci3: [ITHREAD] usbus3: <VIA 83C572 USB controller> on uhci3 ehci0: <VIA VT6202 USB 2.0 controller> mem 0xdffff000-0xdffff0ff irq 21 at device 16.4 on pci0 ehci0: [ITHREAD] usbus4: EHCI version 1.0 usbus4: <VIA VT6202 USB 2.0 controller> on ehci0 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 480Mbps High Speed USB v2.0 ugen0.1: <VIA> at usbus0 uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 ugen1.1: <VIA> at usbus1 uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 ugen2.1: <VIA> at usbus2 uhub2: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2 ugen3.1: <VIA> at usbus3 uhub3: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3 ugen4.1: <VIA> at usbus4 uhub_reattach_port: port 3 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 3 ugen4.2: <Generic> at usbus4 umass0: <Generic Flash Card Reader, class 0/0, rev 2.00/4.55, addr 2> on usbus4 umass0: SCSI over Bulk-Only; quirks = 0x0000 umass0:0:0:-1: Attached to scbus0 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present) da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: <Generic Flash HS-CF 4.55> Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present (probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0 (probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:1): SCSI status: Check Condition (probe0:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not present) da1 at umass-sim0 bus 0 scbus0 target 0 lun 1 da1: <Generic Flash HS-MS/SD 4.55> Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present (probe0:umass-sim0:0:0:2): TEST UNIT READY. CDB: 0 40 0 0 0 0 (probe0:umass-sim0:0:0:2): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:2): SCSI status: Check Condition (probe0:umass-sim0:0:0:2): SCSI sense: NOT READY asc:3a,0 (Medium not present) da2 at umass-sim0 bus 0 scbus0 target 0 lun 2 da2: <Generic Flash HS-SM 4.55> Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present The problem is: If I insert a card (SD or CF), a green light at the reader appears, but no messages arrive on the console. There are no corresponding device files, so I can't access anything. A front USB connector, on the other hand, works when I attach an USB stick: ugen4.3: <Sony> at usbus4 umass1: <Sony Storage Media, class 0/0, rev 2.00/2.00, addr 3> on usbus4 umass1: SCSI over Bulk-Only; quirks = 0x0000 umass1:1:1:-1: Attached to scbus1 da3 at umass-sim1 bus 1 scbus1 target 0 lun 0 da3: <Sony Storage Media 1.00> Removable Direct Access SCSI-2 device da3: 40.000MB/s transfers da3: 3826MB (7835648 512 byte sectors: 255H 63S/T 487C) GEOM: da3: partition 1 does not start on a track boundary. GEOM: da3: partition 1 does not end on a track boundary. So I thought I'd check the CAM and maybe reset it: # camcontrol devlist <Generic Flash HS-CF 4.55> at scbus0 target 0 lun 0 (pass0,da0) <Generic Flash HS-MS/SD 4.55> at scbus0 target 0 lun 1 (pass1,da1) <Generic Flash HS-SM 4.55> at scbus0 target 0 lun 2 (pass2,da2) <Sony Storage Media 1.00> at scbus1 target 0 lun 0 (pass3,da3) (the last entry is the USB stick that works as intended) # camcontrol reset all Reset of bus 0 returned error 0x3a Reset of bus 1 returned error 0x3a What is this? Is there some documentation about what errors like 0x3a refer to? Is it in any relation with the previous uhub_reattach_port: port 3 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 3 message recorded by dmesg? What should I do to get this internal reader working, or isn't it worth the time? I mean, if this is just the usual cheap and crappy VIA "Windows"-only shit, I won't bother anymore. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"