Bug#635107: udev doesn't detect ide cdrom drive
Package: cdrom
Severity: important
for some strange reason udev assumes all cdrom devices are scsi so as a
consequence my ide cdrom drive is being ignored. i modified 60-cdrom_id.rules
to check for ide drives as well and now the cdrom/dvd links are being created
once again. this is my modified cd rulse file:
ACTION=="remove", GOTO="cdrom_end"
SUBSYSTEM!="block", GOTO="cdrom_end"
KERNEL!="sr[0-9]*|xvd*|hd*", GOTO="cdrom_end"
ENV{DEVTYPE}!="disk", GOTO="cdrom_end"
# this is only a button press event
ENV{DISK_EJECT_REQUEST}=="?*", GOTO="cdrom_end"
KERNEL=="sr[0-9]*", ENV{ID_CDROM}="1"
IMPORT{program}="cdrom_id $tempnode"
KERNEL=="hd[a-z]*", ENV{ID_CDROM}="1"
IMPORT{program}="cdrom_id $tempnode"
LABEL="cdrom_end"
not sure if this is the best solution but i got tired of having to create
the links by hand.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Reply to: