Jump to content

Another sound problem


Pierre
 Share

Recommended Posts

Have a MB with VIA VT 8233 sound chip.

 

The chip is found by Mandrake 9.1 and driver seems to be loaded (snd-via82xx) , but no sound.

 

Had a look a previous post on sound card problems and suggestions of

running su and sndconfig in the Konsole.

 

When I try to do that, I get response "command not found"

 

Any suggestions will be appreciated.

Link to comment
Share on other sites

open Mandrake Control Center (MCC) & go to "install software". type sndconfig in the search box, click "search". put a check in the box next to it when it comes up, then click "install". then go to terminal, su to root, & run sndconfig. chances are the package isn't installed, that's why you're getting the "command not found" error.

Chris

Link to comment
Share on other sites

If you do a 'lsmod' as root, which items related to sound (snd something) are listed ?

 

Btw is your onboard sound a 5.1 device ? If it is, you should try plugging the speaker connector into the LineIN or MIC ports :P It sounds stupid but it worked for me :P

Link to comment
Share on other sites

To Cris:

 

OK now installed "sndconfig" and did run the program, which finds the sound chip but the says "... is not currently supported" !

 

During boot following message: Loading sound module (Via-82cxxaudio)

In HardDrake configuration following message:

"Your card currently uses OSS (VIA 82cxx) audio driver.

(Default driver for your card is snd-via82xx)"

 

Have tried to change to default driver also but no change.

 

Have been to AUMIX and unchecked muteall and set all sliders to 100%

Still no sound!

 

To GuaJing:

 

The sound chip works fine in Windows with default conecctions.

(Dual boot with MasterBooter)

 

lsmod gives the following result:

 

sr_mod 16920 0 (autoclean)

via-rhine 15056 0 (autoclean) (unused)

mii 3832 0 (autoclean) [via-rhine]

nls_iso8859-15 4092 1 (autoclean)

nls_cp850 4316 1 (autoclean)

vfat 11820 1 (autoclean)

fat 37944 0 (autoclean) [vfat]

supermount 15296 1 (autoclean)

ide-cd 33856 0

cdrom 31648 0 [sr_mod ide-cd]

tuner 11744 1 (autoclean)

bttv 78496 0

videodev 7872 3 [bttv]

i2c-algo-bit 9064 1 [bttv]

i2c-core 21192 0 [tuner bttv i2c-algo-bit]

soundcore 6276 0 [via82cxxx_audio sound bttv]

ide-scsi 11280 0

scsi_mod 103284 2 [sr_mod ide-scsi]

ehci-hcd 18568 0 (unused)

usb-uhci 24652 0 (unused)

usbcore 72992 1 [ehci-hcd usb-uhci]

rtc 8060 0 (autoclean)

ext3 59916 2

jbd 38972 2 [ext3]

 

 

 

Hope this info helps!

Link to comment
Share on other sites

Btw is your onboard sound a 5.1 device ?
6.0 [edit= 6.1]

 

OK now installed "sndconfig" and did run the program, which finds the sound chip but the says "... is not currently supported" !
not supported by the app.

 

OSS=via82cxxx_audio

ALSA=snd-via82xx

 

I have it but only used it a few times b4 buying a sb16 pci. I hated alsa so at install I chose the OSS mod, but only root could use it. That's fixable I'm sure but I never tried....stuff should just work, rt? Alsa worked for users but sounded like a tin can.....bought the sb.

 

So which do you want to use? Alsa wasn't THAT bad really. Either way a sound mod isn't loaded. So some general things to try are

 

modprobe modname

so,

modprobe via82cxxx_audio

or

modprobe snd-via82xx

 

For alsa, if the mod loads (check with lsmod) go to mcc>System>DrakXServices and, if not already, start sound and alsa.

 

Also, post your /etc/modules.conf, and login as root just to see if it works, that way we'll eliminate any permission probs.

 

BTW, you wouldn't happen to have an abit kd7 MoBo would ya? From lsmod you got alot of the same stuff....but I'm sure there's 10 MoBo's out there with them.

Link to comment
Share on other sites

Thanks bvc for willingness to help.

 

First don't know what a 5.1 or 6.0 device is. Sorry.

 

The mobo is an Asus A7V8X-X. No Linux drivers or help at Asus!

 

Please find below the output from the different probs.

 

[root@localhost td]# modprobe via82cxxx_audio

[root@localhost td]# modprobe snd-via82xx

/lib/modules/2.4.21-0.13mdk/kernel/sound/pci/snd-via82xx.o.gz: init_module: No such device

Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.

You may find more information in syslog or the output from dmesg

modprobe: insmod /lib/modules/2.4.21-0.13mdk/kernel/sound/pci/snd-via82xx.o.gz failed

modprobe: insmod snd-via82xx failed

[root@localhost td]#

 

 

modules.conf:

 

probeall scsi_hostadapter ide-scsi

probeall usb-interface usb-uhci ehci-hcd

above snd-via82xx snd-pcm-oss

alias eth0 via-rhine

alias sound-slot-0 via82cxxx_audio

 

# lt_drivers: autoloading and insertion parameter usage

alias char-major-62 lt_serial

alias /dev/tts/LT0 lt_serial

alias /dev/modem lt_serial

# The next two lines are syntax examples, only Rarely Needed, to automate parameter usage during lt_drivers insertion. See documentation for details.

# options lt_modem vendor_id=0x115d device_id=0x0420

# options lt_modem Forced=3,0x130,0x2f8,0

# section for lt_drivers ends

 

 

When I go to MCC/System/DrakXServices the alsa is stopped and sound is running. When I try to start alsa i get following message: alsa driver isn't

running.

 

PS I little bit confusing this stuff with two diffrent drvers (Alsa and OSS)

Link to comment
Share on other sites

Ok, here

[root@localhost td]# modprobe via82cxxx_audio
if all you got was another prompt, it loaded. Check with lsmod.

 

modprobe snd-via82xx could have failed for any number of reasons. First, if you did that rt after loading the OSS driver, then that could happen. Only one at a time, either OSS or Alsa. Second, is my fault (I'm new to alsa).....the snd mod has to be loaded b4 snd-via82xx, if I remember correctly.

 

SEE: man modprobe

modprobe -r (to remove a loaded mod)

 

 

 

modules.conf:  

 

probeall scsi_hostadapter ide-scsi  

probeall usb-interface usb-uhci ehci-hcd  

above snd-via82xx snd-pcm-oss  

alias eth0 via-rhine  

alias sound-slot-0 via82cxxx_audio

-above snd-via82xx snd-pcm-oss is an alsa entry

-alias sound-slot-0 via82cxxx_audio is an oss entry

which could explain why the oss didn't work (you are trying as root, rt?)

 

Since alsa is off at boot, the first thing I'd try, unless you want to use the alsa driver, is the comment out the line

above snd-via82xx snd-pcm-oss

like this

#above snd-via82xx snd-pcm-oss

reboot, and see if the oss driver works.

 

How are you testing? Are you using kde? Is arts set to run at login?

 

ALL of this is why I asked, "do you want to use alsa, or oss". This is very important because neither will work with the other so everything has to be exact, for both. In general, oss is usually easier to get going, but this also varies from driver to driver so it's always hard to say.

 

 

 

If you want to try alsa put this in modules.conf

# ALSA portion

alias char-major-116 snd

alias snd-card-0 snd-via82xx

above snd-via82xx snd-pcm-oss  

alias sound-service-0-0 snd-mixer-oss

alias sound-service-0-1 snd-seq-oss

alias sound-service-0-3 snd-pcm-oss

alias sound-service-0-8 snd-seq-oss

alias sound-service-0-12 snd-pcm-oss

and check off alsa to run at boot and reboot....hopefully it'll work.

 

 

For oss, put in modules.conf

# OSS/Free portion

alias char-major-14 soundcore

alias sound-slot-0 snd-card-0

and reboot.

 

Remember, one or the other. You can put both in modules.conf, just be sure to '#'comment out the ones you aren't using.

 

google

 

Thanks bvc for willingness to help.
You're welcome, but have patience with me because like I said, I'm new to alsa. All I ever had to do b4 I upgraded my MoBo was insmod cs4281. :lol:
Link to comment
Share on other sites

All this is a little bit confusing to me. I had no idea it would be this difficult to get a sound card working under Linux. I hate to point out what happens when one uses the more common OS.

 

Anyways, I am not going to give up yet!

 

 

During my previous effort I might had compromised some of the settings and have now done a clean install and rerun the procedures you suggested in your first post.

 

MCC/System/DrakXServices

 

Alsa Running x OnBoot

Sound Running x OnBoot

 

Modprobe:

 

[root@localhost td]# modprobe via82cxxx_audio

/lib/modules/2.4.21-0.13mdk/kernel/drivers/sound/via82cxxx_audio.o.gz: init_module: No such device

Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.

You may find more information in syslog or the output from dmesg

modprobe: insmod /lib/modules/2.4.21-0.13mdk/kernel/drivers/sound/via82cxxx_audio.o.gz failed

modprobe: insmod via82cxxx_audio failed

[root@localhost td]#

 

[root@localhost td]# modprobe snd-via82xx

[root@localhost td]#

 

Lsmod:

 

[root@localhost td]# lsmod

Module Size Used by Not tainted

udf 90464 0 (autoclean)

snd-seq-oss 31104 0 (unused)

snd-seq-midi-event 5640 0 [snd-seq-oss]

snd-seq 42608 2 [snd-seq-oss snd-seq-midi-event]

snd-pcm-oss 43556 0

snd-mixer-oss 14488 0 [snd-pcm-oss]

snd-via82xx 14092 0

snd-ac97-codec 40160 0 [snd-via82xx]

snd-pcm 77536 0 [snd-pcm-oss snd-via82xx]

snd-timer 18376 0 [snd-seq snd-pcm]

snd-mpu401-uart 4396 0 [snd-via82xx]

snd-rawmidi 17600 0 [snd-mpu401-uart]

snd-seq-device 5832 0 [snd-seq-oss snd-seq snd-rawmidi]

snd-page-alloc 7732 0 [snd-via82xx snd-pcm]

snd 40868 0 [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-via82xx snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]

soundcore 6276 0 [snd]

nfsd 74256 0 (autoclean)

ppp_async 9216 0 (unused)

ppp_generic 24060 0 [ppp_async]

slhc 6564 0 [ppp_generic]

af_packet 14952 0 (autoclean)

sr_mod 16920 0 (autoclean)

via-rhine 15056 0 (autoclean) (unused)

mii 3832 0 (autoclean) [via-rhine]

nls_iso8859-15 4092 1 (autoclean)

nls_cp850 4316 1 (autoclean)

vfat 11820 1 (autoclean)

fat 37944 0 (autoclean) [vfat]

supermount 15296 1 (autoclean)

ide-cd 33856 0

cdrom 31648 0 [sr_mod ide-cd]

ide-scsi 11280 0

scsi_mod 103284 2 [sr_mod ide-scsi]

ehci-hcd 18568 0 (unused)

usb-uhci 24652 0 (unused)

usbcore 72992 1 [ehci-hcd usb-uhci]

rtc 8060 0 (autoclean)

ext3 59916 2

jbd 38972 2 [ext3]

[root@localhost td]#

 

Modules.conf

 

probeall scsi_hostadapter ide-scsi

probeall usb-interface usb-uhci ehci-hcd

above snd-via82xx snd-pcm-oss

alias eth0 via-rhine

alias sound-slot-0 snd-via82xx

 

# lt_drivers: autoloading and insertion parameter usage

alias char-major-62 lt_serial

alias /dev/tts/LT0 lt_serial

alias /dev/modem lt_serial

# The next two lines are syntax examples, only Rarely Needed, to automate parameter usage during lt_drivers insertion. See documentation for details.

# options lt_modem vendor_id=0x115d device_id=0x0420

# options lt_modem Forced=3,0x130,0x2f8,0

# section for lt_drivers ends

 

BVC wrote:

How are you testing? Are you using kde? Is arts set to run at login?

 

I am using KDE. Arts is there under the multimedia tab

 

BVC Wrote:

"do you want to use alsa, or oss"

Doesn't matter to me, as long as it works. There is a document at ViaArena

about "Mandrake Linux 9.1 Audio Driver Installation Guide" that claim all parts of the

audio spectrum is only covered by "built-in Alsa"????

 

Tried to add your lines

 

# ALSA portion

alias char-major-116 snd

alias snd-card-0 snd-via82xx

above snd-via82xx snd-pcm-oss

alias sound-service-0-0 snd-mixer-oss

alias sound-service-0-1 snd-seq-oss

alias sound-service-0-3 snd-pcm-oss

alias sound-service-0-8 snd-seq-oss

alias sound-service-0-12 snd-pcm-oss

 

to modules.conf and restart.

 

Firstly when I log out system hangs on "Stopping alsa" have to reset.

After restart still no sound. Also now in startup dialog

"Alsa 0.9.0rc8 via82xx"

 

Do unmute in Aumix, but read somewhere that this does not work for alsa, only for OSS. To unmute you need alsa-utils????

 

Is there any way you can unmute on startup? Sounds weired to me that the system is not started in a workable state.

Link to comment
Share on other sites

localhost:/# rpm -ql alsa-utils

/usr/bin/aconnect

/usr/bin/alsamixer

/usr/bin/amixer

/usr/bin/aplay

/usr/bin/arecord

/usr/bin/aseqnet

/usr/sbin/alsactl

localhost:/# urpmf alsamixergui

alsamixergui:/usr/bin/alsamixergui

You can use;

alsamixer

amixer

with the alsa-utils pkg, and

alsamixergui

if you install alsamixergui, to adjust the sould levels.

 

Is there any way you can unmute on startup?
Once the volume is raised and sound working, the settings will be saved at shutdown or reboot and loaded again at boot. A few do have a prob with this not happening though.
Link to comment
Share on other sites

Run

 

localhost:/# rpm -ql alsa-utils

/usr/bin/aconnect

/usr/bin/alsamixer

/usr/bin/amixer

/usr/bin/aplay

/usr/bin/arecord

/usr/bin/aseqnet

/usr/sbin/alsactl

 

I think successfully

 

then

 

[td@localhost td]$ # urpmf alsamixergui

[td@localhost td]$ alsamixergui:/usr/bin/alsamixergui

bash: alsamixergui:/usr/bin/alsamixergui: No such file or directory

[td@localhost td]

 

In alsamixer I set all volums to 100% Still no sound.

 

When I run sound test in KDE ControlCenter the Arts volume display

moves and same thing when i try to run a mp3 file.

 

Have a feeling that sound drivers work but the whole system is muted.

Checked also that I have sound in Windows.

 

In Alsamixer have following info:

Card: VIA 8235

Chip: Analog Devices AD1980

Item: Master

 

The drivers for this chip in Windows are the ones for AD1980.

Had a look at Asus website for Linux AD1980 driver but only found

for RedHat and Caldera.

 

Is this a path to persue or I should keep trying with the Alsa drivers ?

 

Feels so close but very frustrating!

Link to comment
Share on other sites

All this is a little bit confusing to me. I had no idea it would be this difficult to get a sound card working under Linux. I hate to point out what happens when one uses the more common OS.

 

Anyways, I am not going to give up yet!

 

You should, at least for the moment (you'll need to wait for a new kernel release (or releases)) :(

 

I'm having the same problem with a 82801DB AC'97 Audio card. It's not GNU/Linux fault, I can't get sound neither with free-OSS nor with Alsa, it is a manufacturer's fault because they aren't providing the drivers, or at least the specs, of the card. I know that my card works under Linux because I can get an excellent sound if I try the non-free-OSS drivers (it is only that I won't pay for something that I believe that should be free (as in speech)), If you purchase a piece of hardware, the manufacturer must warantee that it will work for you, no matter which is the kind of OS you use.

Link to comment
Share on other sites

:shock:

You should, at least for the moment (you'll need to wait for a new kernel release (or releases)) :(
What does your Intel have to do with this card? I don't see any relation.

 

OK, ? well since I'm going to instal over this mdk install, I'll enable sound in bios and see exactly how all is configed. It does work.....[watch is not work this time :roll: :P ]

Link to comment
Share on other sites

:shock:
You should, at least for the moment (you'll need to wait for a new kernel release (or releases)) :(
What does your Intel have to do with this card? I don't see any relation.

 

Nothing at all of course, I was just pointing out my experience(*). We are not in old 2.2 kernel times where sound cards where ISA cards and making them work was a hell (irqs, ios, ...). If the card is not working right out of the box then is a driver problem (except if there is a mixer missconfiguration) and the best thing to do is to wait until the new driver comes out, drakconf will do the rest ;)

 

(*) I haven't check if Pierre's card is fully supported by linux

Link to comment
Share on other sites

So if I have the same card, and the same ML9.1 default install, and the card/driver works for me, why not for Pierre? That's what I don't understand :)

 

BTW, I'm at work now and will mess with this card tonight, Pierre.

Can you post the output of

lspci -vv

Link to comment
Share on other sites

Thanks bvc!

 

I will post the output of lspci -vv later. I am away from the Linux box now.

 

Just to reiterate my feeling about the mute/unmute situation.

 

Every time I open up Aumix the "mute all" is checked and I unckeck it.

Next time I open "mute all" is still checked.

 

Is there a way to be perfectly sure everything is unmuted and slides are set to 100%.

 

How do you unmute in "Alsamixer" ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...