summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci
Commit message (Collapse)AuthorAgeFilesLines
* MFC: r296135marius2017-01-183-17/+13
| | | | | | | Replace several bus_alloc_resource() calls with bus_alloc_resource_any() Most of these are BARs, and we allocate them in their entirety. The one outlier in this is amdsbwd(4), which calls bus_set_resource() prior.
* MFC r309527-309528:yongari2017-01-183-0/+11
| | | | | | | | | r309527: Recognize RealTek ALC1150 7.1 channel HD audio codec. r309528: Fix too low volume on MSI H170 GAMING M3 board by poking vendor specific COEF.
* MFC r308464, r308471: Add some device IDs found in my new laptop.mav2016-11-163-0/+10
|
* MFC r299503,r299504:ngie2016-06-101-19/+13
| | | | | | | | | | | | | | | | | | | | | r299503 (by cem): snd_hda(4): Don't pass bogus sizeof()s to unused sysctl arg2 parameter None of the sysctl handlers in hdaa use the arg2 parameter, so just pass zero instead. Additionally, the sizes being passed in were suspect (size of the pointer rather than the value). CIDs: 1007694, 1009679 r299504 (by cem): snd_hda(4): Don't pass bogus sizeof()s to unused sysctl arg2 parameter (again) More of the same sort of issue as r299503, just missed some sysctls added in a different place than the others. CIDs: 1007692, 1009677, 1009678
* MFC r298983: Add some device IDs from Intel Sunrise Point chipsets.mav2016-05-202-0/+4
|
* MFC r297387: Add some device IDs found on AMD FCH shipsets.mav2016-04-122-0/+6
|
* MFC r283064:hselasky2015-05-271-1/+1
| | | | | | Fix an off-by-one error by adding proper range checks when parsing the HDA association descriptors. This fixes a crash during device probe for some HDA PCI devices.
* MFC r281544:rpaulo2015-04-254-0/+16
| | | | | | | | snd_hda: add support for the Lenovo X1 20BS model. This requires a patch to redirect the output to a separate DAC when the headphones are used. While there, add device strings for Intel Broadwell HDA controllers and Realtek ALC292 codecs.
* MFC r275101:mav2014-12-032-0/+2
| | | | Add bunch of PCI IDs of Intel Wildcat Point (9 Series) chipsets.
* MFC r263710, r273377, r273378, r273423 and r273455:hselasky2014-10-271-1/+1
| | | | | | | - De-vnet hash sizes and hash masks. - Fix multiple issues related to arguments passed to SYSCTL macros. Sponsored by: Mellanox Technologies
* MFC r268584:markj2014-08-052-1/+3
| | | | Add a headphone redirection quirk for the Lenovo G580.
* MFC: r266793, r266799, r266808marius2014-06-041-7/+8
| | | | | | | | | | | - Fix compilation with PAE support enabled by merging r233362 and, thus, doing away with the unnecessary uint8_t pointer casting. physical addresses. - Nuke the unused softc of emujoy(4). - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. Sponsored by: Bally Wulff Games & Entertainment GmbH
* MFC: r264832marius2014-04-263-41/+33
| | | | | | | - Sprinkle const and static as appropriate. - Convert the remainder of snd_hda(4) to take advantage of nitems(). - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers.
* MFC: r264831marius2014-04-262-1/+9
| | | | Add quirk to configure headphones redirection on Intel DH87RL boards.
* MFC r261507:hselasky2014-02-122-0/+12
| | | | | | | Add more quirks for making builtin audio speakers work with more MacBookPro's. Only tested with MacBookPro 9,2. Obtained from: Linux
* MFC r258779,r258780,r258787,r258822:eadler2014-02-041-1/+1
| | | | | | | | | | | | | Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this shifts into the sign bit. Instead use (1U << 31) which gets the expected result. Similar to the (1 << 31) case it is not defined to do (2 << 30). This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD.
* MFC r258168, r258170:mav2014-01-053-0/+20
| | | | Add some more Intel HDA controller and CODEC IDs.
* MFC r260112:dim2014-01-041-0/+6
| | | | In sys/dev/sound/pci/maestro.c, #if 0 two unused static functions.
* Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCIscottl2013-08-1220-128/+23
| | | | | | | | | | | | | | | | | command register. The lazy BAR allocation code in FreeBSD sometimes disables this bit when it detects a range conflict, and will re-enable it on demand when a driver allocates the BAR. Thus, the bit is no longer a reliable indication of capability, and should not be checked. This results in the elimination of a lot of code from drivers, and also gives the opportunity to simplify a lot of drivers to use a helper API to set the busmaster enable bit. This changes fixes some recent reports of disk controllers and their associated drives/enclosures disappearing during boot. Submitted by: jhb Reviewed by: jfv, marius, achadd, achim MFC after: 1 day
* snd_ds1(4): Fix order of arguments for stereo/16bit modeuqs2013-07-251-1/+1
| | | | | | | | | | This function is called 4 times in this file, with swapped parameter ordering. Fix the function definition instead of all the call sites. 16bit/stereo or 8bit/mono playback is unaffected and was probably working fine before, this should fix 16bit/mono and 8bit/stereo playback. Found by: Coverity Scan, CID 1006688
* Add quirk to configure headphones redirection on ASUS UX31A laptop.mav2013-07-082-0/+8
| | | | MFC after: 3 days
* Update snd quirks for T520, T420, X220.sbruno2013-05-191-0/+10
| | | | | | | | | | | | | Group onboard mic and headphone mic jack together. Creates association that will switch between microphone inputs depending on the state of the headphone jack being connected to a live mic. Fixes onboard mic not working at all on T520. Tested on T520, T420. Suspect X220 needs this too, untested on. MFC after: 1 month
* Some fixes to snd_envy24ht(4) driver:mav2013-05-052-32/+13
| | | | | | | | | | - Allow DMA addresses anywhere in the lower 4GB; Envy24HT has a 32-bit DMA engine, not 28-bit like Envy24. - Mark interrupt handler as MPSAFE, seems to be correctly synchronized. PR: kern/152378 Submitted by: Jason Harmening <jason.harmening@gmail.com> MFC after: 1 month
* - Correct mispellings of word andgabor2013-04-171-1/+1
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (via private mail)
* Add Subsystem ID field to the quirk table. Use it to identify Mac Pro 1,1,mav2013-03-271-26/+33
| | | | | | | | which requires OVREF to be set to get proper playback volume, but which has all zeroes in HDA controller subdevice IDs on PCI. MFC after: 1 month Sponsored by:
* Add quirk for Lenovo T530 headphone redirection.delphij2013-03-132-1/+3
| | | | MFC after: 2 weeks
* More Lenovo headphones redirection quirks: Lenovo T430, Lenovo T430S.glebius2013-03-122-1/+5
| | | | | Submitted by: Sergey Nasonov <snasonov bcc.ru>, T430 Submitted by: Johannes Dieterich <dieterich.joh gmail.com>, T430S
* Add quirks to enable headphones redirection on number of Lenovoglebius2013-03-072-1/+15
| | | | | | | | | | | | | laptops, namely X1, X1 Carbon, T420, T520. PR: misc/176656 Submitted by: Hiren Panchasar <hiren.panchasara gmail.com> Tested by: glebius, X1 Carbon Tested by: osa, X1 Tested by: Hiren Panchasar, T420 Tested by: sbruno, T520 Reviewed by: mav Sponsored by: Nginx, Inc.
* Plug a memory leak.glebius2013-03-071-1/+5
| | | | | Reviewed by: mav Sponsored by: Nginx, Inc.
* Add quirk to enable headphones redirection on Lenovo X220.mav2013-03-042-0/+8
| | | | | PR: kern/174876 MFC after: 1 week
* Fix typouqs2013-02-191-2/+2
| | | | Submitted by: Matt Burke <mattblists@icritical.com>
* Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on ↵sbz2013-01-303-3/+4
| | | | | | | device_method_t arrays Reviewed by: cognet Approved by: cognet
* Add Intel Lynx Point PCH HD Audio Device IDsjfv2013-01-022-0/+4
|
* Add quirks for AD1984A codec and Lenovo X300 laptop.mav2012-12-122-1/+19
| | | | | PR: kern/148741 MFC after: 2 weeks
* Add a few more translations from IDs to model name.eadler2012-12-022-0/+6
| | | | | | Submitted by: "4721@hushmail.com" <4721@hushmail.com> Approved by: cperciva (implicit) MFC after: 2 weeks
* Add support for hdmi hda codec onboard nvidia gt 440 graphics cardeadler2012-12-022-0/+2
| | | | | | | PR: kern/174059 Submitted by: "4721@hushmail.com" <4721@hushmail.com> Approved by: cperciva (implicit) MFC after: 2 weeks
* Fix uninitialized variable reported by gcc, but not clang.mav2012-11-261-1/+1
|
* Remove extra sbuf_trim() copy/pasted into r243530.mav2012-11-261-1/+0
|
* On multiple requests, compact HDA driver verbose output by hiding CODEC'smav2012-11-251-114/+325
| | | | | | detailed information under the sound debug. To make it easier accessible, export that information through the set of sysctls like dev.hdaa.X.nidY. Also tune some output to make it both more compact and informative.
* Summarize information about connected analog pins and EDID-like data receivedmav2012-11-171-8/+154
| | | | | | | | | | | from HDMI/DisplayPort devices in form of general connection status and sound(4)-style channel matrix. Now that information is only reported in readable form to verbose logs, but potentially could be used by sound(4) to correctly choose default devices and configure vchans. Fix rear and side channels swap on analog 7.1 outputs. As soon as there is a huge mess in industry about naming and using of these channels, duplicate rear channels of 4 and 5.1 streams to both read and side speakers.
* Fix typo; s/ouput/outputkevlo2012-11-071-1/+1
|
* ASUS EeePC 1001px has strange variant of ALC269 CODEC, that mutes speakermav2012-10-311-0/+15
| | | | | | | | | | | | if unused in that configuration mixer at NID 15 is muted. Probably CODEC incorrectly reports its internal connections. Hide that muter from the driver to avoid muting and make built-in speaker work. There are several different CODECs sharing this ID and I have not enough information about them and the bug to implement more universal solution. Tested by: Big Yuuta <init.py@gmail.com> MFC after: 2 weeks
* Set all pins initial connection status to unknown (2) and then update itmav2012-10-301-10/+10
| | | | | | with the real value in regular way if sensing is supported. This fixes minor inconsistency when playback redirection appeared in undefined state on boot if headphones were not connected.
* Print card and subsystem IDs in verbose logs to help to identify system.mav2012-10-306-5/+16
| | | | Hide some less iseful messages under debug.
* Now that device disabling is generic, remove extraneous code from theeadler2012-10-221-5/+0
| | | | | | | | | | device drivers that used to provide this feature. This is a subset of 241856 (which was reverted) Reviewed by: des Approved by: cperciva (implicit) MFC after: 1 week
* This isn't functionally identical. In some cases a hint to disableeadler2012-10-221-0/+5
| | | | | | | | unit 0 would in fact disable all units. This reverts r241856 Approved by: cperciva (implicit)
* Now that device disabling is generic, remove extraneous code from theeadler2012-10-221-5/+0
| | | | | | | | device drivers that used to provide this feature. Reviewed by: des Approved by: cperciva MFC after: 1 week
* remove duplicate semicolons where possible.eadler2012-10-221-1/+1
| | | | | Approved by: cperciva MFC after: 1 week
* Cast vendor-specific spell on VIA VT1818S codecs alike to VT1708S tomav2012-10-091-0/+2
| | | | | | | | | make analog input loopback and dual-stream playback work by enabling signal mixing by nid 22, as it should be according to info returned by the CODEC. Otherwise pin nid 28 receives only signal from DAC nid 16. PR: kern/169124 MFC after: 1 week
* Free result of device_get_children(9).kevlo2012-09-302-0/+3
|
OpenPOWER on IntegriCloud