summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
Commit message (Collapse)AuthorAgeFilesLines
* revert r162516. We only support 1 or 2 channels per streamthompsa2009-06-041-1/+3
| | | | | | which reflects mono and stereo. Submitted by: Hans Petter Selasky
* Comment out old Realtek ALC883 quirk, that was disabling phantop power onmav2009-06-011-1/+3
| | | | | | | mic inputs. I have no idea what for it was made that time, but now I have several reports that it should be removed to make microphones work. If this quirk is still required for some systems then they should be identified and specified explicitly.
* s/usb2_/usb_/ on all typedefs for the USB stack.thompsa2009-05-291-11/+11
|
* s/usb2_/usb_/ on all C structs for the USB stack.thompsa2009-05-282-66/+66
|
* Provide a workaround for USB devices that do not support mono or stereothompsa2009-05-271-3/+5
| | | | | | | operation by overriding the channel count. Submitted by: Hans Petter Selasky Reported by: MIHIRA Sanpei Yoshiro
* Slightly adjust copyright text.joel2009-05-271-1/+1
| | | | Approved by: Hannu Savolainen <hannu@opensound.com>
* Slightly adjust copyright text.joel2009-05-271-1/+1
| | | | Approved by: luigi
* Separate comments from the license text.joel2009-05-273-3/+9
|
* Fix a few variable renames of usb2_mode outside dev/usb.thompsa2009-05-211-6/+6
|
* Slightly adjust copyright text.joel2009-05-201-1/+1
| | | | Approved by: matk
* Remove license clauses 3 and 4 as per rev. 1.65 of midi.c in NetBSD.joel2009-05-201-7/+0
| | | | Approved by: matk
* Remove license clauses 3 and 4 as per rev. 1.65 of auvia.c in NetBSD.joel2009-05-201-7/+0
|
* Remove license clauses 3 and 4 as per rev. 1.112 of uaudio.c and rev. 1.15 ofjoel2009-05-202-14/+0
| | | | uaudioreg.h in NetBSD.
* Remove license clauses 3 and 4 as per rev. 1.12 of cs4231reg.h in NetBSD.joel2009-05-201-7/+0
|
* Add one more board ID with inverted external amplifier control.mav2009-05-081-0/+1
| | | | PR: kern/121156
* - Unlock softc mutex on failure.stas2009-04-201-8/+15
| | | | MFC after: 1 week
* - Properly unlock mutex on failure in channel_trigger. Before thisstas2009-04-201-8/+15
| | | | | | the function just returned with the mutex held. MFC after: 1 week
* MFp4 //depot/projects/usb@159909thompsa2009-04-051-35/+35
| | | | | | | | | | | | | - make usb2_power_mask_t 16-bit - remove "usb2_config_sub" structure from "usb2_config". To compensate for this "usb2_config" has a new field called "usb_mode" which select for which mode the current xfer entry is active. Options are: a) Device mode only b) Host mode only (default-by-zero) c) Both modes. This change was scripted using the following sed script: "s/\.mh\././g". - the standard packet size table in "usb_transfer.c" is now a function, hence the code for the function uses less memory than the table itself. Submitted by: Hans Petter Selasky
* Add some more logic for AD1986A codec input tracing. Use mic preamplifiermav2009-04-011-5/+42
| | | | | | | | | only for mic-type inputs. This gives better chances to use it. Change default configuration for some AD1986A codec based ASUS boards, use it also for ASUS P5PL2 board. This makes front mic preamplifier working. Tested by: Vadim Frolov <frolov@frolov.ck.ua>
* Fixup relative pointers after channel realloc. It fixes crash on systemsmav2009-03-291-8/+11
| | | | | | | | with several HDA codecs per controller. While I am there, remove some unneeded dereferences. Submitted by: Tor Egge <Tor.Egge@cvsup.no.freebsd.org>
* Remove CD input hack for ALC268 based Acer systems. Latest systems does notmav2009-03-161-5/+7
| | | | | | | | | | | | implement CD input in hardware, while unconditional showing it confuse users. Also it was made in the way that sometimes improper with present driver. Add patch for ALC268 based Acer TM5320 to make headphones jack sensing work. Default configuration defines two separate playback associations, which current driver unable to trace properly due to order they are defined and limited codec uniformity. Submitted by: G. Mirov <g.mirov AT gmail.com>
* Fix spelling in message.mav2009-03-161-3/+3
|
* remove now-redunant cardbus attachment.imp2009-03-092-2/+0
|
* Rename the ushub device class back to uhub as it was in the old usb stack,thompsa2009-03-021-1/+1
| | | | | | moused(8) looks for "uhub/ums" to decide if needs to load the module. Reported by: Garrett Cooper
* Copy/paste bug fix for previos commit.mav2009-02-271-1/+1
|
* Change USB over to make_dev() for all device nodes, previously it hooked intothompsa2009-02-271-10/+8
| | | | | | | | | | | | | | | the devfs clone handler to open the (invisible) devices on the fly. The /dev entries are layed out as follows, /dev/usbctl = master device /dev/usb/0.1.0.5 = usb device, (<bus>.<dev>.<iface>.<endpoint>) /dev/ugen0.1 -> usb/0.1.0.0 = ugen link to ctrl endpoint This also removes the custom permissions model from USB. Bump __FreeBSD_version to 800066. Submitted by: rink (earlier version)
* Add MSI blacklisting support.mav2009-02-261-47/+76
| | | | | | Disable MSI for nVidia MCP51 controller. Enabling MSI there leads to unexpected errors and timeouts, that should not happen even if interrupts are not working completely.
* Move the uaudio and ata-usb drivers into their correct locations.thompsa2009-02-234-0/+4452
|
* Move two missed usb drivers out to the graveyard location under sys/legacy/dev.thompsa2009-02-234-5603/+0
|
* Enable MSI support by default. Still can be disabled using device.hints.mav2009-02-151-18/+5
|
* s/succeded/succeeded/ in comments.mav2009-02-121-3/+3
|
* All open fixes and improvements from Konstantin for which users had tonetchild2009-02-113-7/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use patches so far: + Envy24: - fix: broken init data for M Audio Delta DiO 2496 - add: support for M Audio Delta 44 - add: support for M Audio Delta 1010LT Tested by: Dominique Goncalves, dominique.goncalves at gmail.com - add: support for Terratec EWX 2496 Tested by: Stefan Sperling, stsp at stsp.name - add: support for M Audio Delta 66 Tested by: Richard Bown, richard.bown at blueyonder.co.uk - add: support for M Audio Delta 1010 Tested by: Andrew Reilly, areilly at bigpond.net.au + Envy24HT: - add: support for Terrasoniq TS22PCI - fix: M-Audio Revolution 5.1 sound volume is very low Reported by: Oliver Hartmann, ohartman at zedat.fu-berlin.de Andrey Slusar, anrays at gmail.com Tested by: Andrey Slusar, anrays at gmail.com Rusu Silviu, arol.the at gmail.com - fix: M-Audio Revolution 7.1 sound is distorted and very quiet Reported by: Olev Hannula, hannula at gmail.com Tested by: Olev Hannula, hannula at gmail.com Stanislav Belansky, stanislav at icmail.ru - fix: Terratec PHASE 22 codec is power-off due to wrong init data Reported by: Philipp Ost, pj at smo.de Tested by: Philipp Ost, pj at smo.de + SpicDS: - fix: AK4381 produce hiss sound on 192kHz sample rate - fix: stupid bug with volume control for AK4396 Submitted by: Konstantin Dimitrov <kosio.dimitrov@gmail.com>
* Hmm... "base? base : 0" and "base" should be equivalent.cognet2009-02-091-1/+1
| | | | | | Pointy hat to: cognet MFC after: 3 days
* Rearrange this code slightly to pass softcs around instead of device_t,nwhitehorn2009-02-076-57/+85
| | | | | | | | solving a possible panic when snd_ai2s is loaded at boot time. Also change the device setup to indicate to the pcm layer that the device is MPSAFE. Submitted by: Marco Trillo Suggestions by: Ariff Abdullah
* Fix bug in hint.hdac.X.config parsing.mav2009-01-311-2/+2
|
* Specify analog beep pin widget for several AD codecs.mav2009-01-261-1/+8
| | | | It gives working speaker control for that systems.
* Change the way our softc is stored to use the devinfo facility provided by pcmnwhitehorn2009-01-264-27/+20
| | | | | | | instead of the regular device softc interface. This brings the AOA driver in line with the other pcm drivers. Requested by: ariff
* Add support for the I2S and davbus audio controllers found in Apple PowerPCnwhitehorn2009-01-257-0/+2953
| | | | | | hardware. Submitted by: Marco Trillo
* Add two more nVidia HDMI codec IDs.mav2009-01-191-0/+4
|
* Add support for CMedia CMI120.keramida2009-01-181-0/+4
| | | | | | PR: kern/123640 Approved by: ariff MFC after: 2 weeks
* Correct spelling in comment.mav2009-01-131-2/+2
|
* Improve AD1983 codec support:mav2009-01-131-1/+28
| | | | | - force playback via mixer to get PCM volume control, - make cleanup on recoring source selection.
* Change configuration order to enable output only after codec is configured.mav2009-01-131-58/+55
| | | | | Mute all mixer controllable amplifiers initially to let mixer to unmute only some of them later. This should reduce clicks and noises during boot.
* Fix unwanted crosschannel mixing, possible on some codecs likemav2009-01-111-4/+8
| | | | VIA VT1708B and Realtek ALC268.
* OSS tools expect EINVAL for unsupported ioctls, but not ENXIO.mav2009-01-101-3/+2
|
* Make devnode include full device path.mav2009-01-101-1/+2
| | | | This makes OSSv4 osstest tool work.
* Remove debug slipped with the previous commit.mav2009-01-101-1/+0
|
* Import some new constants and structures fields from OSSv4.mav2009-01-104-30/+68
| | | | | Implement some OSSv4 ioctls to make ossinfo tool work and print something reasonable.
* Add one more bunch of controller and codec IDs.mav2009-01-101-2/+77
|
* Add external connector jack color into widget names.mav2009-01-081-4/+11
| | | | It should help users to identify them while reading verbose messages.
OpenPOWER on IntegriCloud