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 08-27-2004, 11:55 AM   #1
N|k0N
Member
 
Registered: Aug 2004
Location: New York
Posts: 63

Rep: Reputation: 15
No Sound


Hi all, i basically just started out using Slackware about 2-3 days ago. Learned about writing iptables, suid, etc, but i still dont have any sound. I havent been able to find any guides using google that has actually helped me when i type "esd" i get this message
Quote:
ALSA lib pcm_hw.c:1155snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
and i used the Slack install cd to use "alsaconf" but that didnt work it picked up the sound card (i810_audio) but i still cant seem to play mp3's or do anything else. The most i hear is the beep when i shut my pc down. any help would be greatly appreciated, also some links for guides would be too
 
Old 08-27-2004, 05:54 PM   #2
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
1. Describe your problem in better detail.
(Example:
System: Slack 10, 2.6.7 kernel from Slack cd2, KDE 3.2.3
Situation: When I start playing an MP3 file in XMMS, there is no sound output. I checked my speakers - OK, the equalizer on the XMMS shows activity. What am i doing wrong?)

2. Sound on Linux - complicated (sorta)
to play mp3 in KDE for example:
KDE-based MP3 player >
aRts (sound server/decoder/software mixer) >
ALSA (soundcard drivers) >
Kernel (hook ups for sound card drivers)

If you messed\did not configure with any of the parts => no sound.

Last edited by suslik; 08-27-2004 at 05:57 PM.
 
Old 08-27-2004, 06:04 PM   #3
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
in addition to suslik's excellent examples. always advise if root has sound but user does not.
 
Old 08-27-2004, 06:54 PM   #4
N|k0N
Member
 
Registered: Aug 2004
Location: New York
Posts: 63

Original Poster
Rep: Reputation: 15
System: Slackware 10
Kernel:2.4.26
KDE:3.2.3
Situation: I cannot play any sound on linux at all, i tried compiling my soundcard with alsaconf, it found the card but that did not work. So i uninstalled the alsa and compiled the newest version i found on their website, but i do not know how to unmute the sound. Can anyone help? I am using Root, so i do not have any sound.
 
Old 08-27-2004, 11:49 PM   #5
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
make sure you cover some things from here here (ALSA i8x0 sound card setup page) Notably:
"Setting up modprobe and kmod support"
"A short explanation of what happens in the /etc/modules.conf file"
"The .asoundrc file"

I am having hard time believing sound not worky after successful alsaconfig
Did you run "alsamixer" after "alsaconfig" ? (Left, right to change the channel, Up, Down to "work" the volumes)

Immediately after "alsamixer" (and unmuting\cranking up at least "master" and "pcm") do a
"aplay /opt/kde/share/apps/kget/sounds/started.wav" or any other wav file. ("locate *.wav" to find them) That should give a sound.

Sometimes alsa uses unusual plug on the soundcard to output the sound. Example: My Windows uses green plug as output. Linux uses Black. Try connecting to all plugs and do "aplay ..." thing on all of them.

What applications did you try to play sound on?

report

Last edited by suslik; 08-27-2004 at 11:52 PM.
 
Old 08-28-2004, 12:13 AM   #6
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
to unmute, run alsamixer and hit the m button if it says mute above the volume
 
Old 08-28-2004, 07:55 AM   #7
N|k0N
Member
 
Registered: Aug 2004
Location: New York
Posts: 63

Original Poster
Rep: Reputation: 15
I did everything in that Tutorial you posted suslik, but when i go to the terminal and type in "alsamixer" it tells me "No mixer elems found" . So what do i do now?What does that mean also? Thanks for the help so far, i really appreciate it. I tried playing CD's with Cd Player and KsCd and aslo Kaboodle, since i downloaded alot of mp3's as soon as i got slackware.

Last edited by N|k0N; 08-28-2004 at 07:56 AM.
 
Old 08-28-2004, 05:17 PM   #8
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
Quote:
Originally posted by N|k0N
when i go to the terminal and type in "alsamixer" it tells me "No mixer elems found"
That quite puzzles me... let me make sure if i understand this situation correctly...

1. Your "lspci" shows the card as "Intel i810" ok.
2. "alsaconf" shows your card as something like that "Intel i8x0" in "Following card(s) are found on your system" screen.
3. You choose the card and "alsaconf" completes ok. (Asks to run "alsamixer")
4. You run "alsamixer" and it spits out "no mixer device found"...
5. You do "aplay [some wav file]" and an error, or nothing at all comes out.

Hmmm.... If all of the above are correct, I would suspect a broken ALSA installation. i.e. Some of the modules don't load correctly or settings are off. I would try to reload ALSA. Successful alsaconf should allign all modules and set up for the card.

0. Clean up/remove all the settings files mentioned by me in previous post.
1. First from CD1:/Slackware/l/ folder. Do "installpkg alsa*.tgz" (i think it's in /l folder, plz do "ls alsa* to check) Then I would go through the "alsaconf", "alsamixer", "aplay [wav]"
2. If above doesn't work, I would download the thing from alsa-project.org, use their instructions to compile and install, and try "alsaconf" "alsamixer" again.

If you get "no mixer device..." after that... it's a little beyond my ability to help, as I don't have the i8x0.


EDIT: This guy here seems to have the same problem. A poster suggested to check permission. (Which is sorta way past my experience/concern since I am k2.6.8 with udev.)

my permissions look like that:

root@kasper2:/dev/sound# ls -la
crw-rw--w- 1 root audio 14, 3 2004-08-27 14:18 dsp
crw-rw--w- 1 root audio 14, 0 2004-08-27 14:18 mixer

and for /dev/snd/pcmC0D0p
crw-rw-rw- 1 root audio 116, 16 2004-08-27 14:18 pcmC0D0p

Last edited by suslik; 08-28-2004 at 05:47 PM.
 
Old 08-28-2004, 06:21 PM   #9
icom158
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware-10.2
Posts: 21

Rep: Reputation: 15
Did you remember to add "snd-intel8x0m" to /etc/hotplug/blacklist to make sure ALSA loads instead of the other module?
 
Old 08-29-2004, 01:34 PM   #10
N|k0N
Member
 
Registered: Aug 2004
Location: New York
Posts: 63

Original Poster
Rep: Reputation: 15
Problem solved, that checkup suslik posted, helped me a lil bit more to get my music started up. Thanks alot all, i really appreciate the help Nice to see people still take out time to help others.
 
  


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
No sound coming from my sound blaster audigy 2 ZS platinum sound card msab Linux - Hardware 9 12-05-2010 05:10 AM
ALSA MIDI: Sound fonts for NVIDIA/NForce Soundstorm on-board sound vharishankar Linux - Hardware 6 09-04-2007 12:37 PM
FC2: Sound Card (SiS SI7012) Detect But Donot Play Sound rajanaeem Linux - Hardware 0 10-22-2004 03:41 PM
How to make a sound on Realtec ALC-650 card sound on a Shuttle ST62K? Laurent Linux - Hardware 0 05-30-2004 11:57 AM
No Sound : request_module: failed /sbin/modprobe -- sound-slot-0. error = 256 Mebuh Linux - General 0 01-26-2004 07:51 AM

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

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