LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 09-28-2002, 07:05 PM   #1
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Rep: Reputation: 30
Question VIA AC97 on-board sound problems


Hello all!

First of all, I have searched previous posts regarding my issue, and they have helped me. To a point. I still have no sound.

Background:

I am a Linux "brand-newbie" using Slackware. I have been reading books and documentation for two weeks now, and I feel I have a decent working knowledge of the (very) basics. Maybe.

My on-board sound is not working properly, although I can't seem to find an error message. Here is the result of lsmod:

(Yikes! I can't seem to cut and paste! I guess I could type it all in by hand, but I'm going to hold off unless it's REALLY important.)

Well, lsmod finds all sorts of snd modules, as well as soundcore, pcmcia core (although I can't fathom how this one is relevant to my system), my video card, network card and so forth. I don't get an error when I load Gnome, and I turned the volume up with alsamixer from the command line, as well as gmix when I pull up Gnome. I checked dmesg, and although there's no specific reference to anything sound related (or so it would seem to my untrained eyes), there are certainly no errors of any kind.

Is there a kind soul who might be able to point me in the right direction?

Thanks in advance!

--Akshun J
 
Old 09-28-2002, 07:44 PM   #2
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
Okay, I seemed to have solved part of this problem on my own. I am playing MP3's quite nicely. However, .wav files seem to come out as garbled junk. Any suggestions?

--Akshun J
 
Old 09-29-2002, 04:58 AM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Compress em? I'd say if the wav's suck, compress em into .ogg's or something. Although I don't know why they would be garbled?

And eventually, if you wanna give it a run, you could try ALSA. That might help you out a bit. www.alsa-project.org

And to cut and paste from a console:
highlight the text in question, and middle click to paste it. If you don't have a middle button, click the scroll button. If you don't have that either, click both buttons down at the same time. If not that, then what do you have? A mac? Not sure what Mac people do

Cool
 
Old 09-29-2002, 03:48 PM   #4
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
Master C, thanks for the response. I actually installed my sound driver based on the instructions at ALSA. I just switched desktops to KDE instead of Gnome. Now, none of my sound works. Again. Very frustrating.

On a more trivial note, I still don't have this copy paste-thing down. Konsole simply copies the highlighted text into itself, and I have nothing to paste when I go back to Konqueror.

Anyways, I'll go back to experimenting. Man, I thought I was almost there...

--Akshun J
 
Old 09-29-2002, 06:55 PM   #5
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
I hope you don't mind me interuptting the thread. But I would like to ask what motherboard is this with the VIA sound chip you are working with?
 
Old 09-29-2002, 10:07 PM   #6
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
Let's see, I've got a Shuttle AK11 motherboard. It's houses an AMD Duron 950mhz processor, 256MB DDR ram, Voodoo3 graphics card, Linksys ethernet card, and of course, the lovely VIA AC97 on-board sound.

Let's see.... I log in as root. The command "lsmod" returns NOTHING about my sound. I go for "startx" and load into Gnome. The command "lsmod" from the terminal returns ALL SORTS of sound device information. And when I load up XMMS, I've got MP3 sound.

It gets better...

I load up KDE and I get funky sounds all over the place. Ever time I go into a menu or open a program, some freakin' music plays. However, XMMS freezes up when I start it. I'm thoroughly confused. Any advice would be greatly appreciated...

--Akshun J
 
Old 09-29-2002, 10:31 PM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Copy and paste is very easy, if you have a three-button mouse - highlight the text you want to paste, navigate to the area you want it to be paste to and click the middle button, volia! if you don't have a three-button mouse there is a nice work around in your /et/c/X11/XF86Config in the mouse section (InputDevice) add
Code:
Emulate3Buttons
Emulate3Timeout    50
So in this case you can press two buttons simultaneously to simulate the same effect.

Last edited by neo77777; 09-29-2002 at 10:33 PM.
 
Old 09-29-2002, 11:15 PM   #8
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
Got it! Thanks! Here's my lsmod results under root:

Module Size Used by Not tainted
snd-via686 6700 0 (autoclean)
snd-ac97-codec 23428 0 (autoclean) [snd-via686]
snd-mpu401-uart 2480 0 (autoclean) [snd-via686]
snd-rawmidi 11648 0 (autoclean) [snd-mpu401-uart]
snd-seq-device 3600 0 (autoclean) [snd-rawmidi]
snd-pcm-oss 36292 0 (autoclean)
snd-pcm 52864 0 (autoclean) [snd-via686 snd-pcm-oss]
snd-timer 9928 0 (autoclean) [snd-pcm]
snd-mixer-oss 9180 0 (autoclean) [snd-pcm-oss]
snd 23436 0 (autoclean) [snd-via686 snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device snd-pcm-oss snd-pcm snd-timer snd-mixer-oss]
tdfx 36408 11
soundcore 3236 3 [snd]
pcmcia_core 40896 0
ide-scsi 7456 0
tulip 37184 1
agpgart 29824 0 (unused)

I just logged in as root. Loaded Gnome, and played Purple Rain.mp3. It played perfectly. I then loaded up KDE with sounds a-plenty, only to have XMMS freeze up again. Man, I feel like I'm on the verge of a breakthough...

--Akshun J
 
Old 09-29-2002, 11:18 PM   #9
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
And you've chmod'd 666 /dev/mixer, /dev/audio and company? Hmm???
 
Old 09-29-2002, 11:29 PM   #10
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
I'm sorry, man. I'm still quite new at this. I think you're referring to:

bash-2.05a$ chmod 666 /dev/dsp
chmod: changing permissions of `/dev/dsp': Operation not permitted

I did that operation from my regular user persona, but I'll try it from root...
 
Old 09-29-2002, 11:52 PM   #11
akshunj
Member
 
Registered: Sep 2002
Location: Atlanta, GA
Distribution: Linux Mint Gloria, Slackware 12.2
Posts: 165

Original Poster
Rep: Reputation: 30
Way to go! I did that command as "root", logged back in as user, and now KDE is full of sounds! Thanks again, Neo77777.

However, when I reboot, at the command line my lsmod shows me having nothing sound-related. Then, I go into Gnome, and I get sound (lsmod from the terminal show TONS of sound stuff as evidence from my previous cut & paste). THEN, I can load KDE with sound. Is there any way I can get my sound cranked when I first boot? Thanks in advance for any more suggestions!

Finally, I shall sleep, and tackle more linux tomorrow night...

--Akshun J
 
Old 09-30-2002, 12:01 AM   #12
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Hint: /etc/rc.d/rc.modules and /sbin/modprobe directive
 
  


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
Realtek ALC650 AC97 On-Board Sound Lotmr Linux - Software 6 01-31-2007 11:26 PM
VIA AC97 sound problems m_yates Linux - Hardware 12 02-20-2006 03:46 PM
No sound at all with FC4 and on board AC97 sound ATI motherboard janie Fedora 2 10-13-2005 11:50 AM
soltek ac97 on board MyRee Linux - Hardware 1 09-13-2003 11:20 AM
AC97 Sound Problems KeithKessler Linux - Hardware 1 06-08-2002 08:51 PM


All times are GMT -5. The time now is 11:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration