From: karaluh Date: Tue, 06 Feb 2007 19:54:19 +0000 Subject: Re: CD not recognised by udev Message-Id: <200702062054.20314.karaluh@tlen.pl> List-Id: References: <200702041752.26081.karaluh@tlen.pl> In-Reply-To: <200702041752.26081.karaluh@tlen.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: linux-hotplug@vger.kernel.org Dnia poniedziaƂek 05 luty 2007, Kay Sievers napisaƂ: > > > > I've got Discworld II game, which is safedisc protected and maybe for > > > > that reason not recognised by udev (udevmonitor doesn't display any > > > > info when one of those cd's is inserted). Manual mount works fine > > > > though, but it's not a sollution for me. I need the cd's to be > > > > automounted, cause I have to switch cd's during gameplay, and it's > > > > impossible with the mount command. > > > As already pointed out, udev doesn't care about optical drives, > > > because they need to be polled to get notifications about a media > > > change. Anyway, HAL depends on detecting a filesystem prior to a > > > possible mount. This is provided by libvolume_id. What does: > > > /lib/udev/vol_id --export /dev/XXX > > > print? > > It doesn't print anything. It's the same for automountable cd. > Huh, it doesn't even print an error? I was suprised too. For one moment I thought something's wrong with the vol_id, but when I execute the above command with no cd in drive I get /dev/hdb: error open volume which is ok I suppose. And no matter what cd is in (the problematic or a regular one) I get no info from vol_id. I don't know if that's normal. I even tried -t -l -u switches, but without result. > You replaced the XXX with your device name? :) Of course I did :). If I didn't I would end up with an error anyway. -- Best regards, karaluh ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel