All pastes #60980 Raw Edit

Unnamed

public text v1 · immutable
#60980 ·published 2006-06-02 12:21 UTC
rendered paste body
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.

  looking at device '/class/net/eth1':
    KERNEL=="eth1"
    SUBSYSTEM=="net"
    SYSFS{weight}=="0"
    SYSFS{tx_queue_len}=="1000"
    SYSFS{flags}=="0x1003"
    SYSFS{mtu}=="1500"
    SYSFS{carrier}=="1"
    SYSFS{broadcast}=="ff:ff:ff:ff:ff:ff"
    SYSFS{address}=="00:13:02:13:ac:97"
    SYSFS{type}=="1"
    SYSFS{features}=="0x0"
    SYSFS{ifindex}=="3"
    SYSFS{iflink}=="3"
    SYSFS{addr_len}=="6"

  looking at device '/devices/pci0000:00/0000:00:1c.3/0000:05:00.0':
    ID=="0000:05:00.0"
    BUS=="pci"
    DRIVER=="ipw3945"
    SYSFS{temperature}=="-130"
    SYSFS{antenna}=="0"
    SYSFS{led}=="1"
    SYSFS{scan_age}=="15000"
    SYSFS{roam}=="1"
    SYSFS{cfg}=="0x00000102"
    SYSFS{status}=="0x000041f2"
    SYSFS{rf_kill}=="0"
    SYSFS{modalias}=="pci:v00008086d00004222sv00008086sd00001001bc02sc80i00"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="19"
    SYSFS{class}=="0x028000"
    SYSFS{subsystem_device}=="0x1001"
    SYSFS{subsystem_vendor}=="0x8086"
    SYSFS{device}=="0x4222"
    SYSFS{vendor}=="0x8086"

  looking at device '/devices/pci0000:00/0000:00:1c.3':
    ID=="0000:00:1c.3"
    BUS=="pci"
    DRIVER=="pcieport-driver"
    SYSFS{modalias}=="pci:v00008086d000027D6sv00000000sd00000000bc06sc04i00"
    SYSFS{local_cpus}=="ff"
    SYSFS{irq}=="19"
    SYSFS{class}=="0x060400"
    SYSFS{subsystem_device}=="0x0000"
    SYSFS{subsystem_vendor}=="0x0000"
    SYSFS{device}=="0x27d6"
    SYSFS{vendor}=="0x8086"

  looking at device '/devices/pci0000:00':
    ID=="pci0000:00"
    BUS==""
    DRIVER==""