···124 asus-a7m ASUS A7M125 macpro MacPro support126 mb5 Macbook 5,100127 mbp3 Macbook Pro rev3128 imac24 iMac 24'' with jack detection129 imac91 iMac 9,1···281 laptop Basic Laptop config (default)282 hp HP Spartan laptop283 hp-dv6736 HP dv67360284 lenovo-x200 Lenovo X200 laptop0285286Conexant 5066287=============288 laptop Basic Laptop config (default)289 dell-laptop Dell laptops290 olpc-xo-1_5 OLPC XO 1.50291292STAC9200293========
···124 asus-a7m ASUS A7M125 macpro MacPro support126 mb5 Macbook 5,1127+ macmini3 Macmini 3,1128+ mba21 Macbook Air 2,1129 mbp3 Macbook Pro rev3130 imac24 iMac 24'' with jack detection131 imac91 iMac 9,1···279 laptop Basic Laptop config (default)280 hp HP Spartan laptop281 hp-dv6736 HP dv6736282+ hp-f700 HP Compaq Presario F700283 lenovo-x200 Lenovo X200 laptop284+ toshiba Toshiba Satellite M300285286Conexant 5066287=============288 laptop Basic Laptop config (default)289 dell-laptop Dell laptops290 olpc-xo-1_5 OLPC XO 1.5291+ ideapad Lenovo IdeaPad U150292293STAC9200294========
+27
Documentation/sound/alsa/HD-Audio.txt
···452sysfs entries, and the lines after `[hint]` are parsed as `hints`453sysfs entries, respectively.454000000000000000000000000000455The hd-audio driver reads the file via request_firmware(). Thus,456a patch file has to be located on the appropriate firmware path,457typically, /lib/firmware. For example, when you pass the option
···452sysfs entries, and the lines after `[hint]` are parsed as `hints`453sysfs entries, respectively.454455+Another example to override the codec vendor id from 0x12345678 to456+0xdeadbeef is like below:457+------------------------------------------------------------------------458+ [codec]459+ 0x12345678 0xabcd1234 2460+461+ [vendor_id]462+ 0xdeadbeef463+------------------------------------------------------------------------464+465+In the similar way, you can override the codec subsystem_id via466+`[subsystem_id]`, the revision id via `[revision_id]` line.467+Also, the codec chip name can be rewritten via `[chip_name]` line.468+------------------------------------------------------------------------469+ [codec]470+ 0x12345678 0xabcd1234 2471+472+ [subsystem_id]473+ 0xffff1111474+475+ [revision_id]476+ 0x10477+478+ [chip_name]479+ My-own NEWS-0002480+------------------------------------------------------------------------481+482The hd-audio driver reads the file via request_firmware(). Thus,483a patch file has to be located on the appropriate firmware path,484typically, /lib/firmware. For example, when you pass the option
+4-2
sound/pci/hda/hda_codec.c
···2767 snd_hda_codec_read(codec, fg, 0, AC_VERB_SET_POWER_STATE,2768 power_state);2769 /* partial workaround for "azx_get_response timeout" */2770- if (power_state == AC_PWRST_D0)02771 msleep(10);27722773 nid = codec->start_nid;···2802 if (power_state == AC_PWRST_D0) {2803 unsigned long end_time;2804 int state;2805- msleep(10);2806 /* wait until the codec reachs to D0 */2807 end_time = jiffies + msecs_to_jiffies(500);2808 do {···32753276/*3277 * get the empty PCM device number to assign003278 */3279static int get_empty_pcm_device(struct hda_bus *bus, int type)3280{
···2767 snd_hda_codec_read(codec, fg, 0, AC_VERB_SET_POWER_STATE,2768 power_state);2769 /* partial workaround for "azx_get_response timeout" */2770+ if (power_state == AC_PWRST_D0 &&2771+ (codec->vendor_id & 0xffff0000) == 0x14f10000)2772 msleep(10);27732774 nid = codec->start_nid;···2801 if (power_state == AC_PWRST_D0) {2802 unsigned long end_time;2803 int state;02804 /* wait until the codec reachs to D0 */2805 end_time = jiffies + msecs_to_jiffies(500);2806 do {···32753276/*3277 * get the empty PCM device number to assign3278+ *3279+ * note the max device number is limited by HDA_MAX_PCMS, currently 103280 */3281static int get_empty_pcm_device(struct hda_bus *bus, int type)3282{