Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Sound


  • Please log in to reply
23 replies to this topic

#1 RandomUser

RandomUser

  • Members
  • 518 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:17 PM

Posted 11 March 2006 - 03:34 PM

I'm running FC4 and trying to understand why my sound card doesn't work. The Kernel "Sees" the card and I can control the different devices on the card using Amixer from BASH, however When the system boots, I get this error:

Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (Invalid argument)
The sound server will continue, using the null output device.

It should be noted that I am new to Linux, and this was the first time I'd ever issued command in a Shell that wasn't DOS related.
Any help with the subject would be appreciated.

BC AdBot (Login to Remove)

 


#2 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:04:17 PM

Posted 11 March 2006 - 05:16 PM

This usually has to do with artsd. Open the KDE Control Center and
click on sound. Under sound system click on the harware tab and in
the top drop down box choose ALSA. Apply that and click on the General
tab to test the sound.

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#3 RandomUser

RandomUser
  • Topic Starter

  • Members
  • 518 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:17 PM

Posted 11 March 2006 - 06:02 PM

Hmm, it didn't work, and the error re-occurred after I clicked on apply. Any ideas?

#4 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:04:17 PM

Posted 11 March 2006 - 09:54 PM

Have you run sndconfig?

show me the output from these:
[raw@morpheus ~]$ lspci | grep -i audio

[raw@morpheus ~]$ /sbin/lsmod

[raw@morpheus ~]$ ls -al /dev/*dsp*

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#5 RandomUser

RandomUser
  • Topic Starter

  • Members
  • 518 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:17 PM

Posted 12 March 2006 - 01:20 AM

[root@localhost ~]# lspci | grep -i audio

02:01.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
02:03.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)


[root@localhost ~]# /sbin/lsmod

Module Size Used by
parport_pc 31621 1
lp 16585 0
parport 39049 2 parport_pc,lp
autofs4 22725 2
rfcomm 46041 0
l2cap 33857 5 rfcomm
bluetooth 56645 4 rfcomm,l2cap
sunrpc 139781 1
ipt_REJECT 9665 1
ipt_state 5825 2
ip_conntrack 46377 1 ipt_state
iptable_filter 6849 1
ip_tables 24897 3 ipt_REJECT,ipt_state,iptable_filter
md5 8001 1
ipv6 265857 10
dm_mod 59749 0
video 19909 0
button 10577 0
battery 13381 0
ac 8773 0
usb_storage 74761 0
ohci1394 39177 0
ieee1394 302873 1 ohci1394
uhci_hcd 35409 0
ehci_hcd 38093 0
tda9887 17881 0
tuner 30961 0
cx8800 35021 0
cx88xx 57825 1 cx8800
i2c_algo_bit 13257 1 cx88xx
video_buf 25541 2 cx8800,cx88xx
ir_common 11461 1 cx88xx
tveeprom 16985 1 cx88xx
v4l1_compat 17349 1 cx8800
v4l2_common 9793 1 cx8800
btcx_risc 9033 2 cx8800,cx88xx
videodev 13377 2 cx8800,cx88xx
hw_random 9557 0
i2c_i801 12621 0
i2c_core 25409 6 tda9887,tuner,cx88xx,i2c_algo_bit,tveeprom,i2c_i801
emu10k1_gp 7617 0
gameport 19913 2 emu10k1_gp
snd_emu10k1_synth 10945 0
snd_emux_synth 38337 1 snd_emu10k1_synth
snd_seq_virmidi 11585 1 snd_emux_synth
snd_seq_midi_emul 10817 1 snd_emux_synth
snd_emu10k1 112069 1 snd_emu10k1_synth
snd_rawmidi 28513 2 snd_seq_virmidi,snd_emu10k1
snd_ac97_codec 78393 1 snd_emu10k1
snd_seq_dummy 7621 0
snd_seq_oss 35777 0
snd_seq_midi_event 11585 2 snd_seq_virmidi,snd_seq_oss
snd_seq 54097 8 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 12621 7 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 54257 0
snd_mixer_oss 21953 1 snd_pcm_oss
snd_pcm 91973 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_timer 28357 3 snd_emu10k1,snd_seq,snd_pcm
snd_page_alloc 13765 2 snd_emu10k1,snd_pcm
snd_util_mem 8641 2 snd_emux_synth,snd_emu10k1
snd_hwdep 12897 2 snd_emux_synth,snd_emu10k1
snd 58149 13 snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_rawmidi,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
soundcore 13345 1 snd
e100 38977 0
mii 9409 1 e100
floppy 62421 0
ext3 133193 3
jbd 61785 1 ext3
ata_piix 13253 0
libata 49220 1 ata_piix
sd_mod 22977 0
scsi_mod 136457 3 usb_storage,libata,sd_mod

[root@localhost ~]# ls -al /dev/*dsp*

crw-rw---- 1 root root 14, 12 Mar 11 18:13 /dev/adsp
crw------- 1 root root 14, 3 Mar 11 18:13 /dev/dsp

#6 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:04:17 PM

Posted 12 March 2006 - 02:11 AM

Have you run sndconfig?
I'm not familiar with FC4 so bear with me.You should have a Control Center
for configuring things.Try to change the sound driver
snd-emu10k1 --> emu10k1
and show me output from:
ls -al /dev/sound

Also is the error during the boot sequence or at login?

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#7 RandomUser

RandomUser
  • Topic Starter

  • Members
  • 518 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:17 PM

Posted 12 March 2006 - 03:22 AM

Am i supposed to type this in BASH

snd-emu10k1 --> emu10k1


I do have a control center which offers sound settings? is that the same as sndconfig?
further more, I have a sound card detection utility, that does nothing more than ask me to test the sound on my card.

I get the error just after logging into KDE. I also get it any time I attempt to change the sound settings.

any ideas here?

#8 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:04:17 PM

Posted 12 March 2006 - 03:58 AM

at the bash prompt type - sndconfig (as root)

The Control Panel will be where all your hardware is listed:(Hardware Browser?)
Posted Image
Yours might not look like this, but this enables you to change the sound driver.
I don't know how it looks in FC4.

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#9 RandomUser

RandomUser
  • Topic Starter

  • Members
  • 518 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:17 PM

Posted 12 March 2006 - 03:17 PM

[root@localhost ~]# sndconfig
bash: sndconfig: command not found


that's what I get. If I "PRINT SCREEN" in KDE, where is it saved to? I'd like to show you my version of the Control Center.

#10 RandomUser

RandomUser
  • Topic Starter

  • Members
  • 518 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:17 PM

Posted 12 March 2006 - 04:30 PM

Hey man, this was a PEBKAC. I had different volume settings enabled or disabled and diffrenent times. Went into Kmix and turned up all volumes and Activated system and CD Audio sounds and the MUSIC i was playing almost blew my speakers. Thanks for your patience with me. I now have better sound than I ever got outta this card in Windows.

I'd still like to know about changing the driver and Why Sndconfig isn't available from BASH. I'm also gonna read about ALSA on some of the Main stream Linux sites.

ttyl

#11 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:04:17 PM

Posted 12 March 2006 - 11:09 PM

sndconfig is(was?) the sound card configuration tool in RedHat.
They may not have carried it over to Fedora.
The difference in drivers is minimal, one is OSS the other ALSA.
Most people use ALSA (which is the driver module you currently have loaded)
Since it works with ALSA there's no need to change it.
I'm glad to hear you got it working.

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#12 RandomUser

RandomUser
  • Topic Starter

  • Members
  • 518 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:17 PM

Posted 13 March 2006 - 01:33 AM

Thanks a Ton man. I'll try to cover all my bases before asking a question next time. This experience taught me one thing... I like linux more than windows.

#13 Sir Arthur

Sir Arthur

  • Members
  • 7 posts
  • OFFLINE
  •  
  • Local time:10:17 PM

Posted 19 March 2006 - 05:08 PM

I followed the instructions above, however, the problem persists. The microphone works, as well as everything that has to do with sound but not music...

I have a different sound card and that might be the problem.
Also where are all the sound devices listed and how do I get to know the default one?

By the way one might find these useful:

[root@student1490 ~]# lspci | grep -i audio
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)

[root@student1490 ~]# /sbin/lsmod | grep -i snd
snd_rtctimer 37081 0
snd_intel8x0 70889 1
snd_ac97_codec 146045 1 snd_intel8x0
snd_ac97_bus 36033 1 snd_ac97_codec
snd_seq_dummy 37445 0
snd_seq_oss 71973 0
snd_seq_midi_event 42177 1 snd_seq_oss
snd_seq 99225 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 43857 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 93297 0
snd_mixer_oss 52673 1 snd_pcm_oss
snd_pcm 139593 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 62025 3 snd_rtctimer,snd_seq,snd_pcm
snd 103073 11 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 45025 1 snd
snd_page_alloc 46289 2 snd_intel8x0,snd_pcm

[root@student1490 ~]# ls -al /dev/*dsp*
crw-rw---- 1 root root 14, 12 Mar 19 19:42 /dev/adsp
crw-rw---- 1 root root 14, 3 Mar 19 19:42 /dev/dsp

Hopefully, I'll be getting some sound soon!
By the way, I have everything switched on at the Kmix. I also chose to see all possible channels so chances there is a hidden one are zero. So, everything at maximum power. Also tried via command line and alsamixer, but still no luck. In fact they seem to be the same thing on a different inteface more or less...

#14 raw

raw

    Bleeping Hacker


  • Members
  • 2,577 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:04:17 PM

Posted 19 March 2006 - 10:08 PM

The microphone works, as well as everything that has to do with sound but not music...

So you have sound at boot? (when the desktop loads?)
When you say music what program are you using ?
Is it a CD or MP3?

rawsig.png

 rawcreations.net          @raw_creations


Current systems: WHAT OS, BackTrack-raw, PCLinuxOS, Peppermint OS 6, Kali Linux

and a custom Linux From Scratch server hosting a bunch of top secret stuff.


#15 Sir Arthur

Sir Arthur

  • Members
  • 7 posts
  • OFFLINE
  •  
  • Local time:10:17 PM

Posted 05 May 2006 - 01:16 PM

Sorry for the absence. I had a pretty nasty exam to study for. In any case, the problem is that I have sound such as what the sound card test plays, but nothing will play from a CD. At boot there does not seem to be any sound. I also used every possible sond-playing program from the range of those availabe with FC4 upon installation.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users