[TH] udev-170-1.x86_64 vs. kernel-2.6.38.8-1.x86_64 vs. DVD na IDE

Daniel Dawid Majewski light-i at o2.pl
Thu Aug 11 11:08:59 CEST 2011


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/pci0000:00/0000: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}=="       0        0        0        0        0        0 
        0        0        0        0        0"
     ATTR{inflight}=="       0        0"

   looking at parent device '/devices/pci0000:00/0000: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/pci0000:00/0000:00:1f.1/ide0':
     KERNELS=="ide0"
     SUBSYSTEMS==""
     DRIVERS==""

   looking at parent device '/devices/pci0000:00/0000:00:1f.1':
     KERNELS=="0000: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}=="00000003"
     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/pci0000:00':
     KERNELS=="pci0000:00"
     SUBSYSTEMS==""
     DRIVERS==""
-- 
Pozdrawiam,
Daniel Dawid Majewski
jabber:light-i/pld-users.org



More information about the pld-devel-pl mailing list