W odpowiedzi na wiadomość z dnia 10.08.2011 20:39, od Jakub Bogusz:
A to na hda to może czytnik/nagrywarka Optiarc?
$ sudo udevadm info -a -p $(sudo udevadm info -q path -n /dev/hda) | sed
-n "/^.*looking at device.*$/,$ p"
looking at device '/devices/pci:00/:00:1f.1/ide0/0.0/block/hda':
KERNEL=="hda"
SUBSYSTEM=="block"
DRIVER==""
ATTR{range}=="1"
ATTR{ext_range}=="1"
ATTR{removable}=="1"
ATTR{ro}=="0"
ATTR{size}=="8388604"
ATTR{alignment_offset}=="0"
ATTR{discard_alignment}=="0"
ATTR{capability}=="19"
ATTR{stat}==" 000000
00000"
ATTR{inflight}==" 00"
looking at parent device '/devices/pci:00/:00:1f.1/ide0/0.0':
KERNELS=="0.0"
SUBSYSTEMS=="ide"
DRIVERS=="ide-cdrom"
ATTRS{media}=="cdrom"
ATTRS{drivename}=="hda"
ATTRS{model}=="HL-DT-ST DVDRAM GSA-T40N"
ATTRS{firmware}=="JP01"
ATTRS{serial}=="K0184KG0556"
looking at parent device '/devices/pci:00/:00:1f.1/ide0':
KERNELS=="ide0"
SUBSYSTEMS==""
DRIVERS==""
looking at parent device '/devices/pci:00/:00:1f.1':
KERNELS==":00:1f.1"
SUBSYSTEMS=="pci"
DRIVERS=="PIIX_IDE"
ATTRS{vendor}=="0x8086"
ATTRS{device}=="0x2850"
ATTRS{subsystem_vendor}=="0x1025"
ATTRS{subsystem_device}=="0x011f"
ATTRS{class}=="0x01018a"
ATTRS{irq}=="19"
ATTRS{local_cpus}=="0003"
ATTRS{local_cpulist}=="0-1"
ATTRS{numa_node}=="-1"
ATTRS{dma_mask_bits}=="32"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""
ATTRS{resource1}=="P"
looking at parent device '/devices/pci:00':
KERNELS=="pci:00"
SUBSYSTEMS==""
DRIVERS==""
--
Pozdrawiam,
Daniel Dawid Majewski
jabber:light-i/pld-users.org
___
pld-devel-pl mailing list
pld-devel-pl@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl