Gentoo Archives: gentoo-desktop

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-desktop@l.g.o
Subject: [gentoo-desktop] Re: Knotify4 does not detect inserted CD/DVD and/or USB-Disks
Date: Sat, 16 Apr 2011 16:33:42
In Reply to: Re: [gentoo-desktop] Knotify4 does not detect inserted CD/DVD and/or USB-Disks by Dan Johansson
Dan Johansson posted on Sat, 16 Apr 2011 14:56:33 +0200 as excerpted:

> On Saturday 16 April 2011 14.39:23 Yohan Pereira wrote: >> On Saturday 16 Apr 2011 06:06:18 PM Dan Johansson wrote: >> > Any suggestions on how to bring knotify4 to recognize an inserted >> > CD/DVD/USB- Disk (without HAL). >> >> have you enabled the udev use flag? for eg. on kdelibs et al. > > Yes, udev is enabled (and I have recompiled kdelibs, solid and knotify a > few times today while experimenting).
You don't mention what kde version. kde 4.6.0 was the first to switch away from hal. If you're running previous to that, you need hal for detection. I don't know why (perhaps an issue with policykit or dbus interfering, or because I don't have device-mapper on in the kernel even tho udisks depends on lvm for device-mapper and asks for the kernel option as well?), but with 4.6.0, detection, at least for cd/dvd, didn't work here either. But, 4.6.1 suddenly started worked with cd/dvd at least (I've not changed kernel options, so I guess device-mapper isn't needed afterall, for that). Now 4.6.2 doesn't appear to be working, again, but I last updated a few days ago so maybe they've patched it to work again by now? I've not tried USB mass storage, so I don't know if that's working or not. But, I don't really care about auto-mounting here anyway, so it's not a big deal for me either way. If it works, it works, if it doesn't, it doesn't. I actually thought my config was screwed up for it, so I was surprised when it started working in 4.6.1. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman