public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Problems with HAL
@ 2007-04-22 12:13 Christian Herzyk
  2007-04-22 13:23 ` Dale
  0 siblings, 1 reply; 8+ messages in thread
From: Christian Herzyk @ 2007-04-22 12:13 UTC (permalink / raw
  To: gentoo-user

Hi all,

I have a problem with external devices.

When I insert a CD/DVD into my DVD-drive I get the KDE dialog asking if I want 
to open a window ...
If I klick yes, (or try to mount the CD from konquerors media:/ site) I get 
this error:
A security policy in place prevents this sender from sending this message to 
this recipient, see message bus configuration file
(rejected message had interface "org.freedesktop.Hal.Device.Volume" 
member "Mount" error name "(unset)" destination "org.freedes
ktop.Hal")
On the console the user can mount the drive!

Whenever I plug in my camera (Canon Powershot G2, supporte by gphoto2) I get 
this dialog as well but neither gphoto2 nor digikam will find the camera when 
started as normal user, root can download pictures with gphoto2.

Now I got a new Creative Zen Vision M (mp3 player) it uses mtp and libmtp is 
installed, as well as amarok with the needed useflags.
mtp-detect as user returns nothing, as root it returns the expected data.
Neither Amarok nor gnomad2 find the player, no matter if user or root starts 
them.
 
So to me this seems like a problem with user rights or HAL in general, but I 
do not know where to look for it. 
 
 I would be very thankful for hints, as I am eager to use my brand new Vision 
M!!! 
 
 Regards 
 
 Christian
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Problems with HAL
  2007-04-22 12:13 [gentoo-user] Problems with HAL Christian Herzyk
@ 2007-04-22 13:23 ` Dale
  2007-04-22 15:11   ` Christian Herzyk
  0 siblings, 1 reply; 8+ messages in thread
From: Dale @ 2007-04-22 13:23 UTC (permalink / raw
  To: gentoo-user

Christian Herzyk wrote:
> Hi all,
>
> I have a problem with external devices.
>
> When I insert a CD/DVD into my DVD-drive I get the KDE dialog asking if I want 
> to open a window ...
> If I klick yes, (or try to mount the CD from konquerors media:/ site) I get 
> this error:
> A security policy in place prevents this sender from sending this message to 
> this recipient, see message bus configuration file
> (rejected message had interface "org.freedesktop.Hal.Device.Volume" 
> member "Mount" error name "(unset)" destination "org.freedes
> ktop.Hal")
> On the console the user can mount the drive!
>
> Whenever I plug in my camera (Canon Powershot G2, supporte by gphoto2) I get 
> this dialog as well but neither gphoto2 nor digikam will find the camera when 
> started as normal user, root can download pictures with gphoto2.
>
> Now I got a new Creative Zen Vision M (mp3 player) it uses mtp and libmtp is 
> installed, as well as amarok with the needed useflags.
> mtp-detect as user returns nothing, as root it returns the expected data.
> Neither Amarok nor gnomad2 find the player, no matter if user or root starts 
> them.
>  
> So to me this seems like a problem with user rights or HAL in general, but I 
> do not know where to look for it. 
>  
>  I would be very thankful for hints, as I am eager to use my brand new Vision 
> M!!! 
>  
>  Regards 
>  
>  Christian
>   

Are you in the plugdev, cdrom and cdrw groups?  I had to add my user to
those groups a while back.  May want to check and make sure.  For
further reference, this is the groups my user is in and everything works
here:

> root@smoker / # cat /etc/group | grep dale
> tty:x:5:nut,dale,dale2
> wheel:x:10:root,dale,dale2
> floppy:x:11:root,dale,dale2,haldaemon
> uucp:x:14:uucp,dale,dale2,nut
> audio:x:18:dale,dale2,tee
> cdrom:x:19:dale,dale2,haldaemon,tee
> dialout:x:20:root, dale, dale2
> video:x:27:root,dale,dale2,tee
> games:x:35:dale,dale2,tee
> cdrw:x:80:dale,dale2,haldaemon,tee
> nut:x:84:root,dale,dale2,nut,uucp
> usb:x:85:dale,dale2,haldaemon,tee
> users:x:100:games,dale,dale2,tee
> scanner:x:407:dale
> messagebus:x:408:dale,dale2,tee
> haldaemon:x:409:dale,dale2,haldaemon,tee
> camera:x:450:root,dale,dale2,tee
> plugdev:x:451:haldaemon,dale,dale2
> root@smoker / #           

Hope this helps.

Dale

:-)  :-)  :-)  :-)


-- 
www.myspace.com/-remove-me-dalek1967

Copy n paste then remove the -remove-me- part.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Problems with HAL
  2007-04-22 13:23 ` Dale
