Ticket #5066: ac97_add_hp_nc.patch

File ac97_add_hp_nc.patch, 543 bytes (added by bmkx, 10 years ago)

Enable headphone jack sense for HP NC 40xx notebooks.

  • src/add-ons/kernel/drivers/audio/ac97/ac97.c

     
    838838void ad1981b_init(ac97_dev *dev)
    839839{
    840840    LOG(("ad1981b_init\n"));
    841     if (dev->subsystem == 0x103c0934
     841    if (dev->subsystem == 0x0e11005a
     842        || dev->subsystem == 0x103c0934
    842843        || dev->subsystem == 0x103c006d
    843844        || dev->subsystem == 0x103c088c
    844845        || dev->subsystem == 0x103c0890