Unsupported sound chip: VIA VT1720/24 (VIA Envy24PT)

Bug #16041 reported by Elegantly
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Fix Released
Medium
Chuck Short

Bug Description

I have recently purchased the new Shuttle XPC SN25P barebone PC for AMD64 CPUs
(nForce4 chipset, Socket 939 ;
http://global.shuttle.com/Product/Barebone/SN25P.asp). The FN25 mainboard in the
SN25P is equipped with an onboard sound card of type VIA Envy24PT multi-channel
audio controller (VIA VT1720/24 ;
http://www.via.com.tw/en/products/audio/controllers/envy24pt/), which is not yet
supported in Ubuntu 5.04 "Hoary Hedgehog". The correct driver for the sound chip
seems to be "ice1724", but modprobing it results in the following error message:

------------------ snipp --------------
ice1724: Invalid EEPROM (size = 255)
ICE1724: probe of 0000:05:06.0 failed with error -5
------------------ snipp --------------

The problem seems to be that the PCI Product/Vendor ID and/or the Subvendor
PCI-ID is different from what was expected.

A number of Ubuntu users have found a way to fix the problem, which basically
requires you to slightly modify the kernel source to recognize the card by
changing the files /usr/src/linux/sound/pci/ice1712/vt1720_mobo.h and
/usr/src/linux/sound/pci/ice1712/vt1720_mobo.c.

More information can be found on the Ubuntu forums:
http://www.ubuntuforums.org/showthread.php?p=133272

The attached patch is taken from http://www.nakack.net/?p=20

Revision history for this message
Elegantly (elegantly) wrote :

Created an attachment (id=2122)
Patch is taken from http://www.nakack.net/?p=20

Revision history for this message
Chris Fazekas (chris-fazekas) wrote :

will start working on patch this weekend. will require your assistance in testing as I do not have this
mobo. please confirm if you are available for testing

Revision history for this message
Andrew J. Forgue (forgue) wrote :

Hi, I'm the original author of the patch. It's my first one so be nice. I am
available for testing whatever and whenever you need me.

Revision history for this message
Chuck Short (zulcss) wrote :

Fixed in todays upload

Revision history for this message
Mark Manashirov (arkainium) wrote :

I'm having this problem in Gutsy with kernel 2.6.22-14 with an Albatron PX865PE Pro II motherboard.

This is what I get after loading the module:

[ 42.796268] ice1724: Invalid EEPROM (size = 255)
[ 42.796289] ICE1724: probe of 0000:03:02.0 failed with error -5

Here's what I get from lspci:

03:02.0 Multimedia audio controller [0401]: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller [1412:1724] (rev 01)
        Subsystem: VIA Technologies Inc. Albatron PX865PE 7.1 [1412:1724]
        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-
        Interrupt: pin A routed to IRQ 20
        Region 0: I/O ports at b000 [size=32]
        Region 1: I/O ports at b400 [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-
00: 12 14 24 17 01 00 10 02 01 00 01 04 00 20 00 00
10: 01 b0 00 00 01 b4 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 12 14 24 17
30: 00 00 00 00 80 00 00 00 00 00 00 00 0c 01 00 00

I'm going to try to recompile alsa with the information I've found online and see if it works. If all it requires is adding the vendor ID to vt1720_mobo.h it should be no problem. But for anyone else who may have this motherboard, it would be nice to add it to the default kernel so that it works out of the box. I'll post a comment if I run into any problems and please let me know if I can add any more information.

Revision history for this message
Hugh G. Rection (cmanley-deactivatedaccount) wrote :

I have a Shuttle SN26P with the same sound chip and the same problem. There are probably a lot more Shuttles with this same sound chip. I hope it gets fixed one year since the patch seems to be hanging around for a long time already and I don't want to start patching and compiling kernels in a supposedly user friendly OS.

lspci -vv:
07:06.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)
 Subsystem: VIA Technologies Inc. Albatron PX865PE 7.1
 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-
 Interrupt: pin A routed to IRQ 18
 Region 0: I/O ports at b000 [size=32]
 Region 1: I/O ports at b400 [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-

lspci -n:
07:06.0 0401: 1412:1724 (rev 01)

Over and out and back to Windows...

Revision history for this message
Hugh G. Rection (cmanley-deactivatedaccount) wrote :

Oh yes and I was using Ubuntu 8.04 with the 2.6.24-18-generic kernel.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.