@ 2007-04-22 15:11   ` Christian Herzyk
  2007-04-22 15:30     ` Dale
  0 siblings, 1 reply; 8+ messages in thread
From: Christian Herzyk @ 2007-04-22 15:11 UTC (permalink / raw
  To: gentoo-user

Hi, 
Dale you get 70 out of 100 points for solving 2 of my problems.


Am Sonntag 22 April 2007 15:23 schrieb Dale:
> Are you in the plugdev, cdrom and cdrw groups?  I had to add my user to
> those groups a while back.  May want to check and make sure.  For
> further reference, this is the groups my user is in and everything works

This (and possibly haldaemon) solved my problems with the USB devices. The 
camera can be accessed now and mtp-detect now reports the mp3 player.

The CD part is solved as well.

The line in my fstab gives /dev/cdrom as a device the media kioslave looks for 
hdb.
Changing  the fstab to /dec/hdb solved this.

Thanks

Christian
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Problems with HAL
  2007-04-22 15:11   ` Christian Herzyk
@ 2007-04-22 15:30     ` Dale
  2007-04-22 17:47       ` Neil Bothwick
  0 siblings, 1 reply; 8+ messages in thread
From: Dale @ 2007-04-22 15:30 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]

Christian Herzyk wrote:
> Hi, 
> Dale you get 70 out of 100 points for solving 2 of my problems.
>
>
> Am Sonntag 22 April 2007 15:23 schrieb Dale:
>   
>> Are you in the plugdev, cdrom and cdrw groups?  I had to add my user to
>> those groups a while back.  May want to check and make sure.  For
>> further reference, this is the groups my user is in and everything works
>>     
>
> This (and possibly haldaemon) solved my problems with the USB devices. The 
> camera can be accessed now and mtp-detect now reports the mp3 player.
>
> The CD part is solved as well.
>
> The line in my fstab gives /dev/cdrom as a device the media kioslave looks for 
> hdb.
> Changing  the fstab to /dec/hdb solved this.
>
> Thanks
>
> Christian
>   

Your welcome.  With all the help I get here, it's about time I could
help someone else.  ;-)

I'm not saying this is correct but this is my fstab lines for cdrom and
floppy:

> /dev/hdc              /media/hdc          iso9660        
> noauto,ro,users         0 0
> /dev/fd0                /media/floppy         auto           
> noauto,users            0 0

I haven't tested the floppy though.  I'm not sure if it works or not.

Glad to help.

Dale

:-)  :-)  :-)


-- 
www.myspace.com/-remove-me-dalek1967

Copy n paste then remove the -remove-me- part.


[-- Attachment #2: Type: text/html, Size: 2313 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Problems with HAL
  2007-04-22 15:30     ` Dale
@ 2007-04-22 17:47       ` Neil Bothwick
  2007-04-22 18:25         ` Dale
  0 siblings, 1 reply; 8+ messages in thread
From: Neil Bothwick @ 2007-04-22 17:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 288 bytes --]

Hello Dale,

> I'm not saying this is correct but this is my fstab lines for cdrom and
> floppy:

If you're using the KDE automounter, you don't need any fstab entries for
removable devices.


-- 
Neil Bothwick

