On 16/03/13 09:44, Ed Greshko wrote:
Do I need to create it under /dev/char ?
You don't have
[egreshko@meimei ~]$ ll /dev/cdrom
lrwxrwxrwx. 1 root root 3 Mar 12 07:27 /dev/cdrom -> sr0
Ok now I made that:
[root@box10 bobg]# ll /dev/cdrom
lrwxrwxrwx. 1 root root 3 Mar 16 10:00 /dev/cdrom -> sr0
>>
>> Do you have a /usr/lib/udev/rules.d/60-cdrom_id.rules file?
> [root@box10 bobg]# ll /usr/lib/udev/rules.d/60-cdrom_id.rules
> -rw-r--r--. 1 root root 646 Jan 28 14:05 /usr/lib/udev/rules.d/60-cdrom_id.rules
You do have that.... Check that file and make sure it contains the line
KERNEL=="sr0", SYMLINK+="cdrom", OPTIONS+="link_priority=-100"
[root@box10 bobg]# cat /usr/lib/udev/rules.d/60-cdrom_id.rules
# 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"
Also, run "systemctl status systemd-udevd.service" to ensure it is running.
[root@box10 bobg]# systemctl status systemd-udevd.service
systemd-udevd.service - udev Kernel Device Manager
Loaded: loaded (/usr/lib/systemd/system/systemd-udevd.service;
static)
Active: active (running) since Sat 2013-03-16 23:32:15 EDT
Docs: man:systemd-udevd.service(8)
man:udev(7)
Main PID: 400 (systemd-udevd)
CGroup: name=systemd:/system/systemd-udevd.service
└─400 /usr/lib/systemd/systemd-udevd
Mar 16 23:32:18 box10 systemd-udevd[543]: failed to execute
'/usr/lib/udev/pci-db' 'pci-db /devices/pci0000:00/0000:00:11.0': No
such file or directory
Mar 16 23:32:18 box10 mtp-probe[550]: checking bus 3, device 2:
"/sys/devices/pci0000:00/0000:00:12.0/usb3/3-5"
Mar 16 23:32:18 box10 mtp-probe[551]: checking bus 4, device 2:
"/sys/devices/pci0000:00/0000:00:13.0/usb4/4-1"
Mar 16 04:32:49 box10 systemd-udevd[447]: timeout 'ata_id --export /dev/sr0'
Mar 16 04:32:49 box10 systemd-udevd[400]: worker [447]
/devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sr0 timeout;
kill it
Mar 16 04:32:49 box10 systemd-udevd[400]: seq 1736
'/devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sr0'
killed
Mar 16 04:32:49 box10 systemd-udevd[400]: worker [447] terminated by
signal 9 (Killed)
Mar 16 04:37:03 box10 systemd-udevd[400]: worker [2008]
/devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sr0 timeout;
kill it
Mar 16 04:37:03 box10 systemd-udevd[400]: seq 2172
'/devices/pci0000:00/0000:00:11.0/ata2/host1/target1:0:0/1:0:0:0/block/sr0'
killed
Mar 16 04:37:03 box10 systemd-udevd[400]: worker [2008] terminated by
signal 9 (Killed)
Next to get it to "eject" the disk ...
--
http://www.qrz.com/db/W2BOD
box10 Fedora-18 XFCE Linux
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org