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 1Ecsqp-0003BH-Nr for garchives@archives.gentoo.org; Thu, 17 Nov 2005 23:07:32 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAHN62XE014002; Thu, 17 Nov 2005 23:06:02 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAHMwco9004218 for ; Thu, 17 Nov 2005 22:58:38 GMT Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by smtp.gentoo.org with esmtp (Exim 4.43) id 1EcsiD-0002xU-OV for gentoo-user@lists.gentoo.org; Thu, 17 Nov 2005 22:58:38 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ecsg4-00010H-RH for gentoo-user@gentoo.org; Thu, 17 Nov 2005 23:56:24 +0100 Received: from buffer.net ([24.73.161.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Nov 2005 23:56:24 +0100 Received: from wireless by buffer.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Nov 2005 23:56:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: James Subject: [gentoo-user] Re: udev: lost dvd Date: Thu, 17 Nov 2005 22:54:04 +0000 (UTC) Message-ID: References: <7573e9640511171226sbf6b0e8x3ce0d9f06f8acd68@mail.gmail.com> <7573e9640511171414y63cc4e77u1ca337496674d9fb@mail.gmail.com> 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=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 24.73.161.102 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051007) Sender: news X-Archives-Salt: 2b12d65f-1956-4c0d-8871-f768fe9596ec X-Archives-Hash: 4bc8b9ae5bc25e8e10fbf5d22bf2086e Richard Fish asmallpond.org> writes: > 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. In /etc/group it has been like this for some time: cdrom::19:root,james video::27:root,james > > 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. Tried this first, (added ~x86 to packages.keywords and emerged udev) Did not work. This look reasonable so I'll stay on version 073 of udev for > 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: OK, this file does not exist, only: -rw-r--r-- 1 root root 54 Sep 14 10:38 30-svgalib.rules -rw-r--r-- 1 root root 11492 Nov 17 18:31 50-udev.rules so I created it: -rw-r--r-- 1 root root 120 Nov 17 18:47 10-local.rules > KERNEL=="hdc", NAME="%k", GROUP="cdrom", ACTION=="add", > SYMLINK+="_dvd%e", IMPORT="/sbin/cdrom_id --export $tempnode" Now: cat /etc/udev/rules.d/10-local.rules KERNEL=="hdc", NAME="%k", GROUP="cdrom", ACTION=="add", SYMLINK+="dvd%e", IMPORT="/sbin/cdrom_id --export $tempnode" > > 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... vixie-cron I can swith if you think it's necessary to debug this problem? James -- gentoo-user@gentoo.org mailing list