Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
UDev reporting no serial
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Midnight Dream
Apprentice
Apprentice


Joined: 17 Feb 2005
Posts: 167

PostPosted: Wed Aug 10, 2005 11:54 pm    Post subject: UDev reporting no serial Reply with quote

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
View user's profile Send private message
pactoo
Guru
Guru


Joined: 18 Jul 2004
Posts: 553

PostPosted: Thu Aug 11, 2005 2:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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