Difference between revisions of "Xonar EEPROM Failure"

From AlsaProject
Jump to: navigation, search
(Bug Reports)
m (grammar)
(27 intermediate revisions by one user not shown)
Line 1: Line 1:
 
==Xonar EEPROM Failure==
 
==Xonar EEPROM Failure==
  
Sometimes, Xonar cards randomly fail to be recognized.
+
Sometimes, Xonar PCI/PCI-E cards randomly fail to be recognized.
  
 
The driver refused to load or to install, and in Device Manager, the card is shown as an unknown sound card or as "C-Media Oxygen audio device".
 
The driver refused to load or to install, and in Device Manager, the card is shown as an unknown sound card or as "C-Media Oxygen audio device".
Line 11: Line 11:
 
and uses a default ID (13F6:8788) which is not recognized by the Xonar driver.)
 
and uses a default ID (13F6:8788) which is not recognized by the Xonar driver.)
  
==Causes==
+
To reliably detect whether the EEPROM was overwritten,
 
+
go into Device Manager, show the properties page of the device,
The exact cause is unknown.<BR>
+
go to the "Details" tab, and select the property "Hardware IDs",
It seems that the problem occurs only with certain computers or motherboards,
+
and look at the values after "SUBSYS_":
and after booting from a CD (i.e., (re)installation of an operating system, or using a live CD).
+
 
+
Affected systems:
+
 
{| border="1"
 
{| border="1"
! Mainboard
+
| PCI\VEN_13F6&DEV_8788&SUBSYS_82691043
! Chipset
+
| OK (Xonar D2)
 
|-
 
|-
| Asus M3N-HT Deluxe
+
| PCI\VEN_13F6&DEV_8788&SUBSYS_82751043
| nForce 780a SLI
+
| OK (Xonar DX)
 
|-
 
|-
| Asus P5N-D
+
| PCI\VEN_13F6&DEV_8788&SUBSYS_82B71043
| nForce 750i SLI
+
| OK (Xonar D2X)
 
|-
 
|-
| Asus P5N-T Deluxe
+
| PCI\VEN_13F6&DEV_8788&SUBSYS_83141043
| nForce 780i SLI
+
| OK (Xonar HDAV1.3)
 
|-
 
|-
| Asus Striker II Formula
+
| PCI\VEN_13F6&DEV_8788&SUBSYS_83271043
| nForce 780i SLI
+
| OK (Xonar DX)
 
|-
 
|-
| Dell Optiplex 755
+
| PCI\VEN_13F6&DEV_8788&SUBSYS_834F1043
| Intel Q35
+
| OK (Xonar D1)
 +
|-
 +
| PCI\VEN_13F6&DEV_8788&SUBSYS_835C1043
 +
| OK (Xonar Essence STX)
 +
|-
 +
| PCI\VEN_13F6&DEV_8788&SUBSYS_835D1043
 +
| OK (Xonar Essence ST)
 +
|-
 +
| PCI\VEN_13F6&DEV_8788&SUBSYS_835E1043
 +
| OK (Xonar HDAV1.3 Slim)
 +
|-
 +
| PCI\VEN_13F6&DEV_8788&SUBSYS_838E1043
 +
| OK (Xonar DS)
 +
|-
 +
| PCI\VEN_13F6&DEV_8788&SUBSYS_84281043
 +
| OK (Xonar Xense)
 +
|-
 +
| PCI\VEN_13F6&DEV_8788&SUBSYS_84671043
 +
| OK (Xonar DG)
 +
|-
 +
| PCI\VEN_13F6&DEV_8788&SUBSYS_85211043
 +
| OK (Xonar DGX)
 +
|-
 +
| PCI\VEN_13F6&DEV_8788&SUBSYS_85221043
 +
| OK (Xonar DSX)
 +
|-
 +
| PCI\VEN_13F6&DEV_8788&SUBSYS_'''878813F6'''
 +
| '''overwritten EEPROM'''
 
|}
 
|}
All Asus systems use a Phoenix Award BIOS.
 
  
==Restoring the EEPROM==
+
==Causes==
  
I have written a tool that can restore the original contents of the EEPROM;
+
The exact cause is unknown.<BR>
there are versions for Linux and MS-DOS:
+
It seems that the problem occurs only with certain computers or motherboards,
 +
and after booting from a CD (i.e., (re)installation of an operating system, or using a live CD).
  
===In Linux===
+
==Restoring the EEPROM==
  
# Boot Linux (either from hard drisk or from a live CD);
+
I have written a tool that can restore the original contents of the EEPROM.
# download the package ([http://www.alsa-project.org/~clemens/oxygen_restore_eeprom.tar.gz oxygen_restore_eeprom.tar.gz]) directly from Linux, or download it from Windows and copy it over with a USB stick;
+
<br>
# open a console;
+
It needs direct access to the hardware, therefore, it can ''not'' be run inside Windows.
# unpack the package:<br><code>tar xvzf oxygen_restore_eeprom.tar.gz<br>cd oxygen_restore_eeprom</code>
+
# run the program, as root:
+
#* either run first <code>su</code>, then <code>./oxygen_restore_eeprom_32</code>
+
#* or run <code>sudo ./oxygen_restore_eeprom_32</code>
+
# follow the instructions on the screen.
+
 
+
The package also contains a 64-bit version (<code>oxygen_restore_eeprom_64</code>) for the unlikely case that you're running a 64-bit-only Linux.
+
 
+
The program has been confirmed to work.
+
  
 
===In DOS===
 
===In DOS===
Line 64: Line 79:
  
 
# Download [http://www.alsa-project.org/~clemens/restoree.exe restoree.exe];
 
# Download [http://www.alsa-project.org/~clemens/restoree.exe restoree.exe];
# boot DOS;<br>(MS-DOS or DR-DOS or FreeDOS; the DOS box of Windows or the DOS in an emulated computer (e.g. VMWare) will not work)
+
# boot DOS;<br>(this works only with a real DOS such as MS-DOS or DR-DOS or FreeDOS; an emulated DOS such as the DOS box of Windows or the DOS in an emulated computer (e.g. VMWare) will not work)
 
# run restoree.exe.
 
# run restoree.exe.
  
Line 83: Line 98:
 
===Booting from a USB memory stick/flash disk===
 
===Booting from a USB memory stick/flash disk===
  
# Make a bootable USB flash disk (see [http://vip.asus.com/forum/view.aspx?id=20081009200304311&board_id=21&model=Xonar+DX&SLanguage=en-us&page=1#20081011060714859 this description]);
+
# Make a bootable USB flash disk (see [http://vip.asus.com/forum/view.aspx?id=20081009200304311&board_id=21&model=Xonar+DX&SLanguage=en-us&page=1#20081011060714859 this description]), but do not put the xee01 files on the disk;
 
# download [http://www.alsa-project.org/~clemens/restoree.exe restoree.exe] and put in on the flash disk;
 
# download [http://www.alsa-project.org/~clemens/restoree.exe restoree.exe] and put in on the flash disk;
 
# boot from the flash disk and run restoree.exe.
 
# boot from the flash disk and run restoree.exe.
 +
 +
===Booting Linux===
 +
 +
The Linux Xonar driver has the EEPROM restoring tool integrated since kernel 2.6.30 (which was released June 2009).<br>Just boot your installed Linux, or any recent Linux live CD.
  
 
===Feedback===
 
===Feedback===
Line 95: Line 114:
  
 
==Bug Reports==
 
==Bug Reports==
So far, I know of nine users who have reported this problem:
+
Many users have reported this problem:
  
 +
http://vip.asus.com/forum/view.aspx?board_id=21&id=20080308014957187<BR>
 
http://vip.asus.com/forum/view.aspx?board_id=21&id=20080815123512921<BR>
 
http://vip.asus.com/forum/view.aspx?board_id=21&id=20080815123512921<BR>
 
http://vip.asus.com/forum/view.aspx?board_id=21&id=20081109201810093<BR>
 
http://vip.asus.com/forum/view.aspx?board_id=21&id=20081109201810093<BR>
Line 103: Line 123:
 
http://vip.asus.com/forum/view.aspx?board_id=21&id=20090212184022002<BR>
 
http://vip.asus.com/forum/view.aspx?board_id=21&id=20090212184022002<BR>
 
http://vip.asus.com/forum/view.aspx?board_id=21&id=20090417024503409<BR>
 
http://vip.asus.com/forum/view.aspx?board_id=21&id=20090417024503409<BR>
 +
http://vip.asus.com/forum/view.aspx?board_id=21&id=20090424193309127<BR>
 +
http://vip.asus.com/forum/view.aspx?board_id=21&id=20090719054139406<BR>
 +
http://vip.asus.com/forum/view.aspx?board_id=21&id=20100510174004218<BR>
 +
http://vip.asus.com/forum/view.aspx?board_id=21&id=20100828085839182<BR>
 +
http://vip.asus.com/forum/view.aspx?board_id=21&id=20110120170223383<BR>
 +
http://vip.asus.com/forum/view.aspx?board_id=21&id=20110318045748367<BR>
 +
http://vip.asus.com/forum/view.aspx?board_id=21&id=20120505102639207<BR>
 
http://bugzilla.novell.com/show_bug.cgi?id=462365<BR>
 
http://bugzilla.novell.com/show_bug.cgi?id=462365<BR>
 
(and private e-mail)
 
(and private e-mail)

Revision as of 11:42, 23 October 2012

Contents

Xonar EEPROM Failure

Sometimes, Xonar PCI/PCI-E cards randomly fail to be recognized.

The driver refused to load or to install, and in Device Manager, the card is shown as an unknown sound card or as "C-Media Oxygen audio device". Putting the card into another slot or another computer does not help.

This happens when the EEPROM on the card gets overwritten.
(This EEPROM stores the PCI subsystem vendor and product IDs; when it gets overwritten, the main chip cannot read the subsystem IDs and uses a default ID (13F6:8788) which is not recognized by the Xonar driver.)

To reliably detect whether the EEPROM was overwritten, go into Device Manager, show the properties page of the device, go to the "Details" tab, and select the property "Hardware IDs", and look at the values after "SUBSYS_":

PCI\VEN_13F6&DEV_8788&SUBSYS_82691043 OK (Xonar D2)
PCI\VEN_13F6&DEV_8788&SUBSYS_82751043 OK (Xonar DX)
PCI\VEN_13F6&DEV_8788&SUBSYS_82B71043 OK (Xonar D2X)
PCI\VEN_13F6&DEV_8788&SUBSYS_83141043 OK (Xonar HDAV1.3)
PCI\VEN_13F6&DEV_8788&SUBSYS_83271043 OK (Xonar DX)
PCI\VEN_13F6&DEV_8788&SUBSYS_834F1043 OK (Xonar D1)
PCI\VEN_13F6&DEV_8788&SUBSYS_835C1043 OK (Xonar Essence STX)
PCI\VEN_13F6&DEV_8788&SUBSYS_835D1043 OK (Xonar Essence ST)
PCI\VEN_13F6&DEV_8788&SUBSYS_835E1043 OK (Xonar HDAV1.3 Slim)
PCI\VEN_13F6&DEV_8788&SUBSYS_838E1043 OK (Xonar DS)
PCI\VEN_13F6&DEV_8788&SUBSYS_84281043 OK (Xonar Xense)
PCI\VEN_13F6&DEV_8788&SUBSYS_84671043 OK (Xonar DG)
PCI\VEN_13F6&DEV_8788&SUBSYS_85211043 OK (Xonar DGX)
PCI\VEN_13F6&DEV_8788&SUBSYS_85221043 OK (Xonar DSX)
PCI\VEN_13F6&DEV_8788&SUBSYS_878813F6 overwritten EEPROM

Causes

The exact cause is unknown.
It seems that the problem occurs only with certain computers or motherboards, and after booting from a CD (i.e., (re)installation of an operating system, or using a live CD).

Restoring the EEPROM

I have written a tool that can restore the original contents of the EEPROM.
It needs direct access to the hardware, therefore, it can not be run inside Windows.

In DOS

If you have a working DOS, you can use this method. (This tool is run in the same way as Asus' xee01.bat.)

  1. Download restoree.exe;
  2. boot DOS;
    (this works only with a real DOS such as MS-DOS or DR-DOS or FreeDOS; an emulated DOS such as the DOS box of Windows or the DOS in an emulated computer (e.g. VMWare) will not work)
  3. run restoree.exe.

(source code: restoree.c)

Booting from a floppy

  1. Download this floppy image: floppy.img (1.44 MB);
  2. write it to a floppy with rawrite.exe (which you can get somewhere on the Internet);
  3. boot from the floppy.

Booting from a CD

  1. Download this ISO file: restore_eeprom.iso (1.8 MB);
  2. burn it to a blank CD-R;
  3. boot from the CD.

Booting from a USB memory stick/flash disk

  1. Make a bootable USB flash disk (see this description), but do not put the xee01 files on the disk;
  2. download restoree.exe and put in on the flash disk;
  3. boot from the flash disk and run restoree.exe.

Booting Linux

The Linux Xonar driver has the EEPROM restoring tool integrated since kernel 2.6.30 (which was released June 2009).
Just boot your installed Linux, or any recent Linux live CD.

Feedback

clemens@ladisch.de

Warranty

none

Bug Reports

Many users have reported this problem:

http://vip.asus.com/forum/view.aspx?board_id=21&id=20080308014957187
http://vip.asus.com/forum/view.aspx?board_id=21&id=20080815123512921
http://vip.asus.com/forum/view.aspx?board_id=21&id=20081109201810093
http://vip.asus.com/forum/view.aspx?board_id=21&id=20090108020749752
http://vip.asus.com/forum/view.aspx?board_id=21&id=20090211084749940
http://vip.asus.com/forum/view.aspx?board_id=21&id=20090212184022002
http://vip.asus.com/forum/view.aspx?board_id=21&id=20090417024503409
http://vip.asus.com/forum/view.aspx?board_id=21&id=20090424193309127
http://vip.asus.com/forum/view.aspx?board_id=21&id=20090719054139406
http://vip.asus.com/forum/view.aspx?board_id=21&id=20100510174004218
http://vip.asus.com/forum/view.aspx?board_id=21&id=20100828085839182
http://vip.asus.com/forum/view.aspx?board_id=21&id=20110120170223383
http://vip.asus.com/forum/view.aspx?board_id=21&id=20110318045748367
http://vip.asus.com/forum/view.aspx?board_id=21&id=20120505102639207
http://bugzilla.novell.com/show_bug.cgi?id=462365
(and private e-mail)

Custom Search
Personal tools
Namespaces

Variants
Actions
Navigation
wiki
Toolbox