LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-02-2008, 01:26 AM   #1
Wunderbred
LQ Newbie
 
Registered: Dec 2007
Location: Saskatoon Sk
Distribution: Slackware 12.0
Posts: 10

Rep: Reputation: 0
Soundcard detected but no sound


hello I am running Slackware-12.0. I recently got a new computerso took my old stuff out of the case and installed the new hardware. Got linux running fine on it. I later got another case froma friend so installed my old hardware minus the HD and DVD burner (kept them in my old system). In my old case everything worked fine sound, video, TV-out etc. In the new Linux has detected my onboard sound card VIA 8235 but when I play a file no sound output. I have unmuted the volume controls using several different mixers and nothing. I have no idea where to go from here and find it kinda funny considering it work before using the same version of Slackware.


# lsmod | grep snd

snd_seq_dummy 2692 0
snd_seq_oss 26240 0
snd_seq_midi_event 5632 1 snd_seq_oss
snd_seq 39504 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 36256 0
snd_mixer_oss 13312 1 snd_pcm_oss
snd_via82xx 21400 1
gameport 10376 1 snd_via82xx
snd_ac97_codec 90660 1 snd_via82xx
ac97_bus 1920 1 snd_ac97_codec
snd_pcm 61960 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer 16900 2 snd_seq,snd_pcm
snd_page_alloc 7304 2 snd_via82xx,snd_pcm
snd_mpu401_uart 5888 1 snd_via82xx
snd_rawmidi 17184 1 snd_mpu401_uart
snd_seq_device 6284 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd 39908 13
snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu40 1_uart,snd_rawmidi,snd_seq_device

installed alsa

alsa-lib-1.0.14a-i486-1
alsa-oss-1.0.14-i486-1
alsa-utils-1.0.14-i486-1

# modprobe -l | grep sound

/lib/modules/2.6.21.5-a-smp/kernel/sound/core/snd-hwdep.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/core/oss/snd-mixer-oss.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/core/oss/snd-pcm-oss.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/core/snd-rawmidi.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/core/seq/snd-seq-midi-emul.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/core/seq/oss/snd-seq-oss.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/core/seq/snd-seq-virmidi.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/core/seq/snd-seq-dummy.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/core/seq/snd-seq.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/core/seq/snd-seq-midi-event.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/core/seq/snd-seq-device.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/core/seq/snd-seq-midi.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/core/snd-rtctimer.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/core/snd-pcm.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/core/snd-timer.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/core/snd-page-alloc.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/core/snd.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/ac97_bus.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/synth/emux/snd-emux-synth.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/synth/snd-util-mem.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/pci/ac97/snd-ac97-codec.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/pci/ca0106/snd-ca0106.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/pci/cs5535audio/snd-cs5535audio.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/pci/snd-via82xx.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/pci/snd-ad1889.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/pci/emu10k1/snd-emu10k1-synth.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/pci/emu10k1/snd-emu10k1.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/drivers/mpu401/snd-mpu401-uart.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/drivers/mpu401/snd-mpu401.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/drivers/snd-serial-u16550.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/drivers/snd-virmidi.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/drivers/snd-dummy.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/drivers/snd-mtpav.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/usb/snd-usb-lib.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/usb/snd-usb-audio.ko
/lib/modules/2.6.21.5-a-smp/kernel/sound/usb/usx2y/snd-usb-usx2y.ko
 
Old 01-02-2008, 06:05 PM   #2
fuzzyworm
Member
 
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149

Rep: Reputation: 15
This may seem obvious, but have you checked which card alsa is using?

If you have alsa-utils (or whatever the slackware version is):
Code:
asoundconf list
asoundconf set-default-card name of card>
Does the following output random static?
Code:
cat /dev/urandom > /dev/dsp
Press Ctrl+C to stop.

If you have a TV card, one of the problems that I had was that alsa kept treating it as a sound card, and not outputting to my VIA chipset.

Hope this is of some help
 
Old 01-02-2008, 09:24 PM   #3
Wunderbred
LQ Newbie
 
Registered: Dec 2007
Location: Saskatoon Sk
Distribution: Slackware 12.0
Posts: 10

Original Poster
Rep: Reputation: 0
Slackware doesn't have asoundconf so I used alsaconf and set my correct sound card, still nothing. I removed my video card and used onboard video and still no luck.

I found my Ubuntu live cd and booted into it to see if my sound would work, same thing detects it fine. did asoundconf and set my correct sound card check to make sure the mixer wasn't muted but still no sound, looks like it is playing the file but no sound.

I am thinking of installing a windows partition and seeing if my sound works in windows.

when I booted into ubuntu the 1st time I had forgotten to plug my speakers into the sound card (oops).
when I realized this I decided to reboot into ubuntu and sound works so I think its something with my slackware installation.

Last edited by Wunderbred; 01-02-2008 at 09:52 PM. Reason: made a mistake
 
Old 01-03-2008, 06:48 AM   #4
fuzzyworm
Member
 
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149

Rep: Reputation: 15
Did you try the
Code:
cat /dev/urandom > /dev/dsp
thing?

Try it with any other /dev/dsp devices, such as /dev/dsp1 etc.. that you may have lurking in there.

alsaconf is not the same as asoundconf, and asoundconf is a slightly newer way of executing the script
Code:
set-default-card <card name>
Unfortunately, I don't know a way to list the names of cards as recognised by the script without asoundconf.
Edit: A quick google search for your soundcard and 'asoundconf list' may help.

When I said TV card, I meant a TV receiver card, or video INPUT card - your graphics card, unless its an all-in-wonder or something, should have no effect.

Also, try running the test described above as root and running alsamixer as root - one of the other problems that I had was that even though my own mixer settings were fine, there was still no volume - a problem that I traced to the fact that, for some reason, root's volume levels were overriding my own. By running alsamixer as root, I was able to crank it up.

Check the permissions on your audio devices, and that you are a member of the 'audio' (or equivalent) group:
Code:
~$ ls -l /dev/dsp*
crw-rw---- 1 root audio 14,  3 2007-12-27 15:26 /dev/dsp
crw-rw---- 1 root audio 14, 51 2007-12-27 15:26 /dev/dsp3
Hope something here helps.

Last edited by fuzzyworm; 01-03-2008 at 06:50 AM.
 
Old 01-10-2008, 07:12 PM   #5
Wunderbred
LQ Newbie
 
Registered: Dec 2007
Location: Saskatoon Sk
Distribution: Slackware 12.0
Posts: 10

Original Poster
Rep: Reputation: 0
that didn't work either so I decided to narrow my search down on google and found someone who was having very similar sound issues to me on another forum, so I tested it.

I guess what the problem is. is the via8235 on-board sound jack are faulty in some way. when you plug the speakers into the front panel sound jack there is sound.
 
Old 01-11-2008, 10:13 PM   #6
fuzzyworm
Member
 
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149

Rep: Reputation: 15
Could you possibly post a link to the post you found, in case anyone else may find it helpful?

Also, it could be that the front panel is wired up in preference to the rear socket - some motherboards make this exclusive, check the manual for your motherboard if you have it.
 
  


Reply

Tags
sound


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
Soundcard detected but no sound phyrko Fedora 6 03-01-2007 02:08 PM
another problem: soundcard detected but can't hear any sound gry-HuhuY5 Linux - Laptop and Netbook 11 01-14-2006 10:25 PM
No soundcard detected sambitnayak Linux - Hardware 1 04-21-2005 01:31 PM
No sound in Mandrake v9.1 - Soundcard Detected mallesite Linux - Hardware 2 11-01-2003 03:26 PM
RH 9 Soundcard detected; sound w/ xine, mplayer; none w/ xmms, cd player johnsandidge Linux - Newbie 0 08-09-2003 08:42 PM

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

All times are GMT -5. The time now is 10:53 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