View previous topic :: View next topic |
Author |
Message |
Midnight Dream Apprentice
Joined: 17 Feb 2005 Posts: 167
|
Posted: Wed Aug 10, 2005 11:54 pm Post subject: UDev reporting no serial |
|
|
Got UDev installed, was planning on setting it up for my MP3 player and Camera. However, im not getting a serial when I issue the udevinfo command. This is the output (similar on both)
Quote: |
udevinfo -a -p /block/sda/sda1
udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.
device '/sys/block/sda/sda1' has major:minor 8:1
looking at class device '/sys/block/sda/sda1':
SUBSYSTEM=="block"
SYSFS{dev}=="8:1"
SYSFS{size}=="9767457"
SYSFS{start}=="63"
SYSFS{stat}==" 88 88 0 0"
follow the "device"-link to the physical device:
looking at the device chain at '/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1:1.0/host8/target8:0:0/8:0:0:0':
BUS=="scsi"
ID=="8:0:0:0"
DRIVER=="sd"
SYSFS{device_blocked}=="0"
SYSFS{iocounterbits}=="32"
SYSFS{iodone_cnt}=="0x27d"
SYSFS{ioerr_cnt}=="0x0"
SYSFS{iorequest_cnt}=="0x27d"
SYSFS{max_sectors}=="240"
SYSFS{model}=="IRIVER H10 "
SYSFS{queue_depth}=="1"
SYSFS{queue_type}=="none"
SYSFS{rev}==""
SYSFS{scsi_level}=="3"
SYSFS{state}=="running"
SYSFS{timeout}=="30"
SYSFS{type}=="0"
SYSFS{vendor}=="IRIVER "
couldn't open device directory
|
Any idea on what im doing wrong? |
|
Back to top |
|
|
pactoo Guru
Joined: 18 Jul 2004 Posts: 553
|
Posted: Thu Aug 11, 2005 2:13 pm Post subject: |
|
|
You may as well use: SYSFS{model}=="IRIVER H10 " for identifying the device, unless you have more of those, that is. No idea, why there is no serial, but I have such a serial-less device, too |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|