[Th-devel] udev-130
Patryk Zawadzki
patrys at pld-linux.org
Sun Oct 26 17:14:13 CET 2008
2008/10/26 Fryderyk Dziarmagowski <freetz at gmx.net>:
> On Sun, 26 Oct 2008 13:27:03 +0100
> Pawel Kwiatkowski <qwiat at o2.pl> wrote:
>
>> Dnia 2008-10-26, nie o godzinie 11:08 +0100, Łukasz Maśko pisze:
>> > Co się zmieniło w nowym udev? Po update nie wstała mi karta sieciowa wifi
>> > (ipw2200, brak urządzenia chociaż moduł został załadowany), alsa też nie
>> > wstała. Zrobiłem na razie downgrade. Co sprawdzić/zmienić, żeby zadziałało?
>>
>> Potwierdzam, ale to raczej problem znowym hal-em którego wymaga ten
>> udev:
>>
>> # lshal | grep eth0
>>
>> nic nie zwraca
>
> a co zwraca udevinfo -a -p /sys/class/net/eth0
> ?
[patrys at meaw SPECS]$ udevinfo -a -p /sys/class/net/eth0
bash: /usr/bin/udevinfo: Nie ma takiego pliku ani katalogu
[root at meaw ~]# udevadm info -a -p /sys/class/net/eth0
Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:1e.0/0000:06:07.0/net/eth0':
KERNEL=="eth0"
SUBSYSTEM=="net"
DRIVER==""
ATTR{addr_len}=="6"
ATTR{dev_id}=="0x0"
ATTR{iflink}=="4"
ATTR{ifindex}=="4"
ATTR{features}=="0x180"
ATTR{type}=="1"
ATTR{link_mode}=="0"
ATTR{address}=="00:1b:fc:3a:80:4f"
ATTR{broadcast}=="ff:ff:ff:ff:ff:ff"
ATTR{operstate}=="down"
ATTR{mtu}=="1500"
ATTR{flags}=="0x1002"
ATTR{tx_queue_len}=="1000"
looking at parent device '/devices/pci0000:00/0000:00:1e.0/0000:06:07.0':
KERNELS=="0000:06:07.0"
SUBSYSTEMS=="pci"
DRIVERS=="r8169"
ATTRS{vendor}=="0x10ec"
ATTRS{device}=="0x8167"
ATTRS{subsystem_vendor}=="0x1043"
ATTRS{subsystem_device}=="0x1345"
ATTRS{class}=="0x020000"
ATTRS{irq}=="18"
ATTRS{local_cpus}=="ffff"
ATTRS{local_cpulist}=="0-15"
ATTRS{modalias}=="pci:v000010ECd00008167sv00001043sd00001345bc02sc00i00"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""
looking at parent device '/devices/pci0000:00/0000:00:1e.0':
KERNELS=="0000:00:1e.0"
SUBSYSTEMS=="pci"
DRIVERS==""
ATTRS{vendor}=="0x8086"
ATTRS{device}=="0x2448"
ATTRS{subsystem_vendor}=="0x0000"
ATTRS{subsystem_device}=="0x0000"
ATTRS{class}=="0x060401"
ATTRS{irq}=="0"
ATTRS{local_cpus}=="ffff"
ATTRS{local_cpulist}=="0-15"
ATTRS{modalias}=="pci:v00008086d00002448sv00000000sd00000000bc06sc04i01"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}=="1"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
--
Patryk Zawadzki
More information about the pld-devel-pl
mailing list