Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the article Card Readers and USB keys using udev:


Re: Card Readers and USB keys using udev
Posted by Anonymous (213.23.xx.xx) on Sun 23 Oct 2005 at 21:23
Is there anything I have to do with udev to make this work? I did /etc/init.d/udev stop and start but nothing happens with the rules, there is no device created.

$ cat /etc/udev/rules.d/local.rules
BUS="scsi", SYSFS{model}="USB Storage-CFC ", NAME{all_partitions}="card_cf"

udevinfo shows this:

follow the "device"-link to the physical device:
looking at the device chain at '/sys/devices/pci0000:00/0000:00:02.2/usb3/3-5/3-5:1.0/host12/target12:0:0/12:0:0:1':
BUS=="scsi"
ID=="12:0:0:1"
DRIVER=="sd"
SYSFS{device_blocked}=="0"
SYSFS{iocounterbits}=="32"
SYSFS{iodone_cnt}=="0x16"
SYSFS{ioerr_cnt}=="0x2"
SYSFS{iorequest_cnt}=="0x16"
SYSFS{max_sectors}=="240"
SYSFS{model}=="USB Storage-CFC "
SYSFS{queue_depth}=="1"
SYSFS{queue_type}=="none"
SYSFS{rev}=="010K"
SYSFS{scsi_level}=="3"
SYSFS{state}=="running"
SYSFS{timeout}=="30"
SYSFS{type}=="0"
SYSFS{vendor}=="GENERIC "

I don't see a /dev/card_cf entry after plugging in the card reader.

I wish udev would log a little bit more about its actions...

Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search