LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-24-2005, 04:47 AM   #1
landfill
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 53

Rep: Reputation: 15
No sound in Arch Linux, had same problem when upgrading to slack 10.1


Hi,
I did an FTP install of Arch Linux last night and selected every single package available (except of nss-spr or something, because it conflicted with firefox). I have to say, I am very pleased with my new system, save for one thing: the sound is non-existant.

I had this problem when I upgraded from slack 10.0 to slack 10.1 and I think it's something to do with the newer bersions of alsa, but I'm not sure. Basically, in the master channel in alsamixer, I can switch it on an off, but can't move it up and down, so it stays on 00.

I am using the onboard audio on an ASRock K7VT4A+ mobo, if that's any help. Also, using lsmod, I can see that the audio drivers are loaded, so I'm not really sure what the problem is.

Help would be very much appreciated!
L.
 
Old 06-24-2005, 05:36 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
if you have the alsaconf tool in arch try using it...
 
Old 06-24-2005, 05:44 AM   #3
landfill
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
I just tried it and it went through all the menus fine, found the right driver (via82xx) and seemed to finish up nicely, but I still have exactly the same problem when trying to play audio. Xmms gives me a window with the title "Couldn't opne audio" and the message:
Code:
Please check that: 

Your soundcard is configured properly
You have the correct output plugin selected
No other program is blocking the soundcard
I've selected the ALSA output plugin in xmms and no other audio programs are running. Other programs like mpg123 seem to play mp3s fine, but just don't output any sound. This problem sems identical to the problem I had on Slack 10.1...Grrr...

Thanks for your help,
L.
 
Old 06-24-2005, 05:57 AM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
okay let's have a look at your setup to get a better idea...

please post the usual:
Code:
lspci
Code:
lsmod
Code:
ls -l /dev/dsp*
also what version of alsa are you using and what kernel??

does the sound fail on all the other programs also (apart from xmms)??
 
Old 06-24-2005, 06:20 AM   #5
landfill
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
Alsa version: 1.09
Kernel: 2.6.11

I can't get gnome-terminal working, so I can't get the lsmod or lspci output very easily. Can you copy text fromj xterm or rxvt?
 
Old 06-24-2005, 06:21 AM   #6
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally posted by landfill
Can you copy text fromj xterm or rxvt?
yes, just select it and then hit the middle mouse button in the reply box here... if you only have a two-button mouse then hit both buttons at the same time...

 
Old 06-24-2005, 06:24 AM   #7
landfill
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
Cool, nice tip

lspci:

Code:
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge (rev 80)
00:01.0 PCI bridge: VIA Technologies, Inc.: Unknown device b198
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX440] (rev a3)
lsmod:

Code:
Module                  Size  Used by
snd_hwdep              10144  0 
snd_cs4231_lib         28032  0 
ohci_hcd               23048  0 
pcspkr                  4044  0 
analog                 12704  0 
ns558                   6016  0 
parport_pc             29252  0 
parport                38600  1 parport_pc
snd_via82xx            29376  2 
snd_ac97_codec         79352  1 snd_via82xx
snd_pcm_oss            56224  0 
snd_mixer_oss          21120  1 snd_pcm_oss
snd_pcm                98564  5 snd_cs4231_lib,snd_via82xx,snd_ac97_codec,snd_pc
m_oss
snd_timer              27268  2 snd_cs4231_lib,snd_pcm
snd_page_alloc         10244  3 snd_cs4231_lib,snd_via82xx,snd_pcm
gameport                5120  3 analog,ns558,snd_via82xx
snd_mpu401_uart         8832  1 snd_via82xx
snd_rawmidi            26144  1 snd_mpu401_uart
snd_seq_device          8972  1 snd_rawmidi
snd                    59492  14 snd_hwdep,snd_cs4231_lib,snd_via82xx,snd_ac97_c
odec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd
_seq_device
soundcore              10848  1 snd
via_ircc               27156  0 
irda                  144184  1 via_ircc
crc_ccitt               2432  1 irda
ehci_hcd               36488  0 
usb_storage            72000  1 
uhci_hcd               33424  0 
shpchp                100996  0 
pci_hotplug            34760  1 shpchp
tsdev                   8256  0 
evdev                   9984  0 
via_rhine              24964  0 
mii                     5760  1 via_rhine
usbcore               125560  5 ohci_hcd,ehci_hcd,usb_storage,uhci_hcd
rtc                    13260  0
Also, yeah, I can't get sound from anything, not just xmms...

Last edited by landfill; 06-24-2005 at 06:27 AM.
 
Old 06-24-2005, 06:31 AM   #8
Tuvok
Member
 
Registered: Mar 2003
Distribution: FreeBSD 6.1, NetBSD 3.0.1
Posts: 170

Rep: Reputation: 30
pacman -S alsa-utils
alsamixer
alsactl store
gpasswd -a user audio
 
Old 06-24-2005, 06:36 AM   #9
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
this is what my modules look like when i'm not using any sound (but have firefox and amsn open):
Code:
bash-3.00$ lsmod | grep snd                     
snd-pcm-oss            36704   0
snd-mixer-oss          12152   0 [snd-pcm-oss]
snd-cmipci             16704   0
gameport                1420   0 [snd-cmipci]
snd-pcm                54504   0 [snd-pcm-oss snd-cmipci]
snd-opl3-lib            5860   0 [snd-cmipci]
snd-hwdep               4352   0 [snd-opl3-lib]
snd-timer              13412   0 [snd-pcm snd-opl3-lib]
snd-mpu401-uart         3200   0 [snd-cmipci]
snd-rawmidi            12320   0 [snd-mpu401-uart]
snd-seq-device          3812   0 [snd-opl3-lib snd-rawmidi]
snd                    31268   0 [snd-pcm-oss snd-mixer-oss snd-cmipci snd-pcm snd-opl3-lib snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc          4712   0 [snd-mixer-oss snd-pcm snd-hwdep snd-timer snd-rawmidi snd-seq-device snd]
soundcore               3396   4 [snd]
this is what they look like once i open xmms and start playing some shoutcast.com:
Code:
bash-3.00$ lsmod | grep snd
snd-pcm-oss            36704   0
snd-mixer-oss          12152   0 [snd-pcm-oss]
snd-cmipci             16704   3
gameport                1420   0 [snd-cmipci]
snd-pcm                54504   1 [snd-pcm-oss snd-cmipci]
snd-opl3-lib            5860   0 [snd-cmipci]
snd-hwdep               4352   0 [snd-opl3-lib]
snd-timer              13412   0 [snd-pcm snd-opl3-lib]
snd-mpu401-uart         3200   0 [snd-cmipci]
snd-rawmidi            12320   0 [snd-mpu401-uart]
snd-seq-device          3812   0 [snd-opl3-lib snd-rawmidi]
snd                    31268   2 [snd-pcm-oss snd-mixer-oss snd-cmipci snd-pcm snd-opl3-lib snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc          4712   0 [snd-mixer-oss snd-pcm snd-hwdep snd-timer snd-rawmidi snd-seq-device snd]
soundcore               3396   4 [snd]
take a look at the "Used" column (third from left)...

BTW, i'm on slackware 10.1 / kernel 2.4.29...


Last edited by win32sux; 06-24-2005 at 06:45 AM.
 
Old 06-24-2005, 06:36 AM   #10
landfill
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
Just tried that and pacman said that alsa-utils was up to date. I did it anyway, but I've still got exactly the same problem.

Thanks anyway,
L.
 
Old 06-24-2005, 10:18 PM   #11
kak
Member
 
Registered: Jul 2004
Location: Moriarty, NM, USA about 100 yards form Rattle Snake Coutry
Distribution: Slackware , Ubuntu
Posts: 269

Rep: Reputation: 30
I am assuming you are trying as a user?? See if you have sound as root, it might be a permission problem. Just a thought.
 
Old 06-25-2005, 01:45 PM   #12
landfill
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
Thanks but yeah, I did try that and no luck...
 
  


Reply



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
Arch linux have sound but not in games :S jkh Linux - Games 1 07-14-2005 07:03 AM
questions about sound in arch linux. greythorne Arch 2 06-27-2005 07:26 AM
Arch or Slack? mario8723 Arch 45 05-17-2005 09:09 PM
Unable to open inital consol when trying to boot Arch Linux from lilo in Slack Part jimdaworm Slackware 7 03-01-2004 04:59 PM
SWAT problem after upgrading to slack 9.0 stelmed Slackware 1 03-21-2003 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:19 AM.

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