Gentoo Archives: gentoo-user

From: Dale <dalek@××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problems with HAL
Date: Sun, 22 Apr 2007 13:29:29
Message-Id: 462B61EF.2010000@exceedtech.net
In Reply to: [gentoo-user] Problems with HAL by Christian Herzyk
1 Christian Herzyk wrote:
2 > Hi all,
3 >
4 > I have a problem with external devices.
5 >
6 > When I insert a CD/DVD into my DVD-drive I get the KDE dialog asking if I want
7 > to open a window ...
8 > If I klick yes, (or try to mount the CD from konquerors media:/ site) I get
9 > this error:
10 > A security policy in place prevents this sender from sending this message to
11 > this recipient, see message bus configuration file
12 > (rejected message had interface "org.freedesktop.Hal.Device.Volume"
13 > member "Mount" error name "(unset)" destination "org.freedes
14 > ktop.Hal")
15 > On the console the user can mount the drive!
16 >
17 > Whenever I plug in my camera (Canon Powershot G2, supporte by gphoto2) I get
18 > this dialog as well but neither gphoto2 nor digikam will find the camera when
19 > started as normal user, root can download pictures with gphoto2.
20 >
21 > Now I got a new Creative Zen Vision M (mp3 player) it uses mtp and libmtp is
22 > installed, as well as amarok with the needed useflags.
23 > mtp-detect as user returns nothing, as root it returns the expected data.
24 > Neither Amarok nor gnomad2 find the player, no matter if user or root starts
25 > them.
26 >
27 > So to me this seems like a problem with user rights or HAL in general, but I
28 > do not know where to look for it.
29 >
30 > I would be very thankful for hints, as I am eager to use my brand new Vision
31 > M!!!
32 >
33 > Regards
34 >
35 > Christian
36 >
37
38 Are you in the plugdev, cdrom and cdrw groups? I had to add my user to
39 those groups a while back. May want to check and make sure. For
40 further reference, this is the groups my user is in and everything works
41 here:
42
43 > root@smoker / # cat /etc/group | grep dale
44 > tty:x:5:nut,dale,dale2
45 > wheel:x:10:root,dale,dale2
46 > floppy:x:11:root,dale,dale2,haldaemon
47 > uucp:x:14:uucp,dale,dale2,nut
48 > audio:x:18:dale,dale2,tee
49 > cdrom:x:19:dale,dale2,haldaemon,tee
50 > dialout:x:20:root, dale, dale2
51 > video:x:27:root,dale,dale2,tee
52 > games:x:35:dale,dale2,tee
53 > cdrw:x:80:dale,dale2,haldaemon,tee
54 > nut:x:84:root,dale,dale2,nut,uucp
55 > usb:x:85:dale,dale2,haldaemon,tee
56 > users:x:100:games,dale,dale2,tee
57 > scanner:x:407:dale
58 > messagebus:x:408:dale,dale2,tee
59 > haldaemon:x:409:dale,dale2,haldaemon,tee
60 > camera:x:450:root,dale,dale2,tee
61 > plugdev:x:451:haldaemon,dale,dale2
62 > root@smoker / #
63
64 Hope this helps.
65
66 Dale
67
68 :-) :-) :-) :-)
69
70
71 --
72 www.myspace.com/-remove-me-dalek1967
73
74 Copy n paste then remove the -remove-me- part.
75
76 --
77 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Problems with HAL Christian Herzyk <gentoo@××××××.de>