USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

Creative "Zen Stone"
Goto page 1, 2  Next
 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » OTHER
View previous topic :: View next topic  
Author Message
JP
Linux Guru


Joined: 07 Jul 2024
Posts: 6670
Location: Central Montana

PostPosted: Mon Sep 29, 2024 4:42 pm    Post subject: Creative "Zen Stone" Reply with quote

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 Very Happy Very Happy



_________________
Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup
Back to top
View user's profile Send private message Visit poster's website
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Mon Sep 29, 2024 4:57 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
Lord.DragonFly.of.Dawn
Advanced Member


Joined: 18 Jul 2024
Posts: 607
Location: South Portland, Maine, USA, Earth, Sol System

PostPosted: Mon Sep 29, 2024 5:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
JP
Linux Guru


Joined: 07 Jul 2024
Posts: 6670
Location: Central Montana

PostPosted: Mon Sep 29, 2024 7:53 pm    Post subject: Reply with quote

crouse wrote:
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.

I'm using Arch ... that's the only distro that loves my Dell 4300 Laughing Laughing What settings might I need to change, and where?



_________________
Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup
Back to top
View user's profile Send private message Visit poster's website
JP
Linux Guru


Joined: 07 Jul 2024
Posts: 6670
Location: Central Montana

PostPosted: Mon Sep 29, 2024 8:01 pm    Post subject: Reply with quote

Lord.DragonFly.of.Dawn wrote:
sounds like a HAL problem....

Is HAL started properly?

could be a permisions error too....


I don't know where to find out if HAL is started properly. I used the Beginner's Guide Clik Wink install to put Arch on this desktop, so I assumed that everything was up to snuff, so to speak. I think the only things I skipped were soune and raid/server kind of stuff.

BTW, I found out how to edit the song list on XP, so it shouldn't be that hard to maintain it, once I get this working on my Linux box Wink



_________________
Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup
Back to top
View user's profile Send private message Visit poster's website
Lord.DragonFly.of.Dawn
Advanced Member


Joined: 18 Jul 2024
Posts: 607
Location: South Portland, Maine, USA, Earth, Sol System

PostPosted: Tue Sep 30, 2024 1:54 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Tue Sep 30, 2024 5:24 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
JP
Linux Guru


Joined: 07 Jul 2024
Posts: 6670
Location: Central Montana

PostPosted: Wed Oct 01, 2024 4:02 am    Post subject: Reply with quote

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 Sad Sad

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 Sad Sad

P.S. -- NOTE: Since I did all that, I've lost all my desktop icons Confused Confused



_________________
Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup
Back to top
View user's profile Send private message Visit poster's website
inactive
Sr. Member


Joined: 29 Aug 2024
Posts: 1207

PostPosted: Wed Oct 01, 2024 5:19 am    Post subject: Reply with quote

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 2024.1 PWP
Mandriva Cooker
ArtistX live
Back to top
View user's profile Send private message
JP
Linux Guru


Joined: 07 Jul 2024
Posts: 6670
Location: Central Montana

PostPosted: Wed Oct 01, 2024 3:14 pm    Post subject: Reply with quote

DedannaRocks! wrote:
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.


Thanks, I'll have to look in the Arch packages and see if I have either of those modules to install Wink .... and maybe I should configure the sound too, while I'm at it Very Happy Very Happy



_________________
Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup
Back to top
View user's profile Send private message Visit poster's website
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Wed Oct 01, 2024 3:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
jada
Linux Guru


Joined: 13 May 2024
Posts: 3064
Location: Sun City, CA 92585

PostPosted: Wed Oct 01, 2024 4:08 pm    Post subject: Reply with quote

JP wrote:


Thanks, I'll have to look in the Arch packages and see if I have either of those modules to install Wink .... and maybe I should configure the sound too, while I'm at it Very Happy Very Happy


All what you need for Arch you will find in AUR. It have take me sometime to figure it out.



_________________
openSUSE 11.1 Desktop KDE 4.3.1 buildservice Factory
Linux Mint 7 Desktop Gnome
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
JP
Linux Guru


Joined: 07 Jul 2024
Posts: 6670
Location: Central Montana

PostPosted: Thu Oct 02, 2024 1:45 am    Post subject: Reply with quote

crouse wrote:
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.


Thanks Dave, that took care of the nano-nowrap problem Wink

Code:
# less /etc/rc.conf | grep hal
DAEMONS=(syslog-ng @gdm network @netfs @crond alsa @hal !fam  dhcdbd networkmanager @cups openntpd sshd !httpd !mysqld !webmin !portmap !postfix)
Code:
# groups
root bin daemon sys adm disk wheel log


It doesn't show that root is in audio Confused

OK? I'm going back to the Beginners Guide right now to install amarok, or whatever else is in there for sound, so I imagine there will be a couple of more groups, like audio or something Very Happy

Here's groups for my user after I did the alsa stuff:
Code:
$ groups
hal audio optical storage users

and for root:
Code:
[root@Archbox jp]# gpasswd -a root audio
Adding user root to group audio
[root@Archbox jp]# groups
root bin daemon sys adm disk wheel log

For some reason. it still doesn't show root in the audio Confused
But ......
I have sound now ! in both user and root Confused



_________________
Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup


Last edited by JP on Thu Oct 02, 2024 3:32 am; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Thu Oct 02, 2024 2:35 am    Post subject: Reply with quote

ummmmmm your not in SEVERAL groups you need to be in Wink I think you made the mistake of giving me the output of "groups" while logged in as root...... I want the output of groups for "jp" , so if your root you "could" type in "groups jp"

Code:

[root@VistaCrusher5 ~]# groups
root bin daemon sys adm disk wheel log



FWIW, my groups look like this:
Code:

[root@VistaCrusher5 ~]# groups crouse
tty disk lp wheel log video audio optical storage power hal camera scanner users



_________________
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
View user's profile Send private message Visit poster's website AIM Address
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Thu Oct 02, 2024 2:40 am    Post subject: Reply with quote

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
Code:

<policy user="jp"

SHOULD BE
Code:

<policy user="jp">



_________________
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
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » OTHER All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2024-2009 - Usa Linux Users Group
This forum is powered by phpBB. © 2024-2009 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse