Skip to contentSkip to conversation

VIA 8237 AD1980 Surround 5.1

DISCUSSION Jose Alberto Reguero 2 participants 7 messages Nov 5, 2004 – Nov 6, 2004

lore
Share & tools
lore
#0 lore raw

MB: K8V SE Deluxe
CPU: AMD64
Asla driver from cvs.
Alsa lib from cvs.
The channel center and LFE ar swapped in surround 5.1. I apply the patch:

        ttable.1.1 1
        ttable.2.4 1
        ttable.3.5 1
-       ttable.4.2 1
-       ttable.5.3 1
+       ttable.4.3 1
+       ttable.5.2 1
        slave.pcm {
                type hooks
                slave.pcm {

in the file:
/etc/alsa/cards/VIA8237.conf
and it works.
Also the mixer controls Center an LFE ar swapped.
Thanks.
Jose Alberto Reguero

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

#1 lore raw
Quoted 5 lines · Jose Alberto Reguero

MB: K8V SE Deluxe
CPU: AMD64
Asla driver from cvs.
Alsa lib from cvs.
The channel center and LFE ar swapped in surround 5.1.

What's the magic to get 5.1 in the at all? I can't seem to get anything but "ALSA lib pcm_hw.c:408:(snd_pcm_hw_channel_info) SNDRV_PCM_IOCTL_CHANNEL_INFO failed: Inappropriate ioctl for device" when running speaker-test.

Signature · 10 lines
Måns Rullgård
[email protected]



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
#2 lore raw
Quoted 11 lines · Måns Rullgård
Quoted 5 lines · Jose Alberto Reguero

MB: K8V SE Deluxe
CPU: AMD64
Asla driver from cvs.
Alsa lib from cvs.
The channel center and LFE ar swapped in surround 5.1.

What's the magic to get 5.1 in the at all? I can't seem to get anything but "ALSA lib pcm_hw.c:408:(snd_pcm_hw_channel_info) SNDRV_PCM_IOCTL_CHANNEL_INFO failed: Inappropriate ioctl for device" when running speaker-test.

I yust try whith -Dplug:surround51 or -Dsurround51 and in the mixer "Surround JACK as Input" off and "Center/LFE Jack as Input" off and Exchange Front/Surround" off and "Spread Front to Surround and Center/LFE" off. It works for me with speaker-test and with xine (DVDS).

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click

#3 lore raw
Quoted 13 lines · Jose Alberto Reguero
Quoted 11 lines · Måns Rullgård
Quoted 5 lines · Jose Alberto Reguero

MB: K8V SE Deluxe
CPU: AMD64
Asla driver from cvs.
Alsa lib from cvs.
The channel center and LFE ar swapped in surround 5.1.

What's the magic to get 5.1 in the at all? I can't seem to get anything but "ALSA lib pcm_hw.c:408:(snd_pcm_hw_channel_info) SNDRV_PCM_IOCTL_CHANNEL_INFO failed: Inappropriate ioctl for device" when running speaker-test.

Quoted 5 lines

I yust try whith -Dplug:surround51 or -Dsurround51 and in the mixer "Surround JACK as Input" off and "Center/LFE Jack as Input" off and Exchange Front/Surround" off and "Spread Front to Surround and Center/LFE" off. It works for me with speaker-test and with xine (DVDS).

That's exactly my settings. The strange thing it that 6-channel playback works with -Dsurround40, but the rear and center/lfe are swapped. 4-channel playback is correct.

Signature · 9 lines
Måns Rullgård
[email protected]


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
#4 lore raw
Quoted 20 lines · Måns Rullgård
Quoted 13 lines · Jose Alberto Reguero
Quoted 11 lines · Måns Rullgård
Quoted 5 lines · Jose Alberto Reguero

MB: K8V SE Deluxe
CPU: AMD64
Asla driver from cvs.
Alsa lib from cvs.
The channel center and LFE ar swapped in surround 5.1.

What's the magic to get 5.1 in the at all? I can't seem to get anything but "ALSA lib pcm_hw.c:408:(snd_pcm_hw_channel_info) SNDRV_PCM_IOCTL_CHANNEL_INFO failed: Inappropriate ioctl for device" when running speaker-test.

Quoted 5 lines

I yust try whith -Dplug:surround51 or -Dsurround51 and in the mixer "Surround JACK as Input" off and "Center/LFE Jack as Input" off and Exchange Front/Surround" off and "Spread Front to Surround and Center/LFE" off. It works for me with speaker-test and with xine (DVDS).

Quoted 3 lines

That's exactly my settings. The strange thing it that 6-channel playback works with -Dsurround40, but the rear and center/lfe are swapped. 4-channel playback is correct.

If you have the same sound card (VIA8237) you need the latest cvs drivers and alsa-lib to recognize de chip properly.
With 1.0.7rc2 don't work well.

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click

#5 lore raw
Quoted 21 lines · Jose Alberto Reguero
Quoted 20 lines · Måns Rullgård
Quoted 18 lines · Jose Alberto Reguero
Quoted 11 lines · Måns Rullgård
Quoted 5 lines · Jose Alberto Reguero

MB: K8V SE Deluxe
CPU: AMD64
Asla driver from cvs.
Alsa lib from cvs.
The channel center and LFE ar swapped in surround 5.1.

What's the magic to get 5.1 in the at all? I can't seem to get anything but "ALSA lib pcm_hw.c:408:(snd_pcm_hw_channel_info) SNDRV_PCM_IOCTL_CHANNEL_INFO failed: Inappropriate ioctl for device" when running speaker-test.

I yust try whith -Dplug:surround51 or -Dsurround51 and in the mixer "Surround JACK as Input" off and "Center/LFE Jack as Input" off and Exchange Front/Surround" off and "Spread Front to Surround and Center/LFE" off. It works for me with speaker-test and with xine (DVDS).

Quoted 7 lines
Quoted 3 lines

That's exactly my settings. The strange thing it that 6-channel playback works with -Dsurround40, but the rear and center/lfe are swapped. 4-channel playback is correct.

If you have the same sound card (VIA8237) you need the latest cvs drivers and alsa-lib to recognize de chip properly. With 1.0.7rc2 don't work well.

I had already patched my kernel, but apparently I needed even newer drivers. Drivers and lib from CVS work correctly.

Signature · 9 lines
Måns Rullgård
[email protected]


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
#6 lore raw
In reply to Jose Alberto Reguero
Quoted 16 lines · Jose Alberto Reguero

MB: K8V SE Deluxe
CPU: AMD64
Asla driver from cvs.
Alsa lib from cvs.
The channel center and LFE ar swapped in surround 5.1. I apply the patch:

        ttable.1.1 1
        ttable.2.4 1
        ttable.3.5 1
(quoted diff) +2 -2
-       ttable.4.2 1
-       ttable.5.3 1
+       ttable.4.3 1
+       ttable.5.2 1
        slave.pcm {
                type hooks
                slave.pcm {
Quoted 4 lines

in the file:
/etc/alsa/cards/VIA8237.conf
and it works.
Also the mixer controls Center an LFE ar swapped.

I'm playing with speaker-test, and device surround40 works with 4 channels. Using device surround40 with 6 channels gives no errors, but the speakers sounding don't match the messages. The rear is swapped with center/lfe. Using device surround51 tells me "ALSA lib pcm_hw.c:408:(snd_pcm_hw_channel_info) SNDRV_PCM_IOCTL_CHANNEL_INFO
failed: Inappropriate ioctl for device"

This is an Asus P4V8X-X MB.

Signature · 9 lines
Måns Rullgård
[email protected]


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click