LinuxQuestions.org
Help answer threads with 0 replies.
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 05-26-2006, 10:19 AM   #1
fdahl_009
Member
 
Registered: Oct 2005
Location: Norway
Posts: 148

Rep: Reputation: 16
Strange soundcard problem?


Hi everyone! Installed x86_64 FC5 a couple of days ago. Everything worked great. But when I started my computer yesterday there is no sound!

Worked playing movies / mp3s the day before!

Xmms, mplayer and realplayer gives me an error saying that the soundcard is unaviable. When I open the volumecontrol there is nothing there.

When running soundcard detection it gets my card ok, but in the "pcm device"-tab there is nothing, can not choose something either!!

But my card was working, so it has to be some config that has been fu**d up!

When starting kde I get this message: (using gnome as default)

Error while initializing the sound driver:
device: default can't be opened for playback (No such file or directory)
The sound server will continue, using the null output device.

Any ideas to how I should start seeking after the error??
-Been using linux for a while, but some errors like this is so sad, looks so great besides this!

Last edited by fdahl_009; 05-26-2006 at 10:24 AM.
 
Old 05-26-2006, 10:34 AM   #2
fdahl_009
Member
 
Registered: Oct 2005
Location: Norway
Posts: 148

Original Poster
Rep: Reputation: 16
started kde -> soundcard detection
suddenly I could select a card in pcm-device

sound is now working, but in mplayer I get an error

[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such device

but sound is working in mplayer and other programs anyway!!!

but when i try to change volume with volumecontrol, it do not work, have to open it completely, not just using the shortcut in the upper right corner!

what is this error??
 
Old 05-26-2006, 10:46 AM   #3
Napalm Llama
Member
 
Registered: Nov 2004
Location: Bristol, UK
Distribution: Gentoo 2005.0
Posts: 224

Rep: Reputation: 30
Are you sure you've got ALSA support?

Run the following:

Code:
ls -l /dev/sound
ls -l /dev/snd
The first one lists your OSS devices, the second lists your ALSAs.

...and I just noticed your second post - you have ALSA, but no OSS. OSS is old and deprecated, but a lot of stuff still uses it. Check your kernel, DON'T turn on OSS support, but go into the ALSA section and turn on all the OSS emulation options.

I don't know Red Hat, there might be some way of doing that without configuring your kernel - it could be as simple as loading a few modules. I'm a fan of Gentoo and monolithic kernels, so I wouldn't know

[edit:]
Try this (as root):
Code:
modprobe snd-mixer-oss
modprobe snd-pcm-oss
modprobe snd-seq-oss
Once I got over my fear of configuring my own kernels, I immediately became disgusted at the obnoxiously long lsmod ouput you get on some of these more mainstream distributions - you don't know where you are with it, and I'm sure it slows the kernel down, as well. I now compile everything in that I need, and totally omit support for things that I don't. That way the only thing in my lsmod is nvidia, which physically *can't* be compiled in, as it isn't part of the kernel tree. Much tidier

Last edited by Napalm Llama; 05-26-2006 at 10:56 AM.
 
Old 05-26-2006, 10:46 AM   #4
fdahl_009
Member
 
Registered: Oct 2005
Location: Norway
Posts: 148

Original Poster
Rep: Reputation: 16
i seem to have got both audio and audio1, dsp & dsp1, mixer & mixer1 in /dev

all the permissions for these files are the same....

strange error, want to reinstall, but how long will it go the next time?? strange error, but it work, just some more difficult to use!
 
Old 05-26-2006, 10:52 AM   #5
fdahl_009
Member
 
Registered: Oct 2005
Location: Norway
Posts: 148

Original Poster
Rep: Reputation: 16
[fredrik@amdx64-2200 snd]$ ll
total 0
crw------- 1 fredrik root 116, 5 May 26 17:35 controlC0
crw------- 1 fredrik root 116, 10 May 26 17:35 controlC1
crw------- 1 fredrik root 116, 4 May 26 17:35 pcmC0D0c
crw------- 1 fredrik root 116, 9 May 26 17:35 pcmC1D0c
crw------- 1 fredrik root 116, 8 May 26 17:35 pcmC1D0p
crw------- 1 fredrik root 116, 7 May 26 17:35 pcmC1D1c
crw------- 1 fredrik root 116, 6 May 26 17:35 pcmC1D2p
crw------- 1 fredrik root 116, 3 May 26 17:35 seq
crw------- 1 fredrik root 116, 2 May 26 17:35 timer

i have no /dev/sound

but some config must have crashed, because it all worked with no errors after install!
 
Old 05-26-2006, 02:36 PM   #6
Napalm Llama
Member
 
Registered: Nov 2004
Location: Bristol, UK
Distribution: Gentoo 2005.0
Posts: 224

Rep: Reputation: 30
Like I said, you have no OSS.

OSS and ALSA are Linux's two core sound systems. OSS is old, and being phased out, and ALSA is new. But some programs still use OSS. Your kernel appears not to support OSS.

You either need to reconfigure it to enable OSS emulation under ALSA, or you need to insert those 3 modules I mentioned.

Do this (as root):
Code:
modprobe snd-mixer-oss
modprobe snd-pcm-oss
modprobe snd-seq-oss
...and if you're still having problems then report the output of those commands, and also report the output of the "lsmod" command.

Oh, and edit your posts - please don't post twice. It's impolite.

Last edited by Napalm Llama; 05-26-2006 at 02:38 PM.
 
Old 05-26-2006, 03:13 PM   #7
fdahl_009
Member
 
Registered: Oct 2005
Location: Norway
Posts: 148

Original Poster
Rep: Reputation: 16
these commands are not found!

lsmod either!

reinstalling a 32bit fc5.. see how that works!

Last edited by fdahl_009; 05-26-2006 at 03:17 PM.
 
Old 05-26-2006, 04:38 PM   #8
fdahl_009
Member
 
Registered: Oct 2005
Location: Norway
Posts: 148

Original Poster
Rep: Reputation: 16
reinstalled now!

figured out the commands, have to use /sbin/"command"

but anyway, more problems when reinstall, selected right card under first-time-boot-wizard, got sound when testing..

reboot and kde gives me an error, cannot open device, no such file or device, or something like that!

but here is some info on the card and my system, thought it would be easier to find the error on a newly installed system..

------- System Config Soundcard --------
Fri May 26 23:32:33 CEST 2006

------- lspci --------
00:00.0 Host bridge: nVidia Corporation nForce3 250Gb Host Bridge (rev a1)
00:01.0 ISA bridge: nVidia Corporation nForce3 250Gb LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation nForce 250Gb PCI System Management (rev a1)
00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0 Controller (rev a2)
00:05.0 Bridge: nVidia Corporation CK8S Ethernet Controller (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb AC'97 Audio Controller (rev a1)
00:08.0 IDE interface: nVidia Corporation CK8S Parallel ATA Controller (v2.5) (rev a2)
00:0a.0 IDE interface: nVidia Corporation CK8S Serial ATA Controller (v2.5) (rev a2)
00:0b.0 PCI bridge: nVidia Corporation nForce3 250Gb AGP Host to PCI Bridge (rev a2)
00:0e.0 PCI bridge: nVidia Corporation nForce3 250Gb PCI-to-PCI Bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV40 [GeForce 6800 GT] (rev a1)
02:07.0 FireWire (IEEE 1394): NEC Corporation IEEE 1394 Host Controller (rev 01)
02:09.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
02:09.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)

------- lsmod --------
Module Size Used by
ppdev 8645 0
autofs4 19013 1
hidp 15937 2
rfcomm 34517 0
l2cap 23617 10 hidp,rfcomm
bluetooth 44069 5 hidp,rfcomm,l2cap
sunrpc 136573 1
dm_mirror 19985 0
dm_mod 50521 1 dm_mirror
video 14917 0
button 6609 0
battery 9285 0
ac 4933 0
ipv6 225569 12
lp 12297 0
parport_pc 25445 1
parport 34313 3 ppdev,lp,parport_pc
floppy 57733 0
nvram 8393 0
tda9887 15185 0
ohci1394 31749 0
tuner 46457 0
ieee1394 288665 1 ohci1394
ehci_hcd 29005 0
ohci_hcd 19805 0
snd_intel8x0 30301 2
snd_ac97_codec 83937 1 snd_intel8x0
snd_ac97_bus 2497 1 snd_ac97_codec
cx8800 30541 0
snd_seq_dummy 3781 0
snd_seq_oss 28993 0
snd_seq_midi_event 7105 1 snd_seq_oss
snd_seq 47153 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
compat_ioctl32 1473 1 cx8800
snd_seq_device 8909 3 snd_seq_dummy,snd_seq_oss,snd_seq
cx88_alsa 13129 0
cx88xx 60133 2 cx8800,cx88_alsa
i2c_algo_bit 8393 1 cx88xx
ir_common 9413 1 cx88xx
tveeprom 13905 1 cx88xx
video_buf 21317 3 cx8800,cx88_alsa,cx88xx
v4l1_compat 11973 1 cx8800
snd_pcm_oss 45009 0
snd_mixer_oss 16449 1 snd_pcm_oss
snd_pcm 76869 5 snd_intel8x0,snd_ac97_codec,cx88_alsa,snd_pcm_oss
v4l2_common 7745 2 tuner,cx8800
btcx_risc 4809 3 cx8800,cx88_alsa,cx88xx
videodev 9409 2 cx8800,cx88xx
i2c_nforce2 6721 0
i2c_core 20673 6 tda9887,tuner,cx88xx,i2c_algo_bit,tveeprom,i2c_nforce2
forcedeth 22213 0
snd_timer 22597 3 snd_seq,snd_pcm
snd 50501 12 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,cx88_alsa,snd_pcm_oss,snd_mixer_oss,s nd_pcm,snd_timer
soundcore 9377 1 snd
snd_page_alloc 10441 2 snd_intel8x0,snd_pcm
ext3 116169 2
jbd 52693 1 ext3
sata_nv 9157 0
libata 53969 1 sata_nv
sd_mod 16449 0
scsi_mod 124649 2 libata,sd_mod

------- /etc/modprobe.conf --------
alias eth0 forcedeth
alias scsi_hostadapter sata_nv
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
options snd-intel8x0 index=0
remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias snd-card-1 snd-mpu401
options snd-card-1 index=1
options snd-mpu401 index=1
remove snd-mpu401 { /usr/sbin/alsactl store 1 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-mpu401

------- /etc/asound.conf --------
#Generated by system-config-soundcard, do not edit by hand
#SWCONF
#DEV 0
defaults.pcm.card 0
defaults.pcm.device 0
defaults.ctl.card 0

------- aplay -l --------
**** List of PLAYBACK Hardware Devices ****
card 0: CK8S [NVidia CK8S], device 0: Intel ICH [NVidia CK8S]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: CK8S [NVidia CK8S], device 2: Intel ICH - IEC958 [NVidia CK8S - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0

------- amixer --------
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 18 [58%] [on]
Front Right: Playback 18 [58%] [on]
Simple mixer control 'Master Mono',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 18 [58%] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 18 [58%] [on]
Front Right: Playback 18 [58%] [on]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [off]
Front Right: Playback 0 [0%] [off]
Simple mixer control 'Surround Jack Mode',0
Capabilities: enum
Items: 'Shared' 'Independent'
Item0: 'Shared'
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 31 [100%] [off]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [off]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [off] Capture [off]
Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 18 [58%] [on] Capture [on]
Front Right: Playback 18 [58%] [on] Capture [on]
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [off]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Mic Boost (+20dB)',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Mic Front Input',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Mic Select',0
Capabilities: enum
Items: 'Mic1' 'Mic2'
Item0: 'Mic1'
Simple mixer control 'Video',0
Capabilities: cswitch cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Phone',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [off]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined cswitch cswitch-joined
Playback channels: Mono
Capture channels: Mono
Mono: Playback [off] Capture [off]
Simple mixer control 'IEC958 Playback AC97-SPSA',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 3
Mono: 3 [100%]
Simple mixer control 'IEC958 Playback Source',0
Capabilities: enum
Items: 'PCM' 'Analog In' 'IEC958 In'
Item0: 'PCM'
Simple mixer control 'PC Speaker',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 15
Mono: Playback 0 [0%] [off]
Simple mixer control 'Aux',0
Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [off] Capture [off]
Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Mono Output Select',0
Capabilities: enum
Items: 'Mix' 'Mic'
Item0: 'Mix'
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 0 [0%] [on]
Front Right: Capture 0 [0%] [on]
Simple mixer control 'Mix',0
Capabilities: cswitch cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Mix Mono',0
Capabilities: cswitch cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '2ch' '4ch' '6ch'
Item0: '2ch'
Simple mixer control 'Duplicate Front',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'External Amplifier',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]

------- /proc/asound/version --------
Advanced Linux Sound Architecture Driver Version 1.0.11rc2 (Wed Jan 04 08:57:20 2006 UTC).

------- rpm -q alsa-lib --------
alsa-lib-1.0.11-3.rc2.2

------- rpm -q alsa-utils --------
alsa-utils-1.0.11-3.rc2

------- /proc/asound/modules --------
0 snd_intel8x0
1 cx88_alsa

------- /proc/asound/pcm --------
00-02: Intel ICH - IEC958 : NVidia CK8S - IEC958 : playback 1
00-01: Intel ICH - MIC ADC : NVidia CK8S - MIC ADC : capture 1
00-00: Intel ICH : NVidia CK8S : playback 1 : capture 1
01-00: CX88 Digital : CX88 Digital : capture 1

------- system-config-soundcard --------

/usr/share/system-config-soundcard/soundcard.py:251: DeprecationWarning: use gtk.ComboBox
self.primaryDeviceOptionMenu = gtk.OptionMenu()
/usr/share/system-config-soundcard/soundcard.py:273: DeprecationWarning: use gtk.ComboBox
self.primarySubDeviceOptionMenu = gtk.OptionMenu()
/usr/share/system-config-soundcard/soundcard.py:308: GtkDeprecationWarning: gtk.timeout_add is deprecated, use gobject.timeout_add instead
self.timer = gtk.timeout_add (100, self.checkStatus, self)
/usr/share/system-config-soundcard/soundcard.py:548: GtkDeprecationWarning: gtk.TRUE is deprecated, use True instead
gtk.main()
aplay: main:547: audio open error: Device or resource busy
aplay: main:547: audio open error: Device or resource busy
aplay: main:547: audio open error: Device or resource busy
Read config:
card 0
device 0
HW 0
----------- Kudzu -------------
Desc: nVidia Corporation nForce3 250Gb AC'97 Audio Controller
Driver: snd-intel8x0
Device: None

----------- **** -------------

Sometimes the soundcard shows up in soundcard-detect, and still i sometimes get an error starting kde, "artsmessage"

Last edited by fdahl_009; 05-26-2006 at 04:54 PM.
 
Old 05-26-2006, 05:08 PM   #9
fdahl_009
Member
 
Registered: Oct 2005
Location: Norway
Posts: 148

Original Poster
Rep: Reputation: 16
even with the onboard sound disabled, the dsp audio mixer and /dev/snd/ shows up.

the soundcard detect now displayes a PNPb006 vendor
PNPb006 Model
snd-mpu401 Module

but ofcourse no sound after disabling it in bios
 
  


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
Soundcard Driver for ALi M5451 Soundcard (Trident Module) xianzai Linux - Hardware 3 12-15-2006 12:00 PM
strange, strange alsa problem: sound is grainy/pixellated? fenderman11111 Linux - Software 1 11-01-2004 05:16 PM
Strange problems with ADI AD1980 Soundcard Dipp Linux - Hardware 3 03-07-2004 03:55 PM
Problem with Soundcard-Worked good with Redhat.Problem with Mandrake invinciblemk Linux - Newbie 1 02-27-2004 05:02 AM
strange problem with SB PCI 16 soundcard mikew Linux - Hardware 6 11-07-2002 06:57 AM

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

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