[alsa-devel] Sampling rate limited to 48 kHz
Marek Ławicki
marek.lawicki at gmail.com
Mon Apr 2 23:44:53 CEST 2007
Hi,
I have Turtle Beach Catalina Card (Envy24HT-S, VT1616 + WM8728)
which I belive is exactly the same as Mad Dog Entertainer 7.1
( http://techreport.com/reviews/2004q1/maddog-entertainer/index.x?pg=2 )
Card is recognized as Chaintech AV-710 but works very well
( so far I tested analog out through WM8728 and digital out ).
My problem is : I can't set sampling rate higher than 48000 on SPDIF out.
I know this card can go higher because :
1. It can go higher under Windows (High Sample Rate 2-channel mode)
2. If I "flash" eeprom with M-Audio Revolution 7.1 settings
card can sync with my external DAC up to 96 kHz (DAC limit)
and I can play 96kHz .wav file.
This is not the way to go for me (analog part and SPDIF-in is lost)
I found this :
ice1724.c:390:static int get_max_rate(struct snd_ice1712 *ice)
ice1724.c-391-{
ice1724.c-392- if (ice->eeprom.data[ICE_EEP2_ACLINK] & VT1724_CFG_PRO_I2S) {
ice1724.c-393- if ((ice->eeprom.data[ICE_EEP2_I2S] & 0x08) &&
!ice->vt1720)
ice1724.c-394- return 192000;
ice1724.c-395- else
ice1724.c-396- return 96000;
ice1724.c-397- } else
ice1724.c-398- return 48000;
ice1724.c-399-}
ice1724.c-400-
Tried to play with it, but no luck - I'm not developer :-)
How can I help with making ice1724 driver even better ?
Thanks,
Marek
# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.14rc1.
Compiled on Apr 2 2007 for kernel 2.6.18.6.
# cat /proc/asound/card0/ice1724
Chaintech AV-710 at 0xd000, irq 11
EEPROM:
Subvendor : 0x12142417
Size : 28 bytes
Version : 1
System Config : 0x42
ACLink : 0x2
I2S : 0x10
S/PDIF : 0xc3
GPIO direction : 0xff
GPIO mask : 0xff
GPIO state : 0xff
Extra #18 : 0x1
Extra #19 : 0x8
Extra #20 : 0x0
Extra #21 : 0x0
Extra #22 : 0x0
Extra #23 : 0x0
Extra #24 : 0x0
Extra #25 : 0x0
Extra #26 : 0x0
Extra #27 : 0x0
Registers:
PSDOUT03 : 0x00000000
CCS00 : 0x00
CCS01 : 0xa0
CCS02 : 0x00
CCS03 : 0x00
CCS04 : 0x42
CCS05 : 0x02
CCS06 : 0x10
CCS07 : 0xc3
CCS08 : 0x00
CCS09 : 0x00
CCS0a : 0x00
CCS0b : 0x00
CCS0c : 0x00
CCS0d : 0x0a
CCS0e : 0x00
CCS0f : 0x00
CCS10 : 0x37
CCS11 : 0x06
CCS12 : 0x01
CCS13 : 0x80
CCS14 : 0x00
CCS15 : 0xea
CCS16 : 0xff
CCS17 : 0x00
CCS18 : 0xff
CCS19 : 0x00
CCS1a : 0x00
CCS1b : 0x00
CCS1c : 0x00
CCS1d : 0x00
CCS1e : 0x2a
CCS1f : 0x00
MT00 : 0x00
MT01 : 0x08
MT02 : 0x00
MT03 : 0x08
MT04 : 0x5a
MT05 : 0x08
MT06 : 0x21
MT07 : 0x82
MT08 : 0x00
MT09 : 0x00
MT0a : 0x00
MT0b : 0x00
MT0c : 0x00
MT0d : 0x00
MT0e : 0x00
MT0f : 0x00
MT10 : 0x40
MT11 : 0x1f
MT12 : 0xa8
MT13 : 0x0d
MT14 : 0x2f
MT15 : 0x78
MT16 : 0x00
MT17 : 0x00
MT18 : 0x80
MT19 : 0x03
MT1a : 0x00
MT1b : 0x00
MT1c : 0xff
MT1d : 0x07
MT1e : 0x00
MT1f : 0x00
MT20 : 0x20
MT21 : 0x01
MT22 : 0xac
MT23 : 0x0d
MT24 : 0xb7
MT25 : 0x7f
MT26 : 0xff
MT27 : 0x07
MT28 : 0x00
MT29 : 0x00
MT2a : 0x00
MT2b : 0x00
MT2c : 0x00
MT2d : 0x00
MT2e : 0x00
MT2f : 0x00
# lspci -vvv
00:0b.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24
[Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)
Subsystem: VIA Technologies Inc. AMP Ltd AUDIO2000
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium
>TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at d000 [size=32]
Region 1: I/O ports at cc00 [size=128]
Capabilities: [80] Power Management version 1
Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
More information about the Alsa-devel
mailing list