14 years ago[ALSA] usb-audio - add a proc file for Audigy 2 NX jack status
Clemens Ladisch [Tue, 10 May 2005 12:47:38 +0000]
[ALSA] usb-audio - add a proc file for Audigy 2 NX jack status

USB generic driver
This patch adds a proc file for the SB Audigy 2 NX which shows the
connection status of the various jacks.  Unfortunately, no SPDIF input
frequency (yet).

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] usb-audio - remove superfluous LIRC ioctls
Clemens Ladisch [Mon, 9 May 2005 07:21:28 +0000]
[ALSA] usb-audio - remove superfluous LIRC ioctls

USB generic driver
The ioctls for LIRC compatibility can be removed because the
infrastructure and detection stuff is better done in user space.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] usb-audio - enable high speed (not) on Audigy 2 NX
Clemens Ladisch [Mon, 9 May 2005 07:20:31 +0000]
[ALSA] usb-audio - enable high speed (not) on Audigy 2 NX

USB generic driver
The SB Audigy 2 NX needs a special boot-up command before it works in
high speed mode.

However, we don't actually enable it yet because high speed
synchronization doesn't seem to work with this device.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] Fix snd-usb-audio dependency on snd-hwdep.
James Courtier-Dutton [Sun, 8 May 2005 20:22:27 +0000]
[ALSA] Fix snd-usb-audio dependency on snd-hwdep.

USB

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>

14 years ago[ALSA] cs4281 - fix DLLRDY not seen problem
Arnaud Patard [Sat, 7 May 2005 16:51:51 +0000]
[ALSA] cs4281 - fix DLLRDY not seen problem

CS4281 driver
Reset the FPDN bit of the EPPMC register if needed.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

14 years ago[ALSA] Increase capture buffer sizes.
James Courtier-Dutton [Sat, 7 May 2005 14:13:40 +0000]
[ALSA] Increase capture buffer sizes.

EMU10K1/EMU10K2 driver

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>

14 years ago[ALSA] Implement different capture sources.
James Courtier-Dutton [Sat, 7 May 2005 13:34:13 +0000]
[ALSA] Implement different capture sources.

EMU10K1/EMU10K2 driver
e.g. When HD Capture source is set to SPDIF,
     setting HD Capture channel to 0 captures from CDROM digital input.
     setting HD Capture channel to 1 captures from SPDIF in.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>

14 years ago[ALSA] Support multiple capture rates on p16v.
James Courtier-Dutton [Wed, 4 May 2005 15:26:28 +0000]
[ALSA] Support multiple capture rates on p16v.

EMU10K1/EMU10K2 driver
The capture rate does in fact vary, but it only captures anything if
the HD Capture source is set to I2S or AC97. I have not tested if the sound
is actually captured from an physical input of some type or not.
TODO: Get SPDIF capture working.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>

14 years ago[ALSA] Update A_SAMPLE_RATE register details.
James Courtier-Dutton [Wed, 4 May 2005 14:53:53 +0000]
[ALSA] Update A_SAMPLE_RATE register details.

EMU10K1/EMU10K2 driver

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>

14 years ago[ALSA] usb-audio - set sample rate attribute on Audigy 2 NX endpoints
Clemens Ladisch [Wed, 4 May 2005 12:56:04 +0000]
[ALSA] usb-audio - set sample rate attribute on Audigy 2 NX endpoints

USB generic driver
The SB Audigy 2 NX does not advertise the sample rate attribute in its
endpoint descriptors although it supports it.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] usb-audio - Audigy 2 NX blinkenlights
Clemens Ladisch [Tue, 3 May 2005 06:02:40 +0000]
[ALSA] usb-audio - Audigy 2 NX blinkenlights

USB generic driver
Adds mixer controls for the CMSS/Dolby Digital/Power LEDs
on the SB Audigy 2 NX.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] usb-audio - make SB remote control device LIRC compatible
Clemens Ladisch [Mon, 2 May 2005 06:58:31 +0000]
[ALSA] usb-audio - make SB remote control device LIRC compatible

USB generic driver
Add ioctls to the Sound Blaster remote control hwdep device so that it
can be used with LIRC.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] usb-audio - use only one packet in synchronization feedback URBs
Clemens Ladisch [Mon, 2 May 2005 06:55:54 +0000]
[ALSA] usb-audio - use only one packet in synchronization feedback URBs

USB generic driver
Do not use more than one packet in synchronization feedback URBs because
it would be pointless to send or receive more than one value at the same
time.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] usb-audio - use proper interval between synchronization packets
Clemens Ladisch [Mon, 2 May 2005 06:53:46 +0000]
[ALSA] usb-audio - use proper interval between synchronization packets

USB generic driver
Add sanity checks when reading the bRefresh value, and actually use it
for the synchronization packets instead of polling at 1000 Hz.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] usb-audio - allow type 0 extension units
Clemens Ladisch [Mon, 2 May 2005 06:52:32 +0000]
[ALSA] usb-audio - allow type 0 extension units

USB generic driver
Extension units can have type 0, so do not ignore them when constructing
mixer controls.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] usb-audio - cache vendor/product IDs
Clemens Ladisch [Mon, 2 May 2005 06:51:26 +0000]
[ALSA] usb-audio - cache vendor/product IDs

USB generic driver
Cache the decoded values of idVendor/idProduct to get rid of most of
those ugly le16_to_cpu() calls.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] usb-audio - add Extigy/Audigy 2 NX remote control support
Clemens Ladisch [Fri, 29 Apr 2005 14:29:28 +0000]
[ALSA] usb-audio - add Extigy/Audigy 2 NX remote control support

ALSA Core,USB generic driver
Add an hwdep interface that supports reading remote control data from
Sound Blaster Extigy and Audigy 2 NX devices.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] usb-audio - add mixer control notifications
Clemens Ladisch [Fri, 29 Apr 2005 14:26:14 +0000]
[ALSA] usb-audio - add mixer control notifications

USB generic driver
Add support for the optional status interrupt endpoint in audio control
interfaces, and translate USB status notifications into ALSA mixer
control notifications.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] usb-audio - move mixer data into separate struct
Clemens Ladisch [Fri, 29 Apr 2005 14:23:13 +0000]
[ALSA] usb-audio - move mixer data into separate struct

USB generic driver
Move all data related to audio control interfaces into a separate struct
local to usbmixer.c.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] usb-audio - reduce size of unitbitmap array
Clemens Ladisch [Fri, 29 Apr 2005 07:56:17 +0000]
[ALSA] usb-audio - reduce size of unitbitmap array

USB generic driver
Unit/terminal IDs are 8-bit integers, so the unitbitmap
variable does not need to be bigger than 256 bits.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] usb-audio - restrict Audigy 2 NX frequencies to 48/96 kHz
Clemens Ladisch [Thu, 28 Apr 2005 07:31:53 +0000]
[ALSA] usb-audio - restrict Audigy 2 NX frequencies to 48/96 kHz

USB generic driver
On the SB Audigy 2 NX, frequency feedback doesn't quite work
when playing at 44.1 kHz, so temporarily disable this frequency.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years agoALSA CVS update
Jaroslav Kysela [Wed, 27 Apr 2005 14:09:21 +0000]
ALSA CVS update
ALSA Version
1.0.9rc3

Signed-off-by: Jaroslav Kysela <perex@suse.cz>

14 years ago[ALSA] hdsp - solved big endian problem
Thomas Charbonnel [Mon, 25 Apr 2005 09:35:29 +0000]
[ALSA] hdsp - solved big endian problem

RME HDSP driver
ppc firmware upload fix

Signed-off-by: Thomas Charbonnel <thomas@undata.org>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

14 years ago[ALSA] ac97 - add the 'Mic Front Input Switch' control (ALC850)
Sergey Vlasov [Mon, 25 Apr 2005 09:34:33 +0000]
[ALSA] ac97 - add the 'Mic Front Input Switch' control (ALC850)

AC97 Codec
Add the 'Mic Front Input Switch' control to the mixer for ALC850.
Enabling this input is required for using the front panel microphone
connector with ASUS A8V motherboard.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

14 years ago[ALSA] fix behaviour of ac97_enum_mixer elements
Sergey Vlasov [Mon, 25 Apr 2005 09:22:20 +0000]
[ALSA] fix behaviour of ac97_enum_mixer elements

AC97 Codec
ac97_enum mixer elements (e.g., 'Capture Source') did not work because
of wrong bitmask calculation in snd_ac97_get_enum_double() and
snd_ac97_put_enum_double().

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1072

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

14 years ago[ALSA] usb-audio - remove superfluous parameter
Clemens Ladisch [Mon, 25 Apr 2005 08:34:13 +0000]
[ALSA] usb-audio - remove superfluous parameter

USB generic driver,USB USX2Y
This patch removes the superfluous driver parameter from the
disconnect functions.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] usb-audio - add selector unit names override for Audigy 2 NX
Clemens Ladisch [Fri, 22 Apr 2005 13:49:52 +0000]
[ALSA] usb-audio - add selector unit names override for Audigy 2 NX

USB generic driver
Add a mechanism to specify source names of selector units,
and add such names for the SB Audigy 2 NX.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] usb-audio - show exact synchronous frequency in proc file
Clemens Ladisch [Fri, 22 Apr 2005 13:33:01 +0000]
[ALSA] usb-audio - show exact synchronous frequency in proc file

USB generic driver
In the streamX proc file, show the exact number of samples per
USB frame as 16.16 hexadecimal floating point value.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] usb-audio: add Audigy 2 NX control names
Clemens Ladisch [Fri, 22 Apr 2005 06:52:03 +0000]
[ALSA] usb-audio: add Audigy 2 NX control names

USB generic driver
Add a mixer control map for the SB Audigy 2 NX so
that we get meaningful mixer control names.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] Add dxs_support entry for MSI K8T Neo-FIS2R
Takashi Iwai [Wed, 20 Apr 2005 18:54:43 +0000]
[ALSA] Add dxs_support entry for MSI K8T Neo-FIS2R

VIA82xx driver
Report by Ronny V. Vindenes <s864@ii.uib.no>
Add dxs_support=5 for MSI K8T Neo-FIS2R.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Fix and cleanup of CM9880 auto-configuration
Takashi Iwai [Wed, 20 Apr 2005 11:45:55 +0000]
[ALSA] Fix and cleanup of CM9880 auto-configuration

HDA Codec driver
Fix and cleanup of CM9880 automatic PIN configuration.
snd_hda_codec_setup_stream() doesn't do anything when NID is 0.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Show PIN jack type
Takashi Iwai [Wed, 20 Apr 2005 11:44:08 +0000]
[ALSA] Show PIN jack type

HDA generic driver
Show the jack type of each PIN default configuration entry.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Fix a typo in comments
Takashi Iwai [Wed, 20 Apr 2005 11:43:00 +0000]
[ALSA] Fix a typo in comments

HDA generic driver
Fix a typo in comments.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] prevent oops & dead keyboard on usb unplugging while the device is being used
Karsten Wiese [Wed, 20 Apr 2005 08:12:35 +0000]
[ALSA] prevent oops & dead keyboard on usb unplugging while the device is being used

USB generic driver,USB USX2Y
Without this patch, some usb kobjects, which are parents to
the usx2y's kobjects can be freed before the usx2y's.
This led to an oops in get_kobj_path_length() and a dead
keyboard, when the usx2y's kobjects were freed.
The patch ensures the correct sequence.
Tested ok on kernel 2.6.12-rc2.

Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] trivial warning fix for emu10k1
Jesper Juhl [Wed, 20 Apr 2005 08:03:31 +0000]
[ALSA] trivial warning fix for emu10k1

EMU10K1/EMU10K2 driver
When building with gcc -W sound/pci/emu10k1/emupcm.c produces this little
warning in 2.6.12-rc2-mm3 :
  sound/pci/emu10k1/emupcm.c:265: warning: 'inline' is not at beginning of
declaration
No big deal, but trivial to fix.

Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Add dxs_support=5 for Insight P4-ITX
Takashi Iwai [Fri, 15 Apr 2005 11:51:48 +0000]
[ALSA] Add dxs_support=5 for Insight P4-ITX

VIA82xx driver
Added dxs_support=5 entry for Insight P4-ITX.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Increase timer protocol number
Takashi Iwai [Thu, 14 Apr 2005 14:21:03 +0000]
[ALSA] Increase timer protocol number

ALSA Core
Increase the timer protocl number (to distinguish the fix for TREAD ioctls).

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Misc clean up
Takashi Iwai [Thu, 14 Apr 2005 11:37:13 +0000]
[ALSA] Misc clean up

HDA Codec driver
Misc clean up: move the definitions of constants for pinctl to a single place.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Remove dead code
Takashi Iwai [Thu, 14 Apr 2005 11:36:24 +0000]
[ALSA] Remove dead code

HDA Codec driver
Removed the dead (duplicated) code.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Add AD1981HD and AD1983 support
Takashi Iwai [Thu, 14 Apr 2005 11:35:51 +0000]
[ALSA] Add AD1981HD and AD1983 support

HDA Codec driver
Added the support of AD1981HD and AD1983 codecs.
Including the fix for AD1986A.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] add sigmatel codec support
Matt [Wed, 13 Apr 2005 12:45:30 +0000]
[ALSA] add sigmatel codec support

HDA generic driver,HDA Codec driver
Add initial SigmaTel codec support for 9200 and 922x. Note that
this hda patch relies on the configuration default registers to
be set correctly (normally by BIOS/firmware) in order for it to
set up pin widgets properly. There's a test switch in the patch
so it will work with the SigmaTel reference boards that are usually
plugged into a system that doesn't set the configuration default
registers. It supports 2 channel analog out and line/mic in. I
plan to add >2 channel support and spdif support shortly.
Please apply.

Signed-off-by: Matt <matt@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] hda: fix vref cap and ctl values
Matt [Wed, 13 Apr 2005 12:37:50 +0000]
[ALSA] hda: fix vref cap and ctl values

HDA Codec driver,HDA generic driver
Fix some vref defines so they are valid for the different bits in
the pin cap and pin control registers. Please apply.

Signed-off-by: Matt <matt@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Improve the shared-jack handling on ac97
Takashi Iwai [Wed, 13 Apr 2005 12:32:57 +0000]
[ALSA] Improve the shared-jack handling on ac97

AC97 Codec
The handling of shared surround/clfe output jacks with line/mic-in
on some AC97 codecs is improved.

Instead of 'Line-In As Surround' or 'Mic As Center/LFE' switch, two
new enum controls are introduced: 'Channel Mode' and 'Surround Jack Mode'.
The formar changes the current output mode among 2, 4 and 6-channels.
The latter controls whether the jacks are shared or independent.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] replace SNDRV_PCM_HW_PARAMS_RUNTIME -> SNDRV_PCM_HW_PARAMS_NORESAMPLE
Jaroslav Kysela [Wed, 13 Apr 2005 11:25:30 +0000]
[ALSA] replace SNDRV_PCM_HW_PARAMS_RUNTIME -> SNDRV_PCM_HW_PARAMS_NORESAMPLE

ALSA Core

Signed-off-by: Jaroslav Kysela <perex@suse.cz>

14 years ago[ALSA] Fix capture on OSS emulation
Takashi Iwai [Tue, 12 Apr 2005 15:33:59 +0000]
[ALSA] Fix capture on OSS emulation

ALSA<-OSS emulation
Fix the noisy capture on some hardwares over OSS emulation.
Change back to avail_min = period_size for capture direction.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Fix permissions in some /proc files
Takashi Iwai [Tue, 12 Apr 2005 14:27:28 +0000]
[ALSA] Fix permissions in some /proc files

PCM Midlevel,CA0106 driver,EMU10K1/EMU10K2 driver
Fix by Guillaume Chazarain <guichaz@yahoo.fr>:

Some tunables in /proc have a write() function, but as their
permission does not reflect it, it can be confusing to the user.

So here is a patch that corrects the mode of those files. Note that I
have only tested the 'xrun_debug' entry.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Fix compile warning
Takashi Iwai [Mon, 11 Apr 2005 15:03:03 +0000]
[ALSA] Fix compile warning

EMU10K1/EMU10K2 driver
Fix compile warnings regarding the unused variables/functions.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Replace pci_module_init() with pci_register_driver()
Takashi Iwai [Mon, 11 Apr 2005 14:58:24 +0000]
[ALSA] Replace pci_module_init() with pci_register_driver()

Documentation,ALS4000 driver,ATIIXP driver,ATIIXP-modem driver
AZT3328 driver,BT87x driver,CMIPCI driver,CS4281 driver
ENS1370/1+ driver,ES1938 driver,ES1968 driver,FM801 driver
Intel8x0 driver,Intel8x0-modem driver,Maestro3 driver,RME32 driver
RME96 driver,SonicVibes driver,VIA82xx driver,VIA82xx-modem driver
ALI5451 driver,au88x0 driver,CA0106 driver,CS46xx driver
EMU10K1/EMU10K2 driver,HDA Intel driver,ICE1712 driver,ICE1724 driver
KORG1212 driver,MIXART driver,NM256 driver,RME HDSP driver
RME9652 driver,Trident driver,Digigram VX222 driver,YMFPCI driver
Replace the obsolete pci_module_init() with pci_register_driver().

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Fix SPDIF rate with dxs_support=4
Takashi Iwai [Mon, 11 Apr 2005 13:08:32 +0000]
[ALSA] Fix SPDIF rate with dxs_support=4

VIA82xx driver
Fix SPDIF rate setting with dxs_support=4.  It should be 48k fixed.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Support all sample rate conversion capabilities of DXS channels
Sergey Vlasov [Mon, 11 Apr 2005 13:04:33 +0000]
[ALSA] Support all sample rate conversion capabilities of DXS channels

Documentation,VIA82xx driver
Add support for full sample rate conversion capabilities of DXS
channels present in VIA VT8233/5/7 controllers:

- any sample rate in the 8000 ... 48000 Hz range is supported even if
  the AC'97 codec supports only 48000 Hz output;

- different DXS channels can use different sample rates at the same
  time (the controller performs required sample rate conversion and
  mixing in hardware).

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Add PCI ID for Gallant Odyssey Sound 4
Sergey Vlasov [Mon, 11 Apr 2005 12:17:19 +0000]
[ALSA] Add PCI ID for Gallant Odyssey Sound 4

FM801 driver
The Gallant Odyssey Sound 4 card is based on the ForteMedia FM801
chip, but has a different PCI ID.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] remove dead code
Adrian Bunk [Mon, 11 Apr 2005 12:11:00 +0000]
[ALSA] remove dead code

YMFPCI driver
This patch removes some dead code found by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Provides preliminary support for the Terratec Phase 28 card
Simone Zinanni [Mon, 11 Apr 2005 12:08:40 +0000]
[ALSA] Provides preliminary support for the Terratec Phase 28 card

ICE1712 driver
Provides preliminary support for the Terratec Phase 28 card.
Not extensively tested and probably buggy, but it seems to work.

Signed-off-by: Simone Zinanni <simone@develer.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Fix typo in speaker routing. Now sound comes from the correct speakers
James Courtier-Dutton [Sun, 10 Apr 2005 13:43:35 +0000]
[ALSA] Fix typo in speaker routing. Now sound comes from the correct speakers

EMU10K1/EMU10K2 driver
when using the p16v HD device.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>

14 years ago[ALSA] Improve playback startup. Increase buffer size, and reduce xruns.
James Courtier-Dutton [Sat, 9 Apr 2005 22:00:24 +0000]
[ALSA] Improve playback startup. Increase buffer size, and reduce xruns.

EMU10K1/EMU10K2 driver

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>

14 years ago[ALSA] Improve SPDIF playback via the P16V/CA0151 chip.
James Courtier-Dutton [Sat, 9 Apr 2005 21:38:25 +0000]
[ALSA] Improve SPDIF playback via the P16V/CA0151 chip.

EMU10K1/EMU10K2 driver
Although we can set 44100 as the output rate, the SPDIF can do it, but the Analog output cannot.
The SPDIF has the bug, whereby the Left channel arrives one sample late, so although we don't do any resampling,
it is not good for AC3 non-audio output.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>

14 years ago[ALSA] Display SPDIF in status in proc fs 'spdif-in' file.
James Courtier-Dutton [Sat, 9 Apr 2005 14:57:09 +0000]
[ALSA] Display SPDIF in status in proc fs 'spdif-in' file.

EMU10K1/EMU10K2 driver

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>

14 years ago[ALSA] choose multi-channel jacks automatically
Takashi Iwai [Fri, 8 Apr 2005 13:05:13 +0000]
[ALSA] choose multi-channel jacks automatically

HDA Codec driver
Patch by C.L. Tien <cltien@cmedia.com.tw>:

The patch makes cm9880 to choose multi-channel jacks automatically.

1. I found the current code has basic_init, which already includes
   necessary controls for 6-stack initialization, so I don't need
   another model.

2. I add a new model 'auto' to let the driver find a. if there are
   option real panel/front panel, b. the jacks to be used for multichannel.

Because the jack color are based on MS's channel sequence, so the 'auto'
model will pick the same jacks for multichannel MS uses. I did this to
hope to minimize users questions. These code can also be applied to other
codecs but I don't have any to test.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] virmidi - fix ioctl parameter passing when setting client name
Clemens Ladisch [Fri, 8 Apr 2005 06:25:23 +0000]
[ALSA] virmidi - fix ioctl parameter passing when setting client name

ALSA sequencer
The last change to reduce stack usage did not adjust the parameter to
SNDRV_SEQ_IOCTL_SET_CLIENT_IOCTL which resulted in passing the address
of the pointer instead of the structure.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] MC97 registers reset
Sasha Khapyorsky [Thu, 7 Apr 2005 18:23:58 +0000]
[ALSA] MC97 registers reset

AC97 Codec
Separated ac97 registers reset for audio and modem (or both) as recommended
in AC97 spec.

Signed-off-by: Sasha Khapyorsky <sashak@smlink.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Fix MC97 codec initialization
Sasha Khapyorsky [Thu, 7 Apr 2005 18:22:58 +0000]
[ALSA] Fix MC97 codec initialization

AC97 Codec
This (especially 12000 -> 8000 sample rate replace) fix popular
'MC97 converters.. not ready' error with modem codecs initializations.

Signed-off-by: Sasha Khapyorsky <sashak@smlink.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Fix 'semaphore is not ready' problem with snd-intel8x0m
Sasha Khapyorsky [Thu, 7 Apr 2005 18:21:21 +0000]
[ALSA] Fix 'semaphore is not ready' problem with snd-intel8x0m

Intel8x0-modem driver
With some intel based ac97 modems codec access semaphore is not cleared
after 0x54 AC97 register (GPIO_STATUS) reads. This may causes problems
with newly applied modem mixer (Off-hook switch) and in other cases.

Signed-off-by: Sasha Khapyorsky <sashak@smlink.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Add CM9780 support, fix CM9761 SPDIF
Takashi Iwai [Thu, 7 Apr 2005 13:53:20 +0000]
[ALSA] Add CM9780 support, fix CM9761 SPDIF

