A.J. Bonnema wrote:
[I appologize for possible confusion, I am resending the mail with a
proper subject line.]
Marc Schwartz wrote:
Here are my /etc/fstab entries for a USB digital card reader (camera)
and for my Clie (NX-70V) Memory Stick via USB:
/dev/sdb1 /mnt/flash vfat noauto,user 0 0
/dev/sda1 /mnt/clie vfat noauto,user 0 0
These work fine for me on a Dell i8200 laptop with two USB ports. I then
mount them using the Gnome desktop menu with a right mouse click to
"disks" which has a check box each for the flash and the clie.
HTH,
Marc Schwartz
This I was looking for. Maybe you can help me.
I have a flashmemory cardreader (6 different card types) for a
photocamera flascard that I can see is being detected, but I have no
idea how to use its contents. I run FC1.
From the kernel docs I found out how to determine if it is being
recognized (details below).
Can anyone help me? How do I mount and use this beast? I don't know with
which device this should be mounted. How do I find that out?
================================== lots of details =====================
output from lsusb is:
"
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 003 Device 002: ID 0aec:5010 Neodio Technologies Corp. ND5010 Card
Reader
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
"
So it is detecting the card reader. In detail (lsusb -s 003:002):
"
string descriptor 1 invalid (bf bf; len=0)
string descriptor 2 invalid (bf bf; len=0)
string descriptor 3 invalid (bf bf; len=0)
Bus 003 Device 002: ID 0aec:5010 Neodio Technologies Corp. ND5010 Card
Reader
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 16
idVendor 0x0aec Neodio Technologies Corp.
idProduct 0x5010 ND5010 Card Reader
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Language IDs: (length=4)
0409 English(US)
"
a cat from /prod/bus/usb/devices gives:
"
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.04
S: Manufacturer=Linux 2.4.22-1.2115.nptl ehci_hcd
S: Product=VIA Technologies, Inc. USB 2.0
S: SerialNumber=00:10.3
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms
That's a hub.
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=a800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
That's a hub.
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=16 #Cfgs= 1
P: Vendor=0aec ProdID=5010 Rev= 1.00
S: Manufacturer=Generic
S: Product=USB Storage Device
S: SerialNumber=0AEC305000001A002
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
That's the FLASH device right there.
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=b000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
Yet another hub.
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=b400
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
And yet another hub. You either have several hubs or multiple USB
interfaces on that machine, kemosabe.
I have a similar device. The device itself will show up as a single
pseudo-scsi device (e.g. "/dev/sda" or "/dev/sdb", depending on how
many things are on your USB bus). The media itself should show up
as a partition on that device.
You can "fdisk -l /dev/sda" (or whichever "/dev/sd" device it is) and
see the partition table. Then create a mountpoint for the device,
e.g. "mkdir /mnt/flash" and mount the partition to that mountpoint:
mount -t vfat /dev/sdxy /mnt/flash
You should now see the contents of the FLASH at /mnt/flash. Don't
forget to "umount /mnt/flash" when you're done using it.
Note that you only need to do the "mkdir /mnt/flash" once. You'll
reuse it each time you mount some FLASH device.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens@xxxxxxxxxxxxxxx -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- To understand recursion, you must first understand recursion. -
----------------------------------------------------------------------