[alsa-devel] No sound with C-Media CMI8788

Ozan Çağlayan ozan at pardus.org.tr
Wed Sep 2 18:23:08 CEST 2009


Clemens Ladisch wrote:
> I wrote:
>   
>> In the file sound/pci/oxygen/oxygen_lib.c, after the line containing
>> "subdevice = oxygen_read_eeprom(chip, 2);" (about line number 262),
>> please add the line
>>
>>   printk(KERN_INFO "subdevice ID: %04x\n", subdevice);
>>     
>
> I think the cause for your unknown subdevice ID is that your card does
> not have an EEPROM chip.  (This is a feature, it saves you $0.25!)
> In this case, adding the following lines at that place should make
> the driver load correctly:
>
> 	if (subdevice == 0xffff)
> 		subdevice = 0x8788;
>   

Okay, that worked. But I assume that this is a device specific solution
right? If there are other cards without an EEPROM chip, forcing them to
0x8788 shouldn't make sense? How should this be correctly handled?

Thanks!


More information about the Alsa-devel mailing list