AC97 Codec
- Added CM9780 patch
- Fix the SPDIF support on CM9761/CM9780
- Allow the generic enum callback to pass any number (not power of 2)
  as the value mask

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Remove unused variables
Takashi Iwai [Thu, 7 Apr 2005 13:50:13 +0000]
[ALSA] Remove unused variables

AC97 Codec
Removed unused variables (the old control definitions).

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Check revision for the proper detection of audigy 2
Takashi Iwai [Thu, 7 Apr 2005 13:48:42 +0000]
[ALSA] Check revision for the proper detection of audigy 2

EMU10K1/EMU10K2 driver
Check ther revision to detect non-listed audigy 2 boards.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] usb-audio - BOSS GS-10 PCM support
Clemens Ladisch [Wed, 6 Apr 2005 07:47:02 +0000]
[ALSA] usb-audio - BOSS GS-10 PCM support

USB generic driver
This patch adds quirks to support 24-bit PCM I/O in the 'Advanced
Driver' mode of the BOSS GS-10.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] virmidi - fix ioctl parameter passing when creating seq port
Clemens Ladisch [Wed, 6 Apr 2005 07:43:59 +0000]
[ALSA] virmidi - fix ioctl parameter passing when creating seq port

ALSA sequencer
The last change to reduce stack usage did not adjust the parameter to
SNDRV_SEQ_IOCTL_CREATE_PORT which resulted in passing the address of
the pointer instead of the structure.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] timer - added tread semaphore
Jaroslav Kysela [Mon, 4 Apr 2005 14:44:58 +0000]
[ALSA] timer - added tread semaphore

Timer Midlevel

Signed-off-by: Jaroslav Kysela <perex@suse.cz>

14 years ago[ALSA] Add mixer map for Sound Blaster MP3+
Takashi Iwai [Fri, 1 Apr 2005 11:14:14 +0000]
[ALSA] Add mixer map for Sound Blaster MP3+

USB generic driver
Added the mixer mapping for Sound Blaster MP3+
by Pavel Mihaylov <bin@bash.info>

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Audigy SB0090 identification
Peter Zubaj [Fri, 1 Apr 2005 09:15:07 +0000]
[ALSA] Audigy SB0090 identification

EMU10K1/EMU10K2 driver
This add identification of Audigy 1 model SB0090 and fixes
problems with ac97 codec (mic not working).

Signed-off-by: Peter Zubaj <pzad@pobox.sk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] usb-audio - allow USB MIDI quirks to specify endpoints explicitly
Clemens Ladisch [Wed, 30 Mar 2005 14:22:01 +0000]
[ALSA] usb-audio - allow USB MIDI quirks to specify endpoints explicitly

USB generic driver
This patch reintroduces the check for endpoint numbers that are
specified explicitly in the quirk structure.
This check was accidentally dropped in the last rewrite of
snd_usbmidi_detect_endpoints().

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

14 years ago[ALSA] Fix the default id of multiple cards
Takashi Iwai [Wed, 30 Mar 2005 12:40:25 +0000]
[ALSA] Fix the default id of multiple cards

EMU10K1/EMU10K2 driver
Fixed the default id string in case identical multiple cards exist.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Use old default id strings for compatibility
Takashi Iwai [Wed, 30 Mar 2005 12:22:25 +0000]
[ALSA] Use old default id strings for compatibility

EMU10K1/EMU10K2 driver
Use expliciitly the old default id strings for backward compatibility.
This will make 'alsactl restore' working again.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] some docs for the new emu10k1 multichannel functionality
Lee Revell [Wed, 30 Mar 2005 12:04:34 +0000]
[ALSA] some docs for the new emu10k1 multichannel functionality

Documentation
Not complete, or even spell checked, but in case I don't get a chance to
work on it again before 1.0.9, here is what i have so far.  It should go
in alsa-kernel/Documentation/emu10k1-jack.txt.

Signed-off-by: Lee Revell <rlrevell@joe-job.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] clean up card features
Lee Revell [Wed, 30 Mar 2005 11:51:18 +0000]
[ALSA] clean up card features

EMU10K1/EMU10K2 driver
This patch converts the emu10k1 driver to use the card capabilities
structure for some more things.

Not extensively tested but seems to work.

Signed-off-by: Lee Revell <rlrevell@joe-job.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Fix memory leak
Takashi Iwai [Wed, 30 Mar 2005 11:49:06 +0000]
[ALSA] Fix memory leak

ALSA sequencer
Fixed memory leak by the last change of stack reduction.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Fix the detection of resolution of ac97 controls
Takashi Iwai [Tue, 29 Mar 2005 14:33:28 +0000]
[ALSA] Fix the detection of resolution of ac97 controls

AC97 Codec
Fixed the detection of bit resolution of ac97 mixer controls.
This will fix the problem with TI ac97 codecs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Added identification for the Audigy ES.
James Courtier-Dutton [Sun, 27 Mar 2005 13:00:54 +0000]
[ALSA] Added identification for the Audigy ES.

