View previous topic :: View next topic |
Author |
Message |
JP Linux Guru

Joined: 07 Jul 2025 Posts: 6670 Location: Central Montana
|
Posted: Mon Sep 29, 2025 4:42 pm Post subject: Creative "Zen Stone" |
|
|
OK, so I finally broke down and bought an MP3 player, it's just a little bugger, 1Gb Creative Zen Stone (yeah, I know I'm technologically challenged, and things like that intimidate me) so I plugged it into my USB port like the instructions said to do ....... and I got a popup error message that said
Quote: | Failed to mount "Zen Stone"
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.freedesktop.Hal") |
I tried plugging the player into my wife's M$O$ XP, and it worked just fine. I'd rather NOT use the M$O$ box to charge up the player after using it. I loaded up a bunch of my Bluegrass CD's and ran out of space - it supposedly holds 250 songs, and I think I came close, so I'm not complaining .... I'd just like to get things configured so that I can use my Linux box instead of her M$O$ box.
My second concern would be, once I get this taken care of so that I can maintain it from a Linux box, how can I access the song list within the device so that I can edit out songs that I have decided I don't want to have on the player.
Any advice will be appreciated !! THX 
_________________ Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
Posted: Mon Sep 29, 2025 4:57 pm Post subject: |
|
|
It's basically a FAT32 storage device ....... like a "pendrive", "flashdrive", or "memory card". Should work just like any of them do. Not sure what version of Linux your using this on, might try booting up Slax and plugging it in, see if that works, if it does, I'd venture to guess you have a setting wrong in your current distro.
_________________ Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
|
|
Back to top |
|
Lord.DragonFly.of.Dawn Advanced Member

Joined: 18 Jul 2025 Posts: 607 Location: South Portland, Maine, USA, Earth, Sol System
|
Posted: Mon Sep 29, 2025 5:01 pm Post subject: |
|
|
sounds like a HAL problem....
Is HAL started properly?
could be a permisions error too....
_________________ ArchLinux x86_64 - Custom Built Desktop
ArchLinux x86_64 - Compaq CQ50 Laptop
ArchLinux i686 - Acer Aspire One Netbook
ArchLinux i686 - Dell Presario ze2000 (w/ shattered LCD)
PuppyLinux, CloneZilla, PartedMagic, DBAN - rescue thumbdrives
Windows 7 (x86_64 desktop alternate boot)
|
|
Back to top |
|
JP Linux Guru

Joined: 07 Jul 2025 Posts: 6670 Location: Central Montana
|
|
Back to top |
|
JP Linux Guru

Joined: 07 Jul 2025 Posts: 6670 Location: Central Montana
|
|
Back to top |
|
Lord.DragonFly.of.Dawn Advanced Member

Joined: 18 Jul 2025 Posts: 607 Location: South Portland, Maine, USA, Earth, Sol System
|
Posted: Tue Sep 30, 2025 1:54 am Post subject: |
|
|
If you are running KDE or gnome it's probably already started.
but just in case: http://wiki.archlinux.org//HAL
_________________ ArchLinux x86_64 - Custom Built Desktop
ArchLinux x86_64 - Compaq CQ50 Laptop
ArchLinux i686 - Acer Aspire One Netbook
ArchLinux i686 - Dell Presario ze2000 (w/ shattered LCD)
PuppyLinux, CloneZilla, PartedMagic, DBAN - rescue thumbdrives
Windows 7 (x86_64 desktop alternate boot)
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
Posted: Tue Sep 30, 2025 5:24 am Post subject: |
|
|
Read the wiki link .... ask here if you have more questions. hal has to be in the Daemons list in /etc/rc.conf . dbus needs to be installed,but does NOT need to be in the daemon list.
_________________ Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
|
|
Back to top |
|
JP Linux Guru

Joined: 07 Jul 2025 Posts: 6670 Location: Central Montana
|
Posted: Wed Oct 01, 2025 4:02 am Post subject: |
|
|
Checking to see if they are installed and I did check the Daemons in rc.conf and hal is there with a @ in front of it.
Code: | [root@Archbox jp]# pacman -S dbus hal
warning: dbus-1.2.3-1 is up to date -- reinstalling
warning: hal-0.5.11-1 is up to date -- reinstalling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Using the directions in the Wiki:
[root@Archbox jp]# /etc/rc.d/hal start
:: Starting Hardware Abstraction Layer [FAIL]
[root@Archbox jp]# gpasswd -a jp optical
Adding user jp to group optical
[root@Archbox jp]# gpasswd -a jp storage
Adding user jp to group storage
[root@Archbox jp]# gpasswd -a jp hal
Adding user jp to group hal
[root@Archbox jp]# /etc/rc.d/dbus restart
:: Stopping D-BUS system messagebus [DONE]
:: Starting D-BUS system messagebus [DONE]
[root@Archbox jp]# /etc/rc.d/hal restart
:: Stopping Hardware Abstraction Layer [FAIL]
:: Starting Hardware Abstraction Layer [FAIL]
[root@Archbox jp]# |
This doesn't look good
Continuing:
Code: | [root@Archbox jp]# nano /etc/dbus-1/system.d/hal.conf
Error in /etc/nanorc on line 4: Unknown flag "nowrap"
Press Enter to continue starting nano.
|
Wiki wrote: | The default hal.conf will contain a number of policies denying and allowing access, amongst them this default (the later of two defaults and therefore seemingly the deciding one):
Code: | <policy context="default">
<deny send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
<deny send_interface="org.freedesktop.Hal.Device.VideoAdapterPM"/>
<deny send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
<deny send_interface="org.freedesktop.Hal.Device.Volume"/>
<deny send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
</policy> |
In short, users are by default denied access to interfaces like Volume which has methods such as mount and unmount. This is overruled by policies allowing users of the groups 'power' and 'storage' to access their respective devices:
Code: | <policy group="power">
<allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
<allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/>
</policy>
<policy group="storage">
<allow send_interface="org.freedesktop.Hal.Device.Volume"/>
<allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
</policy> |
Which is why you will want to add your user to those groups (see 'Initial configuration'), thus reducing the number of customized configuration files. |
Code: | [root@Archbox jp]# gpasswd -a jp volume
unknown group: volume
gpasswd: Permission denied.
[root@Archbox jp]# |
Wiki wrote: | A less elegant solution is inserting your user name into the user policy section granting access to all the HAL devices listed (replace the zero with your user name): |
I set the username instead of the "0"
I keep having this message when I use nano .... I'm wondering if I should just comment out "nowrap: ?
Code: | [root@Archbox jp]# nano /etc/nanorc
Error in /etc/nanorc on line 4: Unknown flag "nowrap"
Press Enter to continue starting nano.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
set autoindent
set const
set historylog
set nowrap
set smooth
set speller "aspell -c"
set regexp
set fill 72
# set multibuffer
# set nohelp
set suspend
|
Now, back to the start:
Code: | [root@Archbox jp]# /etc/rc.d/dbus restart
:: Stopping D-BUS system messagebus [FAIL]
:: Starting D-BUS system messagebus [BUSY] Failed to start message bus: Error in file /etc/dbus-1/system.d/hal.conf, line 61, column 4: not well-formed (invalid token)
[FAIL]
[root@Archbox jp]# /etc/rc.d/hal restart
:: Stopping Hardware Abstraction Layer [FAIL]
:: Starting D-BUS system messagebus [BUSY] Failed to start message bus: Error in file /etc/dbus-1/system.d/hal.conf, line 61, column 4: not well-formed (invalid token)
[FAIL]
:: Starting Hardware Abstraction Layer [FAIL]
[root@Archbox jp]#
|
This is lines 60 (which I changed from "0" to the user as instructed) and 61 that seems to causing trouble (which I didn't change at all); Code: | <policy user="jp"
<allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
| And these are the same two lines in the Wiki; Wiki wrote: | <policy user="0">
<allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/> |
So, it seems that the only thing I accomplished was to get one more new error message
P.S. -- NOTE: Since I did all that, I've lost all my desktop icons 
_________________ Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup
|
|
Back to top |
|
inactive Sr. Member
Joined: 29 Aug 2025 Posts: 1207
|
Posted: Wed Oct 01, 2025 5:19 am Post subject: |
|
|
One thing to remember, is that mp3 players don't "mount" - at least for a lot of them they don't. They're seen as either an ipod or mtp device.
I just crank up Amarok or Rhythmbox, and configure them to find my mp3 player. Of course, this is in Mandriva, where they're easy to get going in.
Make sure you have ipod programs and mtp modules installed. Should help.
_________________ Mandriva 2025.1 PWP
Mandriva Cooker
ArtistX live
|
|
Back to top |
|
JP Linux Guru

Joined: 07 Jul 2025 Posts: 6670 Location: Central Montana
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
Posted: Wed Oct 01, 2025 3:25 pm Post subject: |
|
|
jp,
Please post the following....
The output of: less /etc/rc.conf | grep hal
and the output of: groups
Edit, and YES you can comment out that "nowrap" in /etc/nanorc to get rid of that error...... i've filed a bug report.
_________________ Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
|
|
Back to top |
|
jada Linux Guru

Joined: 13 May 2025 Posts: 3064 Location: Sun City, CA 92585
|
Posted: Wed Oct 01, 2025 4:08 pm Post subject: |
|
|
JP wrote: |
Thanks, I'll have to look in the Arch packages and see if I have either of those modules to install .... and maybe I should configure the sound too, while I'm at it  |
All what you need for Arch you will find in AUR. It have take me sometime to figure it out. |
|
Back to top |
|
JP Linux Guru

Joined: 07 Jul 2025 Posts: 6670 Location: Central Montana
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
|
Back to top |
|
crouse Site Admin

Joined: 17 Apr 2025 Posts: 11833 Location: Iowa
|
Posted: Thu Oct 02, 2025 2:40 am Post subject: |
|
|
JP wrote: | Code: | [BUSY] Failed to start message bus: Error in file /etc/dbus-1/system.d/hal.conf, line 61, column 4: not well-formed (invalid token)
[FAIL]
:: Starting Hardware Abstraction Layer [FAIL]
[root@Archbox jp]#
|
This is lines 60 (which I changed from "0" to the user as instructed) and 61 that seems to causing trouble (which I didn't change at all); Code: | <policy user="jp"
<allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/>
| And these are the same two lines in the Wiki; Wiki wrote: | <policy user="0">
<allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/> |
|
jp, did you NOTICE the ">" bracket was missing off of YOUR entry ?
You show
SHOULD BE
_________________ Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
|
|
Back to top |
|
|