Re: Writing a rule specific to a USB connector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 23, 2011 at 10:59 AM, Diego Iastrubni <diegoiast@xxxxxxxxx> wrote:
> KERNEL=="hidraw[0-9]*", ATTR{idVendor}=="c1ca",     SYMLINK+="1111111"

[...]

> [/root 10.10.10.44] $ udevadm info --query=all --name=/dev/hidraw0
> --attribute-walk 2>&1 | egrep 'serial|idVendor'
>    ATTRS{idVendor}=="c1ca"
>    ATTRS{idVendor}=="05e3"
>    ATTRS{idVendor}=="1d6b"
>    ATTRS{serial}=="musb_hdrc"
>
> I was expecting to see "11111", and I don't. This explains why
> "444444" is not working. Still - something is not working here.

I guess c1ca is not the idVendor of your hidraw device, but of one of
it its parents. Could you post the output of "udevadm info --query=all
--name=/dev/hidraw0 --attribute-walk" (without the egrep)?

-t
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux