LinuxQuestions.org
Visit Jeremy's Blog.
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 01-02-2004, 01:04 PM   #16
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 32

hiya mate, i sympathize with your problem having the same sound chip on ma PC i did have a similar kinda problem with ALSA and the via8235 chipset...

i read in other forums there is some kinda incompatibility with the PCM on the via8235 chipset and the alsa driver... either you get sound at full volume or no volume at all...

and if your chip says its a CMI9739/A chipset then you could go to www.cmedia.com.tw and download the drivers for your chip... but at the moment the drivers only support kernel 2.4.22... so lets just hope they do come up with the drivers for kernel 2.4.23 but if you can get the 2.4.22 drivers working in 2.4.23 please tell me how...

thanks...

ps... may be if we could write to the ALSA developers and highlight this probelem they would be able to come up with a fix in the next version!
 
Old 01-02-2004, 07:17 PM   #17
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Original Poster
Rep: Reputation: 129Reputation: 129
Sound is working correctly!!!

Now the sound in this comp is working perfectly. The last thing I did to get it to work was to run alsaconf. Funny, but nowhere in the documentation does it mention that. Scruff mentioned it in passing in an email.

So, for those of you who browse this thread and have an Asus A7V8X-X motherboard, with onboard sound provided by a VIA VT8235 chipset, here's what you need to do, and have ->

On this box I am running Slackware 9.1 with kernel 2.4.23 installed. This will work just fine on kernel 2.4.22, the default with the Slackware 9.1 bare.i installation, also.

First, enable sound when you configure your kernel as a module, and select no for every chipset, so that you don't have anything except the soundcore.o module, like this ->
Code:
# Sound
#
CONFIG_SOUND=m
# CONFIG_SOUND_ALI5455 is not set
# CONFIG_SOUND_BT878 is not set
# CONFIG_SOUND_CMPCI is not set
# CONFIG_SOUND_EMU10K1 is not set
# CONFIG_SOUND_FUSION is not set
# CONFIG_SOUND_CS4281 is not set
# CONFIG_SOUND_ES1370 is not set
# CONFIG_SOUND_ES1371 is not set
# CONFIG_SOUND_ESSSOLO1 is not set
# CONFIG_SOUND_MAESTRO is not set
# CONFIG_SOUND_MAESTRO3 is not set
# CONFIG_SOUND_FORTE is not set
# CONFIG_SOUND_ICH is not set
# CONFIG_SOUND_RME96XX is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
# CONFIG_SOUND_VIA82CXXX is not set
# CONFIG_SOUND_OSS is not set
# CONFIG_SOUND_AD1980 is not set
# CONFIG_SOUND_WM97XX is not set

#
Next, remove the existing ALSA packages from your system. Find them by entering ->
Code:
anna@peter:~$ ls -l /var/log/packages/alsa*
and then remove them by entering, as root ->
Code:
root@peter:/home/anna# removepkg alsa-driver-0.9.6-i486-3
root@peter:/home/anna# removepkg alsa-lib-0.9.6-i486-1
root@peter:/home/anna# removepkg alsa-oss-0.9.6-i486-1
root@peter:/home/anna# removepkg alsa-utils-0.9.6-i486-1
NB: It may not be necessary to remove these packages, but since I am installing a different version, and this was a suggestion that was posted in a thread where someone got their sound working, I did it.

Next, check to be sure you've removed those packages by doing ->
Code:
anna@peter:~$ ls -l /var/log/packages/alsa*
/usr/bin/ls: /var/log/packages/alsa*: No such file or directory
If there is anything left, get rid of it.

Then, go to ALSA and download the first three files ->
Code:
alsa-driver-1.0.0rc2.tar.bz2
alsa-lib-1.0.0rc2.tar.bz2
alsa-utils-1.0.0rc2.tar.bz2
Next, go to the page for this sound card VIA VT8235 and simply follow the instructions. The only difference is that to unzip and install the tarballs in one step, rather than the 2 steps in the instructions, you can use the command tar -xvjf and it's quicker. NB: So that I don't make a mistake, I keep this page open and cut and paste the instructions right into my console.

After you've done that part, the last instruction on the ALSA site you should have done is to insert these new modules into your kernel by doing modprobe snd-via82xx;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss

Now, since you're still logged in as root, type exit and then as a normal user run alsamixer and unmute every channel, turning up the sound to desired levels.

Now su to root again, and run alsaconf and just enter at the highlighted options until it's finished. Then run alsactl store to save the settings and have them load if you ever have to reboot your shiny new Linux system. Now, to finish this exercise, enter Ctl + Alt + Backspace to leave the X server, then enter startx as a normal user, and when KDE starts you should hear some funky, annoying drums and such. Well, it won't be annoying since you're hearing sound for the first time

And, you should be done! That worked for me, and I've now got sound working properly.
 
Old 01-03-2004, 04:50 AM   #18
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 32
hiya mate,

can you now adjust the volum on the pcm, instead of either no sound or full sound? in mine i can either the have max volume or no volume at all, as i can only unmute the pcm on alsamixer but now adjust it...
 
Old 01-03-2004, 05:59 AM   #19
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Original Poster
Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by marsques
hiya mate,

can you now adjust the volum on the pcm, instead of either no sound or full sound? in mine i can either the have max volume or no volume at all, as i can only unmute the pcm on alsamixer but now adjust it...
Yes, I can adjust the pcm. Look in here on your comp ->
Code:
anna@peter:~$ cat /proc/modules
snd-pcm-oss            37956   1 (autoclean)
snd-mixer-oss          13296   2 (autoclean) [snd-pcm-oss]
nvidia               1628032  11 (autoclean)
snd-via82xx            13504   3
snd-pcm                60928   0 [snd-pcm-oss snd-via82xx]
snd-timer              14916   0 [snd-pcm]
snd-ac97-codec         47468   0 [snd-via82xx]
snd-page-alloc          6484   0 [snd-via82xx snd-pcm]
snd-mpu401-uart         3440   0 [snd-via82xx]
snd-rawmidi            14144   0 [snd-mpu401-uart]
snd-seq-device          4336   0 [snd-rawmidi]
snd                    32644   0 [snd-pcm-oss snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3844   4 [snd]
I'm not sure, but it's my understanding that you get that when you insert all those modules into your kernel, as per the instructions from the ALSA site ->
Code:
Now insert the modules into the kernel.

 modprobe snd-via82xx;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
Did you do that step?
 
Old 01-03-2004, 11:25 AM   #20
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 32
thanks mate... i'll recompile kernel 2.4.23 just enabling the soundcore module and nothing else... coz when i did compile the kernel (2.4.23) last week i sure did select the via82xx...
 
Old 01-03-2004, 05:08 PM   #21
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 32
hiya mate... no such luck in ma part... followed your instructions... sound come alright but cannot adjust the PCM... its either full volume or no volume... after typing "alsamixer" underneath the pcm column there are no "<..>" as in underneath the other columns... and i can only unmute or mute it... i did check "cat /proc/modules" and the information on sound was as the same as yours by the way under alsamixer mine does say "CMI3739"(on the first row) what does yours say? this problem has always persisted since ma first encounter with ALSA on ma pc (version 9.6 onwards) as the drivers from www.cmedia.com.tw only works under kernel 2.4.23...

ps ... the evaluation drivers from OSS which does deteriorate with use as its evaluation does work ok and i can adjust the volume as normal...

any help welcome with open arms...
 
Old 01-03-2004, 05:21 PM   #22
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Original Poster
Rep: Reputation: 129Reputation: 129
one step backwards...

Quote:
Originally posted by marsques
hiya mate... no such luck in ma part... followed your instructions... sound come alright but cannot adjust the PCM... its either full volume or no volume... after typing "alsamixer" underneath the pcm column there are no "<..>" as in underneath the other columns... and i can only unmute or mute it... i did check "cat /proc/modules" and the information on sound was as the same as yours by the way under alsamixer mine does say "CMI3739"(on the first row) what does yours say? this problem has always persisted since ma first encounter with ALSA on ma pc (version 9.6 onwards) as the drivers from www.cmedia.com.tw only works under kernel 2.4.23...

ps ... the evaluation drivers from OSS which does deteriorate with use as its evaluation does work ok and i can adjust the volume as normal...

any help welcome with open arms...
Let's take a step backwards in time...

What is the manufacturer and model of your motherboard, please

If by the first row, you mean at the top left of the screen, mine reads:
Code:
Card: VIA 8235
 
Old 01-03-2004, 06:07 PM   #23
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 32
hiya mate... ma computer is an Acer Aspire 8000 XP with and Phoenix -AwardBIOS version 6.00 and SMBIOS Version 2.3.

on the top left mine does say CMI9739 (sorry for ma earlier error CMI3739) its C-media card with a via8235 chip on it.

by the way is there anyway that i could print out the alsamixer values with or even get in in a kind of a text version instead of the graphical presentation in console mode?
 
Old 01-03-2004, 06:52 PM   #24
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Original Poster
Rep: Reputation: 129Reputation: 129
I can't look for you right now. Go to ACER's site and look up your motherboard and find the chipset - then go to ALSA and get the instructions for the correct sound card. I suspect it may not be the VIA VT8235.
 
Old 01-04-2004, 09:16 AM   #25
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 32
hiya mate... i did goto acer site and downloaded the manual for the pc, however it does not contain details about the motherboard, but when the pc starts up its does say Phoenix - AwardBIOS 6.00
 
Old 01-04-2004, 11:11 AM   #26
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Original Poster
Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by marsques
hiya mate... ma computer is an Acer Aspire 8000 XP with and Phoenix -AwardBIOS version 6.00 and SMBIOS Version 2.3.

on the top left mine does say CMI9739 (sorry for ma earlier error CMI3739) its C-media card with a via8235 chip on it.

by the way is there anyway that i could print out the alsamixer values with or even get in in a kind of a text version instead of the graphical presentation in console mode?
I've done some searching, and from all I've seen, this isn't easy. I even removed the information I'd posted, because I don't think I can help you.

My advice would be to contact Acer support and find out the exact sound chip in your computer. Then go from there. I searched LQ for CMI9739 and got this -> http://www.linuxquestions.org/questi...der=descending which is not very encouraging. Then looking at the C-Media site there is a Linux driver, but you said you tried that, right?

Maybe another shot in the dark. Since you can't adjust pcm in the alsamixer, try adjusting volume, bass, treble, and pcm in KMix once you open KDE.

Another thought is this - you said that the C-Media drivers only work under kernel 2.4.23 - so, can you compile that kernel?

Sorry if this isn't helpful. You're actually way out of my league here, but I'd like to help if I can. If this advice doesn't get you any better results, why not go to the hardware forum, read Finegan's sticky about what info to include in a post, and then post there?
 
Old 01-04-2004, 12:38 PM   #27
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 32
thanks mate i'll give it a go.
 
  


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
RedHat9 VIA VT8235 Sound Does Not Work wayner991 Linux - General 5 09-09-2004 07:48 PM
alsa sound problem... jownas Linux - Hardware 4 05-12-2004 12:49 PM
Help! Problem with VIA VT8235 sound chip tolis Linux - Hardware 1 11-21-2003 11:51 AM
Problem with alsa sound grub Linux - Hardware 2 04-28-2003 06:40 AM
VT8235 Sound, UDMA Drunken Linux - Hardware 15 01-23-2003 02:42 AM

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

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