EMU10K1/EMU10K2 driver

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>

14 years ago[ALSA] Add's identification of the SB Live! Platinum [CT4760P]
James Courtier-Dutton [Sat, 26 Mar 2005 21:10:36 +0000]
[ALSA] Add's identification of the SB Live! Platinum [CT4760P]

EMU10K1/EMU10K2 driver

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>

14 years ago[ALSA] Adds Capture to P16V chip.
James Courtier-Dutton [Sat, 26 Mar 2005 18:35:29 +0000]
[ALSA] Adds Capture to P16V chip.

EMU10K1/EMU10K2 driver
One can select which capture source, but one cannot yet set volumes.

Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>

14 years ago[ALSA] fix multi-channel for model==full
ChenLi Tien [Thu, 24 Mar 2005 19:47:35 +0000]
[ALSA] fix multi-channel for model==full

HDA Codec driver
The patch_cm9880.c can't play side/C/B channels from front panel jacks.
I fixed it by adding select pin.

Signed-off-by: ChenLi Tien <cltien@cmedia.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Skip ac97 SPDIF controls
Takashi Iwai [Thu, 24 Mar 2005 16:48:30 +0000]
[ALSA] Skip ac97 SPDIF controls

CA0106 driver
Skip building ac97 SPDIF controls via AC97_SCAP_NO_SPDIF.
Clean up the code.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] Show currectly selected widget in proc_read for hda driver
ChenLi Tien [Thu, 24 Mar 2005 11:02:54 +0000]
[ALSA] Show currectly selected widget in proc_read for hda driver

HDA generic driver
During debugging for cm9880 multi-channel playback, I added the * after
the currently selected widget, mixer widget doesn't need this but other
3 widget types need it.

Signed-off-by: ChenLi Tien <cltien@cmedia.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years ago[ALSA] kill dead code
Adrian Bunk [Thu, 24 Mar 2005 11:01:15 +0000]
[ALSA] kill dead code

ALSA<-OSS emulation
The Coverity checker found this obviously dead code.

I'm not sure which of the if (plugin == NULL) is correct - this patch
removes the one that couldn't be true.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

14 years agoAutomatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/hch/xfs-2.6
Linus Torvalds [Fri, 27 May 2005 16:26:10 +0000]
Merge ... /pub/scm/linux/kernel/git/hch/xfs-2.6

14 years ago[PATCH] Note on ACPI build fix
Alexander Nyberg [Fri, 27 May 2005 10:48:50 +0000]
[PATCH] Note on ACPI build fix

Even after the previous fix you can still set CONFIG_ACPI_BOOT
indirectly even without CONFIG_ACPI by choosing CONFIG_PCI and
CONFIG_PCI_MMCONFIG.

That doesn't build very well either.

This makes PCI_MMCONFIG depend on ACPI, fixing that hole.

[ I guess in theory Kconfig could follow the whole chain of dependencies
  for things that get selected, but that sounds insanely complicated, so
  we'll just fix up these things by hand.  --Linus ]

Signed-off-by: Alexander Nyberg <alexn@telia.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] ACPI build fix
Len Brown [Fri, 27 May 2005 08:53:27 +0000]
[PATCH] ACPI build fix

Fix 2.6.12 CONFIG_ACPI=n build regression.
CONFIG_ACPI_BOOT shall be set only if CONFIG_ACPI.

Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] Fixup VIA IRQ quirk
Alexander Nyberg [Fri, 27 May 2005 10:27:05 +0000]
[PATCH] Fixup VIA IRQ quirk

quirk_via_irqpic can't be __devinit for swsuspend

Signed-off-by: Alexander Nyberg <alexn@telia.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] VIA IRQ quirk
Len Brown [Fri, 27 May 2005 08:21:50 +0000]
[PATCH] VIA IRQ quirk

Delete quirk_via_bridge(), restore quirk_via_irqpic() -- but now
improved to be invoked upon device ENABLE, and now only for VIA devices
-- not all devices behind VIA bridges.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] cpuset exit NULL dereference fix
Paul Jackson [Fri, 27 May 2005 09:02:43 +0000]
[PATCH] cpuset exit NULL dereference fix

There is a race in the kernel cpuset code, between the code
to handle notify_on_release, and the code to remove a cpuset.
The notify_on_release code can end up trying to access a
cpuset that has been removed.  In the most common case, this
causes a NULL pointer dereference from the routine cpuset_path.
However all manner of bad things are possible, in theory at least.

The existing code decrements the cpuset use count, and if the
count goes to zero, processes the notify_on_release request,
if appropriate.  However, once the count goes to zero, unless we
are holding the global cpuset_sem semaphore, there is nothing to
stop another task from immediately removing the cpuset entirely,
and recycling its memory.

