source: udev/udev.makechanges@ 97548c6

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 97548c6 was bf5fe0d, checked in by Jim Gifford <clfs@…>, 19 years ago

r2566@server: jim | 2006-03-14 15:46:21 -0800
Updated cdrom detection

  • Property mode set to 100644
File size: 1.2 KB
Line 
1I know this is a topic a lot of people are interested in. How
2to get udev hotplugging working. It's not a simple procedure,
3but I got it to work on a Sparc so it should work for everyone.
4
5First off, you will need to patch the kernel. 2.6.15 is not all
6the way there, but GregKH has the necessary patches available to
7make it work. I used
8
9http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/old/gregkh-all-2.6.15.patch
10
11Second, you will need to use udev 079 or above, here is the build instructions
12you must use to get full functionality.
13make EXTRAS="extras/firmware extras/cdrom_id extras/scsi_id extras/volume_id extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev
14
15make EXTRAS="extras/firmware extras/cdrom_id extras/scsi_id extras/volume_id extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev install
16cp extras/path_id /sbin
17cp extras/eventrecorder.sh /lib/udev
18rm -rf /etc/udev/rules.d/*
19
20Third you will need the udev package that the Cross-LFS team developed.
21I keep tarballs available on my system for download
22
23http://ftp.jg555.com/udev/udev-cross-lfs.tar.bz2
24
25To install this package use make install
26
27Then make sure you remove your hotplug script if you have it running in /etc/rc.d/
Note: See TracBrowser for help on using the repository browser.