You are not logged in.

#1 2006-04-30 15:23:24

mario
Member
Registered: 2006-04-02
Posts: 10

The last UDEV does not pick up my custom rules

Hi, I'm Troy McClure. You might remember me from such archy posts as "My G7 mouse isn't working". Well, since my custom rules don't get picked, I haven't got my custom device node G7 anymore.
This happened with the 0.91-1 update. Now I'm with 0.91-2.
Is it happening to you, too?

cat /etc/udev/rules.d/10-local.rules
ACTION=="add", 
  BUS=="usb", 
  DRIVER=="usbhid", 
  SYSFS{bInterfaceProtocol}=="02", 
  NAME=="input/G7", 
  MODE=="0644",

ACTION=="add", 
  BUS=="usb", 
  SYSFS{manufacturer}=="Samsung", 
  SYSFS{product}=="Samsung ML-2010", 
  NAME=="usb/samsung_ml2010", 
  MODE=="0664",

Offline

#2 2006-04-30 16:41:27

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: The last UDEV does not pick up my custom rules

Where you are assigning a value (NAME, MODE), use a single '='. Where you are comparing values (ACTION, BUS, SYSFS). use the double '=='.

This syntax has been in place for a good while, but previous releases were a bit more forgiving than the 0.9x ones.

Offline

#3 2006-04-30 19:01:25

mario
Member
Registered: 2006-04-02
Posts: 10

Re: The last UDEV does not pick up my custom rules

GREAT! It worked, thank you. Now it just remains to be seen if this will help my mouse - when enabled - not to hang my X every single time.

Offline

Board footer

Powered by FluxBB