LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-17-2006, 08:51 PM   #1
markjuggles
Member
 
Registered: Nov 2003
Location: Chicago western suburbs
Distribution: Linux Mint
Posts: 75

Rep: Reputation: 15
Sound for root only


Hello,

I installed Slackware 10.2 recently with a VIA 8237 sound chip.

The latest kernel source (linux-2.6.15.7) was recompiled with:

Advanced Linux Sound Architecture
VIA 82C686A/B, 8233/8235 AC97 (Under PCI Devices)

After working out a few bugs (VIA SATA is under SCSI) it booted ok.

Running lspci gives:

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)

Results were sound worked for root only. Normal users got no sound and (as far as I could tell) no errors.

Mark
 
Old 05-17-2006, 08:53 PM   #2
markjuggles
Member
 
Registered: Nov 2003
Location: Chicago western suburbs
Distribution: Linux Mint
Posts: 75

Original Poster
Rep: Reputation: 15
It turns out that users and the /dev/adsp0 file were not in the 'audio' group.
This can be corrected by using these commands as root:

usermod -G audio <username>
chgrp audio /dev/adsp0

This will have to be applied to each <username>

Also, the default settings for KMix generated silence!

The Master and PCM settings under the [Output] tab had to be enabled. Click the "LED" to bright green and set the volume up half way.

The Exchange Front/Surround had to be disabled under the [Switches] tab. Set the "LED" to dark yellow.

After this, sound worked for ordinary users.
 
Old 05-18-2006, 01:09 PM   #3
dupree
LQ Newbie
 
Registered: Jul 2005
Posts: 7

Rep: Reputation: 0
Ha cool I was having the same problem and this sorted it out. But why isn't it enabled by default?
 
Old 05-27-2006, 07:30 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
After you install Slackware, or reinstall a new kernel using ALSA in the kernel, you must issue "alsamixer" as a normal user, unmute and turn up your volumes. Then issue "alsactl store" as root to save your settings. Works on the following:
Code:
anna@peter:~$ /sbin/lspci
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controlle
r (rev 50)
I also add the user to audio group by issuing as root "vigr" -- audio group is already there, and never needed to monkey with /dev/adsp0

This also works on many other boxen using the same VIA chipset (rev 60, also).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
root sound ok - user sound not..? captain skywave SUSE / openSUSE 12 06-23-2005 05:24 PM
kde sound options gone except for root, login sound gone memphisSuseUser Linux - Distributions 2 12-10-2004 05:55 PM
user sound is fine, Root sound just squeals Doug.Gentry Linux - Newbie 1 09-05-2004 03:27 PM
sound works in root - no sound in user - Debian seanb Debian 9 02-28-2004 12:42 AM
Can only get sound as root JHuizingh Linux - Hardware 2 04-13-2003 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration