Messages in this thread Patch in this message | | | Date | Wed, 22 Mar 2000 14:43:28 +0800 | From | Brad Campbell <> | Subject | [PATCH] 2.3.51 es1371.c |
| |
G'day all, be gentle, I'm not a C programmer by any standard, this patch is a modified version of the same patch in the ALSA drivers to enable the audio amp on a Gateway 2000 Solo 2150 Laptop.
Please take this with a grain of salt, it works for me.. Does not solve the strange codec/pci problems I'm having though.
--- linux/drivers/sound/es1371.c Sun Feb 27 12:22:08 2000 +++ 2.3.51/drivers/sound/es1371.c Tue Mar 21 23:34:31 2000 @@ -2684,6 +2684,11 @@ /* initialize codec registers */ s->ctrl = 0; + if (pcidev->subsystem_vendor == 0x107b && + pcidev->subsystem_device == 0x2150) { + s->ctrl = CTRL_GPIO_OUT0 ; + printk( KERN_INFO PFX "Running On Gateway 2000 Solo 2510 - Amp On \n"); + } if ((joystick[devindex] & ~0x18) == 0x200) { if (check_region(joystick[devindex], JOY_EXTENT)) printk(KERN_ERR PFX "joystick address 0x%x already in use\n", joystick[devindex]);
-- Brad.... "The ultimate result is that some innovations that would truly benefit consumers never occur for the sole reason that they do not conincide with Microsoft's self-interest" - Judge Thomas Penfield Jackson /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |