VectorLinux
April 23, 2014, 04:19:16 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: No Sound for USER in HP2133  (Read 4072 times)
Pita
Vectorian
****
Posts: 1285


« on: March 17, 2010, 10:57:08 pm »

HP2133, VL-6-STD, XFCE4

When I add a new user I am unable to get sound. There is sound for root.

In user, command alsamixer says: function snd_ctl_open failed for default: no such file or directory.

Settings in Xfce Setting Manager Sound are empty. On Device it will not show
the sound card as it does in root as #0 HDA VIA VT82xx.

Doing sudo alsaconf in user ends with ALSA is ready to use.... and then using
alsamixer I get above error.

xfce4-mixer is empty. View-Manage shows Device: /dev/sound/mixer whereas in
root Device: default

as user alsactl restore says: No soundcards found...

sudo aplay file.wav plays file, aplay file.wav gives error.

What went wrong?

 
« Last Edit: March 18, 2010, 08:09:37 pm by Pita » Logged
never_stop_learning
Vectorite
***
Posts: 263


WWW
« Reply #1 on: March 18, 2010, 03:45:10 pm »

I'll add a new user to my test 2133 when  get home tonight and report back.....
Logged

Laptop: IBM X60s (Centrino/Duo, 2gb ram, 80gb hd) VL 6.0 Std
Netbook: HP Mini (Intel Atom 1ghz, 2gb ram, 16gb SSD + 8gb flash ) VL 6.0 Std
Desktop: Dell Dimension 5150 (P4 3ghz, 2gb ram, 80gb hd) VL 6.0 Std
Wife's Desktop: Gateway (P4 2ghz, 1gb ram, 80gb hd) VL 6.0 Std
Pita
Vectorian
****
Posts: 1285


« Reply #2 on: March 18, 2010, 10:03:35 pm »

HP2133, VL-6-STD, XFCE4

When I add a new user I am unable to get sound. There is sound for root.

In user, command alsamixer says: function snd_ctl_open failed for default: no such file or directory.

Settings in Xfce Setting Manager Sound are empty. On Device it will not show
the sound card as it does in root as #0 HDA VIA VT82xx.

Doing sudo alsaconf in user ends with ALSA is ready to use.... and then using
alsamixer I get above error.

xfce4-mixer is empty. View-Manage shows Device: /dev/sound/mixer whereas in
root Device: default

as user alsactl restore says: No soundcards found...

sudo aplay file.wav plays file, aplay file.wav gives error.

What went wrong?

 

What went wrong is the habit of mine stemming from the old linux days
to add users as root from the console. This is what I did with 2 users and both
have then no sound. Adding a user with vasm the user has sound.

Now I have to solve how to get sound to a user added from the console.

Any suggestions?

Edit:
I just checked it in my PC Desktop adding a user via console that user has
sound.
« Last Edit: March 18, 2010, 10:31:26 pm by Pita » Logged
newt
Vectorian
****
Posts: 1132



« Reply #3 on: March 19, 2010, 11:51:50 am »

You should make sure the users are added to all relevant groups in /etc/group.  It's possible that they are not added to all the necessary groups.
Logged
Pita
Vectorian
****
Posts: 1285


« Reply #4 on: March 19, 2010, 05:02:32 pm »

You should make sure the users are added to all relevant groups in /etc/group.  It's possible that they are not added to all the necessary groups.

Thanks!
Yes there was none added at all. Replaced all the test user which was added with vasm
with real user and bang there was the sound et all.

Now again in my PC desktop with VL-6-Light adding a user from the console with
"adduser" command that user cannot be found in /etc/group yet it has sound.
I just tried it.

Is there something not right in VL-6.0-STD in this regard?
Logged
newt
Vectorian
****
Posts: 1132



« Reply #5 on: March 19, 2010, 07:17:36 pm »

Is there something not right in VL-6.0-STD in this regard?
That's a good question. I _thought_ that users needed to be added to appropriate groups to have respective permissions (audio, video, login, etc), however I've mostly worked with STD.  Perhaps Light takes a different approach. Nightflier would be the one to answer this question (I think).
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!