Re: USB (internally fixed) card reader questions

From: Harald Schmalzbauer <h.schmalzbauer_at_omnilan.de>
Date: Sat, 30 May 2009 11:19:52 +0200
Hans Petter Selasky schrieb am 30.05.2009 11:19 (localtime):
> On Saturday 30 May 2009, Harald Schmalzbauer wrote:
>> Hello,
>>
>> with 7.2, after I inserted a flash card, I generated a write request to
>> the corresponding device (`true > /dev/da1` for example if it was a SD
>> card). To change the card I found `camcontrole eject da1` usefull to
>> prevent panics.
>>
>> With -current I can't update the label by `true > /dev/da1`, I get
>> "device not configured".
>> So my question is how do I correctly use flash cards in fixed (USB) card
>> readers? Do I still have to use camcontrol eject before removing? How do
>> I get hald working with umass devices?
>> With 7.2, after the second insertion of the same flash card hal jumped
>> in and I could mount it with Thunar. UFDs (USB Flash Disks, the "sticks"
>> with USB controller) worked just form the start. After pluging in I
>> could see the device in Thunar. Both doesn't work under -current any more.
>>
>> Thanks for any help,
>>
>> -Harry
> 
> Hi,
> 
> dmesg and output from usbconfig would be appreciated.

Thanks for the quick response!

usbconfig:
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
ugen3.1: <EHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=ON
ugen4.1: <UHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
ugen5.1: <UHCI root HUB Intel> at usbus5, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
ugen6.1: <UHCI root HUB Intel> at usbus6, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON
ugen7.1: <EHCI root HUB Intel> at usbus7, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=ON
ugen3.2: <Mass Storage Device Generic> at usbus3, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=ON
ugen6.2: <PS/2+USB Mouse Elan> at usbus6, cfg=0 md=HOST spd=LOW 
(1.5Mbps) pwr=ON
ugen5.2: <SmartTerminal ST-2xxx Cherry GmbH> at usbus5, cfg=0 md=HOST 
spd=FULL (12Mbps) pwr=ON
ugen6.3: <Trackball Logitech> at usbus6, cfg=0 md=HOST spd=LOW (1.5Mbps) 
pwr=ON
ugen5.3: <cyberJack pinpad(a) Reiner-SCT> at usbus5, cfg=0 md=HOST 
spd=FULL (12Mbps) pwr=ON

### dmsg: ##########
...
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 12Mbps Full Speed USB v1.0
usbus7: 480Mbps High Speed USB v2.0
ugen0.1: <Intel> at usbus0
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <Intel> at usbus2
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Intel> at usbus3
uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen4.1: <Intel> at usbus4
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <Intel> at usbus5
uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <Intel> at usbus6
uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
ugen7.1: <Intel> at usbus7
uhub7: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus7
...
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub6: 2 ports with 2 removable, self powered
uhub3: 6 ports with 6 removable, self powered
uhub7: 6 ports with 6 removable, self powered
ugen3.2: <Generic> at usbus3
umass0: <Generic Mass Storage Device, class 0/0, rev 2.00/1.00, addr 2> 
on usbus3
umass0:  SCSI over Bulk-Only; quirks = 0x0000
...
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Generic USB SD Reader 1.00> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
ugen6.2: <Elan> at usbus6
ums0: <Elan PS/2+USB Mouse, class 0/0, rev 1.10/23.24, addr 2> on usbus6
ums0: 5 buttons and [XYZ] coordinates ID=0
ugen5.2: <Cherry GmbH> at usbus5
(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): NOT READY csi:0,aa,55,40 asc:3a,0
(probe0:umass-sim0:0:0:1): Medium not present
(probe0:umass-sim0:0:0:1): Unretryable error
da1 at umass-sim0 bus 0 target 0 lun 1
da1: <Generic USB CF Reader 1.01> 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): NOT READY csi:0,aa,55,40 asc:3a,0
(probe0:umass-sim0:0:0:2): Medium not present
(probe0:umass-sim0:0:0:2): Unretryable error
da2 at umass-sim0 bus 0 target 0 lun 2
da2: <Generic USB SM Reader 1.02> Removable Direct Access SCSI-0 device
da2: 40.000MB/s transfers
da2: Attempt to query device size failed: NOT READY, Medium not present
ugen6.3: <Logitech> at usbus6
ums1: <Logitech Trackball, class 0/0, rev 1.10/2.20, addr 3> on usbus6
ums1: 3 buttons and [XYZ] coordinates ID=0
ugen5.3: <Reiner-SCT> at usbus5
(probe0:umass-sim0:0:0:3): TEST UNIT READY. CDB: 0 60 0 0 0 0
(probe0:umass-sim0:0:0:3): CAM Status: SCSI Status Error
(probe0:umass-sim0:0:0:3): SCSI Status: Check Condition
(probe0:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 asc:3a,0
(probe0:umass-sim0:0:0:3): Medium not present
(probe0:umass-sim0:0:0:3): Unretryable error
da3 at umass-sim0 bus 0 target 0 lun 3
da3: <Generic USB MS Reader 1.03> Removable Direct Access SCSI-0 device
da3: 40.000MB/s transfers
da3: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ufs/titanROOT8
GEOM_LABEL: Label ufsid/49e8c2d677b6da2e removed.
GEOM_LABEL: Label ufsid/49e8c2e6f742ffa2 removed.
GEOM_LABEL: Label ufsid/49e8c2f144ad65eb removed.
GEOM_LABEL: Label ufsid/49e8cadbdb4241f0 removed.
GEOM_LABEL: Label ufsid/49e90f157bf9cb2b removed.
GEOM_LABEL: Label ufsid/49e90351b76c2190 removed.
GEOM_LABEL: Label ufsid/49e90358a9ee10cf removed.
GEOM_LABEL: Label ufsid/49e90f63972416f6 removed.
GEOM_LABEL: Label for provider md0 is ufsid/4a1ec1717761abf3.
GEOM_LABEL: Label ufsid/4a1ec1717761abf3 removed.


Thanks,

-Harry


Received on Sat May 30 2009 - 07:20:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:48 UTC