You are not logged in.

#1 2009-02-09 06:11:15

cell
Member
Registered: 2007-10-23
Posts: 111

dvd hal gnome

I have been using fstab, trying to make the switch to hal.

http://wiki.archlinux.org/index.php/HAL … zed_by_HAL

pacman -Q | grep 'hal'

hal 0.5.11-7
hal-info 0.20081219-1

pacman -Q | grep 'dbus'

dbus 1.2.4-1
dbus-core 1.2.4-1
dbus-glib 0.78-1
dbus-python 0.83.0-2
ndesk-dbus 0.6.0-1
ndesk-dbus-glib 0.4.1-1

groups

tty lp wheel video audio optical storage power users stb-admin vboxusers

rc.conf

DAEMONS=(syslog-ng @iptables shorewall @network netfs crond sensors !fancontrol @alsa stbd hal fam !vmware)

fstab

#/dev/cdrom /media/cdrom   auto    ro,user,noauto,unhide   0      0
#/dev/dvd /media/dvd   auto    ro,user,noauto,unhide   0      0

/etc/dbus-1/system.d/hal.conf

<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>

  <!-- This configuration file specifies the required security policies
       for the HAL to work. -->

  <!-- Only root or user hal can own the HAL service -->
  <policy user="orbits">
           <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
       <allow send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/>
       <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
       <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
       <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
  </policy>
  <policy user="root">
    <allow own="org.freedesktop.Hal"/>
  </policy>

  <!-- Allow anyone to invoke methods on the Manager and Device interfaces -->
  <!-- <policy context="default">
    <allow send_interface="org.freedesktop.Hal.Manager"/>
    <allow send_interface="org.freedesktop.Hal.Device"/>
    <allow receive_interface="org.freedesktop.Hal.Manager"
           receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device"
           receive_sender="org.freedesktop.Hal"/>

    <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
    <allow receive_interface="org.freedesktop.Hal.Device.SystemPowerManagement"
       receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.LaptopPanel"
       receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.Volume"
       receive_sender="org.freedesktop.Hal"/>
    <allow receive_interface="org.freedesktop.Hal.Device.Volume.Crypto"
       receive_sender="org.freedesktop.Hal"/>
  </policy> -->

  <!-- Default policy for the exported interfaces; if PolicyKit is not used
       for access control you will need to modify this -->
  <!-- <policy context="default">
    <allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
    <allow send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/>
    <allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
  </policy> -->

</busconfig>

Did try with <policy group="power"> and <policy group="storage">
instead of user name.

symptoms:

If inserted CD/DVDs are recognized and an icon is placed on the desktop, but you are not able to open and explore the device, then the device is recognised by the udev system but something is preventing HAL from mounting it. If double-clicking the icon gives the error window "A security policy prevents this sender from sending this message to this recipient...", you will need to check your permissions settings (see the 'Initial configuration' and 'Permissions policies' sections).

It seem to mount fine, but I can't browse the data dvd.

Offline

#2 2009-02-10 23:35:10

z.s.tar.gz
Member
From: Rural Florida
Registered: 2008-12-12
Posts: 298

Re: dvd hal gnome

You have youself in the 'optical' group, correct?
Something similar happened to me, it turned out to be a group issue.


I need to find a way out so everyone can find their way out.
Resregietd Lunix Uesr: 485581

Offline

#3 2009-02-12 21:56:02

cell
Member
Registered: 2007-10-23
Posts: 111

Re: dvd hal gnome

I failed to mention that I did try the /etc/PolicyKit/PolicyKit.conf fix.and ck-launch-session since I do not use GDM.
I guess I will try again when I get some more time to do so, the whole dvd thing is way overrated anyway.
If you got some suggestion I will be happy if you let me know.

Offline

Board footer

Powered by FluxBB