Bumper Sticker: If you can read this, you are in phaser range.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Problems with HAL
  2007-04-22 17:47       ` Neil Bothwick
@ 2007-04-22 18:25         ` Dale
  2007-04-22 20:40           ` Neil Bothwick
  0 siblings, 1 reply; 8+ messages in thread
From: Dale @ 2007-04-22 18:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]

Neil Bothwick wrote:
> Hello Dale,
>
>   
>> I'm not saying this is correct but this is my fstab lines for cdrom and
>> floppy:
>>     
>
> If you're using the KDE automounter, you don't need any fstab entries for
> removable devices.
>
>
>   

That's what I thought to.  I do however use it for a console session and
I use ivman to mount.  I think that is why I had to put that in there. 
KDE works with it there as well though so I guess it doesn't hurt anything.

I also noticed that KDE can read my Canon camera like it is a drive now
though.  Not sure how that happened.  I'm not complaining though.

Dale

:-)  :-)  :-)

-- 
www.myspace.com/-remove-me-dalek1967

Copy n paste then remove the -remove-me- part.


[-- Attachment #2: Type: text/html, Size: 1344 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Problems with HAL
  2007-04-22 18:25         ` Dale
@ 2007-04-22 20:40           ` Neil Bothwick
  2007-04-23 10:31             ` Dale
  0 siblings, 1 reply; 8+ messages in thread
From: Neil Bothwick @ 2007-04-22 20:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]

Hello Dale,

> > If you're using the KDE automounter, you don't need any fstab entries
> > for removable devices.

> That's what I thought to.  I do however use it for a console session and
> I use ivman to mount.  I think that is why I had to put that in there. 
> KDE works with it there as well though so I guess it doesn't hurt
> anything.

You can use pmount to mount a device from a terminal, which is what KDE
uses anyway. The main difference that an fstab entry makes is that it can
change the mount point that would otherwise be used.

> I also noticed that KDE can read my Canon camera like it is a drive now
> though.  Not sure how that happened.  I'm not complaining though.

KDE has been able to do that for a long time. It's not actually mounting
it as a drive, because Canon cameras don't use usb-storage, but the
camera:/ ioslave allows you to use it as if it was, via libgphoto2.


-- 
Neil Bothwick

If this leaves a waxy buildup - on anything - I'm coming back.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Problems with HAL
  2007-04-22 20:40           ` Neil Bothwick
@ 2007-04-23 10:31             ` Dale
  0 siblings, 0 replies; 8+ messages in thread
From: Dale @ 2007-04-23 10:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1479 bytes --]

Neil Bothwick wrote:
> Hello Dale,
>
>   
>>> If you're using the KDE automounter, you don't need any fstab entries
>>> for removable devices.
>>>       
>
>   
>> That's what I thought to.  I do however use it for a console session and
>> I use ivman to mount.  I think that is why I had to put that in there. 
>> KDE works with it there as well though so I guess it doesn't hurt
>> anything.
>>     
>
> You can use pmount to mount a device from a terminal, which is what KDE
> uses anyway. The main difference that an fstab entry makes is that it can
> change the mount point that would otherwise be used.
>   

What I like about ivman is that it is magic.  LOL  It does it without me
doing anything.  I like that.
>   
>> I also noticed that KDE can read my Canon camera like it is a drive now
>> though.  Not sure how that happened.  I'm not complaining though.
>>     
>
> KDE has been able to do that for a long time. It's not actually mounting
> it as a drive, because Canon cameras don't use usb-storage, but the
> camera:/ ioslave allows you to use it as if it was, via libgphoto2.
>
>
>   

I just noticed that though.  It didn't do that a few months ago.  It
would always come up with a empty folder and just sit there.  I still
use gtkam though.  I can rename the file names as they are downloaded
with it.  Be nice if KDE would let you do that the same way.

Dale

:-)  :-)

-- 
www.myspace.com/-remove-me-dalek1967

Copy n paste then remove the -remove-me- part.


[-- Attachment #2: Type: text/html, Size: 2430 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-04-23 10:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-22 12:13 [gentoo-user] Problems with HAL Christian Herzyk
2007-04-22 13:23 ` Dale
2007-04-22 15:11   ` Christian Herzyk
2007-04-22 15:30     ` Dale
2007-04-22 17:47       ` Neil Bothwick
2007-04-22 18:25         ` Dale
2007-04-22 20:40           ` Neil Bothwick
2007-04-23 10:31             ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox