Re: description of udev, sysfs, hotplug, hal, etc.



On 2/22/06, L. V. Gandhi <lvgandhi@xxxxxxxxx> wrote:
On 2/22/06, Hendrik Sattler <post@xxxxxxxxxxxxxxxxxx> wrote:
hotplug: called by the kernel, loads the proper driver is can run scipts

udev: called by the kernel, dynamic filesystem in userspace that relies on
tmpfs, lately replaces hotplug

new udev suggests to remove hotplug. However sequence of activities by

The udev manpage says that it is "part of the hotplug subsystem".
Apparently my belief that hotplug-subsystem == hotplug scripts is
incorrect. Since `grep -r udev /etc/hotplug*` doesn't match any lines
I guess I'm definately wrong.

So if hotplug is no longer suggested (where is this suggestion?),
where should I do something such as a script to automatically mount my
camera, move the images, and unmount when it is unplugged? That's the
whole reason I started looking into this and I'm not really any closer
to having it done. Is HAL the appropriate place? If so, are there
any docs more manageable than the spec at freedesktop.org? A
mini-howto would be ideal.

I've been filling in the http://wiki.debian.org/DeviceManagement page
but would greatly appreciate someone correcting my misinterpretations.

--Dave


Relevant Pages

  • Re: Hauppage Nova-T PCI DVB receiver card fine in 2.6.8, broken in 2.6.16
    ... I had some teething problems getting the DVB drivers compiled, back in the 2.4.22 days before they were in the kernel, but after that it was totally reliable. ... This should not be necessary with udev, which should automatically create your DVB devices. ... The installation process tells me to purge hotplug, ... It's something to do with removing hotplug and putting in udev, because when I apt-get install hotplug, it all works again. ...
    (Debian-User)
  • Re: /etc/udev/rules.d and permissions in /dev/usb
    ... /dev/fd via mknod, and then run the `udevstart' program, which iterated ... parsing udev rules and creating ... The kernel was not involved, ... but `run' is conventional) to this file triggers a hotplug ...
    (uk.comp.os.linux)
  • Re: I really need some help here udev/hotplug/usb/usbmount etc etc.
    ... Basically, hotplug loads ... You don't necessarily need udev if you just go with static device nodes ... If you are running Sid or Testing, well, then things ... IIRC the udev in Stable won't work with kernels> 2.6.12 or thereabouts. ...
    (comp.os.linux.misc)
  • Re: [PATCH] to drivers/input/evdev.c to add mixer device "/dev/input/events"
    ... And udev takes care of it anyway. ... But X really needs to start caring about hotplug. ... And there maybe be situations in which a user program or X ... gave it even if the device was not present at boot. ...
    (Linux-Kernel)
  • Re: hotplug script before udev
    ... The problem is that photodl is called before the device is created from udev. ... And that hotplug is the apropriate place for calling scripts ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)