[Nut-upsuser] Re: Problems with config of newhidups

Tom Diehl tdiehl at rogueind.com
Wed Jul 26 04:46:08 UTC 2006


On Tue, 25 Jul 2006, Charles Lepple wrote:

> On 7/25/06, Tom Diehl <tdiehl at rogueind.com> wrote:
>> EL4 does use udev. Sure wish I understood it. :-(
>
> In that case, you need the rules in the hotplug-ng directory. I guess
> we should rename that to udev at some point...

I do not have a /etc/hotplug.d/usb/ directory to put the hotplug stuff in.

My /etc/hotplug.d dir looks like this:
(pocono pts17) $ ll /etc/hotplug.d/
total 8
drwxr-xr-x  2 root root 4096 Mar 15 00:45 default
(pocono pts17) $ ll -R /etc/hotplug.d/
/etc/hotplug.d/:
total 8
drwxr-xr-x  2 root root 4096 Mar 15 00:45 default

/etc/hotplug.d/default:
total 20
lrwxrwxrwx  1 root root   20 Mar 15 00:45 05-wait_for_sysfs.hotplug -> /sbin/wait_for_sysfs
lrwxrwxrwx  1 root root   14 Mar 15 00:45 10-udev.hotplug -> /sbin/udevsend
lrwxrwxrwx  1 root root   24 Mar 15 00:45 20-hal.hotplug -> /usr/libexec/hal.hotplug
-rwxr-xr-x  1 root root 2924 Jul 18  2005 default.hotplug
(pocono pts17) $

In addition /etc/udev dir looks like this:

(pocono pts17) $ ll -R /etc/udev/
/etc/udev/:
total 40
drwxr-xr-x  2 root root 4096 Dec 20  2005 devices
drwxr-xr-x  2 root root 4096 Mar 15 00:45 permissions.d
drwxr-xr-x  2 root root 4096 Mar 15 00:46 rules.d
drwxr-xr-x  2 root root 4096 Mar 15 00:45 scripts
-rw-r--r--  1 root root 1128 Dec 20  2005 udev.conf

/etc/udev/devices:
total 0

/etc/udev/permissions.d:
total 8
-rw-r--r--  1 root root 3695 Dec 20  2005 50-udev.permissions

/etc/udev/rules.d:
total 16
-rw-r--r--  1 root root  152 Nov 30  2005 10-wacom.rules
-rw-r--r--  1 root root 3503 Dec 20  2005 50-udev.rules

/etc/udev/scripts:
total 40
-rwxr-xr-x  1 root root 733 Dec 20  2005 MAKEDEV.dev
-rwxr-xr-x  1 root root 662 Dec 20  2005 check-cdrom.sh
-rwxr-xr-x  1 root root 599 Dec 20  2005 hotplug.dev
-rwxr-xr-x  1 root root 216 Dec 20  2005 ide-media.sh
-rwxr-xr-x  1 root root 978 Dec 20  2005 pam_console.dev
(pocono pts17) $

Can you tell me where the rules are supposed to go or what I need to to do to
figure thing out??

Regards,

Tom



More information about the Nut-upsuser mailing list