Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2009 11:19:52 +0200
From:      Harald Schmalzbauer <h.schmalzbauer@omnilan.de>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: USB (internally fixed) card reader questions
Message-ID:  <4A20FA38.8010305@omnilan.de>
In-Reply-To: <200905301119.48881.hselasky@c2i.net>
References:  <4A20F485.2030803@omnilan.de> <200905301119.48881.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigD0B86A4B8D539730BA383E5A
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

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 t=
o
>> 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) ca=
rd
>> 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 "stick=
s"
>> 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 m=
ore.
>>
>> Thanks for any help,
>>
>> -Harry
>=20
> Hi,
>=20
> dmesg and output from usbconfig would be appreciated.

Thanks for the quick response!

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

### dmsg: ##########
=2E..
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
=2E..
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>=20
on usbus3
umass0:  SCSI over Bulk-Only; quirks =3D 0x0000
=2E..
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=3D0
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=3D0
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


--------------enigD0B86A4B8D539730BA383E5A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAkog+kEACgkQLDqVQ9VXb8gDIACeMJUT4CSOPvVojpLuEsBgGRJ7
krsAnRrIAaGSCXzODv8E/zQ9WHzxuD46
=MsNo
-----END PGP SIGNATURE-----

--------------enigD0B86A4B8D539730BA383E5A--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A20FA38.8010305>