History log of /haiku/src/add-ons/kernel/drivers/audio/ac97/auich/auich.c
Revision Date Author Comments
# 8a3e82a0 06-Apr-2024 PulkoMandy <pulkomandy@pulkomandy.tk>

ich, ichaudio: remove

These have never been included in the Haiku build as far as I can see.
All the soundcards they support are already handled in the auich dirver.
All the IDE driver that ichaudio claims to support, I'm not sure why they
are in an audio driver.

One of them was written for BeOS and never updated for Haiku
multi_audio, and the other was apparently some experiment that didn't
get anywhere in the end. To avoid confusion, let's keep only one driver.

Change-Id: I5bf48e7dd2c5340e84a1ab4eb3e3b079103b7988
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7604
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# c367ace2 16-Aug-2020 Michael Lotz <mmlr@mlotz.ch>

auich: Fix pointer arithmetic warning by adding a cast.


# c839d521 16-Aug-2020 Michael Lotz <mmlr@mlotz.ch>

auich: Always enable PCI bus mastering.

Without it, the device can't operate at all. Whether or not this is
enabled already is firmware dependent. It was off under QEMU when used
with "-soundhw ac97" and this makes the driver work there.

Fixes #10551 where the syslog shows that this can also happen on real
hardware that is otherwise fully configured.


# fe5e83a6 07-Jun-2019 Murai Takashi <tmurai01@gmail.com>

drivers/audio/ac97: Fix -Wformat=

Change-Id: I454ca76cfd5f8ebddb74c6b68a940d0444a82bb1
Reviewed-on: https://review.haiku-os.org/c/1530
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 3bcf0272 16-Jan-2018 Jérôme Duval <jerome.duval@gmail.com>

auich: use user_memcpy to read/write the user buffers.

* also check buffer addresses passed through structures.
* map registers kernel only.
* alloc dma descriptors kernel only.


# 12a9da01 08-Nov-2010 Jérôme Duval <korli@users.berlios.de>

Added a call to pci->unreserve_device() in uninit_driver() as suggested by Matt (taking es1370 for model).
François please review.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39359 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e1d8e05d 05-Nov-2010 Jérôme Duval <korli@users.berlios.de>

* some style cleanup
* don't try to non configured memory map IO space
* use a kernel thread when irq number is zero or 0xff
Should help with #4491


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39310 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ebfedcc3 23-Oct-2010 Jérôme Duval <korli@users.berlios.de>

auich: fixes an infinite loop when checking a negative value on an unsigned variable


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39065 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a845ef7b 23-Oct-2010 Jérôme Duval <korli@users.berlios.de>

avoid an infinite loop with the variable loop i


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39062 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 77ba3b52 04-Jun-2010 Jérôme Duval <korli@users.berlios.de>

* whitespace cleanup and some style fixes
* fixes TODO about using phys_addr_t instead of void*


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37015 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ee9a07fc 08-May-2010 François Revol <revol@free.fr>

Seems I presumed too much about my copy-pasting skills, doing continue in the loop without incrementing doesn't go much further. Fixes busy-loop on error.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36760 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bbb55d15 08-May-2010 François Revol <revol@free.fr>

Add PCI device reservation to the drivers that still missed it in the image. This along with the updated OpenSound should fix the KDLs. Hopefully the init_driver() code was identical enough I didn't make any copy-paste error.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36751 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3ee503c2 29-Sep-2009 David McPaul <dlmcpaul@gmail.com>

increase default buffer frames to fix ticket 4656

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33347 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b5929aa1 24-Sep-2009 Jérôme Duval <korli@users.berlios.de>

* handles correctly failures during setup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33277 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0db19308 14-Mar-2009 Jérôme Duval <korli@users.berlios.de>

* update codec list
* move codec dump in ac97


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29527 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5076aaf0 16-Feb-2009 Jérôme Duval <korli@users.berlios.de>

* some style improvements again (ie lower case variables as pointed by Axel)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29238 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c16c425 08-Jan-2009 Jérôme Duval <korli@users.berlios.de>

* style fixes
* use user_memcpy in buffer exchange for Haiku


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28861 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c019da3c 11-Oct-2008 Jérôme Duval <korli@users.berlios.de>

moved the check for settings like sample rate, buffer count, buffer frames in open()
changes on auich.settings are now taken into account when restarting media_server


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27972 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 07d143d4 16-Sep-2008 Jérôme Duval <korli@users.berlios.de>

<malloc.h> is no standard header


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27589 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 81a7dedd 08-Jul-2008 Jérôme Duval <korli@users.berlios.de>

init buffer_cycle


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26321 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 905b181d 22-May-2008 Jérôme Duval <korli@users.berlios.de>

always clear resume interrupts


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25616 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dd07c0fe 21-May-2008 Jérôme Duval <korli@users.berlios.de>

disable channels before installing the handler


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25592 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0f0fba63 20-May-2008 Jérôme Duval <korli@users.berlios.de>

wait for codec reset before attaching the codec


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25574 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c27f3926 14-May-2008 Jérôme Duval <korli@users.berlios.de>

* updated ac97 code with the one from Marcus' ich driver
* merged existing quirks (reversed amp enable and ad1981b)
testing is welcome!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25497 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b2f8eafc 12-May-2008 Jérôme Duval <korli@users.berlios.de>

apply STA_INTMASK to only handle interesting bits


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25476 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7652e27b 12-May-2008 Jérôme Duval <korli@users.berlios.de>

global status is a 32 bit register, we try to ack if any bit is left out


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25475 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3272810d 10-May-2008 Jérôme Duval <korli@users.berlios.de>

* synched license terms with current
* minor space cleanup
* support for revert enable amp for known models


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25420 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4d25ad47 10-May-2008 Jérôme Duval <korli@users.berlios.de>

* added pci id for Nvidia Nforce MCP04 AC97 in auich
* clean up the pci ids


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25418 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 400ba068 09-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

Made sure load_driver_symbols() is not used anymore when building for Haiku;
it's a no-op, and I removed the prototype from KernelExport.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24875 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e9edc48d 11-Dec-2007 Jérôme Duval <korli@users.berlios.de>

fixes misuses of snooze()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23112 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 75d07d42 13-Oct-2007 Jérôme Duval <korli@users.berlios.de>

increased snooze, ICH4 needs memory mapped io


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22528 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8d93a4be 23-Sep-2007 Jérôme Duval <korli@users.berlios.de>

patch from Hüseyin Erdemir: his laptops HP nx8220 didn't have Headphone Jacksense working as is. Thanks!
Some other HP laptops have this problem.
Maybe we should have ac97 export quirks and the driver uses them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22284 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 59599881 19-Sep-2007 Jérôme Duval <korli@users.berlios.de>

clean up


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22261 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 89a0875e 15-Aug-2007 Jérôme Duval <korli@users.berlios.de>

added ids for nforce2 400, nforce4 and nforce430, untested


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21962 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ac04b571 13-Aug-2007 Jérôme Duval <korli@users.berlios.de>

patch from ul1984 (bug #1395)
added nForce3 250Gb device id


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21935 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 127dffed 10-Apr-2007 Jérôme Duval <korli@users.berlios.de>

Applied patch from thq (bug #1146). Thanks a lot! I tested this change on Haiku.
Avoids noise on shutdown because the amplifier is left on after shutdown, the amplifier is also turned on directly after init. The patch changes this to be the last thing to be turned on, and the first to be turned off.
The creation of controls had an of by 1 error where the last control was skipped.
Also made the controls more UI friendly so that the 'boost mic +20dB' is a part of the mic control instead of its own tab, and the AC97 mixer tab is changed to be the first one as it is probably more used than the 'Record' tab, which now is called 'Recording'.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20646 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc19ead8 05-Aug-2006 Jérôme Duval <korli@users.berlios.de>

added a settings file for auich
there is now an option for laptops for which no interrupt is available (ie stippi's one) : use_thread
even when use_thread is active, it could be needed to use a higher value for buffer_frames (ie 512)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18406 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4d89d3e7 12-Apr-2006 Jérôme Duval <korli@users.berlios.de>

replaced B_HANDLED_INTERRUPT with B_INVOKE_SCHEDULER, as we want the multiaudio addon to be scheduled


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17107 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3f047e87 14-Mar-2006 Jérôme Duval <korli@users.berlios.de>

renamed multiaudio.addon to hmultiaudio.addon
audio/multi changed to audio/hmulti (avoid confusion with Be's audio/multi)
hmultiaudio.addon won't load ich_ac97 any more (reason is it's not compatible)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16782 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 61a4bac0 12-Dec-2005 Jérôme Duval <korli@users.berlios.de>

added ICH7/6300ESB ids, untested


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15514 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9276c863 22-Aug-2005 Jérôme Duval <korli@users.berlios.de>

added ICH5/ICH6 ids, untested


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14047 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 130803f2 20-Aug-2005 Jérôme Duval <korli@users.berlios.de>

Auich BeOS Driver for Intel Southbridge audio


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13995 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 12a9da01c31d12c99ff6d23b139d2278ef4aae30 08-Nov-2010 Jérôme Duval <korli@users.berlios.de>

Added a call to pci->unreserve_device() in uninit_driver() as suggested by Matt (taking es1370 for model).
François please review.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39359 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e1d8e05d15b1dc01bb9c461c4fa5e935852a49d3 05-Nov-2010 Jérôme Duval <korli@users.berlios.de>

* some style cleanup
* don't try to non configured memory map IO space
* use a kernel thread when irq number is zero or 0xff
Should help with #4491


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39310 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ebfedcc353461962060fc6ab760f10a21c3c21dc 23-Oct-2010 Jérôme Duval <korli@users.berlios.de>

auich: fixes an infinite loop when checking a negative value on an unsigned variable


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39065 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a845ef7bcda67b711758f251834847db36c91912 23-Oct-2010 Jérôme Duval <korli@users.berlios.de>

avoid an infinite loop with the variable loop i


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39062 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 77ba3b525916cc5d980511027cbe0ba2766f65f9 04-Jun-2010 Jérôme Duval <korli@users.berlios.de>

* whitespace cleanup and some style fixes
* fixes TODO about using phys_addr_t instead of void*


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37015 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ee9a07fc5252ae4d1ab184dca91f569f454e68d2 08-May-2010 François Revol <revol@free.fr>

Seems I presumed too much about my copy-pasting skills, doing continue in the loop without incrementing doesn't go much further. Fixes busy-loop on error.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36760 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bbb55d159e414d1cfa1a0eef0f12bb9f4abf94c5 08-May-2010 François Revol <revol@free.fr>

Add PCI device reservation to the drivers that still missed it in the image. This along with the updated OpenSound should fix the KDLs. Hopefully the init_driver() code was identical enough I didn't make any copy-paste error.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36751 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3ee503c2186ab30faf2a89409d4fd549f4804067 29-Sep-2009 David McPaul <dlmcpaul@gmail.com>

increase default buffer frames to fix ticket 4656

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33347 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b5929aa12e0d47dd1c5ea95b434df8ed19b2c425 24-Sep-2009 Jérôme Duval <korli@users.berlios.de>

* handles correctly failures during setup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33277 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0db19308959f99c950820236ab16c597f45f2719 14-Mar-2009 Jérôme Duval <korli@users.berlios.de>

* update codec list
* move codec dump in ac97


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29527 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5076aaf050c0d14aa59d2e32952207124da35f2a 16-Feb-2009 Jérôme Duval <korli@users.berlios.de>

* some style improvements again (ie lower case variables as pointed by Axel)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29238 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6c16c42586f637406685710b04d89c3a6e7a7dab 08-Jan-2009 Jérôme Duval <korli@users.berlios.de>

* style fixes
* use user_memcpy in buffer exchange for Haiku


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28861 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c019da3ccff9372096761365c8ae156ce10f711e 11-Oct-2008 Jérôme Duval <korli@users.berlios.de>

moved the check for settings like sample rate, buffer count, buffer frames in open()
changes on auich.settings are now taken into account when restarting media_server


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27972 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 07d143d4be807a6a7ce9325ffe9897415764298e 16-Sep-2008 Jérôme Duval <korli@users.berlios.de>

<malloc.h> is no standard header


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27589 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 81a7dedd6b06111d6765fcf171babccf62924eec 08-Jul-2008 Jérôme Duval <korli@users.berlios.de>

init buffer_cycle


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26321 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 905b181d73c0a3549447ae2fa92b0e80ab9775e1 22-May-2008 Jérôme Duval <korli@users.berlios.de>

always clear resume interrupts


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25616 a95241bf-73f2-0310-859d-f6bbb57e9c96


# dd07c0feb840a57bad8bae61b931f16f415d8fda 21-May-2008 Jérôme Duval <korli@users.berlios.de>

disable channels before installing the handler


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25592 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0f0fba63735d7a82b711cf8f3a9036775bd3a4ed 20-May-2008 Jérôme Duval <korli@users.berlios.de>

wait for codec reset before attaching the codec


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25574 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c27f3926a089ccea811d8c3f669a857a7b7e1a73 14-May-2008 Jérôme Duval <korli@users.berlios.de>

* updated ac97 code with the one from Marcus' ich driver
* merged existing quirks (reversed amp enable and ad1981b)
testing is welcome!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25497 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b2f8eafcb99475894a5ba38f0dd32e221b07aa07 12-May-2008 Jérôme Duval <korli@users.berlios.de>

apply STA_INTMASK to only handle interesting bits


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25476 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7652e27b3bb69a831bd25f06f1e41be409586bf7 12-May-2008 Jérôme Duval <korli@users.berlios.de>

global status is a 32 bit register, we try to ack if any bit is left out


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25475 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3272810db4c7248d4fffd7a0b5aa16193cff09ee 10-May-2008 Jérôme Duval <korli@users.berlios.de>

* synched license terms with current
* minor space cleanup
* support for revert enable amp for known models


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25420 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4d25ad47a9327f1b06ecee68c2737584b722c8c1 10-May-2008 Jérôme Duval <korli@users.berlios.de>

* added pci id for Nvidia Nforce MCP04 AC97 in auich
* clean up the pci ids


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25418 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 400ba068e0971623161ea2f939fd5ede8e5af25c 09-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

Made sure load_driver_symbols() is not used anymore when building for Haiku;
it's a no-op, and I removed the prototype from KernelExport.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24875 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e9edc48ddfd4b0eacb463de6705d7ca3ca1d910e 11-Dec-2007 Jérôme Duval <korli@users.berlios.de>

fixes misuses of snooze()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23112 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 75d07d42b55a37a581ddc25c5c734b713920718d 13-Oct-2007 Jérôme Duval <korli@users.berlios.de>

increased snooze, ICH4 needs memory mapped io


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22528 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8d93a4beb154adb857ad8eb36270781e29b73883 23-Sep-2007 Jérôme Duval <korli@users.berlios.de>

patch from Hüseyin Erdemir: his laptops HP nx8220 didn't have Headphone Jacksense working as is. Thanks!
Some other HP laptops have this problem.
Maybe we should have ac97 export quirks and the driver uses them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22284 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 595998812e962173e1b23502ddd052e75519ea81 19-Sep-2007 Jérôme Duval <korli@users.berlios.de>

clean up


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22261 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 89a0875e411680f9b802734cf40d098cc918760b 15-Aug-2007 Jérôme Duval <korli@users.berlios.de>

added ids for nforce2 400, nforce4 and nforce430, untested


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21962 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ac04b571773d6aa9eb058afa002c45aec6e40fb3 13-Aug-2007 Jérôme Duval <korli@users.berlios.de>

patch from ul1984 (bug #1395)
added nForce3 250Gb device id


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21935 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 127dffedfb26e0c133c0e2cde55c444d634de6df 10-Apr-2007 Jérôme Duval <korli@users.berlios.de>

Applied patch from thq (bug #1146). Thanks a lot! I tested this change on Haiku.
Avoids noise on shutdown because the amplifier is left on after shutdown, the amplifier is also turned on directly after init. The patch changes this to be the last thing to be turned on, and the first to be turned off.
The creation of controls had an of by 1 error where the last control was skipped.
Also made the controls more UI friendly so that the 'boost mic +20dB' is a part of the mic control instead of its own tab, and the AC97 mixer tab is changed to be the first one as it is probably more used than the 'Record' tab, which now is called 'Recording'.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20646 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bc19ead830ddaa2dd72fc3e0649a7845a4ea3d24 05-Aug-2006 Jérôme Duval <korli@users.berlios.de>

added a settings file for auich
there is now an option for laptops for which no interrupt is available (ie stippi's one) : use_thread
even when use_thread is active, it could be needed to use a higher value for buffer_frames (ie 512)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18406 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4d89d3e7e1fb773887f17448910ff037c21c60bd 12-Apr-2006 Jérôme Duval <korli@users.berlios.de>

replaced B_HANDLED_INTERRUPT with B_INVOKE_SCHEDULER, as we want the multiaudio addon to be scheduled


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17107 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3f047e87db73f0be9b5f053735dd6691ab983f3f 14-Mar-2006 Jérôme Duval <korli@users.berlios.de>

renamed multiaudio.addon to hmultiaudio.addon
audio/multi changed to audio/hmulti (avoid confusion with Be's audio/multi)
hmultiaudio.addon won't load ich_ac97 any more (reason is it's not compatible)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16782 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 61a4bac025ab9bdc6ff8c0e2bf605834d37529dd 12-Dec-2005 Jérôme Duval <korli@users.berlios.de>

added ICH7/6300ESB ids, untested


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15514 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9276c86365814f4b6cca24f7bcbf3c421ad82d90 22-Aug-2005 Jérôme Duval <korli@users.berlios.de>

added ICH5/ICH6 ids, untested


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14047 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 130803f29bfd003730dc8d6cd89da9c166f9343b 20-Aug-2005 Jérôme Duval <korli@users.berlios.de>

Auich BeOS Driver for Intel Southbridge audio


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13995 a95241bf-73f2-0310-859d-f6bbb57e9c96