clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since bf5fe0d 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
|
Rev | Line | |
---|
[814881c5] | 1 | I know this is a topic a lot of people are interested in. How
|
---|
| 2 | to get udev hotplugging working. It's not a simple procedure,
|
---|
| 3 | but I got it to work on a Sparc so it should work for everyone.
|
---|
| 4 |
|
---|
| 5 | First off, you will need to patch the kernel. 2.6.15 is not all
|
---|
| 6 | the way there, but GregKH has the necessary patches available to
|
---|
| 7 | make it work. I used
|
---|
| 8 |
|
---|
[1f7827a2] | 9 | http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/old/gregkh-all-2.6.15.patch
|
---|
[814881c5] | 10 |
|
---|
[715df131] | 11 | Second, you will need to use udev 079 or above, here is the build instructions
|
---|
[814881c5] | 12 | you must use to get full functionality.
|
---|
[bf5fe0d] | 13 | make 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
|
---|
[814881c5] | 14 |
|
---|
[bf5fe0d] | 15 | make 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
|
---|
[814881c5] | 16 | cp extras/path_id /sbin
|
---|
| 17 | cp extras/eventrecorder.sh /lib/udev
|
---|
| 18 | rm -rf /etc/udev/rules.d/*
|
---|
| 19 |
|
---|
| 20 | Third you will need the udev package that the Cross-LFS team developed.
|
---|
| 21 | I keep tarballs available on my system for download
|
---|
| 22 |
|
---|
| 23 | http://ftp.jg555.com/udev/udev-cross-lfs.tar.bz2
|
---|
| 24 |
|
---|
| 25 | To install this package use make install
|
---|
| 26 |
|
---|
| 27 | Then 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.