1 |
On 09/06/10 18:55, alain.didierjean@××××.fr wrote: |
2 |
> For some unknown reason, my DVD r/w device is not detected as such by udev: |
3 |
> I can mount /dev/hda and read a data CD, but /dev/cdrom is not created at boot |
4 |
> time and k3b returns |
5 |
> " No optical drive found. |
6 |
> K3b did not find any optical device in your system. |
7 |
> Solution : Make sure HAL daemon is running, it is used by K3b for finding |
8 |
> devices." |
9 |
> Well, hald IS running on my hardened amd64 system and /etc/udev/rules.d contains |
10 |
> 70-persistent-cd.rules. Where should I look now to fix the problem ? |
11 |
> |
12 |
> -- |
13 |
> ~adj~ |
14 |
What's the contents of 70-persistent-cd.rules? I recently had the same |
15 |
problem on a HP laptop; the DVD drive worked in most things, but not in |
16 |
K3B, and I tracked the root down to the fact that while I could see |
17 |
/dev/sr0, the symlinks for /dev/[cdrom,cdrw,dvd,dvdrw] weren't there. I |
18 |
could mount /dev/sr0 and the drive worked, but K3B never found the |
19 |
drive. I believe I fixed it by editing that rules file somehow. I |
20 |
can't remember while laptop it was on, but here's the two |
21 |
70-persistent-cd.rules files I have: |
22 |
|
23 |
(I think this one was the one that worked) |
24 |
|
25 |
# This file was automatically generated by the /lib/udev/write_cd_rules |
26 |
# program, run by the cd-aliases-generator.rules rules file. |
27 |
# |
28 |
# You can modify it, as long as you keep each rule on a single |
29 |
# line, and set the $GENERATED variable. |
30 |
|
31 |
# CDDVDW_TS-L633N (pci-0000:00:1f.2-scsi-1:0:0:0) |
32 |
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", |
33 |
ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-1:0:0:0", SYMLINK+="cdrom", |
34 |
ENV{GENERATED}="1" |
35 |
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", |
36 |
ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-1:0:0:0", SYMLINK+="cdrw", |
37 |
ENV{GENERATED}="1" |
38 |
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", |
39 |
ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-1:0:0:0", SYMLINK+="dvd", |
40 |
ENV{GENERATED}="1" |
41 |
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", |
42 |
ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-1:0:0:0", SYMLINK+="dvdrw", |
43 |
ENV{GENERATED}="1" |
44 |
|
45 |
(I think this one was the one that I had to rewrite myself) |
46 |
|
47 |
SUBSYSTEM=="block", KERNEL=="hdb", SYMLINK+="cdrom", GROUP="cdrom" |
48 |
SUBSYSTEM=="block", KERNEL=="hdb", SYMLINK+="cdrw", GROUP="cdrom" |
49 |
SUBSYSTEM=="block", KERNEL=="hdb", SYMLINK+="dvd", GROUP="cdrom" |
50 |
SUBSYSTEM=="block", KERNEL=="hdb", SYMLINK+="dvdrw", GROUP="cdrom" |
51 |
|
52 |
HTH, |
53 |
|
54 |
Jake Moe |