From: Jake Moe <jakesaddress@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] undetected DVD r/w device
Date: Mon, 06 Sep 2010 20:30:34 +1000 [thread overview]
Message-ID: <4C84C2CA.2090706@gmail.com> (raw)
In-Reply-To: <1283763300.4c84ac640b3cc@imp.free.fr>
On 09/06/10 18:55, alain.didierjean@free.fr wrote:
> For some unknown reason, my DVD r/w device is not detected as such by udev:
> I can mount /dev/hda and read a data CD, but /dev/cdrom is not created at boot
> time and k3b returns
> " No optical drive found.
> K3b did not find any optical device in your system.
> Solution : Make sure HAL daemon is running, it is used by K3b for finding
> devices."
> Well, hald IS running on my hardened amd64 system and /etc/udev/rules.d contains
> 70-persistent-cd.rules. Where should I look now to fix the problem ?
>
> --
> ~adj~
What's the contents of 70-persistent-cd.rules? I recently had the same
problem on a HP laptop; the DVD drive worked in most things, but not in
K3B, and I tracked the root down to the fact that while I could see
/dev/sr0, the symlinks for /dev/[cdrom,cdrw,dvd,dvdrw] weren't there. I
could mount /dev/sr0 and the drive worked, but K3B never found the
drive. I believe I fixed it by editing that rules file somehow. I
can't remember while laptop it was on, but here's the two
70-persistent-cd.rules files I have:
(I think this one was the one that worked)
# This file was automatically generated by the /lib/udev/write_cd_rules
# program, run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and set the $GENERATED variable.
# CDDVDW_TS-L633N (pci-0000:00:1f.2-scsi-1:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-1:0:0:0", SYMLINK+="cdrom",
ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-1:0:0:0", SYMLINK+="cdrw",
ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-1:0:0:0", SYMLINK+="dvd",
ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:1f.2-scsi-1:0:0:0", SYMLINK+="dvdrw",
ENV{GENERATED}="1"
(I think this one was the one that I had to rewrite myself)
SUBSYSTEM=="block", KERNEL=="hdb", SYMLINK+="cdrom", GROUP="cdrom"
SUBSYSTEM=="block", KERNEL=="hdb", SYMLINK+="cdrw", GROUP="cdrom"
SUBSYSTEM=="block", KERNEL=="hdb", SYMLINK+="dvd", GROUP="cdrom"
SUBSYSTEM=="block", KERNEL=="hdb", SYMLINK+="dvdrw", GROUP="cdrom"
HTH,
Jake Moe
next prev parent reply other threads:[~2010-09-06 10:31 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-06 8:55 [gentoo-user] undetected DVD r/w device alain.didierjean
2010-09-06 10:30 ` Jake Moe [this message]
2010-09-06 11:13 ` Stroller
2010-09-06 15:04 ` alain.didierjean
2010-09-06 15:06 ` alain.didierjean
2010-09-06 15:11 ` alain.didierjean
2010-09-06 15:20 ` alain.didierjean
2010-09-10 14:25 ` alain.didierjean
2010-09-10 23:49 ` [gentoo-user] " walt
2010-09-11 6:38 ` alain.didierjean
2010-09-11 12:29 ` Stroller
2010-09-11 11:10 ` [gentoo-user] " Stéphane Guedon
2010-09-11 16:01 ` alain.didierjean
2010-09-11 17:50 ` Mick
2010-09-11 18:15 ` alain.didierjean
2010-09-12 16:27 ` [gentoo-user] undetected DVD r/w device SOLVED alain.didierjean
2010-09-12 16:41 ` Mick
2010-09-12 18:04 ` Joerg Schilling
2010-09-11 18:24 ` [gentoo-user] undetected DVD r/w device Peter Humphrey
2010-09-11 20:15 ` Alan McKinnon
2010-09-11 21:57 ` Peter Humphrey
2010-09-11 22:47 ` Mick
2010-09-12 0:15 ` [gentoo-user] " walt
2010-09-12 9:05 ` Peter Humphrey
2010-09-06 12:05 ` [gentoo-user] " Joerg Schilling
2010-09-11 15:57 ` alain.didierjean
2010-09-11 17:48 ` Mick
2010-09-11 18:01 ` Joerg Schilling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C84C2CA.2090706@gmail.com \
--to=jakesaddress@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox