Skip to contentSkip to conversation

HELP: Cannot get ALSA working on via82xx

DISCUSSION Timothy Miller 5 participants 7 messages Jul 5, 2004 – Jul 15, 2004

lore
Share & tools
lore
#0 lore raw

Hi. I'm a list member, subscribed as [email protected], but I am not at work right now, so I'm posting from my spam account. :)

Anyhow, I'm having a heck of a time getting ALSA to work. I have an ABIT KD7, which has the KT400 chipset. I have determined that the applicable driver is "via82xx". I'm using kernel "gentoo-dev-sources-2.6.7-r7".

Right now, the state is that regular digital audio works, but MIDI refuses to work, and some other audio channel is on which produces random clicks and other such noise.

There's tons I can tell you about my system, but most of what you probably need to know about my situation and what questions have been asked, etc can be found by looking at this Gentoo forums discussion that I started: "http://forums.gentoo.org/viewtopic.php?t=193711". Please have a look and see if you can't figure out what I'm doing wrong.

Thanks!

_________________________________________________________________
Get tips for maintaining your PC, notebook accessories and reviews in Technology 101. http://special.msn.com/tech/technology101.armx

#1 lore raw
Quoted 4 lines · Timothy Miller

Right now, the state is that regular digital audio works, but MIDI refuses to work, and some other audio channel is on which produces random clicks and other such noise.

I wasn't able to get MIDI working too, I guess that these onboard sound cards doesn't have support for it (but I really don't know).

The random noise could be caused by wrong mixer setting. Try save mixer settings when you are using OSS, and restore them while running ALSA (you can use oss-preserve for it).

Signature · 4 lines
Marcel Sebek
jabber: [email protected]                     ICQ: 279852819
linux user number: 307850                 GPG ID: 5F88735E
GPG FP: 0F01 BAB8 3148 94DB B95D  1FCA 8B63 CA06 5F88 735E
#2 lore raw
In reply to Timothy Miller

I must once again reiterate my begging for help on this topic. I've gotten lots of help on the gentoo forum, but none of it's fixed my problems, and I've only gotten one response on LKML.

*BEG* *BEG* *BEG*

Please, won't someone take pity on me? :) Thanks!

Quoted 10 lines · Timothy Miller

Hi. I'm a list member, subscribed as [email protected], but I am not at work right now, so I'm posting from my spam account. :)

Anyhow, I'm having a heck of a time getting ALSA to work. I have an ABIT KD7, which has the KT400 chipset. I have determined that the applicable driver is "via82xx". I'm using kernel "gentoo-dev-sources-2.6.7-r7".

Right now, the state is that regular digital audio works, but MIDI refuses to work, and some other audio channel is on which produces random clicks and other such noise.

There's tons I can tell you about my system, but most of what you probably need to know about my situation and what questions have been asked, etc can be found by looking at this Gentoo forums discussion that I started: "http://forums.gentoo.org/viewtopic.php?t=193711". Please have a look and see if you can't figure out what I'm doing wrong.

Thanks!

#3 lore raw

At Wed, 07 Jul 2004 14:26:54 -0400,

Quoted 8 lines · Timothy Miller

I must once again reiterate my begging for help on this topic. I've gotten lots of help on the gentoo forum, but none of it's fixed my problems, and I've only gotten one response on LKML.

*BEG* *BEG* *BEG*

Please, won't someone take pity on me? :) Thanks!

via82xx doesn't support MPU401 by itslef although via686 does.

You can try snd-mpu401 module instead. When ACPI is enabled, the configuration will be done automatically.
The midi device can be available as the second card.

Takashi

Quoted 31 lines
Quoted 12 lines · Timothy Miller

Hi. I'm a list member, subscribed as [email protected], but I am not at work right now, so I'm posting from my spam account. :)

Anyhow, I'm having a heck of a time getting ALSA to work. I have an ABIT KD7, which has the KT400 chipset. I have determined that the applicable driver is "via82xx". I'm using kernel "gentoo-dev-sources-2.6.7-r7".

Right now, the state is that regular digital audio works, but MIDI refuses to work, and some other audio channel is on which produces random clicks and other such noise.

Quoted 8 lines

There's tons I can tell you about my system, but most of what you probably need to know about my situation and what questions have been asked, etc can be found by looking at this Gentoo forums discussion that I started: "http://forums.gentoo.org/viewtopic.php?t=193711". Please have a look and see if you can't figure out what I'm doing wrong.

Thanks!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#4 lore raw

Thank you for responding!

Quoted 11 lines · Takashi Iwai

At Wed, 07 Jul 2004 14:26:54 -0400,

Quoted 5 lines · Timothy Miller

I must once again reiterate my begging for help on this topic. I've gotten lots of help on the gentoo forum, but none of it's fixed my problems, and I've only gotten one response on LKML.

*BEG* *BEG* *BEG*

Please, won't someone take pity on me? :) Thanks!

via82xx doesn't support MPU401 by itslef although via686 does.

I'm not sure if I have via686 or not. Various tools like lspci don't seem to reveal much.

That's one of the problems I keep running into with Linux. There aren't good tools for finding out what you have, and even when you do find out what you have, it's hard to figure out which modules you need, because the module names don't correspond well with the chipset name. Furthermore, there doesn't seem to be a good way to relate module names with menuconfig entries. When someone says to use xyz module, I can't figure out which menuconfig option to select, so I have to compile ALL of them as modules, and when someone tells me to use a given menu option, I can't figure out which module corresponds to it.

Quoted 1 line

You can try snd-mpu401 module instead.

Well, I have a module snd-mpu401, but when I modprobe it, I get an error about a non-existant device.

Quoted 3 lines

When ACPI is enabled, the
configuration will be done automatically. The midi device can be available as the second card.

Ah, well, I had nightmares trying to use ACPI. I use just APM for things like power-off (power-off works with APM, but not with ACPI). Maybe some of the experts can help me to figure out how to get it all to work.

I'm about ready to give up on ALSA and go back to OSS. Maybe someone can help me to figure out how to get MIDI sequencing to work with OSS instead. OSS would at least do audio right without noise and popping sounds, etc.

I apologize for the impatient nature of this post... I've been struggling for weeks to get audio working right with ALSA, but every piece of advise I get seems only to make things worse.

From what I read on various web sites, ALSA for via82xx is so buggy that it's really not worth using yet.

#5 lore raw

At Thu, 15 Jul 2004 12:08:47 -0400,

Quoted 14 lines · Timothy Miller

Thank you for responding!

Quoted 9 lines · Takashi Iwai

At Wed, 07 Jul 2004 14:26:54 -0400,

Quoted 6 lines · Timothy Miller

I must once again reiterate my begging for help on this topic. I've gotten lots of help on the gentoo forum, but none of it's fixed my problems, and I've only gotten one response on LKML.

*BEG* *BEG* *BEG*

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Please, won't someone take pity on me? :) Thanks!

via82xx doesn't support MPU401 by itslef although via686 does.

I'm not sure if I have via686 or not. Various tools like lspci don't seem to reveal much.

Hmm, lspci must show the string like 'VIA86C686A' or 'VIA8235' ('VIA' can be 'VT').

Quoted 4 lines

That's one of the problems I keep running into with Linux. There aren't good tools for finding out what you have, and even when you do find out what you have, it's hard to figure out which modules you need, because the module names don't correspond well with the chipset name.

You can use alsaconf script. It will detect the right module.

Quoted 5 lines

Furthermore, there doesn't seem to be a good way to relate module names with menuconfig entries. When someone says to use xyz module, I can't figure out which menuconfig option to select, so I have to compile ALL of them as modules, and when someone tells me to use a given menu option, I can't figure out which module corresponds to it.

That's true. The sure way would be to retrieve the pci id table from the source code...

Quoted 4 lines
Quoted 1 line

You can try snd-mpu401 module instead.

Well, I have a module snd-mpu401, but when I modprobe it, I get an error about a non-existant device.

Then you might need to give the correct port number and the irq number as module parameters. Perhaps you can get them from BIOS.

Quoted 9 lines
Quoted 3 lines

When ACPI is enabled, the
configuration will be done automatically. The midi device can be available as the second card.

Ah, well, I had nightmares trying to use ACPI. I use just APM for things like power-off (power-off works with APM, but not with ACPI). Maybe some of the experts can help me to figure out how to get it all to work.

Quoted 4 lines

I'm about ready to give up on ALSA and go back to OSS. Maybe someone can help me to figure out how to get MIDI sequencing to work with OSS instead. OSS would at least do audio right without noise and popping sounds, etc.

I guess you see a kernel message when you load snd-via8xx driver regarding dxs_support option (suppose that your chip is VIA823x)?

In worst case, you can eliminate the noises with dxs_support=2 option.

Quoted 6 lines

I apologize for the impatient nature of this post... I've been struggling for weeks to get audio working right with ALSA, but every piece of advise I get seems only to make things worse.

From what I read on various web sites, ALSA for via82xx is so buggy
that it's really not worth using yet.

Sorry, no, the chipset on many mobos is so buggy :) That's why we need so many workarounds.

OSS driver has no problem regarding clicking noises because it doesn't support the DXS channels, the multiple playback. ALSA supports it as default. dxs_support=2 options disables it.
See ALSA-Configuration.txt for details.

Anyway, OSS VIA driver also doesn't support MIDI for VIA823x. It's for VIA686 only, as well as on ALSA driver.

Takashi

#6 lore raw
In reply to Timothy Miller
Quoted 50 lines · Timothy Miller

Thank you for responding!

Quoted 7 lines · Takashi Iwai

At Wed, 07 Jul 2004 14:26:54 -0400,

Quoted 4 lines · Timothy Miller

I must once again reiterate my begging for help on this topic. I've gotten lots of help on the gentoo forum, but none of it's fixed my problems, and I've only gotten one response on LKML.

Quoted 5 lines
Quoted 3 lines

*BEG* *BEG* *BEG*

Please, won't someone take pity on me? :) Thanks!

via82xx doesn't support MPU401 by itslef although via686 does.

I'm not sure if I have via686 or not. Various tools like lspci don't seem to reveal much.

That's one of the problems I keep running into with Linux. There aren't good tools for finding out what you have, and even when you do find out what you have, it's hard to figure out which modules you need, because the module names don't correspond well with the chipset name. Furthermore, there doesn't seem to be a good way to relate module names with menuconfig entries. When someone says to use xyz module, I can't figure out which menuconfig option to select, so I have to compile ALL of them as modules, and when someone tells me to use a given menu option, I can't figure out which module corresponds to it.

Quoted 1 line

You can try snd-mpu401 module instead.

Well, I have a module snd-mpu401, but when I modprobe it, I get an error about a non-existant device.

Quoted 4 lines

When ACPI is enabled, the

configuration will be done automatically. The midi device can be available as the second card.

Ah, well, I had nightmares trying to use ACPI. I use just APM for things like power-off (power-off works with APM, but not with ACPI). Maybe some of the experts can help me to figure out how to get it all to work.

I'm about ready to give up on ALSA and go back to OSS. Maybe someone can help me to figure out how to get MIDI sequencing to work with OSS instead. OSS would at least do audio right without noise and popping sounds, etc.

Quoted 7 lines

I apologize for the impatient nature of this post... I've been struggling for weeks to get audio working right with ALSA, but every piece of advise I get seems only to make things worse.

From what I read on various web sites, ALSA for via82xx is so buggy that it's really not worth using yet.

Humm, then why is everything running fine here, using alsa, on a via82xx chipset, an 8233 TBE. Check your lsmod output against this:

Module                  Size  Used by
snd_seq_oss            32896  0
snd_seq_midi_event      7744  1 snd_seq_oss
snd_seq                51408  4 snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            50792  0
snd_mixer_oss          18624  1 snd_pcm_oss
snd_via82xx            25860  2
snd_ac97_codec         65860  1 snd_via82xx
snd_pcm                92644  3 snd_pcm_oss,snd_via82xx
snd_timer              24964  2 snd_seq,snd_pcm
snd_page_alloc         11400  2 snd_via82xx,snd_pcm
snd_mpu401_uart         7488  1 snd_via82xx
snd_rawmidi            24448  1 snd_mpu401_uart
snd_seq_device          8072  3 snd_seq_oss,snd_seq,snd_rawmidi
snd                    54500  14 

snd_seq_oss,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

All this on a 2.6.8-rc1-mm1 kernel.

xmms runs fine, tvtime runs fine, I can play a cd or a realaudio stream from the net, and the sound is pretty decent.

Signature · 6 lines
Cheers, Gene
There are 4 boxes to be used in defense of liberty. 
Soap, ballot, jury, and ammo.
Please use in that order, starting now.  -Ed Howdershelt, Author
Additions to this message made by Gene Heskett are Copyright 2004, 
Maurice E. Heskett, all rights reserved.