Configurare UDEV
salve a tutti,
grande problema con udev...
sul pc ho 2 penne usb ...
vorrei:
penna 1 -> /dev/pen_a
penna 2 -> /dev/pen_b
il problema è che con udevinfo non trovo quale differenza sfruttare,
le allego.
resto in attesa di un Vostro aiuto ...
grazie,ciao,ff
=====================
udevinfo -a -p /sys/block/sdb
======================
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/sdb' has major:minor 8:16
looking at class device '/sys/block/sdb':
SUBSYSTEM="block"
SYSFS{dev}="8:16"
SYSFS{range}="16"
SYSFS{removable}="1"
SYSFS{size}="502784"
SYSFS{stat}=" 1 0 8 1 0 0
0 0 0 1 1"
follow the class device's "device"
looking at the device chain at
'/sys/devices/pci0000:00/0000:00:10.4/usb5/5-1/5-1:1.0/host5/target5:0:0/5:0:0:0':
BUS="scsi"
ID="5:0:0:0"
DRIVER="sd"
SYSFS{device_blocked}="0"
SYSFS{iocounterbits}="32"
SYSFS{iodone_cnt}="0xa"
SYSFS{ioerr_cnt}="0x1"
SYSFS{iorequest_cnt}="0xa"
SYSFS{max_sectors}="240"
SYSFS{model}="Mighty Drive "
SYSFS{queue_depth}="1"
SYSFS{queue_type}="none"
SYSFS{rev}="PMAP"
SYSFS{scsi_level}="3"
SYSFS{state}="running"
SYSFS{timeout}="30"
SYSFS{type}="0"
SYSFS{vendor}="Samsung "
=====================
udevinfo -a -p /sys/block/sdc
======================
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/sdc' has major:minor 8:32
looking at class device '/sys/block/sdc':
SUBSYSTEM="block"
SYSFS{dev}="8:32"
SYSFS{range}="16"
SYSFS{removable}="1"
SYSFS{size}="502784"
SYSFS{stat}=" 1 0 8 1 0 0
0 0 0 1 1"
follow the class device's "device"
looking at the device chain at
'/sys/devices/pci0000:00/0000:00:10.4/usb5/5-2/5-2:1.0/host6/target6:0:0/6:0:0:0':
BUS="scsi"
ID="6:0:0:0"
DRIVER="sd"
SYSFS{device_blocked}="0"
SYSFS{iocounterbits}="32"
SYSFS{iodone_cnt}="0xa"
SYSFS{ioerr_cnt}="0x1"
SYSFS{iorequest_cnt}="0xa"
SYSFS{max_sectors}="240"
SYSFS{model}="Mighty Drive "
SYSFS{queue_depth}="1"
SYSFS{queue_type}="none"
SYSFS{rev}="PMAP"
SYSFS{scsi_level}="3"
SYSFS{state}="running"
SYSFS{timeout}="30"
SYSFS{type}="0"
SYSFS{vendor}="Samsung "
Reply to: