You are not logged in.

#1 2005-03-29 16:40:58

Pentadrago
Member
From: Germany
Registered: 2003-11-24
Posts: 16

udev 00.rules seems to be ignored

Hi,

udev seems to ignore my custom rules since the last update.

my 00.rules:

# special custom created rules

# nvidia to group users
KERNEL="nvidia*",    GROUP="users"

# logitech applet

# Logitech MX510
BUS="usb", SYSFS{idVendor}="046d", SYSFS{idProduct}="c01d", PROGRAM="/usr/bin/logitech_applet -s 800"

This was fine but suddenly stopped working. I activated logging and checked the logs but udev seems only to accept rules from udev.rules. The permissions on both files (udev.rules and 00.rules) are the same.

Does anyone know what could be wrong?

btw the logitec_applet is a really great program to get the high resolution (800 dpi) working on logitech mice.


Before we could talk we were singing,
before we could run we were dancing.
"On Earth" by Samael

Offline

#2 2005-03-29 20:25:28

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: udev 00.rules seems to be ignored

Unrelated, but thanks for indirectly telling me about the logitech_applet. That thing is great! I've been trying to get the scroll buttons (buttons 8 and 9) to work properly on my Mx510 and now they do! 8)


·¬»· i am shadowhand, powered by webfaction

Offline

#3 2005-03-30 12:35:27

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: udev 00.rules seems to be ignored

There is also lmctl for logitech mouse:
http://www.bedroomlan.org/~alexios/coding_lmctl.html

EDIT: Ubuntu has also how-to for lmctl:
http://ubuntuforums.org/showthread.php?t=4357

Offline

#4 2005-03-30 12:36:15

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: udev 00.rules seems to be ignored

@Pentadrago: What is actually not working? Logitech applet or nvidia?

Offline

#5 2005-03-30 13:39:35

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: udev 00.rules seems to be ignored

One more patch that might be needed for your kernel if you set highier dpi for the mouse:
http://omfg.linux.dk/pub/configurable-h … e-polling/

Most info about all those programs and patches is from the gentoo forums.
http://forums.gentoo.org/viewtopic.php?t=164679

Offline

#6 2005-03-30 13:46:55

Pentadrago
Member
From: Germany
Registered: 2003-11-24
Posts: 16

Re: udev 00.rules seems to be ignored

Since I updated every rule in my 00.rules is ignored by udev.
It's as if this files doesn't exist.

Changing something in udev.rules has an effect but changing something in my udev.rules has none. Beforehand this worked. I really don't know what went wrong.


Before we could talk we were singing,
before we could run we were dancing.
"On Earth" by Samael

Offline

#7 2005-03-30 15:23:50

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: udev 00.rules seems to be ignored

Well, 00.rules works for me, but I can't make

# video permissions
KERNEL="nvidia*",       GROUP="users"
KERNEL="card[0-9]*",    NAME="dri/%k", GROUP="users"

work. I have no idea why.

Upgrading nvidia messed udev. I could use the last nvidia driver as a normal user. AFAIK the new nvidia has improved udev support. Anyone managed to get nvidia working as a normal user?

Note that I can use X and X apps with no problem. I have problems with the OpenGL apps - they don't work because of bad permissions.

Offline

#8 2005-03-30 19:18:36

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: udev 00.rules seems to be ignored

My rules:

cat /etc/udev/rules.d/00-local.rules
# cdrw/dvd symlinks
KERNEL="hdd", SYMLINK="cdrom cdrecorder"
KERNEL="hde", SYMLINK="dvd"
KERNEL="sound/dsp*", SYMLINK="dsp"

And they work:

stat /dev/cdrecorder
  File: `/dev/cdrecorder' -> `hdd'
  Size: 3               Blocks: 0          IO Block: 4096   symbolic link
Device: bh/11d  Inode: 1952        Links: 1
Access: (0777/lrwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2005-03-30 13:20:07.085604296 -0600
Modify: 2005-03-29 22:40:17.679029632 -0600
Change: 2005-03-29 22:40:17.679029632 -0600

·¬»· i am shadowhand, powered by webfaction

Offline

#9 2005-03-30 21:52:22

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: udev 00.rules seems to be ignored

IceRAM wrote:

Well, 00.rules works for me, but I can't make

# video permissions
KERNEL="nvidia*",       GROUP="users"
KERNEL="card[0-9]*",    NAME="dri/%k", GROUP="users"

work. I have no idea why.

Upgrading nvidia messed udev. I could use the last nvidia driver as a normal user. AFAIK the new nvidia has improved udev support. Anyone managed to get nvidia working as a normal user?

Note that I can use X and X apps with no problem. I have problems with the OpenGL apps - they don't work because of bad permissions.

add MODE="0666"

works for me

Offline

#10 2005-03-30 22:09:45

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: udev 00.rules seems to be ignored

nvidia belongs to group "video", why would you want to use "users"? Just add yourself to the "video" group.


·¬»· i am shadowhand, powered by webfaction

Offline

#11 2005-03-30 22:49:41

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: udev 00.rules seems to be ignored

shadowhand wrote:

nvidia belongs to group "video", why would you want to use "users"? Just add yourself to the "video" group.


and wouldn't it be user not users...

Offline

#12 2005-03-30 23:00:13

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: udev 00.rules seems to be ignored

mpie wrote:
shadowhand wrote:

nvidia belongs to group "video", why would you want to use "users"? Just add yourself to the "video" group.

and wouldn't it be user not users...

No, it's "users". Try

cat /etc/group

and see for yourself.


·¬»· i am shadowhand, powered by webfaction

Offline

#13 2005-03-30 23:01:36

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: udev 00.rules seems to be ignored

yep sri.... my bad....

Offline

Board footer

Powered by FluxBB