Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No sound from card... Pls Help!!! [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Despect
n00b
n00b


Joined: 17 Nov 2006
Posts: 19

PostPosted: Mon Nov 20, 2006 8:39 am    Post subject: No sound from card... Pls Help!!! [solved] Reply with quote

K. This is the problem.

Trying to get audio working in console. Then I'll tackle KDE.

I currently have everything enabled in my kernel as built-in, not modules.
Maybe I have too much here, but I'm not certain myself what is necessary.

Advanced Linux Sound Architecture
Sequencer Support
Sequencer dummy client
OSS Mixer API
OSS PCM (digital audio) API
OSS PCM (digital audio) API - Include plugin system
OSS Sequencer API
RTC Timer support
Use RTC as default sequencer timer
Support old ALSA API
Verbose procfs contents
-----PCI devices
Intel/SiS/nVidia/AMD/ALi AC97 Controller

Using a sis card, and have the correct driver for it. (sis drivers)

sasuke linux # lspci -v
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
Subsystem: Dell Unknown device 0195
Flags: bus master, medium devsel, latency 173, IRQ 17
I/O ports at 1400 [size=256]
I/O ports at 2480 [size=128]
Capabilities: [48] Power Management version 2

Starting the daemon works fine:

sasuke dev # /etc/init.d/alsasound start
* Loading ALSA modules ... [ ok ]
* Restoring Mixer Levels ... [ ok ]
sasuke dev #


However, still can't get anything to come outta my speakers. When I try to play an mp3 I get an error like this:

sasuke dev # madplay ~/Desktop/wal.mp3
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
Title: White & Nerdy
Artist: Weird Al Yankovic
Album: Straight Outta Lynwood
Track: 1
Year: 2006
Genre: Comedy
Comment: h8me..retail as alwayz
output: ioctl(SNDCTL_DSP_SYNC): Inappropriate ioctl for device


Finally got my system away from the /dev/* error, and this is where it's at now. Can't find any resources online about this part... Anyone have any ideas?
_________________
C:\
C:\DOS\
C:\DOS\RUN

RUN\DOS\RUN


Last edited by Despect on Wed Nov 29, 2006 6:11 am; edited 1 time in total
Back to top
View user's profile Send private message
Despect
n00b
n00b


Joined: 17 Nov 2006
Posts: 19

PostPosted: Mon Nov 20, 2006 8:54 am    Post subject: Reply with quote

KK... Back to the same old problem now.

Just rebooted and I'm getting a diff. error now. (had this one a little earlier, thought it was fixed...)

Everything is the same as above except when I try to play a file this is the error I get...

sasuke ~ # madplay -v ~/Desktop/wal.mp3
MPEG Audio Decoder 0.15.2 (beta) - Copyright (C) 2000-2004 Robert Leslie et al.
audio: /dev/dsp: No such file or directory
_________________
C:\
C:\DOS\
C:\DOS\RUN

RUN\DOS\RUN
Back to top
View user's profile Send private message
hulmeman
Apprentice
Apprentice


Joined: 02 Jul 2002
Posts: 184
Location: Duchy of Lancaster, England.

PostPosted: Mon Nov 20, 2006 9:10 am    Post subject: Reply with quote

Despect wrote:
audio: /dev/dsp: No such file or directory


Code:
ln -s /dev/sound/dsp /dev/dsp
Back to top
View user's profile Send private message
Despect
n00b
n00b


Joined: 17 Nov 2006
Posts: 19

PostPosted: Mon Nov 20, 2006 5:26 pm    Post subject: Reply with quote

O.K. No real explanation above, if I was to type in the code you wrote, I did that. And nothing changed...
_________________
C:\
C:\DOS\
C:\DOS\RUN

RUN\DOS\RUN
Back to top
View user's profile Send private message
Despect
n00b
n00b


Joined: 17 Nov 2006
Posts: 19

PostPosted: Wed Nov 29, 2006 2:50 am    Post subject: Reply with quote

Anyone else have an idea here...? Still no sound... :-P
_________________
C:\
C:\DOS\
C:\DOS\RUN

RUN\DOS\RUN
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Wed Nov 29, 2006 3:24 am    Post subject: Reply with quote

If I were you, I'd compile all the sound support out of your kernel and follow [url="http://gentoo-wiki.com/HOWTO_ALSA_Complete_(includes_dmix)"]this tutorial[/url].

I think you should go the alsa-driver approach because the alsa drivers in the alsa-driver package are usually newer than the ones in the kernel releases. Also, it seems easier to keep alsa stuff working using a separate package... at least it seemed so for me.

you should have at least alsa-driver, alsa-lib and alsa-utils installed.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Wed Nov 29, 2006 3:35 am    Post subject: Reply with quote

sonicbhoc wrote:
If I were you, I'd compile all the sound support out of your kernel and follow [url=http://gentoo-wiki.com/HOWTO_ALSA_Complete_(includes_dmix)]this tutorial[/url].

I think you should go the alsa-driver approach because the alsa drivers in the alsa-driver package are usually newer than the ones in the kernel releases. Also, it seems easier to keep alsa stuff working using a separate package... at least it seemed so for me.

The current version in stable gentoo sources is ALSA 1.0.12rc1 and the current stable alsa-driver package is 1.0.13.

I would check the alsa-project.org web site at the changelog and see if between those versions there were any changes for your chipset.
If not I would stick with the kernel drivers as changing to the alsa-driver packages can introduce new problems.

(Yes they are easy to fix, but just makes things more confusing for noobs.)
Back to top
View user's profile Send private message
Despect
n00b
n00b


Joined: 17 Nov 2006
Posts: 19

PostPosted: Wed Nov 29, 2006 5:28 am    Post subject: Reply with quote

KK. This is where I'm at now.

I want to use compiled in options. No modules, no alsa-drivers. :-P

Had it working before, but after an install had a lot of problems that basically were unfixable.

So I started from scratch. Now I'm using the latest kernel version --> 2.6.18-r3

Have all the options compiled in that I had before. At least I'm 99% sure.

Now I can get it to play the file but can not hear it through the speakers. When I open madplay with a file it shows all the info of the file, and even starts a counter that shows that it's playing. However for some reason I can't hear a thing... Odd since I had this working before...

Anyway, been trying a few things from the forums here and can't seem to get anything to work...

So, it's playing the file (an mp3), and it shows that it's playing, however I cannot hear the sound.

I've unmuted all the channels using alsamixer and I've turned all channels up to 77x77 which should be plenty high to hear. (tried them at full volume too... didn't matter...)

One thing that may be worth mentioning... when I loaded alsamixer before my re-install it showed green bars which gave me an idea how high the volume is... Now it does not show any green bars at all... I dunno if this is a problem or not... (again, my channels are not muted...)

Well, while waiting for a response, I'm gonna browse for an answer. :) Thanks in advance.
_________________
C:\
C:\DOS\
C:\DOS\RUN

RUN\DOS\RUN
Back to top
View user's profile Send private message
Despect
n00b
n00b


Joined: 17 Nov 2006
Posts: 19

PostPosted: Wed Nov 29, 2006 6:11 am    Post subject: Reply with quote

KK. Lemme just say to all you other nubs (myself included), TRUST YOUR INSTINCTS!!!

Unmuting everything apparently is NOT the way to eliminate errors. lol

Fidgeting with alsamixer I muted all channels that were shown except those that I knew I needed.

Imagine my surprise when I played the file once again and it ran through perfectly... :-P Full sound!

Here's what happened. There are two options called "MHeadphone Jack Sense" and "MLine Jack Sense". I assumed this was what told my laptop when not to play through the speakers because a headset was plugged in... WRONG!

After disabling these two options I was able to play sound no prob, and hear it.

So, in conclusion IF YOUR FILE IS PLAYING AND YOU CANNOT HEAR THE SOUND LISTEN TO COMMON SENSE AND TOY AROUND WITH ALSAMIXER!!! It may save you a lot of time... seeing as how it wasted plenty of mine...

I'm sure I'll be posting in here again guys. Thx. for the help. ^_~
_________________
C:\
C:\DOS\
C:\DOS\RUN

RUN\DOS\RUN
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum