Syntax Error - Press Play on Tape -

17Feb/135

Asus Xonar DSX: Patching linux kernel v3.x driver to recognize sound card

Supposing you have the linux kernel source in /usr/src/linux.

1. Make changes to the following two files:

  • sound/pci/oxygen/virtuoso.c
  • sound/pci/oxygen/xonar_wm87x6.c

2. Compile kernel and modules

3. Install new kernel and modules and reboot using the recently installed kernel

4. Ét voila! =)

 

sound/pci/oxygen/virtuoso.c
static DEFINE_PCI_DEVICE_TABLE(xonar_ids) = {
Add this line if it does not exist: { OXYGEN_PCI_SUBID(0x1043, 0x8522) },

 

sound/pci/oxygen/xonar_wm87x6.c
static const struct oxygen_model model_xonar_hdav_slim
Locate and delete the line with the typo .adc_i2s_format = OXYGEN_I2S_FORMAT_LJUST,
There should already be a line with .dac_i2s_format = OXYGEN_I2S_FORMAT_LJUST,

 

sound/pci/oxygen/xonar_wm87x6.c

int __devinit get_xonar_wm87x6_model(struct oxygen *chip,
Add a new case right before the default case.
case 0x8522:
chip->model = model_xonar_dsx;
break;

 

Here is the full git diff file:


diff --git a/mirror/sound/pci/oxygen/virtuoso.c b/mirror/sound/pci/oxygen/virtuoso.c
index 3d71423..8104eab 100644
--- a/mirror/sound/pci/oxygen/virtuoso.c
+++ b/mirror/sound/pci/oxygen/virtuoso.c
@@ -52,6 +52,7 @@ static DEFINE_PCI_DEVICE_TABLE(xonar_ids) = {
{ OXYGEN_PCI_SUBID(0x1043, 0x835d) },
{ OXYGEN_PCI_SUBID(0x1043, 0x835e) },
{ OXYGEN_PCI_SUBID(0x1043, 0x838e) },
+ { OXYGEN_PCI_SUBID(0x1043, 0x8522) },
{ OXYGEN_PCI_SUBID_BROKEN_EEPROM },
{ }
};
diff --git a/mirror/sound/pci/oxygen/xonar_wm87x6.c b/mirror/sound/pci/oxygen/xonar_wm87x6.c
index 63cff90..af91016 100644
--- a/mirror/sound/pci/oxygen/xonar_wm87x6.c
+++ b/mirror/sound/pci/oxygen/xonar_wm87x6.c
@@ -1321,6 +1321,40 @@ static const struct oxygen_model model_xonar_hdav_slim = {
.adc_i2s_format = OXYGEN_I2S_FORMAT_LJUST,
};

int __devinit get_xonar_wm87x6_model(struct oxygen *chip,
const struct pci_device_id *id)
{
@@ -1331,6 +1365,9 @@ int __devinit get_xonar_wm87x6_model(struct oxygen *chip,
case 0x835e:
chip->model = model_xonar_hdav_slim;
break;
+ case 0x8522:
+ chip->model = model_xonar_dsx;
+ break;
default:
return -EINVAL;
}

12Feb/130

Auto update Windows Defender definitions when available on Windows 8

Windows Defender 1.1.1593

This post shows you how to automatically update Windows Defender definitions as soon as they arrive on Windows Update on Windows 8.
You do not have to enable automatic updates for all other updates, this only updates the Windows Defender definitions.

The nice thing is that it does not need to constantly poll Windows Update.
Instead, it triggers on two events in the Windows Event Log.
Event ID 26: Automatic Updates Agent sucessfully found %1 updates.
Event ID 40: An update was detected

 

Now, here's how to do it:

 

1. Configure Windows Update to "Check for updates but let me choose whether to download and install them".

 

2. Create a task with Task Scheduler
Add two triggers, one on event id 26 and the other on event id 40

 

3. Add a new action to execute to actual Windows Defender update command
Action: Execute command: "C:\Program Files\Windows Defender\MpCmdRun.exe"
Add arguments: -SignatureUpdate

 

If unsure, download this file, rename it to Windows-Defender-Update.xml and import it into Task Scheduler.
Windows-Defender-Update.xml.txt

 

References:
http://technet.microsoft.com/en-us/library/dd349736%28v=ws.10%29.aspx
http://technet.microsoft.com/en-us/library/dd349766%28v=ws.10%29.aspx