Re: New UDEV breaks my rules



Hi Jason.

At some point I upgraded UDEV, and the following rule broke:

BUS="usb", SYSFS{product}="Griffin PowerMate", NAME="powermate",
SYMLINK="input/powermate", GROUP="audio", MODE="0660"

It gives this error message: Jul 21 11:26:37 localhost udevd[8581]:
add_to_rules: invalid BUS operation Jul 21 11:26:37 localhost
udevd[8581]: add_to_rules: invalid rule
'/etc/udev/rules.d/010_local.rules:2'

What am I doing wrong?

You should correct the syntax corresponding to the following guide:

http://www.reactivated.net/writing_udev_rules.html

True... but to be a little bit more specific:

You have several instances of "=" (assignment operator) where you want "=="
(comparison for equality). udev used to tolerate the use of = in place of
== , but in some recent version it stopped doing so, causing lots of
people's custom rules (including mine) to break, and generating lots of "why
did my udev rules stop working?" traffic in Usenet groups and forums.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: iRiver Clix Media Player - How To Use with Debian?
    ... desktop runing Kernel 2.6.15-1-k7, and my Turion 64 laptop running ... google for 'udev rules' and see if you can create a rule for your clix. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Changed device for camera..
    ... any udev rules as I am trying to cut back on my drinking;-), ... There was no uuid i could discover, but forget what command I used to ... a list of all your disks uuid symlinks. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • RE: How do I make my NIC pick the same ETH port every time?
    ... i think this could be done with udev rules, though i only used them to ... always have the same device aliases for my external fw disks. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: [opensuse] permament symlinks in /dev
    ... symlinks in /dev? ... One way is in udev rules. ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ...
    (SuSE)