Skip to contentSkip to conversation

: Abit AV8 entry required for programs that do not use 48k (Fix inside)

ALSA - driver 0000610 [email protected] 1 participant 1 message Nov 2, 2004

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=610>
======================================================================
Reported By: badbunny
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   610
Category:                   PCI - via82xx
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Distribution:               Fedora Core 3 X86_64
Kernel Version:             2.6.9
======================================================================
Date Submitted:             10-27-2004 01:37 CEST
Last Modified:              11-02-2004 21:59 CET

======================================================================
Summary: Abit AV8 entry required for programs that do not use
48k (Fix inside)
Description:
For programs such as Doom 3 or aplay (that use 41k channels)...This card in it's current state of only accepting 48k streams is not working out for these type programs. Adding the following to the whitelist[] in via82xx.c resolves this problem:

{ .vendor = 0x147b, .device = 0x1415, .action = VIA_DXS_NO_VRA }, /* Abit AV8 */

I have have fully tested this. I also ran using VIA_DXS_ENABLE, but it causes a hiss in the sound. So this works the best. Without this users whould just have to know to set "dxs_support=4"...I think it's best this be in the driver.

Below is lspci output:
lspci -nvs 00:11.5
00:11.5 Class 0401: 1106:3059 (rev 60)
Subsystem: 147b:1415
Flags: medium devsel, IRQ 177
I/O ports at e400 [size=256]
Capabilities: [c0] Power Management version 2

lspci -vs 00:11.5
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Subsystem: ABIT Computer Corp.: Unknown device 1415
Flags: medium devsel, IRQ 177
I/O ports at e400 [size=256]
Capabilities: [c0] Power Management version 2

======================================================================

----------------------------------------------------------------------
badbunny - 10-27-04 04:23
----------------------------------------------------------------------
one last remark...wouldn't it be better behavior for the via82xx to set cards to VIA_DXS_NO_VRA rather than VIA_DXS_48K when it does not know the card. I'm not familiar with all the sound cards that use this, but for future cards I see this as being better behavior for the driver & less headache for the user.

----------------------------------------------------------------------
badbunny - 11-02-04 21:59
----------------------------------------------------------------------
Is anyone paying attention to this. I would really like to get this fix into the next alsa release. It's a simple cut and paste. After a while now , I have apps working that didn't work at first....this is needed for the card integrated on this board. Don't let this EASY fix just fall through the cracks.

Issue History
Date Modified Username Field Change
======================================================================

10-27-04 01:37 badbunny       New Issue                                    
10-27-04 01:37 badbunny       Distribution              => Fedora Core 3 X86_64
10-27-04 01:37 badbunny       Kernel Version            => 2.6.9           
10-27-04 03:06 badbunny       Note Added: 0002271                          
10-27-04 04:23 badbunny       Note Added: 0002272                          
11-02-04 21:59 badbunny       Note Added: 0002300                          

======================================================================

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