From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1Ecs8f-0002Ym-SC for garchives@archives.gentoo.org; Thu, 17 Nov 2005 22:21:54 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAHMKO1N001676; Thu, 17 Nov 2005 22:20:24 GMT Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAHMEtk4002364 for ; Thu, 17 Nov 2005 22:14:56 GMT Received: by wproxy.gmail.com with SMTP id i28so498654wra for ; Thu, 17 Nov 2005 14:14:54 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bL23omlJI/wx5fjDYtgEdBmWJvbAL8xixurl4esABjIGmfNwLtSKArmqR1oCkrveIjFvRmmdU+cHrqI4nPNGi/tg148ZgFQIXuF/FqZ3nH55BlEt3ZfeTzWM9NmC/6hu3a4vwnElLZxO3ryhaeOwbJzcDsfHmkoN0YzovY3jsbU= Received: by 10.54.101.18 with SMTP id y18mr7469919wrb; Thu, 17 Nov 2005 14:14:54 -0800 (PST) Received: by 10.54.126.13 with HTTP; Thu, 17 Nov 2005 14:14:54 -0800 (PST) Message-ID: <7573e9640511171414y63cc4e77u1ca337496674d9fb@mail.gmail.com> Date: Thu, 17 Nov 2005 15:14:54 -0700 From: Richard Fish Sender: richard.j.fish@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: udev: lost dvd In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <7573e9640511171226sbf6b0e8x3ce0d9f06f8acd68@mail.gmail.com> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id jAHMEtk4002364 X-Archives-Salt: de05aab5-7a9a-41bc-81fe-8a49f2091b67 X-Archives-Hash: 980abfa137331a2b88f20d4c66868623 On 11/17/05, James wrote: > Richard Fish asmallpond.org> writes: > > > Does /dev/hdc exist? If so, what are the permissions there? What > > about /dev/cdrom? > Initially: > brw-rw---- 1 cdrom 22, 0 Nov 17 16:41 /dev/hdc > so I change it to 777 > brwxrwxrwx 1 cdrom 22, 0 Nov 17 16:41 /dev/hdc > but that did not fix it. > ls -alg /dev/cdrom > lrwxrwxrwx 1 root root 3 Nov 17 16:41 /dev/cdrom -> hdc Rather than changing the permissions, a better plan is to add any users that should be able to access cdrom/dvd devices to the cdrom group. > > > What does "/sbin/cdrom_id /dev/hdc" report? > ID_CDROM=1 > ID_CDROM_MRW=1 > ID_CDROM_MRW_W=1 > ID_CDROM_RAM=1 > Ok, this is why you have no /dev/dvd device. A DVD reader should also report ID_CDROM_DVD=1, and a burner will report ID_CDROM_DVD_R=1. The /sbin/cdrom_id program is a part of udev, and is used by udev to determine what symlinks to create. So as I see it, you have two choices: 1. Try upgrading to a more recent version of udev. The current ~x86 version is 073. 2. Write a custom rule for your device, and add it to /etc/udev/rules.d/10-local.rules. Something like this should do the trick: KERNEL=="hdc", NAME="%k", GROUP="cdrom", ACTION=="add", SYMLINK+="_dvd%e", IMPORT="/sbin/cdrom_id --export $tempnode" > Hum, /var/log/messages does not exist. Lots of specific log files > are in /var/log > > Which startup script do I edit to start logging to /var/log/messages? Actually, it depends upon what logger you have merged....I use syslog-ng, configured so that my kernel and other logs go to /var/log/messages. Your messages may go somewhere else... -Richard -- gentoo-user@gentoo.org mailing list