The obvious fix would be to always hold the cpuset_sem
semaphore while decrementing the use count and dealing with
notify_on_release.  However we don't want to force a global
semaphore into the mainline task exit path, as that might create
a scaling problem.

The actual fix is almost as easy - since this is only an issue
for cpusets using notify_on_release, which the top level big
cpusets don't normally need to use, only take the cpuset_sem
for cpusets using notify_on_release.

This code has been run for hours without a hiccup, while running
a cpuset create/destroy stress test that could crash the existing
kernel in seconds.  This patch applies to the current -linus
git kernel.

Signed-off-by: Paul Jackson <pj@sgi.com>
Acked-by: Simon Derr <simon.derr@bull.net>
Acked-by: Dinakar Guniguntala <dino@in.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] remove non-cleanroom pwc driver compression
Alan Cox [Fri, 27 May 2005 12:40:53 +0000]
[PATCH] remove non-cleanroom pwc driver compression

The original pwc author raised some questions about the reverse
engineering of the decompressor algorithms used in the pwc driver.
Having done some detailed investigation it appears those concerns that
clean room policy was not followed are reasonable.  I've also had a
friendly discussion with Philips to ask their view on this.

This removes the problem items of code which reduces the pwc
functionality in the kernel a little but leaves all the framework for
setup that will be needed for decompressors in user space (where they
eventually belong).  This change set is designed to be the minimal risk
change set given that 2.6.12 is hopefully close to hand, with a view to
merging the much updated pwc code in 2.6.13 series kernels.

Someone else can then redo the decompressors properly (clean room) in
user space.

Note that while its easy to say that it should have been caught earlier,
but the violation was really only obvious to someone who had access to
both the proprietary source and the 'GPL' source.

14 years agoide-cd: revert DMA mask test change
Linus Torvalds [Fri, 27 May 2005 14:36:17 +0000]
ide-cd: revert DMA mask test change

The change to require the DMA length to be only word-aligned was not
safe.

14 years ago[XFS] remove an over-zealous WARN_ON
Christoph Hellwig [Fri, 27 May 2005 08:17:08 +0000]
[XFS] remove an over-zealous WARN_ON

14 years agoMerge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Christoph Hellwig [Fri, 27 May 2005 08:16:24 +0000]
Merge ... /linux/kernel/git/torvalds/linux-2.6.git

14 years ago[PATCH] i386: fix prevent_tail_call
Roland McGrath [Thu, 26 May 2005 22:21:13 +0000]
[PATCH] i386: fix prevent_tail_call

We fixed this bug before, but it didn't take.  It may have been the case
that the problem was first noticed to occur in a CONFIG_REGPARM compile.
But it's not regparm functions that need not to make tail calls, it's
asmlinkage functions called with a user pt_regs frame on the stack
supplying their arguments.  prevent_tail_call probably doesn't do anything
at all in regparm functions (your argument registers are going to be
clobbered, period).  It was a braino to conditionalize that definition in
the first place.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years agoAutomatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
Linus Torvalds [Thu, 26 May 2005 20:54:33 +0000]
Merge ... /pub/scm/linux/kernel/git/davem/net-2.6

14 years ago[BNX2]: New Broadcom gigabit network driver.
Michael Chan [Thu, 26 May 2005 20:03:09 +0000]
[BNX2]: New Broadcom gigabit network driver.

A new driver bnx2 for Broadcom bcm5706 is available.

The patch also includes new 1000BASE-X advertisement bit definitions in
mii.h

Thanks to David Miller and Jeff Garzik for reviewing and their valuable
feedback.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

14 years ago[TOKENRING]: net/802/tr.c: s/struct rif_cache_s/struct rif_cache/
Alexey Dobriyan [Thu, 26 May 2005 19:59:42 +0000]
[TOKENRING]: net/802/tr.c: s/struct rif_cache_s/struct rif_cache/

"_s" suffix is certainly of hungarian origin.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

14 years ago[TOKENRING]: be'ify trh_hdr, trllc, rif_cache_s
Alexey Dobriyan [Thu, 26 May 2005 19:59:05 +0000]
[TOKENRING]: be'ify trh_hdr, trllc, rif_cache_s

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

14 years agoFrom: Kazunori Miyazawa <kazunori@miyazawa.org>
Hideaki YOSHIFUJI [Thu, 26 May 2005 19:58:04 +0000]
From: Kazunori Miyazawa <kazunori@miyazawa.org>

[XFRM] Call dst_check() with appropriate cookie

This fixes infinite loop issue with IPv6 tunnel mode.

Signed-off-by: Kazunori Miyazawa <kazunori@miyazawa.org>
Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>