From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OsYz6-00061u-Iz for garchives@archives.gentoo.org; Mon, 06 Sep 2010 10:31:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78D33E060D; Mon, 6 Sep 2010 10:30:41 +0000 (UTC) Received: from mail-px0-f181.google.com (mail-px0-f181.google.com [209.85.212.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 49174E060D for ; Mon, 6 Sep 2010 10:30:41 +0000 (UTC) Received: by pxi5 with SMTP id 5so1422090pxi.40 for ; Mon, 06 Sep 2010 03:30:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=90MAax6tLbgGqI82usDVhJB+daROoFAzpGdN/zI21rk=; b=TsOW9uB881jf1D8iIlV00grfipjZYLPFXd1ntVkmVuVcNLWp4Q4JiEA+274HVzaBII PeKuYANTpCGfVMO50D+dDxd45kf3skd9AmeaQkYzLMM+h4jBo+lWvkTtHNsdhFbB5w1q A7P56plTzDQxGUJm7fcF8VPOnTgCLkNDPIJmg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=WNhzL05cCPHX1T8xic64RWhzrptT0TeLt0CGOxWJSdkt4ViRW1xuut5EkiAsYgqlPq 7ML9XRnr0weQ2W1Be+8bClBcd5F3ka4AzCcnc/I5p02prQLenMG55zqWm27rTrtHLQxT JvoHIbMnrsR+Xkz5qi4aIMgvCppZxWS06qRdU= Received: by 10.114.111.1 with SMTP id j1mr450790wac.96.1283769040158; Mon, 06 Sep 2010 03:30:40 -0700 (PDT) Received: from [192.168.32.2] (110-174-198-154.static.tpgi.com.au [110.174.198.154]) by mx.google.com with ESMTPS id o17sm10960032wal.21.2010.09.06.03.30.38 (version=SSLv3 cipher=RC4-MD5); Mon, 06 Sep 2010 03:30:39 -0700 (PDT) Message-ID: <4C84C2CA.2090706@gmail.com> Date: Mon, 06 Sep 2010 20:30:34 +1000 From: Jake Moe User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100726 Thunderbird/3.1.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] undetected DVD r/w device References: <1283763300.4c84ac640b3cc@imp.free.fr> In-Reply-To: <1283763300.4c84ac640b3cc@imp.free.fr> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: a3feda42-8a5d-4c4e-8dd7-6a846bb21db6 X-Archives-Hash: be7570df51b1ae9a306943b6457b1f0c 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