Fitzcarraldo wrote:
What do you have in /etc/fstab? If you have added any optical drives to that you must remove them from fstab, as that will interfere with what udev is doing.
done!
Fitzcarraldo wrote:
- Code: Select all
# ls -la /dev/sr0
brw-rw----+ 1 root cdrom 11, 0 Nov 16 07:21 /dev/sr0
# ls -la /dev/dvd*
ls: cannot access /dev/dvd*: No such file or directory
# ls -la /dev/cd*
lrwxrwxrwx 1 root root 3 Nov 16 07:21 /dev/cdrom -> sr0
You should have a device /dev/sr0. Notice that I have a symlink /dev/cdrom that is linked to /dev/sr0. If you have /dev/sr0 but not the symlink, then you can create one manually:
I'm confused here. Did you created 2 symlinks for the same drive? One has a CDROM reader and as a DVD reader.
Fitzcarraldo wrote:
- Code: Select all
su
Password:
cd /dev
ln -s sr0 dvd
ln -s sr0 cdrom
You shouldn't need to do that, but it might at least get it working.
EDIT: Also, what you you have in the file /usr/lib64/udev/rules.d/60-cdrom_id.rules on your machine? Here is mine for comparison:
- Code: Select all
# do not edit this file, it will be overwritten on update
ACTION=="remove", GOTO="cdrom_end"
SUBSYSTEM!="block", GOTO="cdrom_end"
KERNEL!="sr[0-9]*|xvd*", GOTO="cdrom_end"
ENV{DEVTYPE}!="disk", GOTO="cdrom_end"
# unconditionally tag device as CDROM
KERNEL=="sr[0-9]*", ENV{ID_CDROM}="1"
# media eject button pressed
ENV{DISK_EJECT_REQUEST}=="?*", RUN+="cdrom_id --eject-media $devnode", GOTO="cdrom_end"
# import device and media properties and lock tray to
# enable the receiving of media eject button events
IMPORT{program}="cdrom_id --lock-media $devnode"
KERNEL=="sr0", SYMLINK+="cdrom", OPTIONS+="link_priority=-100"
LABEL="cdrom_end"
or, if you have more than one optical drive, the udev rules file given in the Gentoo Forums post: http://forums.gentoo.org/viewtopic-p-71 ... ml#7184082
60-cdrom_id.rules fil is present.At least, this one seem normal.
do not edit this file, it will be overwritten on update
ACTION=="remove", GOTO="cdrom_end"
SUBSYSTEM!="block", GOTO="cdrom_end"
KERNEL!="sr[0-9]*|xvd*", GOTO="cdrom_end"
ENV{DEVTYPE}!="disk", GOTO="cdrom_end"
# unconditionally tag device as CDROM
KERNEL=="sr[0-9]*", ENV{ID_CDROM}="1"
# media eject button pressed
ENV{DISK_EJECT_REQUEST}=="?*", RUN+="cdrom_id --eject-media $devnode", GOTO="cdrom_end"
# import device and media properties and lock tray to
# enable the receiving of media eject button events
IMPORT{program}="cdrom_id --lock-media $devnode"
KERNEL=="sr0", SYMLINK+="cdrom", OPTIONS+="link_priority=-100"
LABEL="cdrom_end"
