linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] schedule obsolete OSS drivers for removal
@ 2005-10-30 10:51 Adrian Bunk
  2005-10-30 13:41 ` Gene Heskett
                   ` (2 more replies)
  0 siblings, 3 replies; 193+ messages in thread
From: Adrian Bunk @ 2005-10-30 10:51 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel


This patch schedules obsolete OSS drivers (with ALSA drivers that support the
same hardware) for removal.

Scheduling the via82cxxx driver for removal was ACK'ed by Jeff Garzik.


Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>

---

 Documentation/feature-removal-schedule.txt |    7 ++
 sound/oss/Kconfig                          |   73 +++++++++++++++++------------
 2 files changed, 51 insertions(+), 29 deletions(-)

diff -puN Documentation/feature-removal-schedule.txt~schedule-obsolete-oss-drivers-for-removal-version-2 Documentation/feature-removal-schedule.txt
--- devel/Documentation/feature-removal-schedule.txt~schedule-obsolete-oss-drivers-for-removal-version-2	2005-08-06 15:34:48.000000000 -0700
+++ devel-akpm/Documentation/feature-removal-schedule.txt	2005-08-06 15:34:48.000000000 -0700
@@ -42,6 +42,13 @@ Who:	Adrian Bunk <bunk@stusta.de>
 
 ---------------------------
 
+What:	drivers depending on OBSOLETE_OSS_DRIVER
+When:	January 2006
+Why:	OSS drivers with ALSA replacements
+Who:	Adrian Bunk <bunk@stusta.de>
+
+---------------------------
+
 What:	RCU API moves to EXPORT_SYMBOL_GPL
 When:	April 2006
 Files:	include/linux/rcupdate.h, kernel/rcupdate.c
diff -puN sound/oss/Kconfig~schedule-obsolete-oss-drivers-for-removal-version-2 sound/oss/Kconfig
--- devel/sound/oss/Kconfig~schedule-obsolete-oss-drivers-for-removal-version-2	2005-08-06 15:34:48.000000000 -0700
+++ devel-akpm/sound/oss/Kconfig	2005-08-06 15:34:48.000000000 -0700
@@ -4,9 +4,24 @@
 # More hacking for modularisation.
 #
 # Prompt user for primary drivers.
+
+config OBSOLETE_OSS_DRIVER
+	bool "Obsolete OSS drivers"
+	depends on SOUND_PRIME
+	help
+	  This option enables support for obsolete OSS drivers that
+	  are scheduled for removal in the near future since there
+	  are ALSA drivers for the same hardware.
+
+	  Please contact Adrian Bunk <bunk@stusta.de> if you had to
+	  say Y here because your soundcard is not properly supported
+	  by ALSA.
+
+	  If unsure, say N.
+
 config SOUND_BT878
 	tristate "BT878 audio dma"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	---help---
 	  Audio DMA support for bt878 based grabber boards.  As you might have
 	  already noticed, bt878 is listed with two functions in /proc/pci.
@@ -22,7 +37,7 @@ config SOUND_BT878
 
 config SOUND_CMPCI
 	tristate "C-Media PCI (CMI8338/8738)"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a PCI sound card using the CMI8338
 	  or the CMI8738 chipset.  Data on these chips are available at
@@ -61,7 +76,7 @@ config SOUND_CMPCI_JOYSTICK
 
 config SOUND_EMU10K1
 	tristate "Creative SBLive! (EMU10K1)"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	---help---
 	  Say Y or M if you have a PCI sound card using the EMU10K1 chipset,
 	  such as the Creative SBLive!, SB PCI512 or Emu-APS.
@@ -95,7 +110,7 @@ config SOUND_FUSION
 
 config SOUND_CS4281
 	tristate "Crystal Sound CS4281"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Picture and feature list at
 	  <http://www.pcbroker.com/crystal4281.html>.
@@ -112,7 +127,7 @@ config SOUND_BCM_CS4297A
 
 config SOUND_ES1370
 	tristate "Ensoniq AudioPCI (ES1370)"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a PCI sound card utilizing the Ensoniq
 	  ES1370 chipset, such as Ensoniq's AudioPCI (non-97). To find
@@ -125,7 +140,7 @@ config SOUND_ES1370
 
 config SOUND_ES1371
 	tristate "Creative Ensoniq AudioPCI 97 (ES1371)"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a PCI sound card utilizing the Ensoniq
 	  ES1371 chipset, such as Ensoniq's AudioPCI97. To find out if
@@ -138,7 +153,7 @@ config SOUND_ES1371
 
 config SOUND_ESSSOLO1
 	tristate "ESS Technology Solo1" 
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a PCI sound card utilizing the ESS Technology
 	  Solo1 chip. To find out if your sound card uses a
@@ -149,7 +164,7 @@ config SOUND_ESSSOLO1
 
 config SOUND_MAESTRO
 	tristate "ESS Maestro, Maestro2, Maestro2E driver"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a sound system driven by ESS's Maestro line
 	  of PCI sound chips.  These include the Maestro 1, Maestro 2, and
@@ -158,7 +173,7 @@ config SOUND_MAESTRO
 
 config SOUND_MAESTRO3
 	tristate "ESS Maestro3/Allegro driver (EXPERIMENTAL)"
-	depends on SOUND_PRIME && PCI && EXPERIMENTAL
+	depends on SOUND_PRIME && PCI && EXPERIMENTAL && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a sound system driven by ESS's Maestro 3
 	  PCI sound chip.
@@ -172,14 +187,14 @@ config SOUND_ICH
 
 config SOUND_HARMONY
 	tristate "PA Harmony audio driver"
-	depends on GSC_LASI && SOUND_PRIME
+	depends on GSC_LASI && SOUND_PRIME && OBSOLETE_OSS_DRIVER
 	help
 	  Say 'Y' or 'M' to include support for Harmony soundchip
 	  on HP 712, 715/new and many other GSC based machines.
 
 config SOUND_SONICVIBES
 	tristate "S3 SonicVibes"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a PCI sound card utilizing the S3
 	  SonicVibes chipset. To find out if your sound card uses a
@@ -218,7 +233,7 @@ config SOUND_VRC5477
 
 config SOUND_AU1000
 	tristate "Au1000 Sound"
-	depends on SOUND_PRIME && (SOC_AU1000 || SOC_AU1100 || SOC_AU1500)
+	depends on SOUND_PRIME && (SOC_AU1000 || SOC_AU1100 || SOC_AU1500) && OBSOLETE_OSS_DRIVER
 
 config SOUND_AU1550_AC97
 	tristate "Au1550 AC97 Sound"
@@ -492,7 +507,7 @@ config MSND_FIFOSIZE
 
 config SOUND_VIA82CXXX
 	tristate "VIA 82C686 Audio Codec"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y here to include support for the audio codec found on VIA
 	  82Cxxx-based chips. Typically these are built into a motherboard.
@@ -563,7 +578,7 @@ config SOUND_AD1889
 
 config SOUND_SGALAXY
 	tristate "Aztech Sound Galaxy (non-PnP) cards"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  This module initializes the older non Plug and Play sound galaxy
 	  cards from Aztech. It supports the Waverider Pro 32 - 3D and the
@@ -599,7 +614,7 @@ config SOUND_ACI_MIXER
 
 config SOUND_CS4232
 	tristate "Crystal CS4232 based (PnP) cards"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y here if you have a card based on the Crystal CS4232 chip set,
 	  which uses its own Plug and Play protocol.
@@ -613,7 +628,7 @@ config SOUND_CS4232
 
 config SOUND_SSCAPE
 	tristate "Ensoniq SoundScape support"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Answer Y if you have a sound card based on the Ensoniq SoundScape
 	  chipset. Such cards are being manufactured at least by Ensoniq, Spea
@@ -625,7 +640,7 @@ config SOUND_SSCAPE
 
 config SOUND_GUS
 	tristate "Gravis Ultrasound support"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y here for any type of Gravis Ultrasound card, including the GUS
 	  or GUS MAX.  See also <file:Documentation/sound/oss/ultrasound> for more
@@ -727,7 +742,7 @@ config SOUND_MPU401
 
 config SOUND_NM256
 	tristate "NM256AV/NM256ZX audio support"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say M here to include audio support for the NeoMagic 256AV/256ZX
 	  chipsets. These are the audio chipsets found in the Sony
@@ -739,7 +754,7 @@ config SOUND_NM256
 
 config SOUND_MAD16
 	tristate "OPTi MAD16 and/or Mozart based cards"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	---help---
 	  Answer Y if your card has a Mozart (OAK OTI-601) or MAD16 (OPTi
 	  82C928 or 82C929 or 82C931) audio interface chip. These chips are
@@ -860,7 +875,7 @@ config SOUND_SB
 
 config SOUND_AWE32_SYNTH
 	tristate "AWE32 synth"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y here if you have a Sound Blaster SB32, AWE32-PnP, SB AWE64 or
 	  similar sound card. See <file:Documentation/sound/oss/README.awe>,
@@ -870,7 +885,7 @@ config SOUND_AWE32_SYNTH
 
 config SOUND_WAVEFRONT
 	tristate "Full support for Turtle Beach WaveFront (Tropez Plus, Tropez, Maui) synth/soundcards"
-	depends on SOUND_OSS && m
+	depends on SOUND_OSS && m && OBSOLETE_OSS_DRIVER
 	help
 	  Answer Y or M if you have a Tropez Plus, Tropez or Maui sound card
 	  and read the files <file:Documentation/sound/oss/Wavefront> and
@@ -878,7 +893,7 @@ config SOUND_WAVEFRONT
 
 config SOUND_MAUI
 	tristate "Limited support for Turtle Beach Wave Front (Maui, Tropez) synthesizers"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y here if you have a Turtle Beach Wave Front, Maui, or Tropez
 	  sound card.
@@ -904,7 +919,7 @@ config MAUI_BOOT_FILE
 
 config SOUND_YM3812
 	tristate "Yamaha FM synthesizer (YM3812/OPL-3) support"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	---help---
 	  Answer Y if your card has a FM chip made by Yamaha (OPL2/OPL3/OPL4).
 	  Answering Y is usually a safe and recommended choice, however some
@@ -920,7 +935,7 @@ config SOUND_YM3812
 
 config SOUND_OPL3SA1
 	tristate "Yamaha OPL3-SA1 audio controller"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a Yamaha OPL3-SA1 sound chip, which is
 	  usually built into motherboards. Read
@@ -946,7 +961,7 @@ config SOUND_OPL3SA2
 
 config SOUND_YMFPCI
 	tristate "Yamaha YMF7xx PCI audio (native mode)"
-	depends on SOUND_OSS && PCI
+	depends on SOUND_OSS && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Support for Yamaha cards including the YMF711, YMF715, YMF718,
 	  YMF719, YMF724, Waveforce 192XG, and Waveforce 192 Digital.
@@ -1088,11 +1103,11 @@ config SOUND_KAHLUA
 
 config SOUND_ALI5455
 	tristate "ALi5455 audio support"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 
 config SOUND_FORTE
 	tristate "ForteMedia FM801 driver"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you want driver support for the ForteMedia FM801 PCI
 	  audio controller (Abit AU10, Genius Sound Maker, HP Workstation
@@ -1100,7 +1115,7 @@ config SOUND_FORTE
 
 config SOUND_RME96XX
 	tristate "RME Hammerfall (RME96XX) support"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a Hammerfall or Hammerfall light
 	  multichannel card from RME. If you want to access advanced
@@ -1108,7 +1123,7 @@ config SOUND_RME96XX
 
 config SOUND_AD1980
 	tristate "AD1980 front/back switch plugin"
-	depends on SOUND_PRIME
+	depends on SOUND_PRIME && OBSOLETE_OSS_DRIVER
 
 config SOUND_SH_DAC_AUDIO
 	tristate "SuperH DAC audio support"
_

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-30 10:51 [2.6 patch] schedule obsolete OSS drivers for removal Adrian Bunk
@ 2005-10-30 13:41 ` Gene Heskett
  2005-10-30 13:51   ` Adrian Bunk
  2005-10-30 13:53   ` Alistair John Strachan
  2005-10-30 14:27 ` Kyle McMartin
  2005-10-30 18:06 ` Andi Kleen
  2 siblings, 2 replies; 193+ messages in thread
From: Gene Heskett @ 2005-10-30 13:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: Adrian Bunk, Andrew Morton

On Sunday 30 October 2005 05:51, Adrian Bunk wrote:
>This patch schedules obsolete OSS drivers (with ALSA drivers that
> support the same hardware) for removal.
>
>Scheduling the via82cxxx driver for removal was ACK'ed by Jeff Garzik.
>
Isn't this a bit premature?  There are quite a few old mobo's with this
chipset still in use, like my firewall box.
>
>Signed-off-by: Adrian Bunk <bunk@stusta.de>
>Signed-off-by: Andrew Morton <akpm@osdl.org>
>
>---
>
> Documentation/feature-removal-schedule.txt |    7 ++
> sound/oss/Kconfig                          |   73
> +++++++++++++++++------------ 2 files changed, 51 insertions(+), 29
> deletions(-)
>
>diff -puN
> Documentation/feature-removal-schedule.txt~schedule-obsolete-oss-driver
>s-for-removal-version-2 Documentation/feature-removal-schedule.txt ---
> devel/Documentation/feature-removal-schedule.txt~schedule-obsolete-oss-
>drivers-for-removal-version-2 2005-08-06 15:34:48.000000000 -0700 +++
> devel-akpm/Documentation/feature-removal-schedule.txt 2005-08-06
> 15:34:48.000000000 -0700 @@ -42,6 +42,13 @@ Who: Adrian Bunk
> <bunk@stusta.de>
>
> ---------------------------
>
>+What:	drivers depending on OBSOLETE_OSS_DRIVER
>+When:	January 2006
>+Why:	OSS drivers with ALSA replacements
>+Who:	Adrian Bunk <bunk@stusta.de>
>+
>+---------------------------
>+
> What:	RCU API moves to EXPORT_SYMBOL_GPL
> When:	April 2006
> Files:	include/linux/rcupdate.h, kernel/rcupdate.c
>diff -puN
> sound/oss/Kconfig~schedule-obsolete-oss-drivers-for-removal-version-2
> sound/oss/Kconfig ---
> devel/sound/oss/Kconfig~schedule-obsolete-oss-drivers-for-removal-versi
>on-2	2005-08-06 15:34:48.000000000 -0700 +++
> devel-akpm/sound/oss/Kconfig	2005-08-06 15:34:48.000000000 -0700 @@
> -4,9 +4,24 @@
> # More hacking for modularisation.
> #
> # Prompt user for primary drivers.
>+
>+config OBSOLETE_OSS_DRIVER
>+	bool "Obsolete OSS drivers"
>+	depends on SOUND_PRIME
>+	help
>+	  This option enables support for obsolete OSS drivers that
>+	  are scheduled for removal in the near future since there
>+	  are ALSA drivers for the same hardware.
>+
>+	  Please contact Adrian Bunk <bunk@stusta.de> if you had to
>+	  say Y here because your soundcard is not properly supported
>+	  by ALSA.
>+
>+	  If unsure, say N.
>+
> config SOUND_BT878
> 	tristate "BT878 audio dma"
>-	depends on SOUND_PRIME && PCI
>+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
> 	---help---
> 	  Audio DMA support for bt878 based grabber boards.  As you might have
> 	  already noticed, bt878 is listed with two functions in /proc/pci.
>@@ -22,7 +37,7 @@ config SOUND_BT878
>
> config SOUND_CMPCI
> 	tristate "C-Media PCI (CMI8338/8738)"
>-	depends on SOUND_PRIME && PCI
>+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say Y or M if you have a PCI sound card using the CMI8338
> 	  or the CMI8738 chipset.  Data on these chips are available at
>@@ -61,7 +76,7 @@ config SOUND_CMPCI_JOYSTICK
>
> config SOUND_EMU10K1
> 	tristate "Creative SBLive! (EMU10K1)"
>-	depends on SOUND_PRIME && PCI
>+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
> 	---help---
> 	  Say Y or M if you have a PCI sound card using the EMU10K1 chipset,
> 	  such as the Creative SBLive!, SB PCI512 or Emu-APS.
>@@ -95,7 +110,7 @@ config SOUND_FUSION
>
> config SOUND_CS4281
> 	tristate "Crystal Sound CS4281"
>-	depends on SOUND_PRIME && PCI
>+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
> 	help
> 	  Picture and feature list at
> 	  <http://www.pcbroker.com/crystal4281.html>.
>@@ -112,7 +127,7 @@ config SOUND_BCM_CS4297A
>
> config SOUND_ES1370
> 	tristate "Ensoniq AudioPCI (ES1370)"
>-	depends on SOUND_PRIME && PCI
>+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say Y or M if you have a PCI sound card utilizing the Ensoniq
> 	  ES1370 chipset, such as Ensoniq's AudioPCI (non-97). To find
>@@ -125,7 +140,7 @@ config SOUND_ES1370
>
> config SOUND_ES1371
> 	tristate "Creative Ensoniq AudioPCI 97 (ES1371)"
>-	depends on SOUND_PRIME && PCI
>+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say Y or M if you have a PCI sound card utilizing the Ensoniq
> 	  ES1371 chipset, such as Ensoniq's AudioPCI97. To find out if
>@@ -138,7 +153,7 @@ config SOUND_ES1371
>
> config SOUND_ESSSOLO1
> 	tristate "ESS Technology Solo1"
>-	depends on SOUND_PRIME && PCI
>+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say Y or M if you have a PCI sound card utilizing the ESS Technology
> 	  Solo1 chip. To find out if your sound card uses a
>@@ -149,7 +164,7 @@ config SOUND_ESSSOLO1
>
> config SOUND_MAESTRO
> 	tristate "ESS Maestro, Maestro2, Maestro2E driver"
>-	depends on SOUND_PRIME && PCI
>+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say Y or M if you have a sound system driven by ESS's Maestro line
> 	  of PCI sound chips.  These include the Maestro 1, Maestro 2, and
>@@ -158,7 +173,7 @@ config SOUND_MAESTRO
>
> config SOUND_MAESTRO3
> 	tristate "ESS Maestro3/Allegro driver (EXPERIMENTAL)"
>-	depends on SOUND_PRIME && PCI && EXPERIMENTAL
>+	depends on SOUND_PRIME && PCI && EXPERIMENTAL && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say Y or M if you have a sound system driven by ESS's Maestro 3
> 	  PCI sound chip.
>@@ -172,14 +187,14 @@ config SOUND_ICH
>
> config SOUND_HARMONY
> 	tristate "PA Harmony audio driver"
>-	depends on GSC_LASI && SOUND_PRIME
>+	depends on GSC_LASI && SOUND_PRIME && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say 'Y' or 'M' to include support for Harmony soundchip
> 	  on HP 712, 715/new and many other GSC based machines.
>
> config SOUND_SONICVIBES
> 	tristate "S3 SonicVibes"
>-	depends on SOUND_PRIME && PCI
>+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say Y or M if you have a PCI sound card utilizing the S3
> 	  SonicVibes chipset. To find out if your sound card uses a
>@@ -218,7 +233,7 @@ config SOUND_VRC5477
>
> config SOUND_AU1000
> 	tristate "Au1000 Sound"
>-	depends on SOUND_PRIME && (SOC_AU1000 || SOC_AU1100 || SOC_AU1500)
>+	depends on SOUND_PRIME && (SOC_AU1000 || SOC_AU1100 || SOC_AU1500) &&
> OBSOLETE_OSS_DRIVER
>
> config SOUND_AU1550_AC97
> 	tristate "Au1550 AC97 Sound"
>@@ -492,7 +507,7 @@ config MSND_FIFOSIZE
>
> config SOUND_VIA82CXXX
> 	tristate "VIA 82C686 Audio Codec"
>-	depends on SOUND_PRIME && PCI
>+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say Y here to include support for the audio codec found on VIA
> 	  82Cxxx-based chips. Typically these are built into a motherboard.
>@@ -563,7 +578,7 @@ config SOUND_AD1889
>
> config SOUND_SGALAXY
> 	tristate "Aztech Sound Galaxy (non-PnP) cards"
>-	depends on SOUND_OSS
>+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
> 	help
> 	  This module initializes the older non Plug and Play sound galaxy
> 	  cards from Aztech. It supports the Waverider Pro 32 - 3D and the
>@@ -599,7 +614,7 @@ config SOUND_ACI_MIXER
>
> config SOUND_CS4232
> 	tristate "Crystal CS4232 based (PnP) cards"
>-	depends on SOUND_OSS
>+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say Y here if you have a card based on the Crystal CS4232 chip set,
> 	  which uses its own Plug and Play protocol.
>@@ -613,7 +628,7 @@ config SOUND_CS4232
>
> config SOUND_SSCAPE
> 	tristate "Ensoniq SoundScape support"
>-	depends on SOUND_OSS
>+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
> 	help
> 	  Answer Y if you have a sound card based on the Ensoniq SoundScape
> 	  chipset. Such cards are being manufactured at least by Ensoniq, Spea
>@@ -625,7 +640,7 @@ config SOUND_SSCAPE
>
> config SOUND_GUS
> 	tristate "Gravis Ultrasound support"
>-	depends on SOUND_OSS
>+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say Y here for any type of Gravis Ultrasound card, including the GUS
> 	  or GUS MAX.  See also <file:Documentation/sound/oss/ultrasound> for
> more @@ -727,7 +742,7 @@ config SOUND_MPU401
>
> config SOUND_NM256
> 	tristate "NM256AV/NM256ZX audio support"
>-	depends on SOUND_OSS
>+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say M here to include audio support for the NeoMagic 256AV/256ZX
> 	  chipsets. These are the audio chipsets found in the Sony
>@@ -739,7 +754,7 @@ config SOUND_NM256
>
> config SOUND_MAD16
> 	tristate "OPTi MAD16 and/or Mozart based cards"
>-	depends on SOUND_OSS
>+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
> 	---help---
> 	  Answer Y if your card has a Mozart (OAK OTI-601) or MAD16 (OPTi
> 	  82C928 or 82C929 or 82C931) audio interface chip. These chips are
>@@ -860,7 +875,7 @@ config SOUND_SB
>
> config SOUND_AWE32_SYNTH
> 	tristate "AWE32 synth"
>-	depends on SOUND_OSS
>+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say Y here if you have a Sound Blaster SB32, AWE32-PnP, SB AWE64 or
> 	  similar sound card. See <file:Documentation/sound/oss/README.awe>,
>@@ -870,7 +885,7 @@ config SOUND_AWE32_SYNTH
>
> config SOUND_WAVEFRONT
> 	tristate "Full support for Turtle Beach WaveFront (Tropez Plus,
> Tropez, Maui) synth/soundcards" -	depends on SOUND_OSS && m
>+	depends on SOUND_OSS && m && OBSOLETE_OSS_DRIVER
> 	help
> 	  Answer Y or M if you have a Tropez Plus, Tropez or Maui sound card
> 	  and read the files <file:Documentation/sound/oss/Wavefront> and
>@@ -878,7 +893,7 @@ config SOUND_WAVEFRONT
>
> config SOUND_MAUI
> 	tristate "Limited support for Turtle Beach Wave Front (Maui, Tropez)
> synthesizers" -	depends on SOUND_OSS
>+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say Y here if you have a Turtle Beach Wave Front, Maui, or Tropez
> 	  sound card.
>@@ -904,7 +919,7 @@ config MAUI_BOOT_FILE
>
> config SOUND_YM3812
> 	tristate "Yamaha FM synthesizer (YM3812/OPL-3) support"
>-	depends on SOUND_OSS
>+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
> 	---help---
> 	  Answer Y if your card has a FM chip made by Yamaha (OPL2/OPL3/OPL4).
> 	  Answering Y is usually a safe and recommended choice, however some
>@@ -920,7 +935,7 @@ config SOUND_YM3812
>
> config SOUND_OPL3SA1
> 	tristate "Yamaha OPL3-SA1 audio controller"
>-	depends on SOUND_OSS
>+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say Y or M if you have a Yamaha OPL3-SA1 sound chip, which is
> 	  usually built into motherboards. Read
>@@ -946,7 +961,7 @@ config SOUND_OPL3SA2
>
> config SOUND_YMFPCI
> 	tristate "Yamaha YMF7xx PCI audio (native mode)"
>-	depends on SOUND_OSS && PCI
>+	depends on SOUND_OSS && PCI && OBSOLETE_OSS_DRIVER
> 	help
> 	  Support for Yamaha cards including the YMF711, YMF715, YMF718,
> 	  YMF719, YMF724, Waveforce 192XG, and Waveforce 192 Digital.
>@@ -1088,11 +1103,11 @@ config SOUND_KAHLUA
>
> config SOUND_ALI5455
> 	tristate "ALi5455 audio support"
>-	depends on SOUND_PRIME && PCI
>+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
>
> config SOUND_FORTE
> 	tristate "ForteMedia FM801 driver"
>-	depends on SOUND_PRIME && PCI
>+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say Y or M if you want driver support for the ForteMedia FM801 PCI
> 	  audio controller (Abit AU10, Genius Sound Maker, HP Workstation
>@@ -1100,7 +1115,7 @@ config SOUND_FORTE
>
> config SOUND_RME96XX
> 	tristate "RME Hammerfall (RME96XX) support"
>-	depends on SOUND_PRIME && PCI
>+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
> 	help
> 	  Say Y or M if you have a Hammerfall or Hammerfall light
> 	  multichannel card from RME. If you want to access advanced
>@@ -1108,7 +1123,7 @@ config SOUND_RME96XX
>
> config SOUND_AD1980
> 	tristate "AD1980 front/back switch plugin"
>-	depends on SOUND_PRIME
>+	depends on SOUND_PRIME && OBSOLETE_OSS_DRIVER
>
> config SOUND_SH_DAC_AUDIO
> 	tristate "SuperH DAC audio support"
>_
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel"
> in the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.35% setiathome rank, not too shabby for a WV hillbilly
Free OpenDocument reader/writer/converter download:
http://www.openoffice.org
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-30 13:41 ` Gene Heskett
@ 2005-10-30 13:51   ` Adrian Bunk
  2005-10-30 13:53   ` Alistair John Strachan
  1 sibling, 0 replies; 193+ messages in thread
From: Adrian Bunk @ 2005-10-30 13:51 UTC (permalink / raw)
  To: Gene Heskett; +Cc: linux-kernel, Andrew Morton

On Sun, Oct 30, 2005 at 09:41:06AM -0400, Gene Heskett wrote:
> On Sunday 30 October 2005 05:51, Adrian Bunk wrote:
> >This patch schedules obsolete OSS drivers (with ALSA drivers that
> > support the same hardware) for removal.
> >
> >Scheduling the via82cxxx driver for removal was ACK'ed by Jeff Garzik.
> >
> Isn't this a bit premature?  There are quite a few old mobo's with this
> chipset still in use, like my firewall box.
>...

Sounds like a deja vu:
  http://www.ussg.iu.edu/hypermail/linux/kernel/0507.3/0527.html
  http://www.ussg.iu.edu/hypermail/linux/kernel/0507.3/0555.html
  http://www.ussg.iu.edu/hypermail/linux/kernel/0507.3/0717.html

;-)

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-30 13:41 ` Gene Heskett
  2005-10-30 13:51   ` Adrian Bunk
@ 2005-10-30 13:53   ` Alistair John Strachan
  1 sibling, 0 replies; 193+ messages in thread
From: Alistair John Strachan @ 2005-10-30 13:53 UTC (permalink / raw)
  To: Gene Heskett; +Cc: linux-kernel, Adrian Bunk, Andrew Morton

On Sunday 30 October 2005 13:41, Gene Heskett wrote:
> On Sunday 30 October 2005 05:51, Adrian Bunk wrote:
> >This patch schedules obsolete OSS drivers (with ALSA drivers that
> > support the same hardware) for removal.
> >
> >Scheduling the via82cxxx driver for removal was ACK'ed by Jeff Garzik.
>
> Isn't this a bit premature?  There are quite a few old mobo's with this
> chipset still in use, like my firewall box.

Gene, if you read the discussion regarding OSS, Adrian plans simply to remove 
drivers which have solid, known working replacements for all PCI ids in an 
equivalent ALSA driver.

-- 
Cheers,
Alistair.

'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-30 10:51 [2.6 patch] schedule obsolete OSS drivers for removal Adrian Bunk
  2005-10-30 13:41 ` Gene Heskett
@ 2005-10-30 14:27 ` Kyle McMartin
  2005-10-30 15:12   ` Adrian Bunk
  2005-10-30 18:06 ` Andi Kleen
  2 siblings, 1 reply; 193+ messages in thread
From: Kyle McMartin @ 2005-10-30 14:27 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Andrew Morton, linux-kernel

On Sun, Oct 30, 2005 at 11:51:18AM +0100, Adrian Bunk wrote:
> 
> This patch schedules obsolete OSS drivers (with ALSA drivers that support the
> same hardware) for removal.
>

I didn't see it here, but SOUND_AD1889 can definitely be removed
as well. The driver never worked properly to begin with. This was
ACK'd by the author last time this thread reared it's head.

Cheers,
	Kyle

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-30 14:27 ` Kyle McMartin
@ 2005-10-30 15:12   ` Adrian Bunk
  2005-10-30 15:19     ` Kyle McMartin
  2005-10-31 16:50     ` [2.6 " Lee Revell
  0 siblings, 2 replies; 193+ messages in thread
From: Adrian Bunk @ 2005-10-30 15:12 UTC (permalink / raw)
  To: Kyle McMartin; +Cc: Andrew Morton, linux-kernel

On Sun, Oct 30, 2005 at 09:27:52AM -0500, Kyle McMartin wrote:
> On Sun, Oct 30, 2005 at 11:51:18AM +0100, Adrian Bunk wrote:
> > 
> > This patch schedules obsolete OSS drivers (with ALSA drivers that support the
> > same hardware) for removal.
> >
> 
> I didn't see it here, but SOUND_AD1889 can definitely be removed
> as well. The driver never worked properly to begin with. This was
> ACK'd by the author last time this thread reared it's head.

ALSA bugs [1] #1301 and #1302 are still open.

If they are resolved, SOUND_AD1889 will part of the next batch of OSS 
driver removal a few months from now.

> Cheers,
> 	Kyle

cu
Adrian

[1] https://bugtrack.alsa-project.org/

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-30 15:12   ` Adrian Bunk
@ 2005-10-30 15:19     ` Kyle McMartin
  2005-10-30 15:53       ` [updated 2.6 " Adrian Bunk
  2005-10-31 16:50     ` [2.6 " Lee Revell
  1 sibling, 1 reply; 193+ messages in thread
From: Kyle McMartin @ 2005-10-30 15:19 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Andrew Morton, linux-kernel

On Sun, Oct 30, 2005 at 04:12:56PM +0100, Adrian Bunk wrote:
> ALSA bugs [1] #1301 and #1302 are still open.
>

Am I doing something wrong? Those look to be AD1816 bugs, not AD1889.
AD1816 is an ISA sound card. AD1889 is a PCI sound card only found on 
PA-RISC workstations.
 
> If they are resolved, SOUND_AD1889 will part of the next batch of OSS 
> driver removal a few months from now.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* [updated 2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-30 15:19     ` Kyle McMartin
@ 2005-10-30 15:53       ` Adrian Bunk
  0 siblings, 0 replies; 193+ messages in thread
From: Adrian Bunk @ 2005-10-30 15:53 UTC (permalink / raw)
  To: Kyle McMartin; +Cc: Andrew Morton, linux-kernel, Randolph Chung

On Sun, Oct 30, 2005 at 10:19:42AM -0500, Kyle McMartin wrote:
> On Sun, Oct 30, 2005 at 04:12:56PM +0100, Adrian Bunk wrote:
> > ALSA bugs [1] #1301 and #1302 are still open.
> >
> 
> Am I doing something wrong? Those look to be AD1816 bugs, not AD1889.
> AD1816 is an ISA sound card. AD1889 is a PCI sound card only found on 
> PA-RISC workstations.
>...

Sorry, my bad.

The ad1889 ALSA driver was not present before 2.6.14 and therefore not 
on my original list.

Below is an updated patch that also schedules SOUND_AD1889 for removal.

cu
Adrian


<--  snip  -->


This patch schedules obsolete OSS drivers (with ALSA drivers that 
support the
same hardware) for removal.

Scheduling the via82cxxx driver for removal was ACK'ed by Jeff Garzik.


Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>

---

 Documentation/feature-removal-schedule.txt |    7 +
 sound/oss/Kconfig                          |   75 ++++++++++++---------
 2 files changed, 52 insertions(+), 30 deletions(-)

--- linux-2.6.14-rc5-mm1-full/Documentation/feature-removal-schedule.txt.old	2005-10-30 16:32:41.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/Documentation/feature-removal-schedule.txt	2005-10-30 16:34:51.000000000 +0100
@@ -25,6 +25,13 @@
 
 ---------------------------
 
+What:	drivers depending on OBSOLETE_OSS_DRIVER or OBSOLETE_OSS_USB_DRIVER
+When:	January 2006
+Why:	OSS drivers with ALSA replacements
+Who:	Adrian Bunk <bunk@stusta.de>
+
+---------------------------
+
 What:	RCU API moves to EXPORT_SYMBOL_GPL
 When:	April 2006
 Files:	include/linux/rcupdate.h, kernel/rcupdate.c
--- linux-2.6.14-rc5-mm1-full/sound/oss/Kconfig.old	2005-10-30 16:32:31.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/sound/oss/Kconfig	2005-10-30 16:33:11.000000000 +0100
@@ -4,9 +4,24 @@
 # More hacking for modularisation.
 #
 # Prompt user for primary drivers.
+
+config OBSOLETE_OSS_DRIVER
+	bool "Obsolete OSS drivers"
+	depends on SOUND_PRIME
+	help
+	  This option enables support for obsolete OSS drivers that
+	  are scheduled for removal in the near future since there
+	  are ALSA drivers for the same hardware.
+
+	  Please contact Adrian Bunk <bunk@stusta.de> if you had to
+	  say Y here because your soundcard is not properly supported
+	  by ALSA.
+
+	  If unsure, say N.
+
 config SOUND_BT878
 	tristate "BT878 audio dma"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	---help---
 	  Audio DMA support for bt878 based grabber boards.  As you might have
 	  already noticed, bt878 is listed with two functions in /proc/pci.
@@ -22,7 +37,7 @@
 
 config SOUND_CMPCI
 	tristate "C-Media PCI (CMI8338/8738)"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a PCI sound card using the CMI8338
 	  or the CMI8738 chipset.  Data on these chips are available at
@@ -61,7 +76,7 @@
 
 config SOUND_EMU10K1
 	tristate "Creative SBLive! (EMU10K1)"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	---help---
 	  Say Y or M if you have a PCI sound card using the EMU10K1 chipset,
 	  such as the Creative SBLive!, SB PCI512 or Emu-APS.
@@ -95,7 +110,7 @@
 
 config SOUND_CS4281
 	tristate "Crystal Sound CS4281"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Picture and feature list at
 	  <http://www.pcbroker.com/crystal4281.html>.
@@ -112,7 +127,7 @@
 
 config SOUND_ES1370
 	tristate "Ensoniq AudioPCI (ES1370)"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a PCI sound card utilizing the Ensoniq
 	  ES1370 chipset, such as Ensoniq's AudioPCI (non-97). To find
@@ -125,7 +140,7 @@
 
 config SOUND_ES1371
 	tristate "Creative Ensoniq AudioPCI 97 (ES1371)"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a PCI sound card utilizing the Ensoniq
 	  ES1371 chipset, such as Ensoniq's AudioPCI97. To find out if
@@ -138,7 +153,7 @@
 
 config SOUND_ESSSOLO1
 	tristate "ESS Technology Solo1" 
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a PCI sound card utilizing the ESS Technology
 	  Solo1 chip. To find out if your sound card uses a
@@ -149,7 +164,7 @@
 
 config SOUND_MAESTRO
 	tristate "ESS Maestro, Maestro2, Maestro2E driver"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a sound system driven by ESS's Maestro line
 	  of PCI sound chips.  These include the Maestro 1, Maestro 2, and
@@ -158,7 +173,7 @@
 
 config SOUND_MAESTRO3
 	tristate "ESS Maestro3/Allegro driver (EXPERIMENTAL)"
-	depends on SOUND_PRIME && PCI && EXPERIMENTAL
+	depends on SOUND_PRIME && PCI && EXPERIMENTAL && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a sound system driven by ESS's Maestro 3
 	  PCI sound chip.
@@ -172,14 +187,14 @@
 
 config SOUND_HARMONY
 	tristate "PA Harmony audio driver"
-	depends on GSC_LASI && SOUND_PRIME
+	depends on GSC_LASI && SOUND_PRIME && OBSOLETE_OSS_DRIVER
 	help
 	  Say 'Y' or 'M' to include support for Harmony soundchip
 	  on HP 712, 715/new and many other GSC based machines.
 
 config SOUND_SONICVIBES
 	tristate "S3 SonicVibes"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a PCI sound card utilizing the S3
 	  SonicVibes chipset. To find out if your sound card uses a
@@ -218,7 +233,7 @@
 
 config SOUND_AU1000
 	tristate "Au1000 Sound"
-	depends on SOUND_PRIME && (SOC_AU1000 || SOC_AU1100 || SOC_AU1500)
+	depends on SOUND_PRIME && (SOC_AU1000 || SOC_AU1100 || SOC_AU1500) && OBSOLETE_OSS_DRIVER
 
 config SOUND_AU1550_AC97
 	tristate "Au1550 AC97 Sound"
@@ -492,7 +507,7 @@
 
 config SOUND_VIA82CXXX
 	tristate "VIA 82C686 Audio Codec"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y here to include support for the audio codec found on VIA
 	  82Cxxx-based chips. Typically these are built into a motherboard.
@@ -556,14 +571,14 @@
 
 config SOUND_AD1889
 	tristate "AD1889 based cards (AD1819 codec) (EXPERIMENTAL)"
-	depends on EXPERIMENTAL && SOUND_OSS && PCI
+	depends on EXPERIMENTAL && SOUND_OSS && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say M here if you have a sound card based on the Analog Devices
 	  AD1889 chip.
 
 config SOUND_SGALAXY
 	tristate "Aztech Sound Galaxy (non-PnP) cards"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  This module initializes the older non Plug and Play sound galaxy
 	  cards from Aztech. It supports the Waverider Pro 32 - 3D and the
@@ -599,7 +614,7 @@
 
 config SOUND_CS4232
 	tristate "Crystal CS4232 based (PnP) cards"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y here if you have a card based on the Crystal CS4232 chip set,
 	  which uses its own Plug and Play protocol.
@@ -613,7 +628,7 @@
 
 config SOUND_SSCAPE
 	tristate "Ensoniq SoundScape support"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Answer Y if you have a sound card based on the Ensoniq SoundScape
 	  chipset. Such cards are being manufactured at least by Ensoniq, Spea
@@ -625,7 +640,7 @@
 
 config SOUND_GUS
 	tristate "Gravis Ultrasound support"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y here for any type of Gravis Ultrasound card, including the GUS
 	  or GUS MAX.  See also <file:Documentation/sound/oss/ultrasound> for more
@@ -727,7 +742,7 @@
 
 config SOUND_NM256
 	tristate "NM256AV/NM256ZX audio support"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say M here to include audio support for the NeoMagic 256AV/256ZX
 	  chipsets. These are the audio chipsets found in the Sony
@@ -739,7 +754,7 @@
 
 config SOUND_MAD16
 	tristate "OPTi MAD16 and/or Mozart based cards"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	---help---
 	  Answer Y if your card has a Mozart (OAK OTI-601) or MAD16 (OPTi
 	  82C928 or 82C929 or 82C931) audio interface chip. These chips are
@@ -860,7 +875,7 @@
 
 config SOUND_AWE32_SYNTH
 	tristate "AWE32 synth"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y here if you have a Sound Blaster SB32, AWE32-PnP, SB AWE64 or
 	  similar sound card. See <file:Documentation/sound/oss/README.awe>,
@@ -870,7 +885,7 @@
 
 config SOUND_WAVEFRONT
 	tristate "Full support for Turtle Beach WaveFront (Tropez Plus, Tropez, Maui) synth/soundcards"
-	depends on SOUND_OSS && m
+	depends on SOUND_OSS && m && OBSOLETE_OSS_DRIVER
 	help
 	  Answer Y or M if you have a Tropez Plus, Tropez or Maui sound card
 	  and read the files <file:Documentation/sound/oss/Wavefront> and
@@ -878,7 +893,7 @@
 
 config SOUND_MAUI
 	tristate "Limited support for Turtle Beach Wave Front (Maui, Tropez) synthesizers"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y here if you have a Turtle Beach Wave Front, Maui, or Tropez
 	  sound card.
@@ -904,7 +919,7 @@
 
 config SOUND_YM3812
 	tristate "Yamaha FM synthesizer (YM3812/OPL-3) support"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	---help---
 	  Answer Y if your card has a FM chip made by Yamaha (OPL2/OPL3/OPL4).
 	  Answering Y is usually a safe and recommended choice, however some
@@ -920,7 +935,7 @@
 
 config SOUND_OPL3SA1
 	tristate "Yamaha OPL3-SA1 audio controller"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a Yamaha OPL3-SA1 sound chip, which is
 	  usually built into motherboards. Read
@@ -946,7 +961,7 @@
 
 config SOUND_YMFPCI
 	tristate "Yamaha YMF7xx PCI audio (native mode)"
-	depends on SOUND_OSS && PCI
+	depends on SOUND_OSS && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Support for Yamaha cards including the YMF711, YMF715, YMF718,
 	  YMF719, YMF724, Waveforce 192XG, and Waveforce 192 Digital.
@@ -1088,11 +1103,11 @@
 
 config SOUND_ALI5455
 	tristate "ALi5455 audio support"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 
 config SOUND_FORTE
 	tristate "ForteMedia FM801 driver"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you want driver support for the ForteMedia FM801 PCI
 	  audio controller (Abit AU10, Genius Sound Maker, HP Workstation
@@ -1100,7 +1115,7 @@
 
 config SOUND_RME96XX
 	tristate "RME Hammerfall (RME96XX) support"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a Hammerfall or Hammerfall light
 	  multichannel card from RME. If you want to access advanced
@@ -1108,7 +1123,7 @@
 
 config SOUND_AD1980
 	tristate "AD1980 front/back switch plugin"
-	depends on SOUND_PRIME
+	depends on SOUND_PRIME && OBSOLETE_OSS_DRIVER
 
 config SOUND_SH_DAC_AUDIO
 	tristate "SuperH DAC audio support"

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-30 10:51 [2.6 patch] schedule obsolete OSS drivers for removal Adrian Bunk
  2005-10-30 13:41 ` Gene Heskett
  2005-10-30 14:27 ` Kyle McMartin
@ 2005-10-30 18:06 ` Andi Kleen
  2005-10-30 18:38   ` Adrian Bunk
  2005-10-31  7:06   ` Lee Revell
  2 siblings, 2 replies; 193+ messages in thread
From: Andi Kleen @ 2005-10-30 18:06 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel, akpm

Adrian Bunk <bunk@stusta.de> writes:

> This patch schedules obsolete OSS drivers (with ALSA drivers that support the
> same hardware) for removal.
> 
> Scheduling the via82cxxx driver for removal was ACK'ed by Jeff Garzik.

I would prefer if the ICH driver be kept. It works just fine on near
all my systems and has a much smaller binary size than the ALSA
variant. Moving to ALSA would bloat the kernels considerably.

-Andi

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-30 18:06 ` Andi Kleen
@ 2005-10-30 18:38   ` Adrian Bunk
  2005-10-30 19:35     ` Andi Kleen
  2005-10-31  7:06   ` Lee Revell
  1 sibling, 1 reply; 193+ messages in thread
From: Adrian Bunk @ 2005-10-30 18:38 UTC (permalink / raw)
  To: Andi Kleen; +Cc: linux-kernel, akpm

On Sun, Oct 30, 2005 at 07:06:39PM +0100, Andi Kleen wrote:
> Adrian Bunk <bunk@stusta.de> writes:
> 
> > This patch schedules obsolete OSS drivers (with ALSA drivers that support the
> > same hardware) for removal.
> > 
> > Scheduling the via82cxxx driver for removal was ACK'ed by Jeff Garzik.
> 
> I would prefer if the ICH driver be kept. It works just fine on near
> all my systems and has a much smaller binary size than the ALSA
> variant. Moving to ALSA would bloat the kernels considerably.

???

$ ls -la sound/oss/i810_audio.o sound/pci/intel8x0.o
-rw-rw-r--  1 bunk bunk 38056 2005-10-30 13:43 sound/oss/i810_audio.o
-rw-rw-r--  1 bunk bunk 34344 2005-10-30 13:44 sound/pci/intel8x0.o
$ 

The general decision for the OSS -> ALSA move was long ago.

If you have a real issue with the ALSA driver please submit a proper 
bug report to the ALSA bug tracking system and tell me the bug number.

> -Andi

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-30 18:38   ` Adrian Bunk
@ 2005-10-30 19:35     ` Andi Kleen
  2005-10-30 19:49       ` Adrian Bunk
  0 siblings, 1 reply; 193+ messages in thread
From: Andi Kleen @ 2005-10-30 19:35 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel, akpm

On Sunday 30 October 2005 19:38, Adrian Bunk wrote:

> ???
> 
> $ ls -la sound/oss/i810_audio.o sound/pci/intel8x0.o
> -rw-rw-r--  1 bunk bunk 38056 2005-10-30 13:43 sound/oss/i810_audio.o
> -rw-rw-r--  1 bunk bunk 34344 2005-10-30 13:44 sound/pci/intel8x0.o
> $ 
> 
> The general decision for the OSS -> ALSA move was long ago.

If you compare the complete size of ALSA+driver vs OSS+driver then
OSS wins easily on the bloat department.

> If you have a real issue with the ALSA driver please submit a proper 
> bug report to the ALSA bug tracking system and tell me the bug number.

Avoiding bloat is a real issue.

-Andi

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-30 19:35     ` Andi Kleen
@ 2005-10-30 19:49       ` Adrian Bunk
  2005-10-31 11:09         ` Takashi Iwai
  2005-10-31 15:59         ` Nix
  0 siblings, 2 replies; 193+ messages in thread
From: Adrian Bunk @ 2005-10-30 19:49 UTC (permalink / raw)
  To: Andi Kleen; +Cc: linux-kernel, akpm

On Sun, Oct 30, 2005 at 08:35:49PM +0100, Andi Kleen wrote:
> On Sunday 30 October 2005 19:38, Adrian Bunk wrote:
> 
> > ???
> > 
> > $ ls -la sound/oss/i810_audio.o sound/pci/intel8x0.o
> > -rw-rw-r--  1 bunk bunk 38056 2005-10-30 13:43 sound/oss/i810_audio.o
> > -rw-rw-r--  1 bunk bunk 34344 2005-10-30 13:44 sound/pci/intel8x0.o
> > $ 
> > 
> > The general decision for the OSS -> ALSA move was long ago.
> 
> If you compare the complete size of ALSA+driver vs OSS+driver then
> OSS wins easily on the bloat department.

If this is your problem then you should have vetoed the inclusion of 
ALSA into the kernel.

> > If you have a real issue with the ALSA driver please submit a proper 
> > bug report to the ALSA bug tracking system and tell me the bug number.
> 
> Avoiding bloat is a real issue.

OK, what is your plan to make ALSA non-bloated?

E.g. it's clear that unused code or unused EXPORT_SYMBOL's in the kernel 
are bloat, so I am working on eliminating such bloat.

If you consider ALSA too bloated you should help on solving this issue 
instead of insisting on keeping OSS.

> -Andi

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-30 18:06 ` Andi Kleen
  2005-10-30 18:38   ` Adrian Bunk
@ 2005-10-31  7:06   ` Lee Revell
  1 sibling, 0 replies; 193+ messages in thread
From: Lee Revell @ 2005-10-31  7:06 UTC (permalink / raw)
  To: Andi Kleen; +Cc: Adrian Bunk, linux-kernel, akpm

On Sun, 2005-10-30 at 19:06 +0100, Andi Kleen wrote:
> Adrian Bunk <bunk@stusta.de> writes:
> 
> > This patch schedules obsolete OSS drivers (with ALSA drivers that support the
> > same hardware) for removal.
> > 
> > Scheduling the via82cxxx driver for removal was ACK'ed by Jeff Garzik.
> 
> I would prefer if the ICH driver be kept. It works just fine on near
> all my systems and has a much smaller binary size than the ALSA
> variant. Moving to ALSA would bloat the kernels considerably.
> 

The emu10k1 ALSA driver is considerably smaller than the OSS driver and
has more features, like most ALSA drivers.  If the ICH driver is really
smaller I suspect it's missing some functionality.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-30 19:49       ` Adrian Bunk
@ 2005-10-31 11:09         ` Takashi Iwai
  2005-10-31 15:59         ` Nix
  1 sibling, 0 replies; 193+ messages in thread
From: Takashi Iwai @ 2005-10-31 11:09 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Andi Kleen, linux-kernel, akpm

At Sun, 30 Oct 2005 20:49:51 +0100,
Adrian Bunk wrote:
> 
> > > If you have a real issue with the ALSA driver please submit a proper 
> > > bug report to the ALSA bug tracking system and tell me the bug number.
> > 
> > Avoiding bloat is a real issue.
> 
> OK, what is your plan to make ALSA non-bloated?

The biggest part is the PCM middle layer.  It's bold.
It's one of my TODO list to diet this one, especially for small
systems.

The amount of ac97 codec support code may be easily reduced, too, by 
selecting codec chips to support.  It's not a generic solution for
distributions but good for private built kernels.


Takashi

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-30 19:49       ` Adrian Bunk
  2005-10-31 11:09         ` Takashi Iwai
@ 2005-10-31 15:59         ` Nix
  2005-10-31 16:27           ` Michael Buesch
  1 sibling, 1 reply; 193+ messages in thread
From: Nix @ 2005-10-31 15:59 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel

On 30 Oct 2005, Adrian Bunk said:
> E.g. it's clear that unused code or unused EXPORT_SYMBOL's in the kernel 
> are bloat, so I am working on eliminating such bloat.

And thank you very much for that!

What's most notable to me is a substantial cross-arch reduction in .data
space consumed. This non-FUSE-2.6.13 versus FUSE-2.6.14 UltraSPARC
comparison shows this effect clearly:

-rwxr-xr-x  1 root root 3460304 Oct 13 00:55 vmlinux-2.6.13.4
-rwxr-xr-x  1 root root 3190448 Oct 29 17:18 vmlinux-2.6.14

                         2.6.13.4     2.6.14 
section                      size       size    diff
.text                     2330144    2341280  +10236
.rodata                    198361     199009    +648
.pci_fixup                   1536       1536       0
__ksymtab                   32352      32336     -16
__ksymtab_gpl                3536       4048    +512
__kcrctab                       0          0       0
__kcrctab_gpl                   0          0       0
__ksymtab_strings           44688      45424    +736
__param                      1640       1640       0
.data                      669288     387576 -281712
.data.cacheline_aligned       704        704       0
.data.read_mostly             428      13144  -12716
.fixup                      18256      18268     +12
__ex_table                  15760      15768      +8
.init.text                 109728      94528  -15200
.init.data                   7280       8712   +1432
.init.setup                   792        816     +24
.initcall.init                784        808     +24
.con_initcall.init             16         16       0
.security_initcall.init         0          0       0
.init.ramfs                   134        134       0
.bss                       226528     226152    -376
.note.GNU-stack                 0          0       0
__ex_table.1                  216        216       0
__ex_table.2                   16        496    +480
Total                     3662187    3392611 -269576

On a similarly-configured Athlon the difference in .data is a little
less pronounced, but still there.

UltraSPARC 2.6.13.4 versus 2.6.14 at boot:

Memory: 511576k available (2280k kernel code, 936k data, 128k init) [fffff80000000000,0000000037ebc000]
Memory: 511848k available (2288k kernel code, 672k data, 112k init) [fffff80000000000,0000000037ebc000]

(that's 264K, the same as the .data size difference above)

Athlon 2.6.13.4 versus 2.6.14 at book:

Memory: 774828k/786432k available (2794k kernel code, 11156k reserved, 1022k data, 148k init, 0k highmem)
Memory: 774996k/786432k available (2833k kernel code, 10988k reserved, 808k data, 152k init, 0k highmem)

(that's 214K different in .data although kernel code has grown a little
here, probably thanks to FUSE).

Most OSes cannot claim to shrink across upgrades. Linux, at least the
kernel, can. :)

-- 
`"Gun-wielding recluse gunned down by local police" isn't the epitaph
 I want. I am hoping for "Witnesses reported the sound up to two hundred
 kilometers away" or "Last body part finally located".' --- James Nicoll

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-31 15:59         ` Nix
@ 2005-10-31 16:27           ` Michael Buesch
  2005-10-31 16:36             ` Nix
  0 siblings, 1 reply; 193+ messages in thread
From: Michael Buesch @ 2005-10-31 16:27 UTC (permalink / raw)
  To: Nix, Adrian Bunk; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 549 bytes --]

On Monday 31 October 2005 16:59, you wrote:
> On 30 Oct 2005, Adrian Bunk said:
> > E.g. it's clear that unused code or unused EXPORT_SYMBOL's in the kernel 
> > are bloat, so I am working on eliminating such bloat.
> 
> And thank you very much for that!
> 
> What's most notable to me is a substantial cross-arch reduction in .data
> space consumed. This non-FUSE-2.6.13 versus FUSE-2.6.14 UltraSPARC
> comparison shows this effect clearly:


> .data.read_mostly             428      13144  -12716
+12716


-- 
Greetings Michael.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-31 16:27           ` Michael Buesch
@ 2005-10-31 16:36             ` Nix
  0 siblings, 0 replies; 193+ messages in thread
From: Nix @ 2005-10-31 16:36 UTC (permalink / raw)
  To: Michael Buesch; +Cc: Adrian Bunk, linux-kernel

On Mon, 31 Oct 2005, Michael Buesch said:
>> .data.read_mostly             428      13144  -12716
> +12716

Um. Yes. Of course.

(I *knew* I should have automated that. Bah. *slaps self*)

-- 
`"Gun-wielding recluse gunned down by local police" isn't the epitaph
 I want. I am hoping for "Witnesses reported the sound up to two hundred
 kilometers away" or "Last body part finally located".' --- James Nicoll

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-30 15:12   ` Adrian Bunk
  2005-10-30 15:19     ` Kyle McMartin
@ 2005-10-31 16:50     ` Lee Revell
  2005-11-01 14:55       ` Adrian Bunk
  1 sibling, 1 reply; 193+ messages in thread
From: Lee Revell @ 2005-10-31 16:50 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Kyle McMartin, Andrew Morton, linux-kernel

On Sun, 2005-10-30 at 16:12 +0100, Adrian Bunk wrote:
> On Sun, Oct 30, 2005 at 09:27:52AM -0500, Kyle McMartin wrote:
> > On Sun, Oct 30, 2005 at 11:51:18AM +0100, Adrian Bunk wrote:
> > > 
> > > This patch schedules obsolete OSS drivers (with ALSA drivers that support the
> > > same hardware) for removal.
> > >
> > 
> > I didn't see it here, but SOUND_AD1889 can definitely be removed
> > as well. The driver never worked properly to begin with. This was
> > ACK'd by the author last time this thread reared it's head.
> 
> ALSA bugs [1] #1301 and #1302 are still open.

I think these bug reports can be disregarded.  The submitter never
responded to requests to retest with the latest ALSA version.  #1302 is
almost certainly a bug in kphone anyway.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-10-31 16:50     ` [2.6 " Lee Revell
@ 2005-11-01 14:55       ` Adrian Bunk
  0 siblings, 0 replies; 193+ messages in thread
From: Adrian Bunk @ 2005-11-01 14:55 UTC (permalink / raw)
  To: Lee Revell; +Cc: Kyle McMartin, Andrew Morton, linux-kernel

On Mon, Oct 31, 2005 at 11:50:52AM -0500, Lee Revell wrote:
> On Sun, 2005-10-30 at 16:12 +0100, Adrian Bunk wrote:
> > 
> > ALSA bugs [1] #1301 and #1302 are still open.
> 
> I think these bug reports can be disregarded.  The submitter never
> responded to requests to retest with the latest ALSA version.  #1302 is
> almost certainly a bug in kphone anyway.

If these bugs will be marked as resolved/closed when I'll send the next 
batch of OSS driver removals a few months from now, SOUND_AD1816 will be 
part of this batch.

> Lee

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-09 16:21                                                               ` Ville Herva
@ 2006-01-09 16:22                                                                 ` Lee Revell
  0 siblings, 0 replies; 193+ messages in thread
From: Lee Revell @ 2006-01-09 16:22 UTC (permalink / raw)
  To: vherva
  Cc: Florian Schmidt, Tomasz K³oczko, Adrian Bunk, Jesper Juhl,
	Takashi Iwai, Olivier Galibert, Alistair John Strachan,
	Jan Engelhardt, Andi Kleen, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Mon, 2006-01-09 at 18:21 +0200, Ville Herva wrote:
> Revo51 is ICE1724 based. I gather I still need the asoundrc config to get
> some kind of mixing, right? At least it doesn't work without (and with it,
> it badly stutters right now.)

Try the latest ALSA CVS code.

Lee



^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-09 15:18                                                             ` Lee Revell
@ 2006-01-09 16:21                                                               ` Ville Herva
  2006-01-09 16:22                                                                 ` Lee Revell
  0 siblings, 1 reply; 193+ messages in thread
From: Ville Herva @ 2006-01-09 16:21 UTC (permalink / raw)
  To: Lee Revell
  Cc: Florian Schmidt, Tomasz K³oczko, Adrian Bunk, Jesper Juhl,
	Takashi Iwai, Olivier Galibert, Alistair John Strachan,
	Jan Engelhardt, Andi Kleen, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Mon, Jan 09, 2006 at 10:18:13AM -0500, you [Lee Revell] wrote:
> 
> Since ALSA 1.0.9 (alsa-lib and alsa-driver > 1.0.9 required) no special
> configuration is required to get software mixing to work for i815 (and
> other chipsets which lack hardware mixing), with a few exception like
> ICE1712 and ICE1724 where a more complex configuration was required due
> to hardware restrictions.
> 
> You should never have to touch an .asoundrc file to get software mixing
> to work, if you do it's a bug.

When I tried with i815, my ALSA version might have been <= 1.0.9. 

Revo51 is ICE1724 based. I gather I still need the asoundrc config to get
some kind of mixing, right? At least it doesn't work without (and with it,
it badly stutters right now.)



-- v -- 

v@iki.fi


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-09 14:22                                                           ` Ville Herva
@ 2006-01-09 15:18                                                             ` Lee Revell
  2006-01-09 16:21                                                               ` Ville Herva
  0 siblings, 1 reply; 193+ messages in thread
From: Lee Revell @ 2006-01-09 15:18 UTC (permalink / raw)
  To: vherva
  Cc: Florian Schmidt, Tomasz K³oczko, Adrian Bunk, Jesper Juhl,
	Takashi Iwai, Olivier Galibert, Alistair John Strachan,
	Jan Engelhardt, Andi Kleen, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Mon, 2006-01-09 at 16:22 +0200, Ville Herva wrote:
> On Mon, Jan 09, 2006 at 08:52:11AM -0500, you [Lee Revell] wrote:
> > 
> > Sure, we'd like the bug report.  
> 
> I will try to come up with one.
> 
> > I just wanted to point out that many people who tell everyone that "ALSA
> > sucks" like you and JWZ, have really just made the mistake of buying
> > bleeding edge barely-supported hardware.
> 
> Yes.
> 
> I'll happily admit I definetely made just that mistake.
> 
> Before I bought the new card, I did some quick asking around, and heard that
> M-Audio was supposedly good. I just wanted better sound quality than the
> integrated I815 sound (shouldn't be much to ask), and preferably HW mixing.
> I checked that revo7.1 was supported, but when I went to the reseller, they
> were out of stock for that one. So I made a quick and unconsidered decision
> to buy revo5.1 instead.
> 
> So it was definetely bad research on my part. 
> 
> But I still maintain that the asoundrc required for swmixing is not as
> trivial as "just works". It wasn't even with i815 audio.

Since ALSA 1.0.9 (alsa-lib and alsa-driver > 1.0.9 required) no special
configuration is required to get software mixing to work for i815 (and
other chipsets which lack hardware mixing), with a few exception like
ICE1712 and ICE1724 where a more complex configuration was required due
to hardware restrictions.

You should never have to touch an .asoundrc file to get software mixing
to work, if you do it's a bug.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-09 13:52                                                         ` Lee Revell
@ 2006-01-09 14:22                                                           ` Ville Herva
  2006-01-09 15:18                                                             ` Lee Revell
  0 siblings, 1 reply; 193+ messages in thread
From: Ville Herva @ 2006-01-09 14:22 UTC (permalink / raw)
  To: Lee Revell
  Cc: Florian Schmidt, Tomasz K³oczko, Adrian Bunk, Jesper Juhl,
	Takashi Iwai, Olivier Galibert, Alistair John Strachan,
	Jan Engelhardt, Andi Kleen, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Mon, Jan 09, 2006 at 08:52:11AM -0500, you [Lee Revell] wrote:
> 
> Sure, we'd like the bug report.  

I will try to come up with one.

> I just wanted to point out that many people who tell everyone that "ALSA
> sucks" like you and JWZ, have really just made the mistake of buying
> bleeding edge barely-supported hardware.

Yes.

I'll happily admit I definetely made just that mistake.

Before I bought the new card, I did some quick asking around, and heard that
M-Audio was supposedly good. I just wanted better sound quality than the
integrated I815 sound (shouldn't be much to ask), and preferably HW mixing.
I checked that revo7.1 was supported, but when I went to the reseller, they
were out of stock for that one. So I made a quick and unconsidered decision
to buy revo5.1 instead.

So it was definetely bad research on my part. 

But I still maintain that the asoundrc required for swmixing is not as
trivial as "just works". It wasn't even with i815 audio.
 
> If vendors gave us more docs so that reverse engineering drivers was not
> the norm, the situation would improve greatly.

I understand.



-- v -- 

v@iki.fi


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-09  8:16                                                       ` Ville Herva
@ 2006-01-09 13:52                                                         ` Lee Revell
  2006-01-09 14:22                                                           ` Ville Herva
  0 siblings, 1 reply; 193+ messages in thread
From: Lee Revell @ 2006-01-09 13:52 UTC (permalink / raw)
  To: vherva
  Cc: Florian Schmidt, Tomasz K³oczko, Adrian Bunk, Jesper Juhl,
	Takashi Iwai, Olivier Galibert, Alistair John Strachan,
	Jan Engelhardt, Andi Kleen, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Mon, 2006-01-09 at 10:16 +0200, Ville Herva wrote:
> On Sun, Jan 08, 2006 at 04:44:28PM -0500, you [Lee Revell] wrote:
> > 
> > No it's a sign that the Revolution 5.1 is not well supported yet.  It
> > was not supported at all until a few weeks ago.
> 
> Ok, I see. (It was just that the revo51 changelog entry revo51 was not
> exactly verbose wrt. what's supported.)
> 
> You won't need the bug report just yet, then? 
> 
> I'll keep retesting the new releases.

Sure, we'd like the bug report.  I just wanted to point out that many
people who tell everyone that "ALSA sucks" like you and JWZ, have really
just made the mistake of buying bleeding edge barely-supported hardware.

If vendors gave us more docs so that reverse engineering drivers was not
the norm, the situation would improve greatly.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-08 21:44                                                     ` Lee Revell
@ 2006-01-09  8:16                                                       ` Ville Herva
  2006-01-09 13:52                                                         ` Lee Revell
  0 siblings, 1 reply; 193+ messages in thread
From: Ville Herva @ 2006-01-09  8:16 UTC (permalink / raw)
  To: Lee Revell
  Cc: Florian Schmidt, Tomasz K³oczko, Adrian Bunk, Jesper Juhl,
	Takashi Iwai, Olivier Galibert, Alistair John Strachan,
	Jan Engelhardt, Andi Kleen, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Sun, Jan 08, 2006 at 04:44:28PM -0500, you [Lee Revell] wrote:
> 
> No it's a sign that the Revolution 5.1 is not well supported yet.  It
> was not supported at all until a few weeks ago.

Ok, I see. (It was just that the revo51 changelog entry revo51 was not
exactly verbose wrt. what's supported.)

You won't need the bug report just yet, then? 

I'll keep retesting the new releases.


-- v -- 

v@iki.fi


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-08 21:07                                                   ` Ville Herva
@ 2006-01-08 21:44                                                     ` Lee Revell
  2006-01-09  8:16                                                       ` Ville Herva
  0 siblings, 1 reply; 193+ messages in thread
From: Lee Revell @ 2006-01-08 21:44 UTC (permalink / raw)
  To: vherva
  Cc: Florian Schmidt, Tomasz K³oczko, Adrian Bunk, Jesper Juhl,
	Takashi Iwai, Olivier Galibert, Alistair John Strachan,
	Jan Engelhardt, Andi Kleen, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Sun, 2006-01-08 at 23:07 +0200, Ville Herva wrote:
> On Thu, Jan 05, 2006 at 12:48:49PM -0500, you [Lee Revell] wrote:
> > On Thu, 2006-01-05 at 12:43 +0100, Florian Schmidt wrote:
> > > BTW: Don't expect people to always write bug reports. We all know,
> > > people are lazy. More often than not, they simply give up and say
> > > "linux sucks" to their friends. Or if they can differentiate a little
> > > more, they'll say "ALSA sucks" ;) [<- smiley, indicates humor].
> > > Especially those who use closed source apps ;) 
> > 
> > Of course I don't expect every end user with a problem to file a bug
> > report (although Mantis makes it much easier than Bugzilla) but I sure
> > as hell expect people who complain about ALSA on LKML to.
> > 
> > Unless we get some useful bug reports out of it this thread is much ado
> > about nothing.  Come on people, put up or shut up.
> > 
> > https://bugtrack.alsa-project.org/alsa-bug/main_page.php
> 
> I would love to make a useful bug report of dmix not working with M-Audio
> Revolution 5.1 (it stutters so badly that it's unusable), but after hours of
> twiddling with asoundrc I still can't figure out if I have it set up
> correctly. Also, I can't get any sound out of headphone output. To me this
> is a sign that perhaps the ALSA config scheme is a bit too complex, although
> more probably, it's just me being too stupid to use it.

No it's a sign that the Revolution 5.1 is not well supported yet.  It
was not supported at all until a few weeks ago.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 17:48                                                 ` Lee Revell
@ 2006-01-08 21:07                                                   ` Ville Herva
  2006-01-08 21:44                                                     ` Lee Revell
  0 siblings, 1 reply; 193+ messages in thread
From: Ville Herva @ 2006-01-08 21:07 UTC (permalink / raw)
  To: Lee Revell
  Cc: Florian Schmidt, Tomasz K³oczko, Adrian Bunk, Jesper Juhl,
	Takashi Iwai, Olivier Galibert, Alistair John Strachan,
	Jan Engelhardt, Andi Kleen, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Thu, Jan 05, 2006 at 12:48:49PM -0500, you [Lee Revell] wrote:
> On Thu, 2006-01-05 at 12:43 +0100, Florian Schmidt wrote:
> > BTW: Don't expect people to always write bug reports. We all know,
> > people are lazy. More often than not, they simply give up and say
> > "linux sucks" to their friends. Or if they can differentiate a little
> > more, they'll say "ALSA sucks" ;) [<- smiley, indicates humor].
> > Especially those who use closed source apps ;) 
> 
> Of course I don't expect every end user with a problem to file a bug
> report (although Mantis makes it much easier than Bugzilla) but I sure
> as hell expect people who complain about ALSA on LKML to.
> 
> Unless we get some useful bug reports out of it this thread is much ado
> about nothing.  Come on people, put up or shut up.
> 
> https://bugtrack.alsa-project.org/alsa-bug/main_page.php

I would love to make a useful bug report of dmix not working with M-Audio
Revolution 5.1 (it stutters so badly that it's unusable), but after hours of
twiddling with asoundrc I still can't figure out if I have it set up
correctly. Also, I can't get any sound out of headphone output. To me this
is a sign that perhaps the ALSA config scheme is a bit too complex, although
more probably, it's just me being too stupid to use it.

In perfect world, both headphone out and dmix should "just work". They do
"just work" with the OSS binary blob (as does mixing with applications that
use OSS API.)

With Intel i815 integrated sound, ALSA dmix does work.


-- v -- 

v@iki.fi


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-07 14:09                                                           ` Takashi Iwai
  2006-01-07 14:57                                                             ` Marcin Dalecki
@ 2006-01-08  0:21                                                             ` Hannu Savolainen
  1 sibling, 0 replies; 193+ messages in thread
From: Hannu Savolainen @ 2006-01-08  0:21 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Marcin Dalecki, Jesper Juhl, Lee Revell, Jan Engelhardt,
	Adrian Bunk, Tomasz Torcz, Olivier Galibert,
	Alistair John Strachan, Andi Kleen, perex, alsa-devel, James,
	sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

On Sat, 7 Jan 2006, Takashi Iwai wrote:

> > There are two very opposite approaches to do a sound subsystem. The ALSA 
> > way is to expose every single detail of the hardware to the applications 
> > and to allow (or force) application developers to deal with them. The OSS 
> > approach is to provide maximum device abstraction in the API level (by 
> > isolating the apps from the hardware as much as practically possible).
> 
> Agreed, it's a good point.
> 
> Note that for long time, I've commented that I myself do _not_
> recommend to use ALSA API directly with apps.  Rather I've recommended
> to use other portable libraries with ALSA/other backends.  Writing an
> app with alsa-lib is just like to write a graphical program with X11
> lowlevel library without any toolkits...
Takashi, I knew you are smart enough to realize this. What is needed at 
the kernel level is a driver API that is strong enough to provide all the 
functionality needed to implement good user land libraries (including 
alsa-lib). At the same time the kernel API itself should be  suitable to 
be used in mainline applications. At this moment Jack is already used by 
most high end Linux sound apps which is good approach.
 
> > Both ways have their good and bad sides. During past years the ALSA 
> > advocates have been dictating that the ALSA approach is the only available 
> > way to go (all resistance is futile).
> 
> Heh, it's natural that developers think their own things work better
> :)
This is natural and acceptable. What is not acceptable is that 1000's of 
existing applications are forced to be converted to use some new API 
because the original one is seen as deprecated by the developers of the 
new one. Or to be forced to access the devices through some 
LD_PRELOAD hack and redundant layers of library code that provide very 
little if any added value.

> > But after all what is the authority 
> > who makes the final decision? Is it the ALSA team (who would like to think 
> > in this way)? Or do the Linux/Unix users and audio application developers 
> > have any word to say?
> 
> I, at least, have never thought that the OSS _API_ would die.  Since
> they have existed, they will exist.  The question on LKML should be
> rather the implementation (for apps it doesn't matter how the sound
> system is implemented as long as it keeps API).
This is OK as far as long as the approach taken doesn't make it impossible 
to develop the OSS API as a pure kernel API as it has been designed to be. 
Development of OSS is still continuing as a stand alone project. In the 
long term it will be open sourced and possibly given to some Xorg like 
consortium. How soon (if ever) this is going to happen is mostly a funding 
issue.

The ALSA kernel API is not documented and it's not intended to be 
used directly by the apps. If OSS is moved behind some user land wrappers 
then there is no kernel level API available for (embedded) software 
developers. Also it's very hard to believe that Linux maintainers love to 
have a kernel API that is only known to bunch of current ALSA developers 
and requires use of given library implementation (directly or indirectly).

A challenge will be finding a way how both OSS and ALSA APIs can coexist 
without disturbing each other. There are many ways (better than 
artifically forcing OSS API to be emulated in user land). I'm confident 
that something can be worked out.

> In the implementation of OSS API, there is a clear bottleneck: you
> have to implement everthing in the kernel level because of its
> definition.
I very well know this limitation. I have never claimed that everything 
can or should be done in the kernel. There is lot of stuff that can be 
done better in user land library/app code. OSS itself doesn't contain any 
library code because we think there are other developers that can do 
libraries better than we.

> Remember that the original thread started from the
> reduction of the kernel codes.  Putting more stuff which could be done
> better in user-space is a major drawback, IMO.
Completely agree. There are many things such as effect plugins that cannot 
be done in kernel space (or technically they can be done but they should 
not be done). 

However there are things like endianess conversions that can be done 
equally well in kernel space (while in an ideal world they belong to 
userland). Such simple operations don't take longer than nanoseconds to 
execute and they make implementing the user land code simplier. 

And surprise surprise there are things that can be done much better in 
kernel space than in userland. If some processing is done in the interrupt 
handler there are no scheduling latencies involved. Interrupt handlers 
fire in microseconds so the device can be programmed to interrupt after 
each sample. This in totally cannibalises the system by raising interrupt 
overhead significantly (up to 5-20%). It is known that  kernel developers 
don't like this kind of core porno at all. However if zero latency audio 
processing is the primary purpose of the system then this is the way to go.

Avoiding kernel code that can be handled in userland is the rule. But as 
you may see even this rule has some exceptions.

Best regards,

Hannu
-----
Hannu Savolainen (hannu@opensound.com)
http://www.opensound.com (Open Sound System (OSS))
http://www.compusonic.fi (Finnish OSS pages)
OH2GLH QTH: Karkkila, Finland LOC: KP20CM

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-07 14:09                                                           ` Takashi Iwai
@ 2006-01-07 14:57                                                             ` Marcin Dalecki
  2006-01-08  0:21                                                             ` Hannu Savolainen
  1 sibling, 0 replies; 193+ messages in thread
From: Marcin Dalecki @ 2006-01-07 14:57 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Hannu Savolainen, Jesper Juhl, Lee Revell, Jan Engelhardt,
	Adrian Bunk, Tomasz Torcz, Olivier Galibert,
	Alistair John Strachan, Andi Kleen, perex, alsa-devel, James,
	sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel


On 2006-01-07, at 15:09, Takashi Iwai wrote:
>
> In the implementation of OSS API, there is a clear bottleneck: you
> have to implement everthing in the kernel level because of its
> definition.  Remember that the original thread started from the
> reduction of the kernel codes.  Putting more stuff which could be done
> better in user-space is a major drawback, IMO.

One point - there isn't that much to be done inside the kernel for  
the realm
of a generic sound driver. Not if you compare it with other sub  
systems like the SCSI host
controller layer or WiFi protocols for example. BTW. By your argument  
the encryption doesn't
belong in to the kernel as well. In fact one should go even further  
and compare sound
facilities with the *whole* block device layer for example. Mixing  
and *even* resampling
data streams are quite formidable tasks from an algorithmic point of  
view if done properly and not just applying the square transformation  
window as in simple averaging methods one encounters so frequently!.
However let me assure you that it would by no way result in that many  
code lines as in
typical decisive protocol code implementations.

A whole complex cross correlation containing a butterfly FFT core for  
example doesn't take
much more then just about 500 lines of C code. And it's FAST.  
Basically hitting DRAM speed.
Thus technically it's nowadays complete utter nonsense to offload it  
to some additional hardware or to
copy the data for processing in to user space and back.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-06  1:36                                                         ` Hannu Savolainen
  2006-01-06  9:54                                                           ` James Courtier-Dutton
  2006-01-06 10:34                                                           ` Gabor Gombas
@ 2006-01-07 14:09                                                           ` Takashi Iwai
  2006-01-07 14:57                                                             ` Marcin Dalecki
  2006-01-08  0:21                                                             ` Hannu Savolainen
  2 siblings, 2 replies; 193+ messages in thread
From: Takashi Iwai @ 2006-01-07 14:09 UTC (permalink / raw)
  To: Hannu Savolainen
  Cc: Marcin Dalecki, Jesper Juhl, Lee Revell, Jan Engelhardt,
	Adrian Bunk, Tomasz Torcz, Olivier Galibert,
	Alistair John Strachan, Andi Kleen, perex, alsa-devel, James,
	sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

At Fri, 6 Jan 2006 03:36:47 +0200 (EET),
Hannu Savolainen wrote:
> 
> On Fri, 6 Jan 2006, Marcin Dalecki wrote:
> 
> > 
> > 
> > No I do not. How do you dare to assume I do?
> > I never ever did ask for any support on behalf of the ALSA bunch...
> > We are just discussing the merits of one sound system design
> > over another one (without design).
> Which is really a good subject to discuss about (LKML may not be the right 
> place for this). ALSA has been in the official kernel for two years now so 
> might this be a good time to look back?
> 
> There are two very opposite approaches to do a sound subsystem. The ALSA 
> way is to expose every single detail of the hardware to the applications 
> and to allow (or force) application developers to deal with them. The OSS 
> approach is to provide maximum device abstraction in the API level (by 
> isolating the apps from the hardware as much as practically possible).

Agreed, it's a good point.

Note that for long time, I've commented that I myself do _not_
recommend to use ALSA API directly with apps.  Rather I've recommended
to use other portable libraries with ALSA/other backends.  Writing an
app with alsa-lib is just like to write a graphical program with X11
lowlevel library without any toolkits...

> Both ways have their good and bad sides. During past years the ALSA 
> advocates have been dictating that the ALSA approach is the only available 
> way to go (all resistance is futile).

Heh, it's natural that developers think their own things work better
:)

> But after all what is the authority 
> who makes the final decision? Is it the ALSA team (who would like to think 
> in this way)? Or do the Linux/Unix users and audio application developers 
> have any word to say?

I, at least, have never thought that the OSS _API_ would die.  Since
they have existed, they will exist.  The question on LKML should be
rather the implementation (for apps it doesn't matter how the sound
system is implemented as long as it keeps API).

In the implementation of OSS API, there is a clear bottleneck: you
have to implement everthing in the kernel level because of its
definition.  Remember that the original thread started from the
reduction of the kernel codes.  Putting more stuff which could be done
better in user-space is a major drawback, IMO.


Takashi

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-06 20:26                                                 ` Jaroslav Kysela
  2006-01-07  0:40                                                   ` Marcin Dalecki
@ 2006-01-07  0:56                                                   ` Olivier Galibert
  1 sibling, 0 replies; 193+ messages in thread
From: Olivier Galibert @ 2006-01-07  0:56 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: ALSA development, linux-sound

On Fri, Jan 06, 2006 at 09:26:42PM +0100, Jaroslav Kysela wrote:
> You're proposing to add more content switches versus current ALSA 
> implementation:
> 
> user space <-> kernel
> 
> While your daemon requires:
> 
> user space <-> kernel <-> user space (daemon)

Dmix _is_ a context switch, you know?


> So your solution is even more realtime and proper scheduling dependant.
> Unfortunately, Linux kernels still do not have perfect realtime behaviour 
> (mostly due to broken drivers etc.).

You only get context switches if you go through plugins, which is
pretty much the same way alsa currently is, isn't it?


> Also, the API is completely irrelevant from this scheme. If daemon does 
> everything, the ALSA kernel API can go public and documented (altough I 
> still does not agree with it - see bellow).

The ALSA kernel API better go documented soon or I'll have to document
it myself.  Security and openness-wise, it is just not acceptable to
have a user-accessive kernel API kept under wraps.


> > ALSA does not have a documented kernel interface nor an optional
> > library but a mandatory library.  A highly complex, ipc-using library
> 
> It's also not very true. You can create your own ALSA library,

After reverse-engineering your kernel interface.  How convenient.


> but this library will not be supported with our team.

Of course.  You won't have to though, since you claim the API is
upwards compatible.


> The ALSA from 1.0 version is 
> binary compatible (even 0.9.0rc4+ linked applications should work) and old 
> ioctls are emulated.

Good.


> I'd like to point that this code runs with standard user priviledges. I 
> think that the security things are and should be in a different place (in 
> the kernel). If IPC is broken, other applications (not only using sound) 
> might be broken.

Every application that does inter-process communication has potential
protocol-level security issues.  Current ALSA creates two shared
memory zones and one semaphore with group write permissions.  In a
setup where a number of people are in the same group (student group
for instance), are you 100% positive that another user cannot take
control of the running application by writing the right values at the
right time in these zones?  Shared memory is the most dangerous
communication vector there is when the other application is
untrustable.


> > At least OSS, with all its flaws, is a documented kernel interface.
> > You can static link a oss-using program, whether it uses it directly
> > or through interfaces like sdl-audio, and it will just work.
> 
> Please, see your words. You're simply anarchistic. You replaced 
> flexibility of dynamic library with a possibility to have static binary.

I am indeed not really interested in reproducing the dll hell of
windows in linux.  I want simple but really efficient interfaces to
kernel services which then give the possibility to build special needs
libraries over it[1].  At that point you're designing an API for a
specific class of professional audio users and essentially telling all
the other users to bugger off.  Bad karma.


> ALSA library can be also compiled as static library, so it's not a 
> problem. The ALSA kernel API is stable.

Yeah, that's the second time you're saying that.  I'm sure Dave Jones
will be really happy to know that his impressions were mistaken and
his bugzilla was just having hallucinations:
  http://marc.theaimsgroup.com/?l=linux-kernel&m=113589615627420&w=2
  http://marc.theaimsgroup.com/?l=linux-kernel&m=113225994603627&w=2


> Also, we use symbol versions for 
> all exported functions, so all old binaries linked with the dynamic alsa 
> library will work.

Like all the programs I had which segfaulted after the alsa upgrade
that changed set_rate_near.  Beautiful versioning there guys.


> Of course, the drivers might change some universal 
> control names,

Yeah, also known as "the stick which broke jwz's back".


> Also note, that if OSS had the API in userspace from the first days,
> the emulation or redirection of this API to another API or user space 
> drivers wouldn't be so much complicated nowadays. Bummer.

It would be exactly as complicated because of the static link issue.

  OG.

[1] SDL, jack and slmodem are I think good examples

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-06 20:26                                                 ` Jaroslav Kysela
@ 2006-01-07  0:40                                                   ` Marcin Dalecki
  2006-01-07  0:56                                                   ` Olivier Galibert
  1 sibling, 0 replies; 193+ messages in thread
From: Marcin Dalecki @ 2006-01-07  0:40 UTC (permalink / raw)
  To: Jaroslav Kysela
  Cc: Olivier Galibert, Diego Calleja, rlrevell, jengelh, Takashi Iwai,
	jesper.juhl, bunk, zdzichu, s0348365, ak, ALSA development,
	James, sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	linux, zwane, zaitcev, LKML


On 2006-01-06, at 21:26, Jaroslav Kysela wrote:
>
> I got the point, but the audio is very specific that it requires  
> realtime
> scheduling. Even graphics is not so tied with realtime, because a
> scheduling gap does not end with error or very ugly misbehaviour  
> (pops)
> like in audio.

Nonsense. You just got too used to utterly bad behavior imposed by  
the inherently defective
X11 graphics system. Like stuttering mouse movements. Like race  
conditions between popup menus
and background menus and so on and so forth... Hick-ups when suddenly  
the system starts to do some paging...
More staggering examples simply don't occur that obviously in praxis  
because the interface
designers refrain from using some effects like subtly animated icon  
change and menu animations
redrawing. But it's by no way an argument which could be used to  
justify the deficiency of
some audio system. And BTW. A proper user interface system requires  
synchronization between
audio and video.

So there you are - all over the pill - soft real time requirements.  
Actually not that soft at all.
It always surprises me how efficient and demanding the perceptive  
system of a hunter and
gatherer is, which only just recently got the sudden idea that it may  
be nice to spend
his time in front of an engine generating animated images.

>> At least OSS, with all its flaws, is a documented kernel interface.
>> You can static link a oss-using program, whether it uses it directly
>> or through interfaces like sdl-audio, and it will just work.
>
> Please, see your words. You're simply anarchistic. You replaced
> flexibility of dynamic library with a possibility to have static  
> binary.

> Also note, that if OSS had the API in userspace from the first days,
> the emulation or redirection of this API to another API or user space
> drivers wouldn't be so much complicated nowadays. Bummer.

You simply don't get it. On unix like systems the definitive  
interface level is not
a library. It's the system call. Libraries can be helpful as a means  
to make some common
actions a tad bit easier. However even so simple things like state- 
full behavior there
is a complete no go. Get over it. Libraries are just too affine to
compiler releases particular programming languages and many other  
side conditions.
Do your homework and take a serious look at other operating systems  
to see how "fine" the
APIs defined by DLLs (ups) are. As an exercise ask yourself why on  
earth it takes
usually about 2 or 4 times longer to write a windows driver.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-06 14:57                                               ` Olivier Galibert
@ 2006-01-06 20:26                                                 ` Jaroslav Kysela
  2006-01-07  0:40                                                   ` Marcin Dalecki
  2006-01-07  0:56                                                   ` Olivier Galibert
  0 siblings, 2 replies; 193+ messages in thread
From: Jaroslav Kysela @ 2006-01-06 20:26 UTC (permalink / raw)
  To: Olivier Galibert
  Cc: Diego Calleja, Marcin Dalecki, rlrevell, jengelh, Takashi Iwai,
	jesper.juhl, bunk, zdzichu, s0348365, ak, ALSA development,
	James, sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	linux, zwane, zaitcev, LKML

On Fri, 6 Jan 2006, Olivier Galibert wrote:

> On Fri, Jan 06, 2006 at 03:40:26AM +0100, Diego Calleja wrote:
> > Amazing - even windows is getting sound mixing out of the kernel
> > in windows vista because they've learnt (the hard way) that it's
> > the Right Thing and linux people is trying to get it in?
> 
> You misread.  Most people just want to have things work like they
> should have for years.  Technical people, at least Marcin and I, want
> a documented kernel interface with optional libraries over it (think
> libX11 vs. the X Protocol, or glibc/klibc/uclibc/libc5 vs. the system
> calls), and then behind that have the kernel route the data to
> userspace demon(s) or the hardware depending on root-level setup and
> configuration.

I got the point, but the audio is very specific that it requires realtime 
scheduling. Even graphics is not so tied with realtime, because a 
scheduling gap does not end with error or very ugly misbehaviour (pops) 
like in audio.

You're proposing to add more content switches versus current ALSA 
implementation:

user space <-> kernel

While your daemon requires:

user space <-> kernel <-> user space (daemon)

So your solution is even more realtime and proper scheduling dependant.
Unfortunately, Linux kernels still do not have perfect realtime behaviour 
(mostly due to broken drivers etc.).

Also, the API is completely irrelevant from this scheme. If daemon does 
everything, the ALSA kernel API can go public and documented (altough I 
still does not agree with it - see bellow).

> ALSA does not have a documented kernel interface nor an optional
> library but a mandatory library.  A highly complex, ipc-using library

It's also not very true. You can create your own ALSA library, but this 
library will not be supported with our team. The ALSA from 1.0 version is 
binary compatible (even 0.9.0rc4+ linked applications should work) and old 
ioctls are emulated.

> with no security audit that I could find with google.  A library for
> which people do not seem to care about compatibility with previous or
> future kernel versions, which means it _has_ to be shared.  And shared
> libraries are just unacceptable in some contexts, like distributing
> binaries outside of a specific linux distribution[1].

I'd like to point that this code runs with standard user priviledges. I 
think that the security things are and should be in a different place (in 
the kernel). If IPC is broken, other applications (not only using sound) 
might be broken. If administrator (root) creates wrong configuration files 
for alsa-lib - we cannot do anything. It's a human error. The same problem 
is if you have this code in kernel. It can be bad (even more than in the 
user space - you can shutdown whole system) too.

> At least OSS, with all its flaws, is a documented kernel interface.
> You can static link a oss-using program, whether it uses it directly
> or through interfaces like sdl-audio, and it will just work.

Please, see your words. You're simply anarchistic. You replaced 
flexibility of dynamic library with a possibility to have static binary.

ALSA library can be also compiled as static library, so it's not a 
problem. The ALSA kernel API is stable. Also, we use symbol versions for 
all exported functions, so all old binaries linked with the dynamic alsa 
library will work. Of course, the drivers might change some universal 
control names, then different configuration files for alsa-lib should be 
used, but it's a different point and we're working also on this 
compatibility to avoid these problems in future. But the standard stereo 
sound work all the time (I speak about 5.1, S/PDIF devices).

Also note, that if OSS had the API in userspace from the first days,
the emulation or redirection of this API to another API or user space 
drivers wouldn't be so much complicated nowadays. Bummer.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-06 13:20                                               ` caszonyi
  2006-01-06 13:43                                                 ` James Courtier-Dutton
  2006-01-06 18:24                                                 ` Lee Revell
@ 2006-01-06 18:27                                                 ` Lee Revell
  2 siblings, 0 replies; 193+ messages in thread
From: Lee Revell @ 2006-01-06 18:27 UTC (permalink / raw)
  To: Calin Szonyi; +Cc: Hannu Savolainen, linux-kernel

On Fri, 2006-01-06 at 15:20 +0200, caszonyi@rdslink.ro wrote:
> On Thu, 5 Jan 2006, Lee Revell wrote:
> 
> > On Fri, 2006-01-06 at 01:19 +0200, Hannu Savolainen wrote:
> >> On Thu, 5 Jan 2006, Lee Revell wrote:
> >>
> >>> On Thu, 2006-01-05 at 13:44 +0100, Marcin Dalecki wrote:
> >>>> Second - you still didn't explain why this allows you to conclude
> >>>> that sound mixing should in no way be done inside the kernel.
> >>>
> >>> It works perfectly right now in userspace.  Therefore it should not be
> >>> in the kernel.
> >> So all the complaints about dmix problems in the ALSA mailing lists are
> >> just exceptions that prove the above statement to be true.
> >
> > No, it just means ALSA like the kernel is a work in progress.  Anyway
> > almost all the known issues have been fixed.  It works perfectly for the
> > vast majority of users.
> >
> 
> Ok. It seems i'm a minority.
> I switched xmms to alsa
> If i play a stream in xmms using alsa output and try to play in the same 
> time a movie in mplayer the last message printed by mplayer is
> alsa-init: 1 soundcard found, using: default
> and then it hangs until i press stop button in xmms. When i press the stop 
> button in xmms the movie begins to play. If i press now the play button in 
> xmms it says:
> ** WARNING **: alsa_setup(): Failed to open pcm device (default): Device 
> or resource busy
> 
> So it seems that dmix is not working by default in kernel 2.6.15
> Alsa userspace tools are version 1.0.8.

Sorry disregard last message.

Upgrade alsa-lib to 1.0.9 or later (preferable 1.0.10) to get dmix
working by default.  The default PCM is defined
in /usr/share/alsa/cards/$YOUR-CARD.conf which is part of alsa-lib.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-06 13:20                                               ` caszonyi
  2006-01-06 13:43                                                 ` James Courtier-Dutton
@ 2006-01-06 18:24                                                 ` Lee Revell
  2006-01-06 18:27                                                 ` Lee Revell
  2 siblings, 0 replies; 193+ messages in thread
From: Lee Revell @ 2006-01-06 18:24 UTC (permalink / raw)
  To: Calin Szonyi; +Cc: Hannu Savolainen, linux-kernel

On Fri, 2006-01-06 at 15:20 +0200, caszonyi@rdslink.ro wrote:
> On Thu, 5 Jan 2006, Lee Revell wrote:
> 
> > On Fri, 2006-01-06 at 01:19 +0200, Hannu Savolainen wrote:
> >> On Thu, 5 Jan 2006, Lee Revell wrote:
> >>
> >>> On Thu, 2006-01-05 at 13:44 +0100, Marcin Dalecki wrote:
> >>>> Second - you still didn't explain why this allows you to conclude
> >>>> that sound mixing should in no way be done inside the kernel.
> >>>
> >>> It works perfectly right now in userspace.  Therefore it should not be
> >>> in the kernel.
> >> So all the complaints about dmix problems in the ALSA mailing lists are
> >> just exceptions that prove the above statement to be true.
> >
> > No, it just means ALSA like the kernel is a work in progress.  Anyway
> > almost all the known issues have been fixed.  It works perfectly for the
> > vast majority of users.
> >
> 
> Ok. It seems i'm a minority.
> I switched xmms to alsa

XMMS has a bug where it uses "hw:0,0" by default which will prevent dmix
from working.  It should be using the "default" PCM.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-06  2:40                                             ` Diego Calleja
@ 2006-01-06 14:57                                               ` Olivier Galibert
  2006-01-06 20:26                                                 ` Jaroslav Kysela
  0 siblings, 1 reply; 193+ messages in thread
From: Olivier Galibert @ 2006-01-06 14:57 UTC (permalink / raw)
  To: Diego Calleja
  Cc: Marcin Dalecki, rlrevell, jengelh, tiwai, jesper.juhl, bunk,
	zdzichu, s0348365, ak, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, linux, zwane,
	zaitcev, linux-kernel

On Fri, Jan 06, 2006 at 03:40:26AM +0100, Diego Calleja wrote:
> Amazing - even windows is getting sound mixing out of the kernel
> in windows vista because they've learnt (the hard way) that it's
> the Right Thing and linux people is trying to get it in?

You misread.  Most people just want to have things work like they
should have for years.  Technical people, at least Marcin and I, want
a documented kernel interface with optional libraries over it (think
libX11 vs. the X Protocol, or glibc/klibc/uclibc/libc5 vs. the system
calls), and then behind that have the kernel route the data to
userspace demon(s) or the hardware depending on root-level setup and
configuration.

ALSA does not have a documented kernel interface nor an optional
library but a mandatory library.  A highly complex, ipc-using library
with no security audit that I could find with google.  A library for
which people do not seem to care about compatibility with previous or
future kernel versions, which means it _has_ to be shared.  And shared
libraries are just unacceptable in some contexts, like distributing
binaries outside of a specific linux distribution[1].

At least OSS, with all its flaws, is a documented kernel interface.
You can static link a oss-using program, whether it uses it directly
or through interfaces like sdl-audio, and it will just work.

  OG.

[1] And that does not necessarily means commercial and/or proprietary.
"Just recompile" does not always work either, think missing libraries,
headers, and version drift (snd_pcm_hw_params_set_rate_near anybody?).

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-06 13:20                                               ` caszonyi
@ 2006-01-06 13:43                                                 ` James Courtier-Dutton
  2006-01-06 18:24                                                 ` Lee Revell
  2006-01-06 18:27                                                 ` Lee Revell
  2 siblings, 0 replies; 193+ messages in thread
From: James Courtier-Dutton @ 2006-01-06 13:43 UTC (permalink / raw)
  To: Calin Szonyi; +Cc: Lee Revell, Hannu Savolainen, linux-kernel

caszonyi@rdslink.ro wrote:

> On Thu, 5 Jan 2006, Lee Revell wrote:
>
>> On Fri, 2006-01-06 at 01:19 +0200, Hannu Savolainen wrote:
>>
>>> On Thu, 5 Jan 2006, Lee Revell wrote:
>>>
>>>> On Thu, 2006-01-05 at 13:44 +0100, Marcin Dalecki wrote:
>>>>
>>>>> Second - you still didn't explain why this allows you to conclude
>>>>> that sound mixing should in no way be done inside the kernel.
>>>>
>>>>
>>>> It works perfectly right now in userspace.  Therefore it should not be
>>>> in the kernel.
>>>
>>> So all the complaints about dmix problems in the ALSA mailing lists are
>>> just exceptions that prove the above statement to be true.
>>
>>
>> No, it just means ALSA like the kernel is a work in progress.  Anyway
>> almost all the known issues have been fixed.  It works perfectly for the
>> vast majority of users.
>>
>
> Ok. It seems i'm a minority.
> I switched xmms to alsa
> If i play a stream in xmms using alsa output and try to play in the 
> same time a movie in mplayer the last message printed by mplayer is
> alsa-init: 1 soundcard found, using: default
> and then it hangs until i press stop button in xmms. When i press the 
> stop button in xmms the movie begins to play. If i press now the play 
> button in xmms it says:
> ** WARNING **: alsa_setup(): Failed to open pcm device (default): 
> Device or resource busy
>
> So it seems that dmix is not working by default in kernel 2.6.15
> Alsa userspace tools are version 1.0.8.
>
> config and dmesg attached

dmix happens in alsa-lib (libasound...)
So, which version of the kernel you have will not make any difference to 
dmix.
Update your alsa-lib userspace to a more up to date version, and dmix 
will then work out of the box.



^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-06  9:54                                                           ` James Courtier-Dutton
@ 2006-01-06 13:37                                                             ` Hannu Savolainen
  0 siblings, 0 replies; 193+ messages in thread
From: Hannu Savolainen @ 2006-01-06 13:37 UTC (permalink / raw)
  To: James Courtier-Dutton
  Cc: Marcin Dalecki, Jesper Juhl, Lee Revell, Jan Engelhardt,
	Takashi Iwai, Adrian Bunk, Tomasz Torcz, Olivier Galibert,
	Alistair John Strachan, Andi Kleen, perex, alsa-devel, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel

On Fri, 6 Jan 2006, James Courtier-Dutton wrote:
> Even you admit that the OSS drivers in the kernel mainline are "really
> obsolete", so you must agree with this thread that we should remove them.
I completely agree. As I said I would like to see the old OSS code to be 
removed from the kernel soon.
 
> Only if your binary blobs are released as GPL so that they can be included in
> mainline can it really be any use to discuss them.
We are planning to release OSS under some open source license (not GPL).
However it will be released and built outside the Linux kernel source tree 
(mostly because the same code has to work with several other operating 
system).

Best regards,

Hannu
-----
Hannu Savolainen (hannu@opensound.com)
http://www.opensound.com (Open Sound System (OSS))
http://www.compusonic.fi (Finnish OSS pages)
OH2GLH QTH: Karkkila, Finland LOC: KP20CM

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 23:33                                             ` Lee Revell
@ 2006-01-06 13:20                                               ` caszonyi
  2006-01-06 13:43                                                 ` James Courtier-Dutton
                                                                   ` (2 more replies)
  0 siblings, 3 replies; 193+ messages in thread
From: caszonyi @ 2006-01-06 13:20 UTC (permalink / raw)
  To: Lee Revell; +Cc: Hannu Savolainen, linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1570 bytes --]

On Thu, 5 Jan 2006, Lee Revell wrote:

> On Fri, 2006-01-06 at 01:19 +0200, Hannu Savolainen wrote:
>> On Thu, 5 Jan 2006, Lee Revell wrote:
>>
>>> On Thu, 2006-01-05 at 13:44 +0100, Marcin Dalecki wrote:
>>>> Second - you still didn't explain why this allows you to conclude
>>>> that sound mixing should in no way be done inside the kernel.
>>>
>>> It works perfectly right now in userspace.  Therefore it should not be
>>> in the kernel.
>> So all the complaints about dmix problems in the ALSA mailing lists are
>> just exceptions that prove the above statement to be true.
>
> No, it just means ALSA like the kernel is a work in progress.  Anyway
> almost all the known issues have been fixed.  It works perfectly for the
> vast majority of users.
>

Ok. It seems i'm a minority.
I switched xmms to alsa
If i play a stream in xmms using alsa output and try to play in the same 
time a movie in mplayer the last message printed by mplayer is
alsa-init: 1 soundcard found, using: default
and then it hangs until i press stop button in xmms. When i press the stop 
button in xmms the movie begins to play. If i press now the play button in 
xmms it says:
** WARNING **: alsa_setup(): Failed to open pcm device (default): Device 
or resource busy

So it seems that dmix is not working by default in kernel 2.6.15
Alsa userspace tools are version 1.0.8.

config and dmesg attached

> Are all the Oopses posted to LKML evidence that the kernel is
> fundamentally broken?
>
> Lee
>

--

"frate, trezeste-te, aici nu-i razboiul stelelor"
 				Radu R. pe offtopic at lug.ro

[-- Attachment #2: Type: TEXT/PLAIN, Size: 10049 bytes --]

Linux version 2.6.15 (root@grinch) (gcc version 3.3.4) #1 PREEMPT Tue Jan 3 23:29:37 EET 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
 BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS)
 BIOS-e820: 000000000fff3000 - 0000000010000000 (ACPI data)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
  DMA zone: 4096 pages, LIFO batch:0
  DMA32 zone: 0 pages, LIFO batch:0
  Normal zone: 61424 pages, LIFO batch:15
  HighMem zone: 0 pages, LIFO batch:0
DMI not present.
ACPI: RSDP (v000 VIA694                                ) @ 0x000f7060
ACPI: RSDT (v001 VIA694 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x0fff3000
ACPI: FADT (v001 VIA694 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x0fff3040
ACPI: DSDT (v001 VIA694 AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
ACPI: PM-Timer IO Port: 0x4008
Allocating PCI resources starting at 20000000 (gap: 10000000:efff0000)
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=k2615 ro root=302
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Detected 700.394 MHz processor.
Using pmtmr for high-res timesource
Console: colour VGA+ 132x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 254128k/262080k available (2857k kernel code, 7400k reserved, 1562k data, 168k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1401.22 BogoMIPS (lpj=700612)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
CPU: After all inits, caps: 0183f9ff c1c7f9ff 00000000 00000020 00000000 00000000 00000000
mtrr: v2.0 (20020519)
CPU: AMD Duron(tm) Processor stepping 01
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0200 (from 0e00)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
ACPI: Subsystem revision 20050902
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
Disabling VIA memory write queue (PCI ID 0305, rev 02): [55] 81 & 1f -> 01
PCI quirk: region 4000-40ff claimed by vt82c586 ACPI
PCI quirk: region 6000-607f claimed by vt82c686 HW-mon
PCI quirk: region 5000-500f claimed by vt82c686 SMB
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 12 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI: Bridge: 0000:00:01.0
  IO window: d000-dfff
  MEM window: dc000000-ddffffff
  PREFETCH window: d0000000-d7ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver 2.1.25 [Flags: R/O].
JFS: nTxBlock = 1986, nTxLock = 15893
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 2 throttling states)
isapnp: Scanning for PnP cards...
isapnp: Card 'Crystal Codec'
isapnp: 1 Plug & Play card detected total
lp: driver loaded but no devices found
Real Time Clock Driver v1.12
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected VIA Twister-K/KT133x/KM133 chipset
agpgart: AGP aperture is 64M @ 0xd8000000
[drm] Initialized drm 1.0.0 20040925
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[drm] Initialized radeon 1.19.0 20050911 on minor 0: 
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport_pc: VIA 686A/8231 detected
parport_pc: probing current configuration
parport_pc: Current parallel port base: 0x3BC
parport0: PC-style at 0x3bc (0x7bc), irq 7, using FIFO [PCSPP,TRISTATE,COMPAT,ECP]
lp0: using parport0 (interrupt-driven).
parport_pc: VIA parallel port: io=0x3BC, irq=7
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
NET: Registered protocol family 24
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
eth0: RealTek RTL8139 at 0xd0802000, 00:40:f4:72:99:b3, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
Linux video capture interface: v1.00
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 10 (level, low) -> IRQ 10
bttv0: Bt878 (rev 2) at 0000:00:0a.0, irq: 10, latency: 32, mmio: 0xde000000
bttv0: detected: AVermedia TVCapture 98 [card=13], PCI subsystem ID is 1461:0002
bttv0: using: AVerMedia TVCapture 98 [card=13,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=000477c3 [init]
bttv0: Hauppauge/Voodoo msp34xx: reset line init [11]
bttv0: Avermedia eeprom[0x4011]: tuner=5 radio:no remote control:yes
bttv0: using tuner=5
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: add subdevice "remote0"
input: bttv IR (card=13) as /class/input/input0
tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
tuner 0-0061: type set to 5 (Philips PAL_BG (FI1216 and compatibles))
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
PCI: Via IRQ fixup for 0000:00:07.1, from 255 to 0
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci0000:00:07.1
    ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: WDC WD2000JB-00GVC0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: _NEC DVD_RW ND-3550A, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 390721968 sectors (200049 MB) w/8192KiB Cache, CHS=24321/255/63, UDMA(66)
hda: cache flushes supported
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 >
hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
mice: PS/2 mouse device common for all mice
input: PC Speaker as /class/input/input1
i2c /dev entries driver
input: AT Translated Set 2 keyboard as /class/input/input2
Advanced Linux Sound Architecture Driver Version 1.0.10rc3 (Mon Nov 07 13:30:21 2005 UTC).
pnp: Device 01:01.00 activated.
pnp: Device 01:01.02 activated.
pnp: Device 01:01.03 activated.
ALSA device list:
  #0: CS4239 at 0x534, irq 5, dma 1&0
Netfilter messages via NETLINK v0.30.
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 4, 65536 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
GRE over IPv4 tunneling driver
ip_conntrack version 2.4 (2047 buckets, 16376 max) - 232 bytes per conntrack
ip_conntrack_pptp version 3.1 loaded
ip_nat_pptp version 3.0 loaded
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>.  http://snowman.net/projects/ipt_recent/
ClusterIP Version 0.8 loaded successfully
arp_tables: (C) 2002 David S. Miller
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 168k freed
input: PS/2 Generic Mouse as /class/input/input3
Adding 2104504k swap on /dev/hda3.  Priority:-1 extents:1 across:2104504k
NTFS volume version 3.0.
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
mtrr: 0xd0000000,0x8000000 overlaps existing 0xd0000000,0x2000000
mtrr: 0xd0000000,0x8000000 overlaps existing 0xd0000000,0x2000000
mtrr: 0xd0000000,0x8000000 overlaps existing 0xd0000000,0x2000000
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode

[-- Attachment #3: Type: TEXT/PLAIN, Size: 9105 bytes --]

CONFIG_X86_32=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y

CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32

CONFIG_LOCALVERSION=""
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
CONFIG_SYSCTL=y
CONFIG_HOTPLUG=y
CONFIG_KOBJECT_UEVENT=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_KALLSYMS=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_CC_ALIGN_FUNCTIONS=0
CONFIG_CC_ALIGN_LABELS=0
CONFIG_CC_ALIGN_LOOPS=0
CONFIG_CC_ALIGN_JUMPS=0
CONFIG_BASE_SMALL=0

CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_KMOD=y


CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_DEFAULT_AS=y
CONFIG_DEFAULT_IOSCHED="anticipatory"

CONFIG_X86_PC=y
CONFIG_MK7=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_USE_3DNOW=y
CONFIG_X86_TSC=y
CONFIG_PREEMPT=y
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y

CONFIG_NOHIGHMEM=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_MTRR=y
CONFIG_REGPARM=y
CONFIG_HZ_1000=y
CONFIG_HZ=1000
CONFIG_PHYSICAL_START=0x100000

CONFIG_PM=y
CONFIG_PM_LEGACY=y

CONFIG_ACPI=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y



CONFIG_PCI=y
CONFIG_PCI_GODIRECT=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_LEGACY_PROC=y
CONFIG_ISA_DMA_API=y
CONFIG_ISA=y



CONFIG_BINFMT_ELF=y

CONFIG_NET=y

CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_ASK_IP_FIB_HASH=y
CONFIG_IP_FIB_HASH=y
CONFIG_IP_MULTIPLE_TABLES=y
CONFIG_NET_IPGRE=y
CONFIG_SYN_COOKIES=y
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
CONFIG_TCP_CONG_BIC=y

CONFIG_NETFILTER=y

CONFIG_NETFILTER_NETLINK=y
CONFIG_NETFILTER_NETLINK_QUEUE=y
CONFIG_NETFILTER_NETLINK_LOG=y

CONFIG_IP_NF_CONNTRACK=y
CONFIG_IP_NF_CT_ACCT=y
CONFIG_IP_NF_CONNTRACK_MARK=y
CONFIG_IP_NF_CONNTRACK_EVENTS=y
CONFIG_IP_NF_CT_PROTO_SCTP=y
CONFIG_IP_NF_FTP=y
CONFIG_IP_NF_IRC=y
CONFIG_IP_NF_NETBIOS_NS=y
CONFIG_IP_NF_TFTP=y
CONFIG_IP_NF_AMANDA=y
CONFIG_IP_NF_PPTP=y
CONFIG_IP_NF_QUEUE=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_MATCH_LIMIT=y
CONFIG_IP_NF_MATCH_IPRANGE=y
CONFIG_IP_NF_MATCH_MAC=y
CONFIG_IP_NF_MATCH_PKTTYPE=y
CONFIG_IP_NF_MATCH_MARK=y
CONFIG_IP_NF_MATCH_MULTIPORT=y
CONFIG_IP_NF_MATCH_TOS=y
CONFIG_IP_NF_MATCH_RECENT=y
CONFIG_IP_NF_MATCH_ECN=y
CONFIG_IP_NF_MATCH_DSCP=y
CONFIG_IP_NF_MATCH_AH_ESP=y
CONFIG_IP_NF_MATCH_LENGTH=y
CONFIG_IP_NF_MATCH_TTL=y
CONFIG_IP_NF_MATCH_TCPMSS=y
CONFIG_IP_NF_MATCH_HELPER=y
CONFIG_IP_NF_MATCH_STATE=y
CONFIG_IP_NF_MATCH_CONNTRACK=y
CONFIG_IP_NF_MATCH_OWNER=y
CONFIG_IP_NF_MATCH_ADDRTYPE=y
CONFIG_IP_NF_MATCH_REALM=y
CONFIG_IP_NF_MATCH_SCTP=y
CONFIG_IP_NF_MATCH_DCCP=y
CONFIG_IP_NF_MATCH_COMMENT=y
CONFIG_IP_NF_MATCH_CONNMARK=y
CONFIG_IP_NF_MATCH_CONNBYTES=y
CONFIG_IP_NF_MATCH_HASHLIMIT=y
CONFIG_IP_NF_MATCH_STRING=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_TARGET_LOG=y
CONFIG_IP_NF_TARGET_ULOG=y
CONFIG_IP_NF_TARGET_TCPMSS=y
CONFIG_IP_NF_TARGET_NFQUEUE=y
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP_NF_TARGET_REDIRECT=y
CONFIG_IP_NF_TARGET_NETMAP=y
CONFIG_IP_NF_TARGET_SAME=y
CONFIG_IP_NF_NAT_SNMP_BASIC=y
CONFIG_IP_NF_NAT_IRC=y
CONFIG_IP_NF_NAT_FTP=y
CONFIG_IP_NF_NAT_TFTP=y
CONFIG_IP_NF_NAT_AMANDA=y
CONFIG_IP_NF_NAT_PPTP=y
CONFIG_IP_NF_MANGLE=y
CONFIG_IP_NF_TARGET_TOS=y
CONFIG_IP_NF_TARGET_ECN=y
CONFIG_IP_NF_TARGET_DSCP=y
CONFIG_IP_NF_TARGET_MARK=y
CONFIG_IP_NF_TARGET_CLASSIFY=y
CONFIG_IP_NF_TARGET_TTL=y
CONFIG_IP_NF_TARGET_CONNMARK=y
CONFIG_IP_NF_TARGET_CLUSTERIP=y
CONFIG_IP_NF_RAW=y
CONFIG_IP_NF_TARGET_NOTRACK=y
CONFIG_IP_NF_ARPTABLES=y
CONFIG_IP_NF_ARPFILTER=y
CONFIG_IP_NF_ARP_MANGLE=y



CONFIG_NET_CLS_ROUTE=y



CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y



CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PARPORT_PC_FIFO=y
CONFIG_PARPORT_1284=y

CONFIG_PNP=y

CONFIG_ISAPNP=y
CONFIG_PNPBIOS=y
CONFIG_PNPBIOS_PROC_FS=y
CONFIG_PNPACPI=y

CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_RAM_COUNT=16

CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y

CONFIG_IDE_GENERIC=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_VIA82CXXX=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_IVB=y
CONFIG_IDEDMA_AUTO=y







CONFIG_NETDEVICES=y



CONFIG_NET_ETHERNET=y
CONFIG_MII=y

CONFIG_NET_PCI=y
CONFIG_8139TOO=y





CONFIG_PPP=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=y
CONFIG_PPPOE=y



CONFIG_INPUT=y

CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1280
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=1024

CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=y

CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_LIBPS2=y

CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y

CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_DETECT_IRQ=y

CONFIG_SERIAL_CORE=y
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
CONFIG_PRINTER=y


CONFIG_RTC=y

CONFIG_AGP=y
CONFIG_AGP_VIA=y
CONFIG_DRM=y
CONFIG_DRM_RADEON=y


CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y

CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_ALGOPCF=y
CONFIG_I2C_ALGOPCA=y

CONFIG_I2C_ISA=y
CONFIG_I2C_VIAPRO=y

CONFIG_SENSORS_EEPROM=y


CONFIG_HWMON=y
CONFIG_SENSORS_VIA686A=y



CONFIG_VIDEO_DEV=y


CONFIG_VIDEO_BT848=y


CONFIG_VIDEO_TUNER=y
CONFIG_VIDEO_BUF=y
CONFIG_VIDEO_BTCX=y
CONFIG_VIDEO_IR=y
CONFIG_VIDEO_TVEEPROM=y

CONFIG_VIDEO_SELECT=y

CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y

CONFIG_SOUND=y

CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_RTCTIMER=y
CONFIG_SND_GENERIC_DRIVER=y

CONFIG_SND_MPU401_UART=y
CONFIG_SND_OPL3_LIB=y

CONFIG_SND_CS4231_LIB=y
CONFIG_SND_CS4236=y

CONFIG_SND_BT87X=y


CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y






CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_FS_MBCACHE=y
CONFIG_JFS_FS=y
CONFIG_DNOTIFY=y

CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=y
CONFIG_UDF_FS=y
CONFIG_UDF_NLS=y

CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NTFS_FS=y

CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_RAMFS=y


CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=y
CONFIG_SMB_FS=y
CONFIG_CIFS=y

CONFIG_PARTITION_ADVANCED=y
CONFIG_MSDOS_PARTITION=y

CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-2"
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_CODEPAGE_737=y
CONFIG_NLS_CODEPAGE_775=y
CONFIG_NLS_CODEPAGE_850=y
CONFIG_NLS_CODEPAGE_852=y
CONFIG_NLS_CODEPAGE_855=y
CONFIG_NLS_CODEPAGE_857=y
CONFIG_NLS_CODEPAGE_860=y
CONFIG_NLS_CODEPAGE_861=y
CONFIG_NLS_CODEPAGE_862=y
CONFIG_NLS_CODEPAGE_863=y
CONFIG_NLS_CODEPAGE_864=y
CONFIG_NLS_CODEPAGE_865=y
CONFIG_NLS_CODEPAGE_866=y
CONFIG_NLS_CODEPAGE_869=y
CONFIG_NLS_CODEPAGE_936=y
CONFIG_NLS_CODEPAGE_950=y
CONFIG_NLS_CODEPAGE_932=y
CONFIG_NLS_CODEPAGE_949=y
CONFIG_NLS_CODEPAGE_874=y
CONFIG_NLS_ISO8859_8=y
CONFIG_NLS_CODEPAGE_1250=y
CONFIG_NLS_CODEPAGE_1251=y
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_ISO8859_2=y
CONFIG_NLS_ISO8859_3=y
CONFIG_NLS_ISO8859_4=y
CONFIG_NLS_ISO8859_5=y
CONFIG_NLS_ISO8859_6=y
CONFIG_NLS_ISO8859_7=y
CONFIG_NLS_ISO8859_9=y
CONFIG_NLS_ISO8859_13=y
CONFIG_NLS_ISO8859_14=y
CONFIG_NLS_ISO8859_15=y
CONFIG_NLS_KOI8_R=y
CONFIG_NLS_KOI8_U=y
CONFIG_NLS_UTF8=y


CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y
CONFIG_LOG_BUF_SHIFT=17
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_EARLY_PRINTK=y




CONFIG_CRC_CCITT=y
CONFIG_CRC32=y
CONFIG_ZLIB_INFLATE=y
CONFIG_TEXTSEARCH=y
CONFIG_TEXTSEARCH_KMP=y
CONFIG_TEXTSEARCH_BM=y
CONFIG_TEXTSEARCH_FSM=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_X86_BIOS_REBOOT=y

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-06 10:34                                                           ` Gabor Gombas
@ 2006-01-06 12:48                                                             ` Hannu Savolainen
  0 siblings, 0 replies; 193+ messages in thread
From: Hannu Savolainen @ 2006-01-06 12:48 UTC (permalink / raw)
  To: Gabor Gombas
  Cc: Marcin Dalecki, Jesper Juhl, Lee Revell, Jan Engelhardt,
	Takashi Iwai, Adrian Bunk, Tomasz Torcz, Olivier Galibert,
	Alistair John Strachan, Andi Kleen, perex, alsa-devel, James,
	sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

On Fri, 6 Jan 2006, Gabor Gombas wrote:

> On Fri, Jan 06, 2006 at 03:36:47AM +0200, Hannu Savolainen wrote:
> 
> > There are two very opposite approaches to do a sound subsystem. The ALSA 
> > way is to expose every single detail of the hardware to the applications 
> > and to allow (or force) application developers to deal with them. The OSS 
> > approach is to provide maximum device abstraction in the API level (by 
> > isolating the apps from the hardware as much as practically possible).
> 
> Well, then it is quite clear to me: you can build an OSS-like interface
> on top of ALSA, but you cannot build an ALSA-like interface on top of
> OSS.
This is not entirely correct. An alsa-lib compatible library can be 
implemented on top of OSS. It has already been done up to some degree for 
the audio and mixer parts (sequencer/MIDI support is under work just now).

I agree this is bit inpractical solution since ALSA has some 1500 library 
functions (and more to be added in the future). It is very difficult to 
test such library because just a limited subset of them has been used by 
any of the ALSA apps we were able to get working. In fact it looks like 
two ALSA apps (for similar purpose) may have been implemented using very 
different sets of ALSA functions (with relatively small overlap).

> This implies that an ALSA-like interface should be in the kernel,
> and an OSS-like interface should be implemented on top of it in
> userspace for those who do not need all the features. This way both
> camps are satisfied.
Or full ALSA library could be implemented on top of the OSS drivers. Or 
OSS can be modified to support ALSA's kernel level driver interface (which 
is not documented). Also in these ways both camps are satisfied.

Best regards,

Hannu
-----
Hannu Savolainen (hannu@opensound.com)
http://www.opensound.com (Open Sound System (OSS))
http://www.compusonic.fi (Finnish OSS pages)
OH2GLH QTH: Karkkila, Finland LOC: KP20CM

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-06  1:36                                                         ` Hannu Savolainen
  2006-01-06  9:54                                                           ` James Courtier-Dutton
@ 2006-01-06 10:34                                                           ` Gabor Gombas
  2006-01-06 12:48                                                             ` Hannu Savolainen
  2006-01-07 14:09                                                           ` Takashi Iwai
  2 siblings, 1 reply; 193+ messages in thread
From: Gabor Gombas @ 2006-01-06 10:34 UTC (permalink / raw)
  To: Hannu Savolainen
  Cc: Marcin Dalecki, Jesper Juhl, Lee Revell, Jan Engelhardt,
	Takashi Iwai, Adrian Bunk, Tomasz Torcz, Olivier Galibert,
	Alistair John Strachan, Andi Kleen, perex, alsa-devel, James,
	sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

On Fri, Jan 06, 2006 at 03:36:47AM +0200, Hannu Savolainen wrote:

> There are two very opposite approaches to do a sound subsystem. The ALSA 
> way is to expose every single detail of the hardware to the applications 
> and to allow (or force) application developers to deal with them. The OSS 
> approach is to provide maximum device abstraction in the API level (by 
> isolating the apps from the hardware as much as practically possible).

Well, then it is quite clear to me: you can build an OSS-like interface
on top of ALSA, but you cannot build an ALSA-like interface on top of
OSS. This implies that an ALSA-like interface should be in the kernel,
and an OSS-like interface should be implemented on top of it in
userspace for those who do not need all the features. This way both
camps are satisfied.

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-06  1:36                                                         ` Hannu Savolainen
@ 2006-01-06  9:54                                                           ` James Courtier-Dutton
  2006-01-06 13:37                                                             ` Hannu Savolainen
  2006-01-06 10:34                                                           ` Gabor Gombas
  2006-01-07 14:09                                                           ` Takashi Iwai
  2 siblings, 1 reply; 193+ messages in thread
From: James Courtier-Dutton @ 2006-01-06  9:54 UTC (permalink / raw)
  To: Hannu Savolainen
  Cc: Marcin Dalecki, Jesper Juhl, Lee Revell, Jan Engelhardt,
	Takashi Iwai, Adrian Bunk, Tomasz Torcz, Olivier Galibert,
	Alistair John Strachan, Andi Kleen, perex, alsa-devel, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel

Hannu Savolainen wrote:
> 
> Btw, about the current OSS drivers in the kernel. They are really obsolete 
> because they are based on some 10 years old API version. For this reason 
> it's necessary to remove them in the nearish future (maybe at the same 
> time when we release the OpenOSS version). Comparing ALSA against the 
> kernel OSS drivers is pointless because current OSS has very little 
> common with that code.

Hannu,

This is the LKML. So, we are considering KERNEL code. Not some external 
binary blob. We are therefore suggesting to remove the kernel OSS 
drivers as that is all we have to compare with ALSA.
We can't compare a binary blob with open source as the binary blob will 
never be part of mainline.
Even you admit that the OSS drivers in the kernel mainline are "really 
obsolete", so you must agree with this thread that we should remove them.

Only if your binary blobs are released as GPL so that they can be 
included in mainline can it really be any use to discuss them.

James

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 20:03                                           ` Marcin Dalecki
  2006-01-05 20:05                                             ` Lee Revell
@ 2006-01-06  2:40                                             ` Diego Calleja
  2006-01-06 14:57                                               ` Olivier Galibert
  1 sibling, 1 reply; 193+ messages in thread
From: Diego Calleja @ 2006-01-06  2:40 UTC (permalink / raw)
  To: Marcin Dalecki
  Cc: rlrevell, jengelh, tiwai, jesper.juhl, bunk, zdzichu, galibert,
	s0348365, ak, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, linux, zwane, zaitcev, linux-kernel

El Thu, 5 Jan 2006 21:03:27 +0100,
Marcin Dalecki <martin@dalecki.de> escribió:

> 
> On 2006-01-05, at 19:33, Lee Revell wrote:
> 
> > On Thu, 2006-01-05 at 13:44 +0100, Marcin Dalecki wrote:
> >> Second - you still didn't explain why this allows you to conclude
> >> that sound mixing should in no way be done inside the kernel.
> >
> > It works perfectly right now in userspace.
> 
> Yeah - for you maybe...


Amazing - even windows is getting sound mixing out of the kernel
in windows vista because they've learnt (the hard way) that it's
the Right Thing and linux people is trying to get it in?


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-06  0:04                                                       ` Marcin Dalecki
  2006-01-06  0:08                                                         ` Jesper Juhl
@ 2006-01-06  1:36                                                         ` Hannu Savolainen
  2006-01-06  9:54                                                           ` James Courtier-Dutton
                                                                             ` (2 more replies)
  1 sibling, 3 replies; 193+ messages in thread
From: Hannu Savolainen @ 2006-01-06  1:36 UTC (permalink / raw)
  To: Marcin Dalecki
  Cc: Jesper Juhl, Lee Revell, Jan Engelhardt, Takashi Iwai,
	Adrian Bunk, Tomasz Torcz, Olivier Galibert,
	Alistair John Strachan, Andi Kleen, perex, alsa-devel, James,
	sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

On Fri, 6 Jan 2006, Marcin Dalecki wrote:

> 
> 
> No I do not. How do you dare to assume I do?
> I never ever did ask for any support on behalf of the ALSA bunch...
> We are just discussing the merits of one sound system design
> over another one (without design).
Which is really a good subject to discuss about (LKML may not be the right 
place for this). ALSA has been in the official kernel for two years now so 
might this be a good time to look back?

There are two very opposite approaches to do a sound subsystem. The ALSA 
way is to expose every single detail of the hardware to the applications 
and to allow (or force) application developers to deal with them. The OSS 
approach is to provide maximum device abstraction in the API level (by 
isolating the apps from the hardware as much as practically possible).

Both ways have their good and bad sides. During past years the ALSA 
advocates have been dictating that the ALSA approach is the only available 
way to go (all resistance is futile). But after all what is the authority 
who makes the final decision? Is it the ALSA team (who would like to think 
in this way)? Or do the Linux/Unix users and audio application developers 
have any word to say?

Btw, about the current OSS drivers in the kernel. They are really obsolete 
because they are based on some 10 years old API version. For this reason 
it's necessary to remove them in the nearish future (maybe at the same 
time when we release the OpenOSS version). Comparing ALSA against the 
kernel OSS drivers is pointless because current OSS has very little 
common with that code.

Best regards,

Hannu
-----
Hannu Savolainen (hannu@opensound.com)
http://www.opensound.com (Open Sound System (OSS))
http://www.compusonic.fi (Finnish OSS pages)
OH2GLH QTH: Karkkila, Finland LOC: KP20CM

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-06  0:04                                                       ` Marcin Dalecki
@ 2006-01-06  0:08                                                         ` Jesper Juhl
  2006-01-06  1:36                                                         ` Hannu Savolainen
  1 sibling, 0 replies; 193+ messages in thread
From: Jesper Juhl @ 2006-01-06  0:08 UTC (permalink / raw)
  To: Marcin Dalecki
  Cc: Lee Revell, Jan Engelhardt, Takashi Iwai, Adrian Bunk,
	Tomasz Torcz, Olivier Galibert, Alistair John Strachan,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On 1/6/06, Marcin Dalecki <martin@dalecki.de> wrote:
>
> On 2006-01-06, at 00:35, Jesper Juhl wrote:
>
> >>
> >> I will do you this favor: NONE. Using something implies that it is
> >> working.
> >>
> > Do you really expect your problems to be solved with that attitude?
>
> No I do not. How do you dare to assume I do?
> I never ever did ask for any support on behalf of the ALSA bunch...
> We are just discussing the merits of one sound system design
> over another one (without design).
>
> So please just keep your superstitions for yourself.
>

welcome to my killfile


--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 23:35                                                     ` Jesper Juhl
@ 2006-01-06  0:04                                                       ` Marcin Dalecki
  2006-01-06  0:08                                                         ` Jesper Juhl
  2006-01-06  1:36                                                         ` Hannu Savolainen
  0 siblings, 2 replies; 193+ messages in thread
From: Marcin Dalecki @ 2006-01-06  0:04 UTC (permalink / raw)
  To: Jesper Juhl
  Cc: Lee Revell, Jan Engelhardt, Takashi Iwai, Adrian Bunk,
	Tomasz Torcz, Olivier Galibert, Alistair John Strachan,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel


On 2006-01-06, at 00:35, Jesper Juhl wrote:

>>
>> I will do you this favor: NONE. Using something implies that it is
>> working.
>>
> Do you really expect your problems to be solved with that attitude?

No I do not. How do you dare to assume I do?
I never ever did ask for any support on behalf of the ALSA bunch...
We are just discussing the merits of one sound system design
over another one (without design).

So please just keep your superstitions for yourself.


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 20:54                                                   ` Marcin Dalecki
  2006-01-05 21:01                                                     ` Lee Revell
@ 2006-01-05 23:35                                                     ` Jesper Juhl
  2006-01-06  0:04                                                       ` Marcin Dalecki
  1 sibling, 1 reply; 193+ messages in thread
From: Jesper Juhl @ 2006-01-05 23:35 UTC (permalink / raw)
  To: Marcin Dalecki
  Cc: Lee Revell, Jan Engelhardt, Takashi Iwai, Adrian Bunk,
	Tomasz Torcz, Olivier Galibert, Alistair John Strachan,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On 1/5/06, Marcin Dalecki <martin@dalecki.de> wrote:
>
> On 2006-01-05, at 21:32, Lee Revell wrote:
>
> > On Thu, 2006-01-05 at 21:18 +0100, Marcin Dalecki wrote:
> >> Glaring problems on average commodity hardware
> >
> > A good first step would be to mention which driver, ALSA version and
> > soundcard you are using.
>
> I will do you this favor: NONE. Using something implies that it is
> working.
>
Do you really expect your problems to be solved with that attitude?

If you want problems in Linux/ALSA/Open Source software in general,
you need to *SEND USEFUL BUGREPORTS AND WORK WITH THE DEVELOPERS TO
GET IT FIXED*

Replies like the one you just send gets you absolutely nowhere, or
even worse it may land whatever problem you are experiencing at the
bottom of the developers TODO list unless other people (that can be
worked with) also have the same problem.

You just demonstrated a very efficient way to *NOT* get your problem fixed.

--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 23:19                                           ` Hannu Savolainen
@ 2006-01-05 23:33                                             ` Lee Revell
  2006-01-06 13:20                                               ` caszonyi
  0 siblings, 1 reply; 193+ messages in thread
From: Lee Revell @ 2006-01-05 23:33 UTC (permalink / raw)
  To: Hannu Savolainen; +Cc: linux-kernel

On Fri, 2006-01-06 at 01:19 +0200, Hannu Savolainen wrote:
> On Thu, 5 Jan 2006, Lee Revell wrote:
> 
> > On Thu, 2006-01-05 at 13:44 +0100, Marcin Dalecki wrote:
> > > Second - you still didn't explain why this allows you to conclude  
> > > that sound mixing should in no way be done inside the kernel. 
> > 
> > It works perfectly right now in userspace.  Therefore it should not be
> > in the kernel.
> So all the complaints about dmix problems in the ALSA mailing lists are 
> just exceptions that prove the above statement to be true.

No, it just means ALSA like the kernel is a work in progress.  Anyway
almost all the known issues have been fixed.  It works perfectly for the
vast majority of users.

Are all the Oopses posted to LKML evidence that the kernel is
fundamentally broken?

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 18:33                                         ` Lee Revell
  2006-01-05 20:03                                           ` Marcin Dalecki
@ 2006-01-05 23:19                                           ` Hannu Savolainen
  2006-01-05 23:33                                             ` Lee Revell
  1 sibling, 1 reply; 193+ messages in thread
From: Hannu Savolainen @ 2006-01-05 23:19 UTC (permalink / raw)
  To: linux-kernel

On Thu, 5 Jan 2006, Lee Revell wrote:

> On Thu, 2006-01-05 at 13:44 +0100, Marcin Dalecki wrote:
> > Second - you still didn't explain why this allows you to conclude  
> > that sound mixing should in no way be done inside the kernel. 
> 
> It works perfectly right now in userspace.  Therefore it should not be
> in the kernel.
So all the complaints about dmix problems in the ALSA mailing lists are 
just exceptions that prove the above statement to be true.

Best regards,

Hannu
-----
Hannu Savolainen (hannu@opensound.com)
http://www.opensound.com (Open Sound System (OSS))
http://www.compusonic.fi (Finnish OSS pages)
OH2GLH QTH: Karkkila, Finland LOC: KP20CM

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 21:43                                                       ` Marcin Dalecki
@ 2006-01-05 21:47                                                         ` Lee Revell
  0 siblings, 0 replies; 193+ messages in thread
From: Lee Revell @ 2006-01-05 21:47 UTC (permalink / raw)
  To: Marcin Dalecki
  Cc: Jan Engelhardt, Takashi Iwai, Jesper Juhl, Adrian Bunk,
	Tomasz Torcz, Olivier Galibert, Alistair John Strachan,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Thu, 2006-01-05 at 22:43 +0100, Marcin Dalecki wrote:
> On 2006-01-05, at 22:01, Lee Revell wrote:
> 
> > On Thu, 2006-01-05 at 21:54 +0100, Marcin Dalecki wrote:
> >> On 2006-01-05, at 21:32, Lee Revell wrote:
> >>
> >>> On Thu, 2006-01-05 at 21:18 +0100, Marcin Dalecki wrote:
> >>>> Glaring problems on average commodity hardware
> >>>
> >>> A good first step would be to mention which driver, ALSA version and
> >>> soundcard you are using.
> >>
> >> I will do you this favor: NONE. Using something implies that it is
> >> working.
> >
> > Are you going to fucking help or should I just killfile you now?
> 
> It's not about helping ALSA here it's about not throwing out the window
> a system which has the advantage of actually working.
> 

OK, sorry you feel that way.  Get back to me when you're willing to help
fix the problem.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 21:01                                                     ` Lee Revell
@ 2006-01-05 21:43                                                       ` Marcin Dalecki
  2006-01-05 21:47                                                         ` Lee Revell
  0 siblings, 1 reply; 193+ messages in thread
From: Marcin Dalecki @ 2006-01-05 21:43 UTC (permalink / raw)
  To: Lee Revell
  Cc: Jan Engelhardt, Takashi Iwai, Jesper Juhl, Adrian Bunk,
	Tomasz Torcz, Olivier Galibert, Alistair John Strachan,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel


On 2006-01-05, at 22:01, Lee Revell wrote:

> On Thu, 2006-01-05 at 21:54 +0100, Marcin Dalecki wrote:
>> On 2006-01-05, at 21:32, Lee Revell wrote:
>>
>>> On Thu, 2006-01-05 at 21:18 +0100, Marcin Dalecki wrote:
>>>> Glaring problems on average commodity hardware
>>>
>>> A good first step would be to mention which driver, ALSA version and
>>> soundcard you are using.
>>
>> I will do you this favor: NONE. Using something implies that it is
>> working.
>
> Are you going to fucking help or should I just killfile you now?

It's not about helping ALSA here it's about not throwing out the window
a system which has the advantage of actually working.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 19:28                                                 ` Marcin Dalecki
  2006-01-04 19:52                                                   ` Florian Schmidt
@ 2006-01-05 21:20                                                   ` Jim Crilly
  1 sibling, 0 replies; 193+ messages in thread
From: Jim Crilly @ 2006-01-05 21:20 UTC (permalink / raw)
  To: Marcin Dalecki
  Cc: Florian Schmidt, Takashi Iwai, Adrian Bunk, Jesper Juhl,
	Olivier Galibert, Alistair John Strachan, Jan Engelhardt,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On 01/04/06 08:28:59PM +0100, Marcin Dalecki wrote:
> 
> On 2006-01-04, at 19:17, Florian Schmidt wrote:
> >Maybe create a /proc control, so users can revert
> >to the olde behaviour if there really is any need.
> 
> YES YES! After all who doesn't use his system logged in as root?

You can change the rights and ownership of files in /proc, so distributions
that use something like pam_console could change them when someone logs in.
That and most people know that poking around in /proc generally requires
root priviledges so making them use su or sudo wouldn't be a surprise.

Jim.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 21:05                                                         ` Edgar Toernig
@ 2006-01-05 21:10                                                           ` Lee Revell
  0 siblings, 0 replies; 193+ messages in thread
From: Lee Revell @ 2006-01-05 21:10 UTC (permalink / raw)
  To: Edgar Toernig
  Cc: Florian Schmidt, Takashi Iwai, Adrian Bunk, Jesper Juhl,
	Olivier Galibert, Alistair John Strachan, Jan Engelhardt,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Thu, 2006-01-05 at 22:05 +0100, Edgar Toernig wrote:
> Lee Revell wrote:
> >
> > > > And btw, with 2.6.15 the usb-speakers only produce noise most of
> > > > the time.
> > > 
> > > Known regression, this is being worked on.  It was known and posted to
> > > LKML before the 2.6.15 release, unfortunately 2.6.15 was released with
> > > this bug anyway.
> > 
> > If you'd like to help debug this:
> > 
> > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1585
> > 
> > There's a workaround patch available.  We still don't know the exact
> > nature of the bug.
> 
> Well, the problem I had was not exactly the same (I get loud noise, as
> if the samples are byte-swapped) but
> 
>    alsa-usbaudio-2.6.15-revert-008.patch
> 
> seems to fix that.  Thanks.
> 
> But now (alsa-1.0.9 userspace):
> 
>   alsaplayer -i text -d hw:0 ...    --> ok
>   alsaplayer -i text -d hw:1 ...    --> ok
>   alsaplayer -i text -d dmix:0 ...  --> ok
>   alsaplayer -i text -d dmix:1 ...  --> no error, no sound, just total
>                                         silence.  But the clock's running.
> 
> with 2.6.13 all 4 are ok.
> 
> Ciao, ET.
> 
> PS: Someone reported on bugzilla that his usb-audio is not always detected.
> Just for the record - happens here too, usually when cold-booting.
> 

OK.  This is getting a bit much for LKML, can you open a new bug and set
it related to #1585?

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 20:19                                                       ` Lee Revell
@ 2006-01-05 21:05                                                         ` Edgar Toernig
  2006-01-05 21:10                                                           ` Lee Revell
  0 siblings, 1 reply; 193+ messages in thread
From: Edgar Toernig @ 2006-01-05 21:05 UTC (permalink / raw)
  To: Lee Revell
  Cc: Florian Schmidt, Takashi Iwai, Adrian Bunk, Jesper Juhl,
	Olivier Galibert, Alistair John Strachan, Jan Engelhardt,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

Lee Revell wrote:
>
> > > And btw, with 2.6.15 the usb-speakers only produce noise most of
> > > the time.
> > 
> > Known regression, this is being worked on.  It was known and posted to
> > LKML before the 2.6.15 release, unfortunately 2.6.15 was released with
> > this bug anyway.
> 
> If you'd like to help debug this:
> 
> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1585
> 
> There's a workaround patch available.  We still don't know the exact
> nature of the bug.

Well, the problem I had was not exactly the same (I get loud noise, as
if the samples are byte-swapped) but

   alsa-usbaudio-2.6.15-revert-008.patch

seems to fix that.  Thanks.

But now (alsa-1.0.9 userspace):

  alsaplayer -i text -d hw:0 ...    --> ok
  alsaplayer -i text -d hw:1 ...    --> ok
  alsaplayer -i text -d dmix:0 ...  --> ok
  alsaplayer -i text -d dmix:1 ...  --> no error, no sound, just total
                                        silence.  But the clock's running.

with 2.6.13 all 4 are ok.

Ciao, ET.

PS: Someone reported on bugzilla that his usb-audio is not always detected.
Just for the record - happens here too, usually when cold-booting.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 20:54                                                   ` Marcin Dalecki
@ 2006-01-05 21:01                                                     ` Lee Revell
  2006-01-05 21:43                                                       ` Marcin Dalecki
  2006-01-05 23:35                                                     ` Jesper Juhl
  1 sibling, 1 reply; 193+ messages in thread
From: Lee Revell @ 2006-01-05 21:01 UTC (permalink / raw)
  To: Marcin Dalecki
  Cc: Jan Engelhardt, Takashi Iwai, Jesper Juhl, Adrian Bunk,
	Tomasz Torcz, Olivier Galibert, Alistair John Strachan,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Thu, 2006-01-05 at 21:54 +0100, Marcin Dalecki wrote:
> On 2006-01-05, at 21:32, Lee Revell wrote:
> 
> > On Thu, 2006-01-05 at 21:18 +0100, Marcin Dalecki wrote:
> >> Glaring problems on average commodity hardware
> >
> > A good first step would be to mention which driver, ALSA version and
> > soundcard you are using.
> 
> I will do you this favor: NONE. Using something implies that it is  
> working.
> 

Are you going to fucking help or should I just killfile you now?

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 20:32                                                 ` Lee Revell
@ 2006-01-05 20:54                                                   ` Marcin Dalecki
  2006-01-05 21:01                                                     ` Lee Revell
  2006-01-05 23:35                                                     ` Jesper Juhl
  0 siblings, 2 replies; 193+ messages in thread
From: Marcin Dalecki @ 2006-01-05 20:54 UTC (permalink / raw)
  To: Lee Revell
  Cc: Jan Engelhardt, Takashi Iwai, Jesper Juhl, Adrian Bunk,
	Tomasz Torcz, Olivier Galibert, Alistair John Strachan,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel


On 2006-01-05, at 21:32, Lee Revell wrote:

> On Thu, 2006-01-05 at 21:18 +0100, Marcin Dalecki wrote:
>> Glaring problems on average commodity hardware
>
> A good first step would be to mention which driver, ALSA version and
> soundcard you are using.

I will do you this favor: NONE. Using something implies that it is  
working.


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 20:32                                                   ` Marcin Dalecki
@ 2006-01-05 20:39                                                     ` Lee Revell
  0 siblings, 0 replies; 193+ messages in thread
From: Lee Revell @ 2006-01-05 20:39 UTC (permalink / raw)
  To: Marcin Dalecki
  Cc: Jan Engelhardt, Takashi Iwai, Jesper Juhl, Adrian Bunk,
	Tomasz Torcz, Olivier Galibert, Alistair John Strachan,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Thu, 2006-01-05 at 21:32 +0100, Marcin Dalecki wrote:
> On 2006-01-05, at 21:28, Lee Revell wrote:
> 
> > We close dozens of bugs each week.  I personally closed more than 50
> > last week (most had been fixed months ago).  90% of ALSA development
> > happens through the bug tracker.
> 
> ...
> 
> > Check out the linux-audio-dev and linux-audio-user archives.  ALSA has
> > been working perfectly for all of those users for years.
> 
> You are aware of how self contradicting this sounds?!
> 

Not at all.  By "working perfectly" I obviously didn't mean that ALSA
hasn't had a bug in years - I meant that when we DO get an actionable
bug report we fix it.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 20:18                                               ` Marcin Dalecki
  2006-01-05 20:28                                                 ` Lee Revell
@ 2006-01-05 20:32                                                 ` Lee Revell
  2006-01-05 20:54                                                   ` Marcin Dalecki
  1 sibling, 1 reply; 193+ messages in thread
From: Lee Revell @ 2006-01-05 20:32 UTC (permalink / raw)
  To: Marcin Dalecki
  Cc: Jan Engelhardt, Takashi Iwai, Jesper Juhl, Adrian Bunk,
	Tomasz Torcz, Olivier Galibert, Alistair John Strachan,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Thu, 2006-01-05 at 21:18 +0100, Marcin Dalecki wrote:
> Glaring problems on average commodity hardware

A good first step would be to mention which driver, ALSA version and
soundcard you are using.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 20:28                                                 ` Lee Revell
@ 2006-01-05 20:32                                                   ` Marcin Dalecki
  2006-01-05 20:39                                                     ` Lee Revell
  0 siblings, 1 reply; 193+ messages in thread
From: Marcin Dalecki @ 2006-01-05 20:32 UTC (permalink / raw)
  To: Lee Revell
  Cc: Jan Engelhardt, Takashi Iwai, Jesper Juhl, Adrian Bunk,
	Tomasz Torcz, Olivier Galibert, Alistair John Strachan,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel


On 2006-01-05, at 21:28, Lee Revell wrote:

> We close dozens of bugs each week.  I personally closed more than 50
> last week (most had been fixed months ago).  90% of ALSA development
> happens through the bug tracker.

...

> Check out the linux-audio-dev and linux-audio-user archives.  ALSA has
> been working perfectly for all of those users for years.

You are aware of how self contradicting this sounds?!

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 20:24                                                       ` Edgar Toernig
@ 2006-01-05 20:29                                                         ` Lee Revell
  0 siblings, 0 replies; 193+ messages in thread
From: Lee Revell @ 2006-01-05 20:29 UTC (permalink / raw)
  To: Edgar Toernig
  Cc: Florian Schmidt, Takashi Iwai, Adrian Bunk, Jesper Juhl,
	Olivier Galibert, Alistair John Strachan, Jan Engelhardt,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Thu, 2006-01-05 at 21:24 +0100, Edgar Toernig wrote:
> Lee Revell wrote:
> >
> > Edgar Toernig wrote:
> > > Lee Revell wrote:
> > > >
> > > >  If it does not Just Work it's a bug and we need to hear about it.
> > > 
> > > So then:  xawtv4 (dvb-app) works with hw:0 but not with 1.0.9's dmix default.
> > > It works with /dev/dsp1 (usb-speakers) but not with /dev/dsp0 (atiixp ac'97).
> > > vdr's softdevice (another dvb-app) works with dmix-default but not with hw:0.
> > 
> > Come on, this is LKML, you should know that "it doesn't work" is not a
> > useful bug report.
> 
> xawtv4 with dmix is just silent and aborts when its queue of outstanding pcm
> data is filled up.
> 
> Trying to use /dev/dsp0 starts fine for a fraction of a second but then
> either stays silent or stutters until its audio-queue overflows again.
> 
> With vdr its similar: when using hw:0 it only stutters (and fills the log
> with xrun errors).  I had a short look once - it uses a very small buffer
> (iirc about 4kb) and gets constant underruns which it tries to handle
> via prepare-something but it's unable to recover.  With dmix it works fine,
> probably because of the bigger mixing buffer.

Broken app.  It needs to set a sane buffer size and not rely on the
driver default.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 20:18                                               ` Marcin Dalecki
@ 2006-01-05 20:28                                                 ` Lee Revell
  2006-01-05 20:32                                                   ` Marcin Dalecki
  2006-01-05 20:32                                                 ` Lee Revell
  1 sibling, 1 reply; 193+ messages in thread
From: Lee Revell @ 2006-01-05 20:28 UTC (permalink / raw)
  To: Marcin Dalecki
  Cc: Jan Engelhardt, Takashi Iwai, Jesper Juhl, Adrian Bunk,
	Tomasz Torcz, Olivier Galibert, Alistair John Strachan,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Thu, 2006-01-05 at 21:18 +0100, Marcin Dalecki wrote:
> On 2006-01-05, at 21:05, Lee Revell wrote:
> 
> > On Thu, 2006-01-05 at 21:03 +0100, Marcin Dalecki wrote:
> >> On 2006-01-05, at 19:33, Lee Revell wrote:
> >>
> >>> On Thu, 2006-01-05 at 13:44 +0100, Marcin Dalecki wrote:
> >>>> Second - you still didn't explain why this allows you to conclude
> >>>> that sound mixing should in no way be done inside the kernel.
> >>>
> >>> It works perfectly right now in userspace.
> >>
> >> Yeah - for you maybe...
> >>
> >
> > Please rephrase your comment in the form of a useful bug report.
> 
> Yes I will. But only after you stop spreading BS about how fine and
> generally dandy the situation about sound support in Linux is thanks  
> to ALSA.

I'm not spreading BS, I'm trying to identify the real problems and get
them fixed.  Unfortunately people like to bitch and moan a lot more than
they like to report bugs.

> One reports bugs only if one expects that the situation will improve.

Um, look at the alsa-devel archives or the ALSA CVS commit mailing list.
We close dozens of bugs each week.  I personally closed more than 50
last week (most had been fixed months ago).  90% of ALSA development
happens through the bug tracker.

> Glaring problems on average commodity hardware one expect the  
> developers to take
> care of without any notice.
> 

HAHA, "average commodity hardware", that's a good one.  I think you
VASTLY underestimate the difficulty of maintaining good ALSA drivers.
There are hundreds of times more sound chipset/codec combinations than
there are ALSA developers.  This is not like network or disk controller
drivers where having the datasheet is the norm - in ALSA reverse
engineered drivers are the norm and there can be dozens of variations on
a single chipset all of which the driver must handle.  It would be one
thing if the vendors helped but they don't - sound is considered desktop
stuff and they don't consider the Linux desktop market worth their time.

> However since the beginning the situation with ALSA has always been a  
> lot of
> advertisement how well it will work but the results where always less  
> then stellar
> if one looked at them from the functional side. 
> 

Check out the linux-audio-dev and linux-audio-user archives.  ALSA has
been working perfectly for all of those users for years.

Lee 


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 19:29                                                     ` Lee Revell
  2006-01-05 20:19                                                       ` Lee Revell
@ 2006-01-05 20:24                                                       ` Edgar Toernig
  2006-01-05 20:29                                                         ` Lee Revell
  1 sibling, 1 reply; 193+ messages in thread
From: Edgar Toernig @ 2006-01-05 20:24 UTC (permalink / raw)
  To: Lee Revell
  Cc: Florian Schmidt, Takashi Iwai, Adrian Bunk, Jesper Juhl,
	Olivier Galibert, Alistair John Strachan, Jan Engelhardt,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

Lee Revell wrote:
>
> Edgar Toernig wrote:
> > Lee Revell wrote:
> > >
> > >  If it does not Just Work it's a bug and we need to hear about it.
> > 
> > So then:  xawtv4 (dvb-app) works with hw:0 but not with 1.0.9's dmix default.
> > It works with /dev/dsp1 (usb-speakers) but not with /dev/dsp0 (atiixp ac'97).
> > vdr's softdevice (another dvb-app) works with dmix-default but not with hw:0.
> 
> Come on, this is LKML, you should know that "it doesn't work" is not a
> useful bug report.

xawtv4 with dmix is just silent and aborts when its queue of outstanding pcm
data is filled up.

Trying to use /dev/dsp0 starts fine for a fraction of a second but then
either stays silent or stutters until its audio-queue overflows again.

With vdr its similar: when using hw:0 it only stutters (and fills the log
with xrun errors).  I had a short look once - it uses a very small buffer
(iirc about 4kb) and gets constant underruns which it tries to handle
via prepare-something but it's unable to recover.  With dmix it works fine,
probably because of the bigger mixing buffer.

> Sure, maybe badly written apps but there must be something wrong if so
> many developers have problems with Alsa.  I've even resigned to grok
> the config files :-(

Ciao, ET.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 19:29                                                     ` Lee Revell
@ 2006-01-05 20:19                                                       ` Lee Revell
  2006-01-05 21:05                                                         ` Edgar Toernig
  2006-01-05 20:24                                                       ` Edgar Toernig
  1 sibling, 1 reply; 193+ messages in thread
From: Lee Revell @ 2006-01-05 20:19 UTC (permalink / raw)
  To: Edgar Toernig
  Cc: Florian Schmidt, Takashi Iwai, Adrian Bunk, Jesper Juhl,
	Olivier Galibert, Alistair John Strachan, Jan Engelhardt,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Thu, 2006-01-05 at 14:29 -0500, Lee Revell wrote:
> > And btw, with 2.6.15 the usb-speakers only produce noise most of the
> time.
> > 
> 
> Known regression, this is being worked on.  It was known and posted to
> LKML before the 2.6.15 release, unfortunately 2.6.15 was released with
> this bug anyway.
> 

If you'd like to help debug this:

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

There's a workaround patch available.  We still don't know the exact
nature of the bug.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 20:05                                             ` Lee Revell
@ 2006-01-05 20:18                                               ` Marcin Dalecki
  2006-01-05 20:28                                                 ` Lee Revell
  2006-01-05 20:32                                                 ` Lee Revell
  0 siblings, 2 replies; 193+ messages in thread
From: Marcin Dalecki @ 2006-01-05 20:18 UTC (permalink / raw)
  To: Lee Revell
  Cc: Jan Engelhardt, Takashi Iwai, Jesper Juhl, Adrian Bunk,
	Tomasz Torcz, Olivier Galibert, Alistair John Strachan,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel


On 2006-01-05, at 21:05, Lee Revell wrote:

> On Thu, 2006-01-05 at 21:03 +0100, Marcin Dalecki wrote:
>> On 2006-01-05, at 19:33, Lee Revell wrote:
>>
>>> On Thu, 2006-01-05 at 13:44 +0100, Marcin Dalecki wrote:
>>>> Second - you still didn't explain why this allows you to conclude
>>>> that sound mixing should in no way be done inside the kernel.
>>>
>>> It works perfectly right now in userspace.
>>
>> Yeah - for you maybe...
>>
>
> Please rephrase your comment in the form of a useful bug report.

Yes I will. But only after you stop spreading BS about how fine and
generally dandy the situation about sound support in Linux is thanks  
to ALSA.
One reports bugs only if one expects that the situation will improve.
Glaring problems on average commodity hardware one expect the  
developers to take
care of without any notice.

However since the beginning the situation with ALSA has always been a  
lot of
advertisement how well it will work but the results where always less  
then stellar
if one looked at them from the functional side. 

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 20:03                                           ` Marcin Dalecki
@ 2006-01-05 20:05                                             ` Lee Revell
  2006-01-05 20:18                                               ` Marcin Dalecki
  2006-01-06  2:40                                             ` Diego Calleja
  1 sibling, 1 reply; 193+ messages in thread
From: Lee Revell @ 2006-01-05 20:05 UTC (permalink / raw)
  To: Marcin Dalecki
  Cc: Jan Engelhardt, Takashi Iwai, Jesper Juhl, Adrian Bunk,
	Tomasz Torcz, Olivier Galibert, Alistair John Strachan,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Thu, 2006-01-05 at 21:03 +0100, Marcin Dalecki wrote:
> On 2006-01-05, at 19:33, Lee Revell wrote:
> 
> > On Thu, 2006-01-05 at 13:44 +0100, Marcin Dalecki wrote:
> >> Second - you still didn't explain why this allows you to conclude
> >> that sound mixing should in no way be done inside the kernel.
> >
> > It works perfectly right now in userspace.
> 
> Yeah - for you maybe...
> 

Please rephrase your comment in the form of a useful bug report.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 18:33                                         ` Lee Revell
@ 2006-01-05 20:03                                           ` Marcin Dalecki
  2006-01-05 20:05                                             ` Lee Revell
  2006-01-06  2:40                                             ` Diego Calleja
  2006-01-05 23:19                                           ` Hannu Savolainen
  1 sibling, 2 replies; 193+ messages in thread
From: Marcin Dalecki @ 2006-01-05 20:03 UTC (permalink / raw)
  To: Lee Revell
  Cc: Jan Engelhardt, Takashi Iwai, Jesper Juhl, Adrian Bunk,
	Tomasz Torcz, Olivier Galibert, Alistair John Strachan,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel


On 2006-01-05, at 19:33, Lee Revell wrote:

> On Thu, 2006-01-05 at 13:44 +0100, Marcin Dalecki wrote:
>> Second - you still didn't explain why this allows you to conclude
>> that sound mixing should in no way be done inside the kernel.
>
> It works perfectly right now in userspace.

Yeah - for you maybe...



^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 19:09                                                   ` Edgar Toernig
@ 2006-01-05 19:29                                                     ` Lee Revell
  2006-01-05 20:19                                                       ` Lee Revell
  2006-01-05 20:24                                                       ` Edgar Toernig
  0 siblings, 2 replies; 193+ messages in thread
From: Lee Revell @ 2006-01-05 19:29 UTC (permalink / raw)
  To: Edgar Toernig
  Cc: Florian Schmidt, Takashi Iwai, Adrian Bunk, Jesper Juhl,
	Olivier Galibert, Alistair John Strachan, Jan Engelhardt,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Thu, 2006-01-05 at 20:09 +0100, Edgar Toernig wrote:
> Lee Revell wrote:
> >
> > All of this was solved with the switch in ALSA 1.0.9 to use dmix by
> > default.  If it does not Just Work it's a bug and we need to hear about
> > it.
> 
> So then:  xawtv4 (dvb-app) works with hw:0 but not with 1.0.9's dmix default.
> It works with /dev/dsp1 (usb-speakers) but not with /dev/dsp0 (atiixp ac'97).
> vdr's softdevice (another dvb-app) works with dmix-default but not with hw:0.
> And that's my experience with most audio apps - you have to try all configur-
> ations until you find one that works.  Sure, maybe badly written apps but
> there must be something wrong if so many developers have problems with
> Alsa.  I've even resigned to grok the config files :-(
> 
> Ciao, ET.
> 

Come on, this is LKML, you should know that "it doesn't work" is not a
useful bug report.

> And btw, with 2.6.15 the usb-speakers only produce noise most of the time.
> 

Known regression, this is being worked on.  It was known and posted to
LKML before the 2.6.15 release, unfortunately 2.6.15 was released with
this bug anyway.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 18:36                                                 ` Lee Revell
  2006-01-05 18:47                                                   ` Tomasz Torcz
@ 2006-01-05 19:15                                                   ` Florian Schmidt
  1 sibling, 0 replies; 193+ messages in thread
From: Florian Schmidt @ 2006-01-05 19:15 UTC (permalink / raw)
  To: Lee Revell
  Cc: Florian Schmidt, Tomasz K³oczko, Adrian Bunk, Jesper Juhl,
	Takashi Iwai, Olivier Galibert, Alistair John Strachan,
	Jan Engelhardt, Andi Kleen, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel

On Thu, 05 Jan 2006 13:36:20 -0500
Lee Revell <rlrevell@joe-job.com> wrote:

> OK so you can contrive an example.  Have we ever seen a real world app
> where aoss can't work?

Well, until i provided my hacky and probably buggy patch to aoss to use
libc's fopen()-et. al.-hooks, no app using the OSS api by way of libc's
fopen() et. al. was able to use aoss.  I don't use aoss anymore, as i
have hw mixing, so i haven't really done anymore testing. I admit of not
being sure, whether this principle error has any realistic impact (i.e.
apps/libs exist that resolve their system call symbols at build time - i
must also admit that i don't have really complete understanding of this
issue. maybe a more knowledgable person can speak up about possible use
scenarios besides libc). 

> > Errm, i'm actually wrong about that. Kernel level OSS emu sw mixing
> > cannot work together with userspace ALSA sw mixing. I completely missed
> > that point.
> > 
> > I still think, the easiest way would be to use FUSE as it gives the best
> > of both worlds:
> 
> Yep, this does sound like a promising approach.  AFAIK it's never been
> seriously explored as FUSE is so new.

Plus, i was wrong :) FUSE is for filesystems. fusd would be the choice
for this (not included in kernel yet). One might see how far one gets
with reusing code from both aoss and oss2jack

http://fort.xdas.com/~kor/oss2jack/

Btw: It has a nice list of compatible apps including skype and quake3
;)

Btw2: Heh, oss2jack already has direct ALSA support on its TODO list :)

fusd:

http://www.circlemud.org/%7Ejelson/software/fusd/

Regards,
Flo

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 18:47                                                   ` Tomasz Torcz
@ 2006-01-05 19:10                                                     ` Lee Revell
  0 siblings, 0 replies; 193+ messages in thread
From: Lee Revell @ 2006-01-05 19:10 UTC (permalink / raw)
  To: Tomasz Torcz
  Cc: Florian Schmidt, Tomasz K?oczko, Adrian Bunk, Jesper Juhl,
	Takashi Iwai, Olivier Galibert, Alistair John Strachan,
	Jan Engelhardt, Andi Kleen, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel

On Thu, 2006-01-05 at 19:47 +0100, Tomasz Torcz wrote:
> On Thu, Jan 05, 2006 at 01:36:20PM -0500, Lee Revell wrote:
> > On Thu, 2006-01-05 at 12:43 +0100, Florian Schmidt wrote:
> > > On Thu, 05 Jan 2006 02:16:35 -0500
> > > Lee Revell <rlrevell@joe-job.com> wrote:
> > > 
> > > > On Wed, 2006-01-04 at 11:37 +0100, tapas wrote:
> > > > > ALSA's kernel level OSS emulation (as opposed to aoss) cannot provide
> > > > > software mixing. As aoss cannot provide OSS emulation to all OSS apps
> > > > 
> > > > Why not?
> > > 
> > > I did write it out before. aoss is a LD_PRELOAD hack. Apps/libs that
> > > resolve the system call symbols at build time cannot be made to use
> > > these calls from a different lib (which is what LD_PRELOAD tries to do).
> > > A famous example is libc for which a workaround was added (as libc
> > > offers its own mechanism to intercept fopen() et al.). Others can lurk
> > > in the background, too. It would even be trivial to write an app that
> > > aoss will not work with - ever (unless the code be modified - which is
> > > not an option for closed source apps).
> > > 
> > > It simply cannot ever work with _all_ apps (as opposed to kernel level
> > > OSS emu  which can be made to work with _all_ apps (at least in
> > > principle)).
> > > 
> > 
> > OK so you can contrive an example.  Have we ever seen a real world app
> > where aoss can't work?
> 
>   Skype. Earlier Quake 3 Arena (now Q3A is open source with SDL sound,
> so it had native ALSA).
>   They're more widely used that musical software for which ALSA seem to
> be written. People needing <1ms latency are "obscure corner cases" in
> real world.
> 

It's not that aoss "can't work" for these, it certainly has some bugs.
But the examples you gave are both proprietary apps.  Obviously we can't
waste our time debugging them.

No one has even been able to provide a test case using an app we have
the source to.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05  7:11                                                 ` Lee Revell
@ 2006-01-05 19:09                                                   ` Edgar Toernig
  2006-01-05 19:29                                                     ` Lee Revell
  0 siblings, 1 reply; 193+ messages in thread
From: Edgar Toernig @ 2006-01-05 19:09 UTC (permalink / raw)
  To: Lee Revell
  Cc: Florian Schmidt, Takashi Iwai, Adrian Bunk, Jesper Juhl,
	Olivier Galibert, Alistair John Strachan, Jan Engelhardt,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

Lee Revell wrote:
>
> All of this was solved with the switch in ALSA 1.0.9 to use dmix by
> default.  If it does not Just Work it's a bug and we need to hear about
> it.

So then:  xawtv4 (dvb-app) works with hw:0 but not with 1.0.9's dmix default.
It works with /dev/dsp1 (usb-speakers) but not with /dev/dsp0 (atiixp ac'97).
vdr's softdevice (another dvb-app) works with dmix-default but not with hw:0.
And that's my experience with most audio apps - you have to try all configur-
ations until you find one that works.  Sure, maybe badly written apps but
there must be something wrong if so many developers have problems with
Alsa.  I've even resigned to grok the config files :-(

Ciao, ET.

And btw, with 2.6.15 the usb-speakers only produce noise most of the time.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 18:36                                                 ` Lee Revell
@ 2006-01-05 18:47                                                   ` Tomasz Torcz
  2006-01-05 19:10                                                     ` Lee Revell
  2006-01-05 19:15                                                   ` Florian Schmidt
  1 sibling, 1 reply; 193+ messages in thread
From: Tomasz Torcz @ 2006-01-05 18:47 UTC (permalink / raw)
  To: Lee Revell
  Cc: Florian Schmidt, Tomasz K?oczko, Adrian Bunk, Jesper Juhl,
	Takashi Iwai, Olivier Galibert, Alistair John Strachan,
	Jan Engelhardt, Andi Kleen, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel

On Thu, Jan 05, 2006 at 01:36:20PM -0500, Lee Revell wrote:
> On Thu, 2006-01-05 at 12:43 +0100, Florian Schmidt wrote:
> > On Thu, 05 Jan 2006 02:16:35 -0500
> > Lee Revell <rlrevell@joe-job.com> wrote:
> > 
> > > On Wed, 2006-01-04 at 11:37 +0100, tapas wrote:
> > > > ALSA's kernel level OSS emulation (as opposed to aoss) cannot provide
> > > > software mixing. As aoss cannot provide OSS emulation to all OSS apps
> > > 
> > > Why not?
> > 
> > I did write it out before. aoss is a LD_PRELOAD hack. Apps/libs that
> > resolve the system call symbols at build time cannot be made to use
> > these calls from a different lib (which is what LD_PRELOAD tries to do).
> > A famous example is libc for which a workaround was added (as libc
> > offers its own mechanism to intercept fopen() et al.). Others can lurk
> > in the background, too. It would even be trivial to write an app that
> > aoss will not work with - ever (unless the code be modified - which is
> > not an option for closed source apps).
> > 
> > It simply cannot ever work with _all_ apps (as opposed to kernel level
> > OSS emu  which can be made to work with _all_ apps (at least in
> > principle)).
> > 
> 
> OK so you can contrive an example.  Have we ever seen a real world app
> where aoss can't work?

  Skype. Earlier Quake 3 Arena (now Q3A is open source with SDL sound,
so it had native ALSA).
  They're more widely used that musical software for which ALSA seem to
be written. People needing <1ms latency are "obscure corner cases" in
real world.

-- 
Tomasz Torcz                Only gods can safely risk perfection,
zdzichu@irc.-nie.spam-.pl     it's a dangerous thing for a man.  -- Alia


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 11:43                                               ` Florian Schmidt
  2006-01-05 17:48                                                 ` Lee Revell
@ 2006-01-05 18:36                                                 ` Lee Revell
  2006-01-05 18:47                                                   ` Tomasz Torcz
  2006-01-05 19:15                                                   ` Florian Schmidt
  1 sibling, 2 replies; 193+ messages in thread
From: Lee Revell @ 2006-01-05 18:36 UTC (permalink / raw)
  To: Florian Schmidt
  Cc: Tomasz K³oczko, Adrian Bunk, Jesper Juhl, Takashi Iwai,
	Olivier Galibert, Alistair John Strachan, Jan Engelhardt,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Thu, 2006-01-05 at 12:43 +0100, Florian Schmidt wrote:
> On Thu, 05 Jan 2006 02:16:35 -0500
> Lee Revell <rlrevell@joe-job.com> wrote:
> 
> > On Wed, 2006-01-04 at 11:37 +0100, tapas wrote:
> > > ALSA's kernel level OSS emulation (as opposed to aoss) cannot provide
> > > software mixing. As aoss cannot provide OSS emulation to all OSS apps
> > 
> > Why not?
> 
> I did write it out before. aoss is a LD_PRELOAD hack. Apps/libs that
> resolve the system call symbols at build time cannot be made to use
> these calls from a different lib (which is what LD_PRELOAD tries to do).
> A famous example is libc for which a workaround was added (as libc
> offers its own mechanism to intercept fopen() et al.). Others can lurk
> in the background, too. It would even be trivial to write an app that
> aoss will not work with - ever (unless the code be modified - which is
> not an option for closed source apps).
> 
> It simply cannot ever work with _all_ apps (as opposed to kernel level
> OSS emu  which can be made to work with _all_ apps (at least in
> principle)).
> 

OK so you can contrive an example.  Have we ever seen a real world app
where aoss can't work?

> Errm, i'm actually wrong about that. Kernel level OSS emu sw mixing
> cannot work together with userspace ALSA sw mixing. I completely missed
> that point.
> 
> I still think, the easiest way would be to use FUSE as it gives the best
> of both worlds:

Yep, this does sound like a promising approach.  AFAIK it's never been
seriously explored as FUSE is so new.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 12:44                                       ` Marcin Dalecki
@ 2006-01-05 18:33                                         ` Lee Revell
  2006-01-05 20:03                                           ` Marcin Dalecki
  2006-01-05 23:19                                           ` Hannu Savolainen
  0 siblings, 2 replies; 193+ messages in thread
From: Lee Revell @ 2006-01-05 18:33 UTC (permalink / raw)
  To: Marcin Dalecki
  Cc: Jan Engelhardt, Takashi Iwai, Jesper Juhl, Adrian Bunk,
	Tomasz Torcz, Olivier Galibert, Alistair John Strachan,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Thu, 2006-01-05 at 13:44 +0100, Marcin Dalecki wrote:
> Second - you still didn't explain why this allows you to conclude  
> that sound mixing should in no way be done inside the kernel. 

It works perfectly right now in userspace.  Therefore it should not be
in the kernel.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 11:43                                               ` Florian Schmidt
@ 2006-01-05 17:48                                                 ` Lee Revell
  2006-01-08 21:07                                                   ` Ville Herva
  2006-01-05 18:36                                                 ` Lee Revell
  1 sibling, 1 reply; 193+ messages in thread
From: Lee Revell @ 2006-01-05 17:48 UTC (permalink / raw)
  To: Florian Schmidt
  Cc: Tomasz K³oczko, Adrian Bunk, Jesper Juhl, Takashi Iwai,
	Olivier Galibert, Alistair John Strachan, Jan Engelhardt,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Thu, 2006-01-05 at 12:43 +0100, Florian Schmidt wrote:
> BTW: Don't expect people to always write bug reports. We all know,
> people are lazy. More often than not, they simply give up and say
> "linux sucks" to their friends. Or if they can differentiate a little
> more, they'll say "ALSA sucks" ;) [<- smiley, indicates humor].
> Especially those who use closed source apps ;) 

Of course I don't expect every end user with a problem to file a bug
report (although Mantis makes it much easier than Bugzilla) but I sure
as hell expect people who complain about ALSA on LKML to.

Unless we get some useful bug reports out of it this thread is much ado
about nothing.  Come on people, put up or shut up.

https://bugtrack.alsa-project.org/alsa-bug/main_page.php

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05 10:57                                     ` Jan Engelhardt
@ 2006-01-05 12:44                                       ` Marcin Dalecki
  2006-01-05 18:33                                         ` Lee Revell
  0 siblings, 1 reply; 193+ messages in thread
From: Marcin Dalecki @ 2006-01-05 12:44 UTC (permalink / raw)
  To: Jan Engelhardt
  Cc: Takashi Iwai, Jesper Juhl, Adrian Bunk, Tomasz Torcz,
	Olivier Galibert, Alistair John Strachan, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel


On 2006-01-05, at 11:57, Jan Engelhardt wrote:

>>> Software mixing in the kernel is like FPU ops in the kernel...
>>
>> Could you please elaborate a tad bit more on the analogy? It  
>> doesn't appear to
>> be stunningly obvious.
>>
> It has never been done before in Linux, so there must be a reason  
> to it.
> There was also a reason why khttpd was (going in and) going out.
>
>> Are you aware of the reasons why floating point operations are  
>> avoided inside
>> the kernel?
>>
> Because it is "unportable". You cannot expect to have every  
> hardware Linux
> runs on today to have an FPU engine (hey, like that ol' i386 I got,  
> needs
> CONFIG_MATH_EMU...), especially in the Embedded Devices sector.

First - the answer you provide is far from complete and it doesn't  
even touch the more important reasons why the kernel avoids doing  
FPU. (No, I don't feel obliged to explain the issue to you. Just a  
note: The reasons are just merely *technical* and not principal.)

Second - you still didn't explain why this allows you to conclude  
that sound mixing should in no way be done inside the kernel.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05  7:16                                             ` Lee Revell
@ 2006-01-05 11:43                                               ` Florian Schmidt
  2006-01-05 17:48                                                 ` Lee Revell
  2006-01-05 18:36                                                 ` Lee Revell
  0 siblings, 2 replies; 193+ messages in thread
From: Florian Schmidt @ 2006-01-05 11:43 UTC (permalink / raw)
  To: Lee Revell
  Cc: Tomasz K³oczko, Adrian Bunk, Jesper Juhl, Takashi Iwai,
	Olivier Galibert, Alistair John Strachan, Jan Engelhardt,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Thu, 05 Jan 2006 02:16:35 -0500
Lee Revell <rlrevell@joe-job.com> wrote:

> On Wed, 2006-01-04 at 11:37 +0100, tapas wrote:
> > ALSA's kernel level OSS emulation (as opposed to aoss) cannot provide
> > software mixing. As aoss cannot provide OSS emulation to all OSS apps
> 
> Why not?

I did write it out before. aoss is a LD_PRELOAD hack. Apps/libs that
resolve the system call symbols at build time cannot be made to use
these calls from a different lib (which is what LD_PRELOAD tries to do).
A famous example is libc for which a workaround was added (as libc
offers its own mechanism to intercept fopen() et al.). Others can lurk
in the background, too. It would even be trivial to write an app that
aoss will not work with - ever (unless the code be modified - which is
not an option for closed source apps).

It simply cannot ever work with _all_ apps (as opposed to kernel level
OSS emu  which can be made to work with _all_ apps (at least in
principle)).

Errm, i'm actually wrong about that. Kernel level OSS emu sw mixing
cannot work together with userspace ALSA sw mixing. I completely missed
that point.

I still think, the easiest way would be to use FUSE as it gives the best
of both worlds:

- device file access as opposed to LD_PRELOAD hack (which has principle
problems)

- access to userspace ALSA lib which would allow it to work together
with ALSA's sw mixing for native ALSA apps.

Maybe it can be developed as a third alternative independently. People
without FUSE would have to try their luck with the other two. Plus,
there's oss2jack which can probably be modified to use ALSA instead of
jack (although i thinkg oss2jack actually uses fusd and not FUSE. Hmm,
some more hacking would be required then). Also i think a FUSE based
approach is actually less ugly than a LD_PRELOAD hack. 

BTW: Don't expect people to always write bug reports. We all know,
people are lazy. More often than not, they simply give up and say "linux
sucks" to their friends. Or if they can differentiate a little more,
they'll say "ALSA sucks" ;) [<- smiley, indicates humor]. Especially
those who use closed source apps ;)

Regards,
Flo

-- 
Palimm Palimm!
http://tapas.affenbande.org

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 19:52                                                   ` Florian Schmidt
  2006-01-05  7:11                                                     ` Jan Engelhardt
@ 2006-01-05 11:15                                                     ` Takashi Iwai
  1 sibling, 0 replies; 193+ messages in thread
From: Takashi Iwai @ 2006-01-05 11:15 UTC (permalink / raw)
  To: Florian Schmidt
  Cc: Marcin Dalecki, Adrian Bunk, Jesper Juhl, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

At Wed, 4 Jan 2006 20:52:32 +0100,
Florian Schmidt wrote:
> 
> On Wed, 4 Jan 2006 20:28:59 +0100
> Marcin Dalecki <dalecki.marcin@neostrada.pl> wrote:
> 
> > 
> > On 2006-01-04, at 19:17, Florian Schmidt wrote:
> > > Maybe create a /proc control, so users can revert
> > > to the olde behaviour if there really is any need.
> > 
> > YES YES! After all who doesn't use his system logged in as root?
> 
> Well, maybe it is a bad idea. Got a better one up your sleeve? Or just
> sarcasm? 
> 
> Maybe make it a .asoundrc option (which libasound reads everytime a
> device is opened anyways). Maybe even per device.

That sounds better.  The hw plug of alsa-lib can have a new option to
force non-blocking mode open.  So, no change in the kernel side at
all.


Thanks,

Takashi

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 16:43                                   ` Marcin Dalecki
@ 2006-01-05 10:57                                     ` Jan Engelhardt
  2006-01-05 12:44                                       ` Marcin Dalecki
  0 siblings, 1 reply; 193+ messages in thread
From: Jan Engelhardt @ 2006-01-05 10:57 UTC (permalink / raw)
  To: Marcin Dalecki
  Cc: Takashi Iwai, Jesper Juhl, Adrian Bunk, Tomasz Torcz,
	Olivier Galibert, Alistair John Strachan, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

>> Software mixing in the kernel is like FPU ops in the kernel...
>
> Could you please elaborate a tad bit more on the analogy? It doesn't appear to
> be stunningly obvious.
>
It has never been done before in Linux, so there must be a reason to it.
There was also a reason why khttpd was (going in and) going out.

> Are you aware of the reasons why floating point operations are avoided inside
> the kernel?
>
Because it is "unportable". You cannot expect to have every hardware Linux 
runs on today to have an FPU engine (hey, like that ol' i386 I got, needs 
CONFIG_MATH_EMU...), especially in the Embedded Devices sector.



Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05  7:13                                           ` Jan Engelhardt
  2006-01-05  7:19                                             ` Lee Revell
@ 2006-01-05  9:57                                             ` Peter Bortas
  1 sibling, 0 replies; 193+ messages in thread
From: Peter Bortas @ 2006-01-05  9:57 UTC (permalink / raw)
  To: Jan Engelhardt
  Cc: Stefan Smietanowski, Tomasz Kłoczko, Adrian Bunk,
	Jesper Juhl, Takashi Iwai, Olivier Galibert,
	Alistair John Strachan, Andi Kleen, perex, alsa-devel, James,
	sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

On 1/5/06, Jan Engelhardt <jengelh@linux01.gwdg.de> wrote:
>
> >No. Everything on Solaris uses the Solaris native sound API except for
> >possibly quick-hack ports of applications from Linux. Doing anything
> >else would as you say be insane and break things like device
> >redirection on Sunrays.
> >
> Device redirection is just "writing to a different /dev node" - on
> Solaris and Linux. IIRC, the API is the same.

Correct. Rederection to $AUDIODEVICE that is a normal /dev/audio.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05  7:19                                             ` Lee Revell
@ 2006-01-05  8:41                                               ` Stefan Smietanowski
  0 siblings, 0 replies; 193+ messages in thread
From: Stefan Smietanowski @ 2006-01-05  8:41 UTC (permalink / raw)
  To: Lee Revell
  Cc: Jan Engelhardt, Peter Bortas, Tomasz Kłoczko, Adrian Bunk,
	Jesper Juhl, Takashi Iwai, Olivier Galibert,
	Alistair John Strachan, Andi Kleen, perex, alsa-devel, James,
	sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]

Hi.

>>>No. Everything on Solaris uses the Solaris native sound API except for
>>>possibly quick-hack ports of applications from Linux. Doing anything
>>>else would as you say be insane and break things like device
>>>redirection on Sunrays.
>>>
>>
>>Device redirection is just "writing to a different /dev node" - on
>>Solaris and Linux. IIRC, the API is the same.
> 
> This whole "OSS is cross platform" thing seems mostly like a cop out by
> lazy developers who can't be bothered to grok ALSA.  None of the usual
> offenders (Skype, Quake 3, Doom 3) run on any other Unix platform so why
> not just use ALSA?
> 
> It does not help that the most problematic apps seem to be proprietary
> (most likely they are abusing the OSS API in a way that no one
> anticipated).

What's actually funny (well actually it's not) is that Doom3 for
instance works great using the OSS emul of ALSA but not using
native ALSA for some reason. I haven't reported it cause it's
a commercial program without source.

( The sound stutters all the time, and not just when moving, etc, but
all the time )

// Stefan

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05  7:13                                           ` Jan Engelhardt
@ 2006-01-05  7:19                                             ` Lee Revell
  2006-01-05  8:41                                               ` Stefan Smietanowski
  2006-01-05  9:57                                             ` Peter Bortas
  1 sibling, 1 reply; 193+ messages in thread
From: Lee Revell @ 2006-01-05  7:19 UTC (permalink / raw)
  To: Jan Engelhardt
  Cc: Peter Bortas, Stefan Smietanowski, Tomasz Kłoczko,
	Adrian Bunk, Jesper Juhl, Takashi Iwai, Olivier Galibert,
	Alistair John Strachan, Andi Kleen, perex, alsa-devel, James,
	sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

On Thu, 2006-01-05 at 08:13 +0100, Jan Engelhardt wrote:
> >No. Everything on Solaris uses the Solaris native sound API except for
> >possibly quick-hack ports of applications from Linux. Doing anything
> >else would as you say be insane and break things like device
> >redirection on Sunrays.
> >
> Device redirection is just "writing to a different /dev node" - on
> Solaris and Linux. IIRC, the API is the same.

This whole "OSS is cross platform" thing seems mostly like a cop out by
lazy developers who can't be bothered to grok ALSA.  None of the usual
offenders (Skype, Quake 3, Doom 3) run on any other Unix platform so why
not just use ALSA?

It does not help that the most problematic apps seem to be proprietary
(most likely they are abusing the OSS API in a way that no one
anticipated).

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 10:37                                           ` tapas
  2006-01-04 17:28                                             ` Alistair John Strachan
  2006-01-04 17:54                                             ` Takashi Iwai
@ 2006-01-05  7:16                                             ` Lee Revell
  2006-01-05 11:43                                               ` Florian Schmidt
  2 siblings, 1 reply; 193+ messages in thread
From: Lee Revell @ 2006-01-05  7:16 UTC (permalink / raw)
  To: mista.tapas
  Cc: Tomasz K³oczko, Adrian Bunk, Jesper Juhl, Takashi Iwai,
	Olivier Galibert, Alistair John Strachan, Jan Engelhardt,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Wed, 2006-01-04 at 11:37 +0100, tapas wrote:
> ALSA's kernel level OSS emulation (as opposed to aoss) cannot provide
> software mixing. As aoss cannot provide OSS emulation to all OSS apps

Why not?

> ,
> the kernel level OSS emu must be fixed. 

Wrong, if an app doesn't work with aoss it's a bug and we need to hear
about it.  I mentioned this previously in the thread and apparently no
one cares about it enough to file a useful bug report (we got one report
that the *kernel level* emulation didn't work which is a different
issue).

By far the most common bug report is "Skype does not work with aoss".
We would LOVE to see a reproducible test case using an *open source* app
(kiax might be a good place to start).

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 17:28                                             ` Alistair John Strachan
@ 2006-01-05  7:14                                               ` Jan Engelhardt
  0 siblings, 0 replies; 193+ messages in thread
From: Jan Engelhardt @ 2006-01-05  7:14 UTC (permalink / raw)
  To: Alistair John Strachan
  Cc: mista.tapas, Tomasz K³oczko, Adrian Bunk, Jesper Juhl,
	Takashi Iwai, Olivier Galibert, Andi Kleen, perex, alsa-devel,
	James, sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

>This is a superb, informed summary of the pros and cons of ALSA.
>
Reminds me of Takashi's talk named "ALSA sucks". :)

>I urge the ALSA developers to consider each point carefully so we can try to 
>make ALSA even better.
>

Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-05  3:03                                         ` Peter Bortas
@ 2006-01-05  7:13                                           ` Jan Engelhardt
  2006-01-05  7:19                                             ` Lee Revell
  2006-01-05  9:57                                             ` Peter Bortas
  0 siblings, 2 replies; 193+ messages in thread
From: Jan Engelhardt @ 2006-01-05  7:13 UTC (permalink / raw)
  To: Peter Bortas
  Cc: Stefan Smietanowski, Tomasz Kłoczko, Adrian Bunk,
	Jesper Juhl, Takashi Iwai, Olivier Galibert,
	Alistair John Strachan, Andi Kleen, perex, alsa-devel, James,
	sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel


>No. Everything on Solaris uses the Solaris native sound API except for
>possibly quick-hack ports of applications from Linux. Doing anything
>else would as you say be insane and break things like device
>redirection on Sunrays.
>
Device redirection is just "writing to a different /dev node" - on
Solaris and Linux. IIRC, the API is the same.



Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 19:52                                                   ` Florian Schmidt
@ 2006-01-05  7:11                                                     ` Jan Engelhardt
  2006-01-05 11:15                                                     ` Takashi Iwai
  1 sibling, 0 replies; 193+ messages in thread
From: Jan Engelhardt @ 2006-01-05  7:11 UTC (permalink / raw)
  To: Florian Schmidt
  Cc: Marcin Dalecki, Takashi Iwai, Adrian Bunk, Jesper Juhl,
	Olivier Galibert, Alistair John Strachan, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

>> > Maybe create a /proc control, so users can revert
>> > to the olde behaviour if there really is any need.
>> 
>> YES YES! After all who doesn't use his system logged in as root?
>

There is something like /etc/init.d/boot.local in which you can set your
preference. Who changes his blocking mode behavior every day, huh?

>Well, maybe it is a bad idea. Got a better one up your sleeve? Or just
>sarcasm? 
>
>Maybe make it a .asoundrc option (which libasound reads everytime a
>device is opened anyways). Maybe even per device.
>
And what about the OSS emulation /dev/dsp? OSS apps do not read .asoundrc.


Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 18:17                                               ` Florian Schmidt
  2006-01-04 19:28                                                 ` Marcin Dalecki
@ 2006-01-05  7:11                                                 ` Lee Revell
  2006-01-05 19:09                                                   ` Edgar Toernig
  1 sibling, 1 reply; 193+ messages in thread
From: Lee Revell @ 2006-01-05  7:11 UTC (permalink / raw)
  To: Florian Schmidt
  Cc: Takashi Iwai, Adrian Bunk, Jesper Juhl, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

On Wed, 2006-01-04 at 19:17 +0100, Florian Schmidt wrote:
> On Wed, 04 Jan 2006 18:54:48 +0100
> Takashi Iwai <tiwai@suse.de> wrote:
> 
> > Note that as of OSS emulation, this is no longer true.  The OSS
> > devices are opened as "non-blocking" per default.  ALSA native devices
> > are opened as "blocking" just to keep the compatible behavior,
> > though.
> 
> Hi Takashi,
> 
> do you know of _any_ app relying on this behaviour? If not, make
> blocking open and blocking read/write different things (as they really
> are different things). Maybe create a /proc control, so users can revert
> to the olde behaviour if there really is any need.
> 
> I simply cannot imagine that any ALSA app relies on this weird
> behaviour. I only ever hear how it confuses people [Hang out a bit on
> #alsa on irc.freenode.org: "my alsa driver is broken as this and that
> app hangs!!!" - "no it's expected behaviour" - "WTF!!!?" ;) <- smiley].
> It is also still quite a common case i suppose as when an OSS app has a
> device open, the ALSA apps trying to open it in blocking mode will again
> hang. Or so i'd think. My soundcard is hw mixing capable (thank god ;)),
> so i don't really know, and it's been a while since i hang out regularly
> on that channel. If i talk out of my ass, let me know.

All of this was solved with the switch in ALSA 1.0.9 to use dmix by
default.  If it does not Just Work it's a bug and we need to hear about
it.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 19:24                     ` Olivier Galibert
  2006-01-03 19:37                       ` Adrian Bunk
@ 2006-01-05  6:42                       ` Lee Revell
  1 sibling, 0 replies; 193+ messages in thread
From: Lee Revell @ 2006-01-05  6:42 UTC (permalink / raw)
  To: Olivier Galibert
  Cc: Alistair John Strachan, Tomasz Torcz, Jan Engelhardt, Andi Kleen,
	Adrian Bunk, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Tue, 2006-01-03 at 20:24 +0100, Olivier Galibert wrote:
> As for the OSS API being crippled, I'd take the 3 ioctl calls you need
> to setup a simple stereo 16bits output with OSS than the 13 ALSA
> library calls anyday.  Especially with the impressive lack of
> documentation you get about what the hell is a period, or what you can
> do except aborting when you get an error. 

Same thing as a fragment in OSS.  It's the number of frames between
interrupts from the audio interface.

Come on, Google could have told you that in 5 seconds.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04  9:48                                       ` Stefan Smietanowski
@ 2006-01-05  3:03                                         ` Peter Bortas
  2006-01-05  7:13                                           ` Jan Engelhardt
  0 siblings, 1 reply; 193+ messages in thread
From: Peter Bortas @ 2006-01-05  3:03 UTC (permalink / raw)
  To: Stefan Smietanowski
  Cc: Tomasz Kłoczko, Adrian Bunk, Jesper Juhl, Takashi Iwai,
	Olivier Galibert, Alistair John Strachan, Jan Engelhardt,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On 1/4/06, Stefan Smietanowski <stesmi@stesmi.com> wrote:

> So if I buy $COMMERCIAL_PROGRAM for say Solaris, AIX or anything else
> it REQUIRES me to download (before: buy) $COMMERCIAL_SOUNDSYSTEM?
>
> "In order to use this program you need to have OSS installed."
>
> That sounds insane to say the least.
>
> // Stefan

No. Everything on Solaris uses the Solaris native sound API except for
possibly quick-hack ports of applications from Linux. Doing anything
else would as you say be insane and break things like device
redirection on Sunrays.

--
Peter Bortas

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 20:12                                   ` Kyle Moffett
@ 2006-01-04 22:25                                     ` Olivier Galibert
  0 siblings, 0 replies; 193+ messages in thread
From: Olivier Galibert @ 2006-01-04 22:25 UTC (permalink / raw)
  To: Kyle Moffett
  Cc: Jan Engelhardt, Takashi Iwai, Jesper Juhl, Adrian Bunk,
	Tomasz Torcz, Alistair John Strachan, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

On Wed, Jan 04, 2006 at 03:12:33PM -0500, Kyle Moffett wrote:
> Software mixing in the kernel probably _IS_ FPU ops in the kernel.   
> We already do video mixing (think X) in userspace, I see no reason  
> why audio should be different.

Bad comparison.  X as it is is so good that if you want something
remotely looking like performance you end up with a proprietary kernel
module the size of Cleveland.

Software mixing in practice could be in the kernel, it's for instance
way less complex than say the network stack.  I mean, even with an
helper thread, it fits in 20-30 lines of kernel code or so.  But what
happens is that you quickly want much more than that.  To give you
some examples:

- resampling (with a wide array of algorithms with a different cpu
  usage/result quality mix), especially since a number of chips are
  48KHz only.

- AC3/DTS encoding for multichannel output on spdif.

- spatialisation (virtual or real, depending on the hardware
  available).

- dynamic range compression.

So as soon as you build some decent infrastructure to allow for that
in userspace, having software mixing specifically in the kernel does
not make much sense.

I have 3 main problems with ALSA, but using userspace for flexibility
is definitively not one of them.

  OG.


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 14:46                                 ` Jan Engelhardt
  2006-01-04 16:43                                   ` Marcin Dalecki
@ 2006-01-04 20:12                                   ` Kyle Moffett
  2006-01-04 22:25                                     ` Olivier Galibert
  1 sibling, 1 reply; 193+ messages in thread
From: Kyle Moffett @ 2006-01-04 20:12 UTC (permalink / raw)
  To: Jan Engelhardt
  Cc: Takashi Iwai, Jesper Juhl, Adrian Bunk, Tomasz Torcz,
	Olivier Galibert, Alistair John Strachan, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

On Jan 04, 2006, at 09:46, Jan Engelhardt wrote:
>>> Still would be nice if users of ALSA who have the OSS backwards  
>>> compat
>>> enabled would thus also get transparent software mixing for all apps
>>> using the OSS API.
>>> not crucial, that's not what I'm saying, just nice if it would be  
>>> possible.
>>
>> Technicall it's trivial to implement the soft-mixing in the kernel.
>> The question is whether it's the right implementation.
>> We have a user-space softmix for ALSA, and aoss wrapper for OSS using
>> it.  (I know aoss still has some problems that should be fixed,
>> though.)
>
> Software mixing in the kernel is like FPU ops in the kernel...

Software mixing in the kernel probably _IS_ FPU ops in the kernel.   
We already do video mixing (think X) in userspace, I see no reason  
why audio should be different.

Cheers,
Kyle Moffett

--
Somone asked me why I work on this free (http://www.fsf.org/ 
philosophy/) software stuff and not get a real job. Charles Schulz  
had the best answer:

"Why do musicians compose symphonies and poets write poems? They do  
it because life wouldn't have any meaning for them if they didn't.  
That's why I draw cartoons. It's my life."
   -- Charles Schulz



^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 19:28                                                 ` Marcin Dalecki
@ 2006-01-04 19:52                                                   ` Florian Schmidt
  2006-01-05  7:11                                                     ` Jan Engelhardt
  2006-01-05 11:15                                                     ` Takashi Iwai
  2006-01-05 21:20                                                   ` Jim Crilly
  1 sibling, 2 replies; 193+ messages in thread
From: Florian Schmidt @ 2006-01-04 19:52 UTC (permalink / raw)
  To: Marcin Dalecki
  Cc: Florian Schmidt, Takashi Iwai, Adrian Bunk, Jesper Juhl,
	Olivier Galibert, Alistair John Strachan, Jan Engelhardt,
	Andi Kleen, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Wed, 4 Jan 2006 20:28:59 +0100
Marcin Dalecki <dalecki.marcin@neostrada.pl> wrote:

> 
> On 2006-01-04, at 19:17, Florian Schmidt wrote:
> > Maybe create a /proc control, so users can revert
> > to the olde behaviour if there really is any need.
> 
> YES YES! After all who doesn't use his system logged in as root?

Well, maybe it is a bad idea. Got a better one up your sleeve? Or just
sarcasm? 

Maybe make it a .asoundrc option (which libasound reads everytime a
device is opened anyways). Maybe even per device.

Flo

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 18:17                                               ` Florian Schmidt
@ 2006-01-04 19:28                                                 ` Marcin Dalecki
  2006-01-04 19:52                                                   ` Florian Schmidt
  2006-01-05 21:20                                                   ` Jim Crilly
  2006-01-05  7:11                                                 ` Lee Revell
  1 sibling, 2 replies; 193+ messages in thread
From: Marcin Dalecki @ 2006-01-04 19:28 UTC (permalink / raw)
  To: Florian Schmidt
  Cc: Takashi Iwai, Adrian Bunk, Jesper Juhl, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel


On 2006-01-04, at 19:17, Florian Schmidt wrote:
> Maybe create a /proc control, so users can revert
> to the olde behaviour if there really is any need.

YES YES! After all who doesn't use his system logged in as root?


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 17:54                                             ` Takashi Iwai
@ 2006-01-04 18:17                                               ` Florian Schmidt
  2006-01-04 19:28                                                 ` Marcin Dalecki
  2006-01-05  7:11                                                 ` Lee Revell
  0 siblings, 2 replies; 193+ messages in thread
From: Florian Schmidt @ 2006-01-04 18:17 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Adrian Bunk, Jesper Juhl, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

On Wed, 04 Jan 2006 18:54:48 +0100
Takashi Iwai <tiwai@suse.de> wrote:

> Note that as of OSS emulation, this is no longer true.  The OSS
> devices are opened as "non-blocking" per default.  ALSA native devices
> are opened as "blocking" just to keep the compatible behavior,
> though.

Hi Takashi,

do you know of _any_ app relying on this behaviour? If not, make
blocking open and blocking read/write different things (as they really
are different things). Maybe create a /proc control, so users can revert
to the olde behaviour if there really is any need.

I simply cannot imagine that any ALSA app relies on this weird
behaviour. I only ever hear how it confuses people [Hang out a bit on
#alsa on irc.freenode.org: "my alsa driver is broken as this and that
app hangs!!!" - "no it's expected behaviour" - "WTF!!!?" ;) <- smiley].
It is also still quite a common case i suppose as when an OSS app has a
device open, the ALSA apps trying to open it in blocking mode will again
hang. Or so i'd think. My soundcard is hw mixing capable (thank god ;)),
so i don't really know, and it's been a while since i hang out regularly
on that channel. If i talk out of my ass, let me know.

Regards,
Flo

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 10:37                                           ` tapas
  2006-01-04 17:28                                             ` Alistair John Strachan
@ 2006-01-04 17:54                                             ` Takashi Iwai
  2006-01-04 18:17                                               ` Florian Schmidt
  2006-01-05  7:16                                             ` Lee Revell
  2 siblings, 1 reply; 193+ messages in thread
From: Takashi Iwai @ 2006-01-04 17:54 UTC (permalink / raw)
  To: mista.tapas
  Cc: Adrian Bunk, Jesper Juhl, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

At Wed, 4 Jan 2006 11:37:26 +0100,
tapas wrote:
> 
> -- ALSA's default open mode is "blocking". But the ALSA API uses the
> term blocking in two meanings and throws them together into the open
> mode of a pcm device. Normally on device files, blocking access means a
> read()/write() returns, when there's data which has actually been
> read/written to the device. nonblocking access means, read()/write()
> return immediately. In ALSA blocking mode means above _plus_ that the
> open call will only immediately return (in case of contention) when the
> previous user of the audio device has given it up. 
> 
> The combination of the last two is deadly :) It leaves users with
> nonfunctional sound plus seemingly hanging apps when their soundcard is
> not hardware mixing capable. So IMHO, to fix these two issues really is
> the most pressing matter of all, but like i said, sadly ALSA devs seem
> to disagree (i haven't followed ALSA development that closely lately
> though).

Note that as of OSS emulation, this is no longer true.  The OSS
devices are opened as "non-blocking" per default.  ALSA native devices
are opened as "blocking" just to keep the compatible behavior,
though.


Takashi

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 17:31                                 ` Alistair John Strachan
@ 2006-01-04 17:48                                   ` Takashi Iwai
  0 siblings, 0 replies; 193+ messages in thread
From: Takashi Iwai @ 2006-01-04 17:48 UTC (permalink / raw)
  To: Alistair John Strachan
  Cc: Jaroslav Kysela, Andi Kleen, Joern Nettingsmeier, Tomasz K?oczko,
	Adrian Bunk, Olivier Galibert, Tomasz Torcz, Jan Engelhardt,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

At Wed, 4 Jan 2006 17:31:18 +0000,
Alistair John Strachan wrote:
> 
> On Wednesday 04 January 2006 12:41, Jaroslav Kysela wrote:
> > On Wed, 4 Jan 2006, Andi Kleen wrote:
> > > > this is like whining about the oh so complex networking infrastructure
> > > > and iptables and constantly reminiscing how simple it used to be to set
> > > > up a modem on /dev/ttyS0.
> > >
> > > Can be nearly all CONFIGured out. With the removal of the sane
> > > sound drivers that would be impossible though.
> >
> > The code reduction is possible also for the ALSA midlevel code.
> > For example, removing the verbose /proc support might save some bytes and
> > so on.
> 
> But can more be done? Andi's not pointed anything out in particular (unless I 
> am mistaken), but could more of ALSA be configurable, even if it is at the 
> expense of userspace API features?

For example, we can make supported ac97 codecs selectable so that not
all codes are compiled in.  The middle layer may contain functions
which are not used by your drivers.  They can be reduced, too.


Takashi

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 12:41                               ` Jaroslav Kysela
@ 2006-01-04 17:31                                 ` Alistair John Strachan
  2006-01-04 17:48                                   ` Takashi Iwai
  0 siblings, 1 reply; 193+ messages in thread
From: Alistair John Strachan @ 2006-01-04 17:31 UTC (permalink / raw)
  To: Jaroslav Kysela
  Cc: Andi Kleen, Joern Nettingsmeier, Tomasz K?oczko, Adrian Bunk,
	Olivier Galibert, Tomasz Torcz, Jan Engelhardt, alsa-devel,
	James, sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

On Wednesday 04 January 2006 12:41, Jaroslav Kysela wrote:
> On Wed, 4 Jan 2006, Andi Kleen wrote:
> > > this is like whining about the oh so complex networking infrastructure
> > > and iptables and constantly reminiscing how simple it used to be to set
> > > up a modem on /dev/ttyS0.
> >
> > Can be nearly all CONFIGured out. With the removal of the sane
> > sound drivers that would be impossible though.
>
> The code reduction is possible also for the ALSA midlevel code.
> For example, removing the verbose /proc support might save some bytes and
> so on.

But can more be done? Andi's not pointed anything out in particular (unless I 
am mistaken), but could more of ALSA be configurable, even if it is at the 
expense of userspace API features?

As has already been pointed out, individual ALSA drivers with comparable 
features tend themselves to be smaller than the original OSS ones. It's the 
ALSA infrastructure that comes at a cost, and surely not all if it is 
mandatory.

-- 
Cheers,
Alistair.

'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 10:37                                           ` tapas
@ 2006-01-04 17:28                                             ` Alistair John Strachan
  2006-01-05  7:14                                               ` Jan Engelhardt
  2006-01-04 17:54                                             ` Takashi Iwai
  2006-01-05  7:16                                             ` Lee Revell
  2 siblings, 1 reply; 193+ messages in thread
From: Alistair John Strachan @ 2006-01-04 17:28 UTC (permalink / raw)
  To: mista.tapas
  Cc: Tomasz K³oczko, Adrian Bunk, Jesper Juhl, Takashi Iwai,
	Olivier Galibert, Jan Engelhardt, Andi Kleen, perex, alsa-devel,
	James, sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

This is a superb, informed summary of the pros and cons of ALSA.

I urge the ALSA developers to consider each point carefully so we can try to 
make ALSA even better.

On Wednesday 04 January 2006 10:37, tapas wrote:
> On Wed, 4 Jan 2006 03:51:09 +0100 (CET)
>
> Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl> wrote:
> > After four years ALSA development quality of sound support in Linux is
> > IMO on the ~same (still bad) level as four years ago. Still to
> > complicated but now more bloated and additionaly not ready for handle
> > fancy gadgets like BT headsets.
>
> Hi,
>
> i want to chime in here in the defense of ALSA. ALSA is vastly superiour
> for musicians using linux as opposed to a mere music consumer. Right,
> for a music consumer (mp3s, cd's, etc), OSS was probably easier to setup
> and use, but there's other advantages of ALSA vs. OSS:
>
> - userspace software mixing (or better software mixing at all. OSS
> doesn't have this (the libre version in the kernel, not the closed
> source proprietary one)
>
> - userspace resampling (i.e. you have crappy AC97 card that sounds like
> shit when resampling automatically? Use the ALSA resampler. It might
> sound like shit, too, but at least it can be fixed ;)
>
> - the biggest benefit for me: MIDI routing in between any number of
> applications.
>
> - more capable (more complicated yeah but wtf :)) mixer implementation
> (the thing to control the volumes, etc)
>
> - way more flexible in handling more than one soundcard/device, etc..
>
> Drawbacks yet:
>
> - complicated device naming scheme. There has been recent changes in
> this area to build up a list from which the user can select a device.
>
> - so so documentation:
>
> -- many apps still use the ALSA api wrongly due to the complex nature of
> it and lacking tutorials, etc (for example: ALSA apps should always use
> the "default" device if not otherwise indicated by the user. The user
> must be able to enter any device identifier string, or additionally
> select from the newly built ALSA provided choices list).
>
> -- Users get frustrated often, too, because their distros fail to setup
> their ALSA system correctly. Documentation does exist, but it's often of
> a technical nature, which is too much for joe user.
>
> - a single badly behaved OSS app can kill the whole software mixing
> setup, leaving the user with seemingly hanging applications. This is
> IMHO completely unacceptable. ALSA devs have, more than once, stated
> that it is perfectly well acceptable for them :(
>
> - there's two reasons for above:
>
> -- ALSA's kernel level OSS emulation (as opposed to aoss) cannot provide
> software mixing. As aoss cannot provide OSS emulation to all OSS apps,
> the kernel level OSS emu must be fixed. I would probably have a look at
> FUSE to redirect OSS access to userspace. I suppose oss2jack could be
> modified to use ALSA instead of jack.
>
> -- ALSA's default open mode is "blocking". But the ALSA API uses the
> term blocking in two meanings and throws them together into the open
> mode of a pcm device. Normally on device files, blocking access means a
> read()/write() returns, when there's data which has actually been
> read/written to the device. nonblocking access means, read()/write()
> return immediately. In ALSA blocking mode means above _plus_ that the
> open call will only immediately return (in case of contention) when the
> previous user of the audio device has given it up.
>
> The combination of the last two is deadly :) It leaves users with
> nonfunctional sound plus seemingly hanging apps when their soundcard is
> not hardware mixing capable. So IMHO, to fix these two issues really is
> the most pressing matter of all, but like i said, sadly ALSA devs seem
> to disagree (i haven't followed ALSA development that closely lately
> though).
>
> > On other systems (MOX, Win*, Solaris ..) on handle sound situations is
> > now better than four years ago. IMO this allow form conclution: generaly
> > current ALSA is step back compare to other systems and probaly Linux need
> > some deeper work then simple polishing sound device drivers.
>
> ALSA is a definitive step forward from OSS. It even is superior to the
> original windows sound system (except for ease of configuration - but
> windows had no interapp midi routing (extra software needed) plus you
> need another audio device driver system (ASIO) to get reliable low
> latency operation, and even there it still sucks compared to
> linux/ALSA/jack/-rt). MAC OS X almost got it right. Their design has
> another drawback though which makes OS X always have ca. 1 period of
> latency more. I.e. in terms of low latency operation for musicians with
> jackd and -rt kernels, linux is ATM the _superior_ platform.
>
> It is, when setup correctly simply a joy to work with and make music
> with.
>
> Regards,
> Florian Schmidt

-- 
Cheers,
Alistair.

'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 14:46                                 ` Jan Engelhardt
@ 2006-01-04 16:43                                   ` Marcin Dalecki
  2006-01-05 10:57                                     ` Jan Engelhardt
  2006-01-04 20:12                                   ` Kyle Moffett
  1 sibling, 1 reply; 193+ messages in thread
From: Marcin Dalecki @ 2006-01-04 16:43 UTC (permalink / raw)
  To: Jan Engelhardt
  Cc: Takashi Iwai, Jesper Juhl, Adrian Bunk, Tomasz Torcz,
	Olivier Galibert, Alistair John Strachan, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel


On 2006-01-04, at 15:46, Jan Engelhardt wrote:

>>> Still would be nice if users of ALSA who have the OSS backwards  
>>> compat
>>> enabled would thus also get transparent software mixing for all apps
>>> using the OSS API.
>>> not crucial, that's not what I'm saying, just nice if it would be  
>>> possible.
>>
>> Technicall it's trivial to implement the soft-mixing in the kernel.
>> The question is whether it's the right implementation.
>> We have a user-space softmix for ALSA, and aoss wrapper for OSS using
>> it.  (I know aoss still has some problems that should be fixed,
>> though.)
>>
> Software mixing in the kernel is like FPU ops in the kernel...

Could you please elaborate a tad bit more on the analogy? It doesn't  
appear to be stunningly obvious.
Are you aware of the reasons why floating point operations are  
avoided inside the kernel?
They are *not* principal - it's just engineering pragmatism.


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 11:46                               ` Takashi Iwai
@ 2006-01-04 14:46                                 ` Jan Engelhardt
  2006-01-04 16:43                                   ` Marcin Dalecki
  2006-01-04 20:12                                   ` Kyle Moffett
  0 siblings, 2 replies; 193+ messages in thread
From: Jan Engelhardt @ 2006-01-04 14:46 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Jesper Juhl, Adrian Bunk, Tomasz Torcz, Olivier Galibert,
	Alistair John Strachan, Andi Kleen, perex, alsa-devel, James,
	sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

>> Still would be nice if users of ALSA who have the OSS backwards compat
>> enabled would thus also get transparent software mixing for all apps
>> using the OSS API.
>> not crucial, that's not what I'm saying, just nice if it would be possible.
>
>Technicall it's trivial to implement the soft-mixing in the kernel.
>The question is whether it's the right implementation.
>We have a user-space softmix for ALSA, and aoss wrapper for OSS using
>it.  (I know aoss still has some problems that should be fixed,
>though.)
>
Software mixing in the kernel is like FPU ops in the kernel...



Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 13:21                                             ` Greg Louis
@ 2006-01-04 14:41                                               ` Adrian Bunk
  0 siblings, 0 replies; 193+ messages in thread
From: Adrian Bunk @ 2006-01-04 14:41 UTC (permalink / raw)
  To: linux-sound, linux-kernel

On Wed, Jan 04, 2006 at 08:21:39AM -0500, Greg Louis wrote:
> On 20060104 (Wed) at 0850:34 +0000, Alan Cox wrote:
> > On Mer, 2006-01-04 at 03:51 +0100, Tomasz K??oczko wrote:
> > > Be compliant with OSS specyfication allow save many time on applications 
> > > development level by consume (in good sense) time spend on this 
> > > applications by *BSD, Solaris and other systems developers (even on not 
> > > open source applications).
> > 
> > Both Solaris and FreeBSD contain Linux emulation code so in that sense
> > they admitted 'defeat' long ago.
> > 
> > > valuable functionalities in usable/simpler form for joe-like users .. 
> > > remember: sound support in Linux isn't for data centers/big-ass-machines :)
> > 
> > And distributions nowdays ship with ALSA by default, which is giving
> > users far better audio timing behaviour, mixing they want, digital and
> > analogue 5.1 outputs. OSS really isn't ideal for serious "end user"
> > applications like video playback
> > 
> Ok, so I'm not serious :) just wanna do fairly standard audio things.
> 
> - ALSA doesn't (AFAIK, haven't checked for a few months) support my old
>   Audiotrix sound card -- bye, machine 1

Noone wants to remove the drivers for hardware not supported by ALSA 
from OSS.

After 4 years of ALSA in the kernel we are starting to remove the OSS 
drivers from the kernel where ALSA drives the same hardware.

We might end up with a handful of OSS drivers for some ancient 
soundcards without ALSA support and keep them similar to the old CD-ROM 
drivers under drivers/cdrom/ (or someone might write ALSA drivers for 
such hardware), but we don't need two drivers for the same hardware.

> - ALSA can't be persuaded (not by me, anyway) to drive my VIA
>   ac97_codec onboard sound hardware -- everything works fine except
>   unmuting ;) -- bye, machine 2

Can you give me a bug number in the ALSA bug tracking system for this 
issue to track it?

> - ALSA does suport my i810_audio ac97_codec laptop, but so does OSS,
>   equally well (for my unsophisticated needs) and with a far less
>   elephantine footprint in memory. -- strike 3, ALSA out.
>...

How much RAM does your system have that this is really an issue for you?

Sure, it would be possible to make ALSA a bit slimmer, but if you are 
running something like KDE or Mozilla or OpenOffice on your Laptop the 
size of the kernel shouldn't be a real issue.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
       [not found]                   ` <5rgSv-1KJ-41@gated-at.bofh.it>
@ 2006-01-04 14:03                     ` Patrizio Bassi
  0 siblings, 0 replies; 193+ messages in thread
From: Patrizio Bassi @ 2006-01-04 14:03 UTC (permalink / raw)
  To: Kernel, 

Greg Louis ha scritto:
> On 20060104 (Wed) at 0850:34 +0000, Alan Cox wrote:
> 
>>On Mer, 2006-01-04 at 03:51 +0100, Tomasz K??oczko wrote:
>>
>>>Be compliant with OSS specyfication allow save many time on applications 
>>>development level by consume (in good sense) time spend on this 
>>>applications by *BSD, Solaris and other systems developers (even on not 
>>>open source applications).
>>
>>Both Solaris and FreeBSD contain Linux emulation code so in that sense
>>they admitted 'defeat' long ago.
>>
>>
>>>valuable functionalities in usable/simpler form for joe-like users .. 
>>>remember: sound support in Linux isn't for data centers/big-ass-machines :)
>>
>>And distributions nowdays ship with ALSA by default, which is giving
>>users far better audio timing behaviour, mixing they want, digital and
>>analogue 5.1 outputs. OSS really isn't ideal for serious "end user"
>>applications like video playback
>>
> 
> Ok, so I'm not serious :) just wanna do fairly standard audio things.
> 
> - ALSA doesn't (AFAIK, haven't checked for a few months) support my old
>   Audiotrix sound card -- bye, machine 1
> - ALSA can't be persuaded (not by me, anyway) to drive my VIA
>   ac97_codec onboard sound hardware -- everything works fine except
>   unmuting ;) -- bye, machine 2
> - ALSA does suport my i810_audio ac97_codec laptop, but so does OSS,
>   equally well (for my unsophisticated needs) and with a far less
>   elephantine footprint in memory. -- strike 3, ALSA out.
> 
> So even if sound support in Linux _is_ for "big-ass" studio work, it
> would be nice if little guys didn't get abandoned along the way, IMHO.
> 

if you miss some drivers, you can add them (or ask for that) written in
alsa driver.

and if your chipset works with alsa as with oss that's not a good
motivation not to remove OSS.

think about audigy2 users :)

ps. i've an old ens1370 card..so that's not me

	Patrizio

--
Patrizio Bassi
www.patriziobassi.it

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04  8:50                                           ` Alan Cox
@ 2006-01-04 13:21                                             ` Greg Louis
  2006-01-04 14:41                                               ` Adrian Bunk
  0 siblings, 1 reply; 193+ messages in thread
From: Greg Louis @ 2006-01-04 13:21 UTC (permalink / raw)
  To: linux-sound, linux-kernel

On 20060104 (Wed) at 0850:34 +0000, Alan Cox wrote:
> On Mer, 2006-01-04 at 03:51 +0100, Tomasz K??oczko wrote:
> > Be compliant with OSS specyfication allow save many time on applications 
> > development level by consume (in good sense) time spend on this 
> > applications by *BSD, Solaris and other systems developers (even on not 
> > open source applications).
> 
> Both Solaris and FreeBSD contain Linux emulation code so in that sense
> they admitted 'defeat' long ago.
> 
> > valuable functionalities in usable/simpler form for joe-like users .. 
> > remember: sound support in Linux isn't for data centers/big-ass-machines :)
> 
> And distributions nowdays ship with ALSA by default, which is giving
> users far better audio timing behaviour, mixing they want, digital and
> analogue 5.1 outputs. OSS really isn't ideal for serious "end user"
> applications like video playback
> 
Ok, so I'm not serious :) just wanna do fairly standard audio things.

- ALSA doesn't (AFAIK, haven't checked for a few months) support my old
  Audiotrix sound card -- bye, machine 1
- ALSA can't be persuaded (not by me, anyway) to drive my VIA
  ac97_codec onboard sound hardware -- everything works fine except
  unmuting ;) -- bye, machine 2
- ALSA does suport my i810_audio ac97_codec laptop, but so does OSS,
  equally well (for my unsophisticated needs) and with a far less
  elephantine footprint in memory. -- strike 3, ALSA out.

So even if sound support in Linux _is_ for "big-ass" studio work, it
would be nice if little guys didn't get abandoned along the way, IMHO.

-- 
| G r e g  L o u i s         | gpg public key: 0x400B1AA86D9E3E64 |
|  http://www.bgl.nu/~glouis |   (on my website or any keyserver) |
|  http://wecanstopspam.org in signatures helps fight junk email. |

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 12:35                             ` Andi Kleen
@ 2006-01-04 12:41                               ` Jaroslav Kysela
  2006-01-04 17:31                                 ` Alistair John Strachan
  0 siblings, 1 reply; 193+ messages in thread
From: Jaroslav Kysela @ 2006-01-04 12:41 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Joern Nettingsmeier, Tomasz K?oczko, Adrian Bunk,
	Olivier Galibert, Alistair John Strachan, Tomasz Torcz,
	Jan Engelhardt, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Wed, 4 Jan 2006, Andi Kleen wrote:

> > this is like whining about the oh so complex networking infrastructure 
> > and iptables and constantly reminiscing how simple it used to be to set 
> > up a modem on /dev/ttyS0.
> 
> Can be nearly all CONFIGured out. With the removal of the sane
> sound drivers that would be impossible though.

The code reduction is possible also for the ALSA midlevel code.
For example, removing the verbose /proc support might save some bytes and 
so on.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 12:13                           ` Joern Nettingsmeier
@ 2006-01-04 12:35                             ` Andi Kleen
  2006-01-04 12:41                               ` Jaroslav Kysela
  0 siblings, 1 reply; 193+ messages in thread
From: Andi Kleen @ 2006-01-04 12:35 UTC (permalink / raw)
  To: Joern Nettingsmeier
  Cc: Tomasz K?oczko, Adrian Bunk, Olivier Galibert,
	Alistair John Strachan, Tomasz Torcz, Jan Engelhardt, Andi Kleen,
	perex, alsa-devel, James, sailer, linux-sound, zab, kyle,
	parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

> desktop stuff and "you have mail" beeps are a fscking corner case.

Your "fscking corner case" is just all what 90+% of all users need
sound for.

> 
> this is like whining about the oh so complex networking infrastructure 
> and iptables and constantly reminiscing how simple it used to be to set 
> up a modem on /dev/ttyS0.

Can be nearly all CONFIGured out. With the removal of the sane
sound drivers that would be impossible though.

-Andi


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 23:10                         ` Tomasz Kłoczko
  2006-01-04  0:33                           ` Thomas Sailer
  2006-01-04  9:03                           ` Jan Engelhardt
@ 2006-01-04 12:13                           ` Joern Nettingsmeier
  2006-01-04 12:35                             ` Andi Kleen
  2 siblings, 1 reply; 193+ messages in thread
From: Joern Nettingsmeier @ 2006-01-04 12:13 UTC (permalink / raw)
  To: Tomasz Kłoczko
  Cc: Adrian Bunk, Olivier Galibert, Alistair John Strachan,
	Tomasz Torcz, Jan Engelhardt, Andi Kleen, perex, alsa-devel,
	James, sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel



Tomasz Kłoczko wrote:
> Also more than four years exist another thing: generaly sound suport
> in Linux kernel is broken by design. Points where it is broken:
> 
> 1) ALSA API forces not use devices files and many things on sound
> managing level are handled on user space library. This dissallow
<snip>
> 2) ALSA API is to complicated: most applications opens single sound 
> stream. All what system user expect it is plaing sound by more then
<snip>
> 3) ALSA kernel architecture is to complicated. This main reason why 
> configuring sound on Linux is SO COMPLICATED. From my system:
<snip>
> ALSA is also requires much more bigger code size than OSS variant 
> (count all snd* modules size, jackd and libasound and compare this
> with OSS modules and user space OSS library size). Simillar is on
<snip>

oh yeah. why is linux so fscking big? my olde msdos would fit on one 
floppy. whiiine.

what a load of crap. alsa is a serious architecture meant for serious, 
maximally efficient usage with all kinds of (wildly different) hardware.

desktop stuff and "you have mail" beeps are a fscking corner case.

this is like whining about the oh so complex networking infrastructure 
and iptables and constantly reminiscing how simple it used to be to set 
up a modem on /dev/ttyS0.

get real.


-- 
jörn nettingsmeier

home://germany/45128 essen/lortzingstr. 11/
http://spunk.dnsalias.org
phone://+49/201/491621

if you are a free (as in "free speech") software developer
and you happen to be travelling near my home, drop me a line
and come round for a free (as in "free beer") beer. :-D

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 22:11                             ` Jesper Juhl
@ 2006-01-04 11:46                               ` Takashi Iwai
  2006-01-04 14:46                                 ` Jan Engelhardt
  0 siblings, 1 reply; 193+ messages in thread
From: Takashi Iwai @ 2006-01-04 11:46 UTC (permalink / raw)
  To: Jesper Juhl
  Cc: Adrian Bunk, Tomasz Torcz, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

At Tue, 3 Jan 2006 23:11:47 +0100,
Jesper Juhl wrote:
> 
> On 1/3/06, Adrian Bunk <bunk@stusta.de> wrote:
> > On Tue, Jan 03, 2006 at 09:56:20PM +0100, Jesper Juhl wrote:
> > > On 1/3/06, Takashi Iwai <tiwai@suse.de> wrote:
> > > > At Tue, 3 Jan 2006 21:37:32 +0100,
> > > > Tomasz Torcz wrote:
> > > > >
> > > > > On Tue, Jan 03, 2006 at 09:22:58PM +0100, Takashi Iwai wrote:
> > > > > > At Tue, 3 Jan 2006 18:03:16 +0100,
> > > > > > Olivier Galibert wrote:
> > > > > > >
> > > > > > > > This is exactly why the OSS emulation option in ALSA is really a last resort
> > > > > > > > and should not be an excuse for people to ignore implementing ALSA support
> > > > > > > > directly. More so, it is very good justification for ditching "everything
> > > > > > > > OSS" as soon as possible, at least in new software.
> > > > > > >
> > > > > > > Actually the crappy state of OSS emulation is a good reason to ditch
> > > > > > > ALSA in its current implementation.  As Linus reminded not so long
> > > > > > > ago, backwards compatibility is extremely important.
> > > > > >
> > > > > > Well, we keep the compatibility exactly -- OSS drivers don't support
> > > > > > software mixing in the kernel, too :)
> > > > >
> > > > >  OSS will support software mixing. In kernel. On NetBSD.
> > > > > http://kerneltrap.org/node/4388
> > > >
> > > > Why do we need to keep the compatibility with NetBSD?
> > > >
> > > Software mixing is a really nice feature for people with soundscards
> > > that can't do hardware mixing, so if the OSS compatibility could
> > > transparently do software mixing for apps using OSS api that would be
> > > a very nice extension for a lot of people - I'd say that if NetBSD do
> > > that they've got the right idea.
> >
> > The OSS compatibility in ALSA is only a legacy API for applications not
> > yet converted to use the ALSA API.
> >
> 
> Still would be nice if users of ALSA who have the OSS backwards compat
> enabled would thus also get transparent software mixing for all apps
> using the OSS API.
> not crucial, that's not what I'm saying, just nice if it would be possible.

Technicall it's trivial to implement the soft-mixing in the kernel.
The question is whether it's the right implementation.
We have a user-space softmix for ALSA, and aoss wrapper for OSS using
it.  (I know aoss still has some problems that should be fixed,
though.)


Anyway, the softmix problem has no relation with the deprecation of
OSS drivers in Linux kernel tree.  They don't do softmix.  So,
comparing with NetBSD or claiming the unimplemented feature is
irrelevant with $SUBJECT.


Takashi

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04 11:13         ` Pete Zaitcev
@ 2006-01-04 11:16           ` Jaroslav Kysela
  0 siblings, 0 replies; 193+ messages in thread
From: Jaroslav Kysela @ 2006-01-04 11:16 UTC (permalink / raw)
  To: Pete Zaitcev; +Cc: Alistair John Strachan, linux-kernel, linux-sound

On Wed, 4 Jan 2006, Pete Zaitcev wrote:

> On Tue, 3 Jan 2006 14:01:40 +0000, Alistair John Strachan <s0348365@sms.ed.ac.uk> wrote:
> 
> > Is multiple-source mixing really a "high end" requirement? When I last 
> > checked, the OSS driver didn't support multiple applications claiming it at 
> > once, thus requiring you to use "more bloat" like esound, arts, or some other 
> > crap to access your soundcard more than once at any given time.
> 
> If ALSA's OSS emulator does not support mixing properly, it's a bug
> in ALSA, clearly, because real OSS in 2.4 allowed for mixing, as long
> as the hardware supported it. I played Doom while listening to MP3s on
> ymfpci (which, in fact, was a copy of ALSA's ymfpci with OSS API on top).
> 
> If ALSA developers wanted, they could have supported mixing in their OSS
> emulator. They intentionally chose not to, in order to create an incentive
> for developers to program in native ALSA.

You're in a mistake. ALSA supported multi-open feature for the hardware 
capable devices as first before any OSS drivers and it's available for the 
OSS emulation, too.

The thread is about simple hardware without this capability, so the mixing 
must be processed in software.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
       [not found]       ` <mailman.1136300646.6679.linux-kernel2news@redhat.com>
@ 2006-01-04 11:13         ` Pete Zaitcev
  2006-01-04 11:16           ` Jaroslav Kysela
  0 siblings, 1 reply; 193+ messages in thread
From: Pete Zaitcev @ 2006-01-04 11:13 UTC (permalink / raw)
  To: Alistair John Strachan; +Cc: linux-kernel, zaitcev, linux-sound

On Tue, 3 Jan 2006 14:01:40 +0000, Alistair John Strachan <s0348365@sms.ed.ac.uk> wrote:

> Is multiple-source mixing really a "high end" requirement? When I last 
> checked, the OSS driver didn't support multiple applications claiming it at 
> once, thus requiring you to use "more bloat" like esound, arts, or some other 
> crap to access your soundcard more than once at any given time.

If ALSA's OSS emulator does not support mixing properly, it's a bug
in ALSA, clearly, because real OSS in 2.4 allowed for mixing, as long
as the hardware supported it. I played Doom while listening to MP3s on
ymfpci (which, in fact, was a copy of ALSA's ymfpci with OSS API on top).

If ALSA developers wanted, they could have supported mixing in their OSS
emulator. They intentionally chose not to, in order to create an incentive
for developers to program in native ALSA.

-- Pete

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04  2:51                                         ` Tomasz Kłoczko
  2006-01-04  8:50                                           ` Alan Cox
@ 2006-01-04 10:37                                           ` tapas
  2006-01-04 17:28                                             ` Alistair John Strachan
                                                               ` (2 more replies)
  1 sibling, 3 replies; 193+ messages in thread
From: tapas @ 2006-01-04 10:37 UTC (permalink / raw)
  To: Tomasz K³oczko
  Cc: Adrian Bunk, Jesper Juhl, Takashi Iwai, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

On Wed, 4 Jan 2006 03:51:09 +0100 (CET)
Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl> wrote:

> After four years ALSA development quality of sound support in Linux is IMO 
> on the ~same (still bad) level as four years ago. Still to complicated 
> but now more bloated and additionaly not ready for handle fancy gadgets 
> like BT headsets.

Hi,

i want to chime in here in the defense of ALSA. ALSA is vastly superiour
for musicians using linux as opposed to a mere music consumer. Right,
for a music consumer (mp3s, cd's, etc), OSS was probably easier to setup
and use, but there's other advantages of ALSA vs. OSS:

- userspace software mixing (or better software mixing at all. OSS
doesn't have this (the libre version in the kernel, not the closed
source proprietary one)

- userspace resampling (i.e. you have crappy AC97 card that sounds like
shit when resampling automatically? Use the ALSA resampler. It might
sound like shit, too, but at least it can be fixed ;)

- the biggest benefit for me: MIDI routing in between any number of
applications.

- more capable (more complicated yeah but wtf :)) mixer implementation
(the thing to control the volumes, etc)

- way more flexible in handling more than one soundcard/device, etc..

Drawbacks yet:

- complicated device naming scheme. There has been recent changes in
this area to build up a list from which the user can select a device.

- so so documentation: 

-- many apps still use the ALSA api wrongly due to the complex nature of
it and lacking tutorials, etc (for example: ALSA apps should always use
the "default" device if not otherwise indicated by the user. The user
must be able to enter any device identifier string, or additionally
select from the newly built ALSA provided choices list).

-- Users get frustrated often, too, because their distros fail to setup
their ALSA system correctly. Documentation does exist, but it's often of
a technical nature, which is too much for joe user. 

- a single badly behaved OSS app can kill the whole software mixing
setup, leaving the user with seemingly hanging applications. This is
IMHO completely unacceptable. ALSA devs have, more than once, stated
that it is perfectly well acceptable for them :(

- there's two reasons for above:

-- ALSA's kernel level OSS emulation (as opposed to aoss) cannot provide
software mixing. As aoss cannot provide OSS emulation to all OSS apps,
the kernel level OSS emu must be fixed. I would probably have a look at
FUSE to redirect OSS access to userspace. I suppose oss2jack could be
modified to use ALSA instead of jack.

-- ALSA's default open mode is "blocking". But the ALSA API uses the
term blocking in two meanings and throws them together into the open
mode of a pcm device. Normally on device files, blocking access means a
read()/write() returns, when there's data which has actually been
read/written to the device. nonblocking access means, read()/write()
return immediately. In ALSA blocking mode means above _plus_ that the
open call will only immediately return (in case of contention) when the
previous user of the audio device has given it up. 

The combination of the last two is deadly :) It leaves users with
nonfunctional sound plus seemingly hanging apps when their soundcard is
not hardware mixing capable. So IMHO, to fix these two issues really is
the most pressing matter of all, but like i said, sadly ALSA devs seem
to disagree (i haven't followed ALSA development that closely lately
though).

> On other systems (MOX, Win*, Solaris ..) on handle sound situations is now 
> better than four years ago. IMO this allow form conclution: generaly 
> current ALSA is step back compare to other systems and probaly Linux need 
> some deeper work then simple polishing sound device drivers.

ALSA is a definitive step forward from OSS. It even is superior to the
original windows sound system (except for ease of configuration - but
windows had no interapp midi routing (extra software needed) plus you
need another audio device driver system (ASIO) to get reliable low
latency operation, and even there it still sucks compared to
linux/ALSA/jack/-rt). MAC OS X almost got it right. Their design has
another drawback though which makes OS X always have ca. 1 period of
latency more. I.e. in terms of low latency operation for musicians with
jackd and -rt kernels, linux is ATM the _superior_ platform.

It is, when setup correctly simply a joy to work with and make music
with.

Regards,
Florian Schmidt

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04  1:38                                     ` Tomasz Kłoczko
@ 2006-01-04  9:48                                       ` Stefan Smietanowski
  2006-01-05  3:03                                         ` Peter Bortas
  0 siblings, 1 reply; 193+ messages in thread
From: Stefan Smietanowski @ 2006-01-04  9:48 UTC (permalink / raw)
  To: Tomasz Kłoczko
  Cc: Adrian Bunk, Jesper Juhl, Takashi Iwai, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2346 bytes --]

Tomasz Kłoczko wrote:
> On Wed, 4 Jan 2006, Stefan Smietanowski wrote:
> [..]
> 
>>> Solaris, AIX ..
>>> Full list is avalaible in "Operating System" listbox on
>>> http://www.4front-tech.com/download.cgi
>>
>>
>> Are all those Operatings Systems that include OSS per default, no
>> additional download required? Because that's what he's asking for,
>> not what you can get OSS for.
>>
>> Since that link is a _download page_ it makes me think that it's
>> an _additional download_ to get OSS support on those (or some of
>> those) operating systems.
> 
> 
> So start another "it makes me think" and imagine that in Solaris case
> using drivers not provided directly on distribution level is NORMAL
> habit. Why ? Bacause Solaris have well defined kernel API (from many
> years in some common areas it is constants which makes
> Documentation/stable_api_nonsense.txt from Linux tree piece of crap).
> This allow use device drivers prepared first for example for older
> kernels (8,9) on latest (10). I.e.: Solaris 10 inroduces stop supporting
> some older network cards (IIRC for old SMC cards). I know people which
> still uses this cards on Sol10 by using binary drivers prepared for
> older Solarises without visable problems. Also many device drivers have
> double versions (one from distribution resouurces and second provided by
> device vendor).
> 
> Summarize: stop looking on sound subsystem problems as Linux specyfic
> and assume that THE SAME problems exists on other unices in so simillar
> form
> so is possible thinking on OSS support on kernel level details in the
> same forms as on other unices. Linux case isn't so unusual in this area
> .. it is VERY typical :>
> If you will take this as true you can start looking on OSS API on Linux
> from correct point of view.
> And start asking ALSA people: why using OSS API in other unices simple
> works and it ins't problem and on Linux "it was so big problem that
> reinventing sound support in ALSA form was neccessary" ?
> 
> kloczek

So if I buy $COMMERCIAL_PROGRAM for say Solaris, AIX or anything else
it REQUIRES me to download (before: buy) $COMMERCIAL_SOUNDSYSTEM?

"In order to use this program you need to have OSS installed."

That sounds insane to say the least.

// Stefan

download $COMMERCIAL_SOUNDSYSTEM ins


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 23:10                         ` Tomasz Kłoczko
  2006-01-04  0:33                           ` Thomas Sailer
@ 2006-01-04  9:03                           ` Jan Engelhardt
  2006-01-04 12:13                           ` Joern Nettingsmeier
  2 siblings, 0 replies; 193+ messages in thread
From: Jan Engelhardt @ 2006-01-04  9:03 UTC (permalink / raw)
  To: Tomasz Kłoczko
  Cc: Adrian Bunk, Olivier Galibert, Alistair John Strachan,
	Tomasz Torcz, Andi Kleen, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel


> 2) ALSA API is to complicated: most applications opens single sound
> stream.

Seconded.

> 3) ALSA kernel architecture is to complicated. This main reason why
> configuring sound on Linux is SO COMPLICATED. From my system:
>
> # lsmod | grep ^snd | wc -l
> 19
>

Why would you, or the "Desktop User Joe" using Torvalds-advertised KDE,
care about how many modules are loaded?

Splitting code up to make things more modular is A Good Choice most
of the times. There is, however, one point in which you have reason:
if the overall modular structure is bigger than a mono one, then it's
indeed "complicated".

> ALSA is also requires much more bigger code size than OSS variant
> (count all snd* modules size, jackd and libasound and compare this with
> OSS modules and user space OSS library size). Simillar is on allocated
> memory in all system sound components.
>
jackd does not count - ALSA works without it.

> Many task switches incurred by the current ALSA architecture
> add quickly up to perceivalble deleys during processing. In many cases
> sound must be handled with RT piorites so all code sise must possible
> small for handle this with minimal latency.
>
> 4) ALSA mixing model is UNSECURE by design because all mixing sound
> streams (for example with diffrent sampling rates) are performed
> in user space.
>
I'd rather have libasound segfault rather than my kernel oopsing, in case
someone forgot a NULL check.

> Also using jackd also "creates problems" with RTing this proccess and
> much more bigger problems on configure stage (for joe user).
> All this can be handled in secure and proprer RT prioprities
> ONLY on kernel space (so all gaming mith jackd or so is plain waste
> of time). Only on kernel level is possible correctly handle all this.
> With ALSA you can't extend in esy way for example SELinux for prevent
> intercept sound streem from microphone by remote user. Current OSS API
> is much more better for SELinux.
> Why ? because all mixing on OSS is performed on kernel level.
>
AFAICS, OSS does not do mixing at all in its current state.



Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04  2:51                                         ` Tomasz Kłoczko
@ 2006-01-04  8:50                                           ` Alan Cox
  2006-01-04 13:21                                             ` Greg Louis
  2006-01-04 10:37                                           ` tapas
  1 sibling, 1 reply; 193+ messages in thread
From: Alan Cox @ 2006-01-04  8:50 UTC (permalink / raw)
  To: Tomasz Kłoczko
  Cc: Adrian Bunk, Jesper Juhl, Takashi Iwai, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

On Mer, 2006-01-04 at 03:51 +0100, Tomasz Kłoczko wrote:
> Be compliant with OSS specyfication allow save many time on applications 
> development level by consume (in good sense) time spend on this 
> applications by *BSD, Solaris and other systems developers (even on not 
> open source applications).

Both Solaris and FreeBSD contain Linux emulation code so in that sense
they admitted 'defeat' long ago.

> valuable functionalities in usable/simpler form for joe-like users .. 
> remember: sound support in Linux isn't for data centers/big-ass-machines :)

And distributions nowdays ship with ALSA by default, which is giving
users far better audio timing behaviour, mixing they want, digital and
analogue 5.1 outputs. OSS really isn't ideal for serious "end user"
applications like video playback

Alan


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04  1:01                                       ` Adrian Bunk
@ 2006-01-04  2:51                                         ` Tomasz Kłoczko
  2006-01-04  8:50                                           ` Alan Cox
  2006-01-04 10:37                                           ` tapas
  0 siblings, 2 replies; 193+ messages in thread
From: Tomasz Kłoczko @ 2006-01-04  2:51 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: Jesper Juhl, Takashi Iwai, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2839 bytes --]

On Wed, 4 Jan 2006, Adrian Bunk wrote:

> On Wed, Jan 04, 2006 at 01:46:08AM +0100, Tomasz K?oczko wrote:
>> On Wed, 4 Jan 2006, Adrian Bunk wrote:
>> [..]
>>>> Solaris, AIX ..
>>>> Full list is avalaible in "Operating System" listbox on
>>>> http://www.4front-tech.com/download.cgi
>>>
>>> As I said in footnote 1 of my email, this has little value for
>>> application developers since only few users on these systems use this
>>> commercial sound system.
>>
>> You are wrong using pejorative labeling "commercial sound system" for
>> this. Comercial is implementation. OSS is defined by user space API.
>> This is all what was neccessary on implemting this in for Linux.
>
> The question is simple:
>
> How many percent of the Solaris or AIX users are actually using any
> sound system implementing the OSS API?

First try answer on: if OSS specyfications is complet, easy to use in 
applications and generaly compact why reinventing all from this level to 
above on Linux ? why ?
If you answer first on this question you will see: answer 
on your questions do not have sense.

Be compliant with OSS specyfication allow save many time on applications 
development level by consume (in good sense) time spend on this 
applications by *BSD, Solaris and other systems developers (even on not 
open source applications).
After four years ALSA development quality of sound support in Linux is IMO 
on the ~same (still bad) level as four years ago. Still to complicated 
but now more bloated and additionaly not ready for handle fancy gadgets 
like BT headsets.
On other systems (MOX, Win*, Solaris ..) on handle sound situations is now 
better than four years ago. IMO this allow form conclution: generaly 
current ALSA is step back compare to other systems and probaly Linux need 
some deeper work then simple polishing sound device drivers.

More than year Linux in many publications is described as "excelent 
system for mobile gadgets". All waits for this ..
Most of this gadgets want uses sound. Force using ALSA in this are makes 
nightmares not only for drivers developers but also for user space 
applications developers.

(IMO in comming year or two if nothing will change Linux can be visable 
marginalized/can loose current possition .. not because in this period 
Linux will be worse compare to now but because other systems like Solaris, 
MOX and also Win* can pass in this period better progress on bringing some 
valuable functionalities in usable/simpler form for joe-like users .. 
remember: sound support in Linux isn't for data centers/big-ass-machines :)

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.gda.pl*

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04  0:33                           ` Thomas Sailer
@ 2006-01-04  1:48                             ` Olivier Galibert
  0 siblings, 0 replies; 193+ messages in thread
From: Olivier Galibert @ 2006-01-04  1:48 UTC (permalink / raw)
  To: Thomas Sailer
  Cc: Tomasz K?oczko, linux-kernel, zaitcev, zwane, Thorsten Knabe,
	jgarzik, parisc-linux, kyle, zab, linux-sound, sailer, James,
	alsa-devel, perex, Andi Kleen, Jan Engelhardt, Tomasz Torcz,
	Alistair John Strachan, Adrian Bunk

On Wed, Jan 04, 2006 at 01:33:27AM +0100, Thomas Sailer wrote:
> On Wed, 2006-01-04 at 00:10 +0100, Tomasz K?oczko wrote:
> 
> > 1) ALSA API forces not use devices files and many things on sound managing
> >    level are handled on user space library. This dissallow civilized
> 
> Huh? Why's that? Actually, I welcome that ALSA does quite a lot in
> userspace, it could even do more. The whole format conversion and
> sampling rate conversion has no business in the kernel, IMO.

Doing things in userspace does not necessarily mean doing them in a
library, especially when it is required that the library be shared,
also known as "things _will_ break".

Especially since it tends to hide the real, user-accessible kernel
interface which has very, very annoying security implications.  At
that point, the ALSA kernel-userspace interface seems entirely
un-reviewed by the kernel people who have an eye for race conditions,
wandering userland pointers, information leaks, out-of-range accesses
and this kind of things (no patches from Al Viro on alsa?) and that
does not really give me a warm and fuzzy feeling.  And even if it is
reviewed at time t, it looks like it may change anytime a driver
author thinks it would help.  Not good at all.

  OG.


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04  0:28                                   ` Stefan Smietanowski
@ 2006-01-04  1:38                                     ` Tomasz Kłoczko
  2006-01-04  9:48                                       ` Stefan Smietanowski
  0 siblings, 1 reply; 193+ messages in thread
From: Tomasz Kłoczko @ 2006-01-04  1:38 UTC (permalink / raw)
  To: Stefan Smietanowski
  Cc: Adrian Bunk, Jesper Juhl, Takashi Iwai, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2175 bytes --]

On Wed, 4 Jan 2006, Stefan Smietanowski wrote:
[..]
>> Solaris, AIX ..
>> Full list is avalaible in "Operating System" listbox on
>> http://www.4front-tech.com/download.cgi
>
> Are all those Operatings Systems that include OSS per default, no
> additional download required? Because that's what he's asking for,
> not what you can get OSS for.
>
> Since that link is a _download page_ it makes me think that it's
> an _additional download_ to get OSS support on those (or some of
> those) operating systems.

So start another "it makes me think" and imagine that in Solaris case 
using drivers not provided directly on distribution level is NORMAL habit. 
Why ? Bacause Solaris have well defined kernel API (from many years in 
some common areas it is constants which makes 
Documentation/stable_api_nonsense.txt from Linux tree piece of crap). This 
allow use device drivers prepared first for example for older kernels 
(8,9) on latest (10). I.e.: Solaris 10 inroduces stop supporting some 
older network cards (IIRC for old SMC cards). I know people which still 
uses this cards on Sol10 by using binary drivers prepared for older 
Solarises without visable problems. Also many device drivers have double 
versions (one from distribution resouurces and second provided by device 
vendor).

Summarize: stop looking on sound subsystem problems as Linux specyfic and 
assume that THE SAME problems exists on other unices in so simillar form
so is possible thinking on OSS support on kernel level details in the 
same forms as on other unices. Linux case isn't so unusual in this area .. 
it is VERY typical :>
If you will take this as true you can start looking on OSS API on Linux
from correct point of view.
And start asking ALSA people: why using OSS API in other unices 
simple works and it ins't problem and on Linux "it was so big problem 
that reinventing sound support in ALSA form was neccessary" ?

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.gda.pl*

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04  0:46                                     ` Tomasz Kłoczko
@ 2006-01-04  1:01                                       ` Adrian Bunk
  2006-01-04  2:51                                         ` Tomasz Kłoczko
  0 siblings, 1 reply; 193+ messages in thread
From: Adrian Bunk @ 2006-01-04  1:01 UTC (permalink / raw)
  To: Tomasz K?oczko
  Cc: Jesper Juhl, Takashi Iwai, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

On Wed, Jan 04, 2006 at 01:46:08AM +0100, Tomasz K?oczko wrote:
> On Wed, 4 Jan 2006, Adrian Bunk wrote:
> [..]
> >>Solaris, AIX ..
> >>Full list is avalaible in "Operating System" listbox on
> >>http://www.4front-tech.com/download.cgi
> >
> >As I said in footnote 1 of my email, this has little value for
> >application developers since only few users on these systems use this
> >commercial sound system.
> 
> You are wrong using pejorative labeling "commercial sound system" for 
> this. Comercial is implementation. OSS is defined by user space API.
> This is all what was neccessary on implemting this in for Linux.

The question is simple:

How many percent of the Solaris or AIX users are actually using any 
sound system implementing the OSS API?

> OSS case on Linux is very simillar to Motiff case on X11.
> As same as Motiff OSS have publically avalaible and open specyfication
> avalaible on http://www.opensound.com/pguide/oss.pdf which do not touch 
> kernel level implemntations details. Using this specyfication you can
> collect all neccessary details for implemt handle /dev/* interface on
> kernel side.

There are many cross-platform audio libraries available that work on 
more systems than the systems implementing the OSS API (because they 
have backends for many different sound APIs including OSS), and many of 
them are with open specifications.

> kloczek

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-04  0:03                                   ` Adrian Bunk
@ 2006-01-04  0:46                                     ` Tomasz Kłoczko
  2006-01-04  1:01                                       ` Adrian Bunk
  0 siblings, 1 reply; 193+ messages in thread
From: Tomasz Kłoczko @ 2006-01-04  0:46 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: Jesper Juhl, Takashi Iwai, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1160 bytes --]

On Wed, 4 Jan 2006, Adrian Bunk wrote:
[..]
>> Solaris, AIX ..
>> Full list is avalaible in "Operating System" listbox on
>> http://www.4front-tech.com/download.cgi
>
> As I said in footnote 1 of my email, this has little value for
> application developers since only few users on these systems use this
> commercial sound system.

You are wrong using pejorative labeling "commercial sound system" for 
this. Comercial is implementation. OSS is defined by user space API.
This is all what was neccessary on implemting this in for Linux.

OSS case on Linux is very simillar to Motiff case on X11.
As same as Motiff OSS have publically avalaible and open specyfication
avalaible on http://www.opensound.com/pguide/oss.pdf which do not touch 
kernel level implemntations details. Using this specyfication you can
collect all neccessary details for implemt handle /dev/* interface on
kernel side.

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.gda.pl*

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 23:10                         ` Tomasz Kłoczko
@ 2006-01-04  0:33                           ` Thomas Sailer
  2006-01-04  1:48                             ` Olivier Galibert
  2006-01-04  9:03                           ` Jan Engelhardt
  2006-01-04 12:13                           ` Joern Nettingsmeier
  2 siblings, 1 reply; 193+ messages in thread
From: Thomas Sailer @ 2006-01-04  0:33 UTC (permalink / raw)
  To: Tomasz Kłoczko
  Cc: linux-kernel, zaitcev, zwane, Thorsten Knabe, jgarzik,
	parisc-linux, kyle, zab, linux-sound, sailer, James, alsa-devel,
	perex, Andi Kleen, Jan Engelhardt, Tomasz Torcz,
	Alistair John Strachan, Olivier Galibert, Adrian Bunk

On Wed, 2006-01-04 at 00:10 +0100, Tomasz Kłoczko wrote:

> 1) ALSA API forces not use devices files and many things on sound managing
>    level are handled on user space library. This dissallow civilized

Huh? Why's that? Actually, I welcome that ALSA does quite a lot in
userspace, it could even do more. The whole format conversion and
sampling rate conversion has no business in the kernel, IMO.

> 2) ALSA API is to complicated: most applications opens single sound
>    stream.

Agreed. It took me quite some time to get my app ported, even though I
had lots of documentation and sample code...


> 3) ALSA kernel architecture is to complicated. This main reason why
>    configuring sound on Linux is SO COMPLICATED. From my system:

Also agreed. It is IMO the hardest kernel subsystem to read. Instead of
having control passing from VFS to driver and the driver calling core
library routines, control passes from VFS to alsa core, which is calling
lots of callbacks. It's a coding style that should be avoided, it makes
reading and understanding code extremely hard.

> 4) ALSA mixing model is UNSECURE by design because all mixing sound
>    streams (for example with diffrent sampling rates) are performed
>    in user space.

Why is that? Even with kernel space mixing, any application having
access to the soundcard can fuck up the output, so I don't see why the
user space solution is less secure than a kernel solution.

Tom



^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 23:51                                 ` Tomasz Kłoczko
  2006-01-04  0:03                                   ` Adrian Bunk
@ 2006-01-04  0:28                                   ` Stefan Smietanowski
  2006-01-04  1:38                                     ` Tomasz Kłoczko
  1 sibling, 1 reply; 193+ messages in thread
From: Stefan Smietanowski @ 2006-01-04  0:28 UTC (permalink / raw)
  To: Tomasz Kłoczko
  Cc: Adrian Bunk, Jesper Juhl, Takashi Iwai, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 870 bytes --]

Tomasz Kłoczko wrote:
> On Wed, 4 Jan 2006, Adrian Bunk wrote:
> [..]
> 
>>>   OSS is universal cross-unix API. ALSA is Linux-only.
>>
>>
>> How "universal cross-unix" is the OSS API really?
>>
>> Which operating systems besides Linux have a native sound system
>> supporting the OSS API [1]?
>>
>> I know about FreeBSD and partial support in NetBSD.
>>
>> Are there any other [2]?
> 
> 
> Solaris, AIX ..
> Full list is avalaible in "Operating System" listbox on
> http://www.4front-tech.com/download.cgi

Are all those Operatings Systems that include OSS per default, no
additional download required? Because that's what he's asking for,
not what you can get OSS for.

Since that link is a _download page_ it makes me think that it's
an _additional download_ to get OSS support on those (or some of
those) operating systems.

// Stefan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 20:06                           ` Jaroslav Kysela
@ 2006-01-04  0:23                             ` Thomas Sailer
  0 siblings, 0 replies; 193+ messages in thread
From: Thomas Sailer @ 2006-01-04  0:23 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: Lee Revell, LKML

On Tue, 2006-01-03 at 21:06 +0100, Jaroslav Kysela wrote:

> The "plugin" (or rather conversion, routing and resampling) system in the 
> OSS emulation can be turned off using the proc interface:

Hm. IMO by including resampling and format conversion you're trying to
"unbreak" broken OSS apps in the kernel. And by having this on by
default you're rewarding writers of broken OSS apps while punishing
those that write correct apps...

But this is a sidetrack. Even though it's not optimal from the CPU usage
point of view to have two sampling rate converters in sequence, and
apart from the SNR loss by the overly simplistic linear interpolator,
soundmodem should still work with ALSA's OSS emulation. But it doesn't.
Well, it almost does: only every tenth or so bit is incorrect (which is
inacceptable for a modem, though). This leads me to suspect there's
something else wrong with the sample rate converter.

In sound/core/oss/rate.c, resample_expand, line 111:
if (src_frames1-- > 0) {

What is this test for? Similar code is also in resample_shrink.

Either it's never false, or I know why modem apps don't work with it: it
would be "inventing samples out of the blue", thereby adding lots of
jitter to the time axis...

Tom



^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 23:51                                 ` Tomasz Kłoczko
@ 2006-01-04  0:03                                   ` Adrian Bunk
  2006-01-04  0:46                                     ` Tomasz Kłoczko
  2006-01-04  0:28                                   ` Stefan Smietanowski
  1 sibling, 1 reply; 193+ messages in thread
From: Adrian Bunk @ 2006-01-04  0:03 UTC (permalink / raw)
  To: Tomasz K?oczko
  Cc: Jesper Juhl, Takashi Iwai, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

On Wed, Jan 04, 2006 at 12:51:52AM +0100, Tomasz K?oczko wrote:
> On Wed, 4 Jan 2006, Adrian Bunk wrote:
> [..]
> >>  OSS is universal cross-unix API. ALSA is Linux-only.
> >
> >How "universal cross-unix" is the OSS API really?
> >
> >Which operating systems besides Linux have a native sound system
> >supporting the OSS API [1]?
> >
> >I know about FreeBSD and partial support in NetBSD.
> >
> >Are there any other [2]?
> 
> Solaris, AIX ..
> Full list is avalaible in "Operating System" listbox on 
> http://www.4front-tech.com/download.cgi

As I said in footnote 1 of my email, this has little value for 
application developers since only few users on these systems use this 
commercial sound system.

> kloczek

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 23:10                               ` Adrian Bunk
@ 2006-01-03 23:51                                 ` Tomasz Kłoczko
  2006-01-04  0:03                                   ` Adrian Bunk
  2006-01-04  0:28                                   ` Stefan Smietanowski
  0 siblings, 2 replies; 193+ messages in thread
From: Tomasz Kłoczko @ 2006-01-03 23:51 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: Jesper Juhl, Takashi Iwai, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 721 bytes --]

On Wed, 4 Jan 2006, Adrian Bunk wrote:
[..]
>>   OSS is universal cross-unix API. ALSA is Linux-only.
>
> How "universal cross-unix" is the OSS API really?
>
> Which operating systems besides Linux have a native sound system
> supporting the OSS API [1]?
>
> I know about FreeBSD and partial support in NetBSD.
>
> Are there any other [2]?

Solaris, AIX ..
Full list is avalaible in "Operating System" listbox on 
http://www.4front-tech.com/download.cgi

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.gda.pl*

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 19:37                       ` Adrian Bunk
  2006-01-03 21:40                         ` Olivier Galibert
@ 2006-01-03 23:10                         ` Tomasz Kłoczko
  2006-01-04  0:33                           ` Thomas Sailer
                                             ` (2 more replies)
  1 sibling, 3 replies; 193+ messages in thread
From: Tomasz Kłoczko @ 2006-01-03 23:10 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: Olivier Galibert, Alistair John Strachan, Tomasz Torcz,
	Jan Engelhardt, Andi Kleen, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 4834 bytes --]

On Tue, 3 Jan 2006, Adrian Bunk wrote:

> On Tue, Jan 03, 2006 at 08:24:49PM +0100, Olivier Galibert wrote:
>> On Tue, Jan 03, 2006 at 05:16:13PM +0000, Alistair John Strachan wrote:
>>> This argument is basically watered down with devfs, udev, sysfs, etc. which
>>> all have exactly the same issues. Should a crippled OSS API be the way
>>> forward for Linux? I think not.
>>
>> And they're getting some real backlash because of that now.  Hell,
>> Linus' message was about udev in the first place.
>
> The udev breakages might not have been nice, but OSS/ALSA is a
> completely different issue:
>
> OSS has been deprecated since ALSA was merged into the Linux kernel
> _four years ago_.

Also more than four years exist another thing: generaly sound suport in 
Linux kernel is broken by design. Points where it is broken:

1) ALSA API forces not use devices files and many things on sound managing
   level are handled on user space library. This dissallow civilized
   redirection sound stream in runed application without this application
   interractions (try redirect sound stream on runed application for
   example to headset .. simple case skype .. oh you probaly don't know: in
   current ALSA infrastructure there is no civilized way for handle
   gadgests like BT headsets). In current ALSA API (IIRC) you must write in
   special way applications for handle this (look pint 2)).

2) ALSA API is to complicated: most applications opens single sound
   stream.
   All what system user expect it is plaing sound by more then one
   application with simple mixing sound streams. For me ALSA is prepared
   like for handle ANY sound case .. EXCEPT all most simpler.

3) ALSA kernel architecture is to complicated. This main reason why
   configuring sound on Linux is SO COMPLICATED. From my system:

# lsmod | grep ^snd | wc -l
19

   All this for handle ONLY ONE sound card. Why not one alsa main module
   and one with hardware backend module like in comarcial OSS ?

   ALSA is also requires much more bigger code size than OSS variant
   (count all snd* modules size, jackd and libasound and compare this with
   OSS modules and user space OSS library size). Simillar is on allocated
   memory in all system sound components.
   Many task switches incurred by the current ALSA architecture
   add quickly up to perceivalble deleys during processing. In many cases
   sound must be handled with RT piorites so all code sise must possible
   small for handle this with minimal latency.

4) ALSA mixing model is UNSECURE by design because all mixing sound
   streams (for example with diffrent sampling rates) are performed
   in user space.
   Also using jackd also "creates problems" with RTing this proccess and
   much more bigger problems on configure stage (for joe user).
   All this can be handled in secure and proprer RT prioprities
   ONLY on kernel space (so all gaming mith jackd or so is plain waste
   of time). Only on kernel level is possible correctly handle all this.
   With ALSA you can't extend in esy way for example SELinux for prevent
   intercept sound streem from microphone by remote user. Current OSS API
   is much more better for SELinux.
   Why ? because all mixing on OSS is performed on kernel level.

   I can't understand why ALSA developers still do not understands this
   fundamentalt facts.

5) OSS API can be used not only on Linux. ALSA API can be used ONLY on
   Linux.
   This was, still is and (looks like allways) will be main reason
   for not spending so many time as it is required on polish sound
   interractions on Linux applications.
   Still I can't understand why introducing ALSA *must* break OSS user
   space API in so deep way.
   OSS user space API also have some weak poinst on to big complications
   because it allow implemet the same cases in to many forms (for some
   cases it provides more than two ways for handle some scenarios).
   I do not understand why on developing Linux soud support was forgoten
   "don't move .. improve" sentence :>
   OSS API paralelism looks lik was "correctly" implemnted in ALSA .. so
   ALSA do not improves sound handling for user space applications and
   additionaly introduces other own complications (ASA API documentations
   in many cases isn't clear).

Conclution: removing OSS from Linux kernel and force using ALSA in last 
four years was IMO one of the main resons why Linux still can't 
effectively fight on desktop area and in future will be/can be one of the 
most importand weak point which can drive Linux to die at all (in longer 
period).

kloczek
-- 
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.gda.pl*

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 22:13                             ` Tomasz Torcz
@ 2006-01-03 23:10                               ` Adrian Bunk
  2006-01-03 23:51                                 ` Tomasz Kłoczko
  0 siblings, 1 reply; 193+ messages in thread
From: Adrian Bunk @ 2006-01-03 23:10 UTC (permalink / raw)
  To: Jesper Juhl, Takashi Iwai, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

On Tue, Jan 03, 2006 at 11:13:14PM +0100, Tomasz Torcz wrote:
> On Tue, Jan 03, 2006 at 10:56:54PM +0100, Adrian Bunk wrote:
> > > > > > Well, we keep the compatibility exactly -- OSS drivers don't support
> > > > > > software mixing in the kernel, too :)
> > > > >
> > > > >  OSS will support software mixing. In kernel. On NetBSD.
> > > > > http://kerneltrap.org/node/4388
> > > >
> > > > Why do we need to keep the compatibility with NetBSD?
> > > >
> > > Software mixing is a really nice feature for people with soundscards
> > > that can't do hardware mixing, so if the OSS compatibility could
> > > transparently do software mixing for apps using OSS api that would be
> > > a very nice extension for a lot of people - I'd say that if NetBSD do
> > > that they've got the right idea.
> > 
> > The OSS compatibility in ALSA is only a legacy API for applications not 
> > yet converted to use the ALSA API.
> 
>   OSS is universal cross-unix API. ALSA is Linux-only.

How "universal cross-unix" is the OSS API really?

Which operating systems besides Linux have a native sound system 
supporting the OSS API [1]?

I know about FreeBSD and partial support in NetBSD.

Are there any other [2]?

cu
Adrian

[1] I'm not talking about a port of the commercial OSS to the operating
    system which has little value for application developers.
[2] This is not a rhetorical question, I simply don't know about any 
    other.

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 19:56                         ` Thomas Sailer
  2006-01-03 20:06                           ` Jaroslav Kysela
@ 2006-01-03 22:39                           ` James Courtier-Dutton
  1 sibling, 0 replies; 193+ messages in thread
From: James Courtier-Dutton @ 2006-01-03 22:39 UTC (permalink / raw)
  To: Thomas Sailer; +Cc: Jaroslav Kysela, Lee Revell, linux-kernel

Thomas Sailer wrote:
> On Tue, 2006-01-03 at 20:37 +0100, Jaroslav Kysela wrote:
> 
> 
>>Anyone reported that? Also what's the exact bug symptom?
> 
> 
> Many people reported this on various mailing lists, but I'm not aware of
> any bugzilla/whatever ticket.
> 
> Problem seems to be that ALSA/OSS does not report the true HW sampling
> rate, but tries to do the sample rate conversion by itself, but
> apparently not doing it good enough for modem type applications.
> 
> Anyway I find it not a good idea of alsa to try to do sample rate
> conversion in kernel for OSS, as the native OSS drivers never did this,
> and it is useless for software (like soundmodem) that tries to find out
> the hardware rates in order to adapt to them. Kernel resampling badly
> interferes with this.
> 
> Tom
> 
> PS: I was too lazy to investigate this in depth, it was easier to just
> add a native ALSA driver to soundmodem.
> 

You can switch off ALSA's sample rate converter with a line like the 
following:
err = snd_pcm_hw_params_set_rate_resample(this->audio_fd, params, 0);

The zero switches off the alsa-lib resampler.

James


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 21:56                           ` Adrian Bunk
  2006-01-03 22:11                             ` Jesper Juhl
@ 2006-01-03 22:13                             ` Tomasz Torcz
  2006-01-03 23:10                               ` Adrian Bunk
  1 sibling, 1 reply; 193+ messages in thread
From: Tomasz Torcz @ 2006-01-03 22:13 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: Jesper Juhl, Takashi Iwai, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]

On Tue, Jan 03, 2006 at 10:56:54PM +0100, Adrian Bunk wrote:
> > > > > Well, we keep the compatibility exactly -- OSS drivers don't support
> > > > > software mixing in the kernel, too :)
> > > >
> > > >  OSS will support software mixing. In kernel. On NetBSD.
> > > > http://kerneltrap.org/node/4388
> > >
> > > Why do we need to keep the compatibility with NetBSD?
> > >
> > Software mixing is a really nice feature for people with soundscards
> > that can't do hardware mixing, so if the OSS compatibility could
> > transparently do software mixing for apps using OSS api that would be
> > a very nice extension for a lot of people - I'd say that if NetBSD do
> > that they've got the right idea.
> 
> The OSS compatibility in ALSA is only a legacy API for applications not 
> yet converted to use the ALSA API.

  OSS is universal cross-unix API. ALSA is Linux-only.

-- 
Tomasz Torcz            There exists no separation between gods and men:
zdzichu@irc.-nie.spam-.pl   one blends softly casual into the other.


[-- Attachment #2: Type: application/pgp-signature, Size: 229 bytes --]

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 21:56                           ` Adrian Bunk
@ 2006-01-03 22:11                             ` Jesper Juhl
  2006-01-04 11:46                               ` Takashi Iwai
  2006-01-03 22:13                             ` Tomasz Torcz
  1 sibling, 1 reply; 193+ messages in thread
From: Jesper Juhl @ 2006-01-03 22:11 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: Takashi Iwai, Tomasz Torcz, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

On 1/3/06, Adrian Bunk <bunk@stusta.de> wrote:
> On Tue, Jan 03, 2006 at 09:56:20PM +0100, Jesper Juhl wrote:
> > On 1/3/06, Takashi Iwai <tiwai@suse.de> wrote:
> > > At Tue, 3 Jan 2006 21:37:32 +0100,
> > > Tomasz Torcz wrote:
> > > >
> > > > On Tue, Jan 03, 2006 at 09:22:58PM +0100, Takashi Iwai wrote:
> > > > > At Tue, 3 Jan 2006 18:03:16 +0100,
> > > > > Olivier Galibert wrote:
> > > > > >
> > > > > > > This is exactly why the OSS emulation option in ALSA is really a last resort
> > > > > > > and should not be an excuse for people to ignore implementing ALSA support
> > > > > > > directly. More so, it is very good justification for ditching "everything
> > > > > > > OSS" as soon as possible, at least in new software.
> > > > > >
> > > > > > Actually the crappy state of OSS emulation is a good reason to ditch
> > > > > > ALSA in its current implementation.  As Linus reminded not so long
> > > > > > ago, backwards compatibility is extremely important.
> > > > >
> > > > > Well, we keep the compatibility exactly -- OSS drivers don't support
> > > > > software mixing in the kernel, too :)
> > > >
> > > >  OSS will support software mixing. In kernel. On NetBSD.
> > > > http://kerneltrap.org/node/4388
> > >
> > > Why do we need to keep the compatibility with NetBSD?
> > >
> > Software mixing is a really nice feature for people with soundscards
> > that can't do hardware mixing, so if the OSS compatibility could
> > transparently do software mixing for apps using OSS api that would be
> > a very nice extension for a lot of people - I'd say that if NetBSD do
> > that they've got the right idea.
>
> The OSS compatibility in ALSA is only a legacy API for applications not
> yet converted to use the ALSA API.
>

Still would be nice if users of ALSA who have the OSS backwards compat
enabled would thus also get transparent software mixing for all apps
using the OSS API.
not crucial, that's not what I'm saying, just nice if it would be possible.


--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 20:56                         ` Jesper Juhl
@ 2006-01-03 21:56                           ` Adrian Bunk
  2006-01-03 22:11                             ` Jesper Juhl
  2006-01-03 22:13                             ` Tomasz Torcz
  0 siblings, 2 replies; 193+ messages in thread
From: Adrian Bunk @ 2006-01-03 21:56 UTC (permalink / raw)
  To: Jesper Juhl
  Cc: Takashi Iwai, Tomasz Torcz, Olivier Galibert,
	Alistair John Strachan, Jan Engelhardt, Andi Kleen, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

On Tue, Jan 03, 2006 at 09:56:20PM +0100, Jesper Juhl wrote:
> On 1/3/06, Takashi Iwai <tiwai@suse.de> wrote:
> > At Tue, 3 Jan 2006 21:37:32 +0100,
> > Tomasz Torcz wrote:
> > >
> > > On Tue, Jan 03, 2006 at 09:22:58PM +0100, Takashi Iwai wrote:
> > > > At Tue, 3 Jan 2006 18:03:16 +0100,
> > > > Olivier Galibert wrote:
> > > > >
> > > > > > This is exactly why the OSS emulation option in ALSA is really a last resort
> > > > > > and should not be an excuse for people to ignore implementing ALSA support
> > > > > > directly. More so, it is very good justification for ditching "everything
> > > > > > OSS" as soon as possible, at least in new software.
> > > > >
> > > > > Actually the crappy state of OSS emulation is a good reason to ditch
> > > > > ALSA in its current implementation.  As Linus reminded not so long
> > > > > ago, backwards compatibility is extremely important.
> > > >
> > > > Well, we keep the compatibility exactly -- OSS drivers don't support
> > > > software mixing in the kernel, too :)
> > >
> > >  OSS will support software mixing. In kernel. On NetBSD.
> > > http://kerneltrap.org/node/4388
> >
> > Why do we need to keep the compatibility with NetBSD?
> >
> Software mixing is a really nice feature for people with soundscards
> that can't do hardware mixing, so if the OSS compatibility could
> transparently do software mixing for apps using OSS api that would be
> a very nice extension for a lot of people - I'd say that if NetBSD do
> that they've got the right idea.

The OSS compatibility in ALSA is only a legacy API for applications not 
yet converted to use the ALSA API.

> Jesper Juhl

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 19:37                       ` Adrian Bunk
@ 2006-01-03 21:40                         ` Olivier Galibert
  2006-01-03 23:10                         ` Tomasz Kłoczko
  1 sibling, 0 replies; 193+ messages in thread
From: Olivier Galibert @ 2006-01-03 21:40 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: Alistair John Strachan, Tomasz Torcz, Jan Engelhardt, Andi Kleen,
	perex, alsa-devel, James, sailer, linux-sound, zab, kyle,
	parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Tue, Jan 03, 2006 at 08:37:36PM +0100, Adrian Bunk wrote:
> The udev breakages might not have been nice, but OSS/ALSA is a 
> completely different issue:
> 
> OSS has been deprecated since ALSA was merged into the Linux kernel 
> _four years ago_.

OSS _drivers_ yes, OSS _api_ no.


> And I'm only talking about removing drivers _with ALSA drivers for the 
> same hardware available_.

Sure, and I have no problem with that.  OTOH you'll notice that this
particular subthread was specifically about the OSS api, not the
drivers.


> For a general OSS<->ALSA discussion, you are five years too late.

I couldn't predict 5 years ago that the ALSA API quality would be
somewhat lacking.

  OG.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 20:44                       ` Takashi Iwai
@ 2006-01-03 20:56                         ` Jesper Juhl
  2006-01-03 21:56                           ` Adrian Bunk
  0 siblings, 1 reply; 193+ messages in thread
From: Jesper Juhl @ 2006-01-03 20:56 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Tomasz Torcz, Olivier Galibert, Alistair John Strachan,
	Jan Engelhardt, Andi Kleen, Adrian Bunk, perex, alsa-devel,
	James, sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

On 1/3/06, Takashi Iwai <tiwai@suse.de> wrote:
> At Tue, 3 Jan 2006 21:37:32 +0100,
> Tomasz Torcz wrote:
> >
> > On Tue, Jan 03, 2006 at 09:22:58PM +0100, Takashi Iwai wrote:
> > > At Tue, 3 Jan 2006 18:03:16 +0100,
> > > Olivier Galibert wrote:
> > > >
> > > > > This is exactly why the OSS emulation option in ALSA is really a last resort
> > > > > and should not be an excuse for people to ignore implementing ALSA support
> > > > > directly. More so, it is very good justification for ditching "everything
> > > > > OSS" as soon as possible, at least in new software.
> > > >
> > > > Actually the crappy state of OSS emulation is a good reason to ditch
> > > > ALSA in its current implementation.  As Linus reminded not so long
> > > > ago, backwards compatibility is extremely important.
> > >
> > > Well, we keep the compatibility exactly -- OSS drivers don't support
> > > software mixing in the kernel, too :)
> >
> >  OSS will support software mixing. In kernel. On NetBSD.
> > http://kerneltrap.org/node/4388
>
> Why do we need to keep the compatibility with NetBSD?
>
Software mixing is a really nice feature for people with soundscards
that can't do hardware mixing, so if the OSS compatibility could
transparently do software mixing for apps using OSS api that would be
a very nice extension for a lot of people - I'd say that if NetBSD do
that they've got the right idea.

--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 20:37                     ` Tomasz Torcz
@ 2006-01-03 20:44                       ` Takashi Iwai
  2006-01-03 20:56                         ` Jesper Juhl
  0 siblings, 1 reply; 193+ messages in thread
From: Takashi Iwai @ 2006-01-03 20:44 UTC (permalink / raw)
  To: Tomasz Torcz
  Cc: Olivier Galibert, Alistair John Strachan, Jan Engelhardt,
	Andi Kleen, Adrian Bunk, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel

At Tue, 3 Jan 2006 21:37:32 +0100,
Tomasz Torcz wrote:
> 
> On Tue, Jan 03, 2006 at 09:22:58PM +0100, Takashi Iwai wrote:
> > At Tue, 3 Jan 2006 18:03:16 +0100,
> > Olivier Galibert wrote:
> > > 
> > > > This is exactly why the OSS emulation option in ALSA is really a last resort 
> > > > and should not be an excuse for people to ignore implementing ALSA support 
> > > > directly. More so, it is very good justification for ditching "everything 
> > > > OSS" as soon as possible, at least in new software.
> > > 
> > > Actually the crappy state of OSS emulation is a good reason to ditch
> > > ALSA in its current implementation.  As Linus reminded not so long
> > > ago, backwards compatibility is extremely important.
> > 
> > Well, we keep the compatibility exactly -- OSS drivers don't support
> > software mixing in the kernel, too :)
> 
>  OSS will support software mixing. In kernel. On NetBSD.
> http://kerneltrap.org/node/4388

Why do we need to keep the compatibility with NetBSD?


Takashi

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 20:22                   ` Takashi Iwai
@ 2006-01-03 20:37                     ` Tomasz Torcz
  2006-01-03 20:44                       ` Takashi Iwai
  0 siblings, 1 reply; 193+ messages in thread
From: Tomasz Torcz @ 2006-01-03 20:37 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Olivier Galibert, Alistair John Strachan, Jan Engelhardt,
	Andi Kleen, Adrian Bunk, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1016 bytes --]

On Tue, Jan 03, 2006 at 09:22:58PM +0100, Takashi Iwai wrote:
> At Tue, 3 Jan 2006 18:03:16 +0100,
> Olivier Galibert wrote:
> > 
> > > This is exactly why the OSS emulation option in ALSA is really a last resort 
> > > and should not be an excuse for people to ignore implementing ALSA support 
> > > directly. More so, it is very good justification for ditching "everything 
> > > OSS" as soon as possible, at least in new software.
> > 
> > Actually the crappy state of OSS emulation is a good reason to ditch
> > ALSA in its current implementation.  As Linus reminded not so long
> > ago, backwards compatibility is extremely important.
> 
> Well, we keep the compatibility exactly -- OSS drivers don't support
> software mixing in the kernel, too :)

 OSS will support software mixing. In kernel. On NetBSD.
http://kerneltrap.org/node/4388

-- 
Tomasz Torcz            There exists no separation between gods and men:
zdzichu@irc.-nie.spam-.pl   one blends softly casual into the other.


[-- Attachment #2: Type: application/pgp-signature, Size: 229 bytes --]

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 17:03                 ` Olivier Galibert
  2006-01-03 17:16                   ` Alistair John Strachan
  2006-01-03 18:28                   ` Lee Revell
@ 2006-01-03 20:22                   ` Takashi Iwai
  2006-01-03 20:37                     ` Tomasz Torcz
  2 siblings, 1 reply; 193+ messages in thread
From: Takashi Iwai @ 2006-01-03 20:22 UTC (permalink / raw)
  To: Olivier Galibert
  Cc: Alistair John Strachan, Tomasz Torcz, Jan Engelhardt, Andi Kleen,
	Adrian Bunk, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

At Tue, 3 Jan 2006 18:03:16 +0100,
Olivier Galibert wrote:
> 
> > This is exactly why the OSS emulation option in ALSA is really a last resort 
> > and should not be an excuse for people to ignore implementing ALSA support 
> > directly. More so, it is very good justification for ditching "everything 
> > OSS" as soon as possible, at least in new software.
> 
> Actually the crappy state of OSS emulation is a good reason to ditch
> ALSA in its current implementation.  As Linus reminded not so long
> ago, backwards compatibility is extremely important.

Well, we keep the compatibility exactly -- OSS drivers don't support
software mixing in the kernel, too :)


Takashi

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 19:56                         ` Thomas Sailer
@ 2006-01-03 20:06                           ` Jaroslav Kysela
  2006-01-04  0:23                             ` Thomas Sailer
  2006-01-03 22:39                           ` James Courtier-Dutton
  1 sibling, 1 reply; 193+ messages in thread
From: Jaroslav Kysela @ 2006-01-03 20:06 UTC (permalink / raw)
  To: Thomas Sailer; +Cc: Lee Revell, LKML

On Tue, 3 Jan 2006, Thomas Sailer wrote:

> On Tue, 2006-01-03 at 20:37 +0100, Jaroslav Kysela wrote:
> 
> > Anyone reported that? Also what's the exact bug symptom?
> 
> Many people reported this on various mailing lists, but I'm not aware of
> any bugzilla/whatever ticket.
> 
> Problem seems to be that ALSA/OSS does not report the true HW sampling
> rate, but tries to do the sample rate conversion by itself, but
> apparently not doing it good enough for modem type applications.

The "plugin" (or rather conversion, routing and resampling) system in the 
OSS emulation can be turned off using the proc interface:

echo "soundmodem 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "soundmodem 0 0 direct" > /proc/asound/card0/pcm0c/oss

Full documentation is available at:

linux/Documentation/sound/alsa/OSS-Emulation.txt

It's easy to remove the "additional" functionality, but I bet that we
find some users requesting it. Also, in time when the OSS emulation was 
designed, not all OSS applications had own resapling code.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 19:37                       ` Jaroslav Kysela
@ 2006-01-03 19:56                         ` Thomas Sailer
  2006-01-03 20:06                           ` Jaroslav Kysela
  2006-01-03 22:39                           ` James Courtier-Dutton
  0 siblings, 2 replies; 193+ messages in thread
From: Thomas Sailer @ 2006-01-03 19:56 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: Lee Revell, linux-kernel

On Tue, 2006-01-03 at 20:37 +0100, Jaroslav Kysela wrote:

> Anyone reported that? Also what's the exact bug symptom?

Many people reported this on various mailing lists, but I'm not aware of
any bugzilla/whatever ticket.

Problem seems to be that ALSA/OSS does not report the true HW sampling
rate, but tries to do the sample rate conversion by itself, but
apparently not doing it good enough for modem type applications.

Anyway I find it not a good idea of alsa to try to do sample rate
conversion in kernel for OSS, as the native OSS drivers never did this,
and it is useless for software (like soundmodem) that tries to find out
the hardware rates in order to adapt to them. Kernel resampling badly
interferes with this.

Tom

PS: I was too lazy to investigate this in depth, it was easier to just
add a native ALSA driver to soundmodem.



^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 19:24                     ` Olivier Galibert
@ 2006-01-03 19:37                       ` Adrian Bunk
  2006-01-03 21:40                         ` Olivier Galibert
  2006-01-03 23:10                         ` Tomasz Kłoczko
  2006-01-05  6:42                       ` Lee Revell
  1 sibling, 2 replies; 193+ messages in thread
From: Adrian Bunk @ 2006-01-03 19:37 UTC (permalink / raw)
  To: Olivier Galibert, Alistair John Strachan, Tomasz Torcz,
	Jan Engelhardt, Andi Kleen, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel

On Tue, Jan 03, 2006 at 08:24:49PM +0100, Olivier Galibert wrote:
> On Tue, Jan 03, 2006 at 05:16:13PM +0000, Alistair John Strachan wrote:
> > This argument is basically watered down with devfs, udev, sysfs, etc. which 
> > all have exactly the same issues. Should a crippled OSS API be the way 
> > forward for Linux? I think not.
> 
> And they're getting some real backlash because of that now.  Hell,
> Linus' message was about udev in the first place.

The udev breakages might not have been nice, but OSS/ALSA is a 
completely different issue:

OSS has been deprecated since ALSA was merged into the Linux kernel 
_four years ago_.

And I'm only talking about removing drivers _with ALSA drivers for the 
same hardware available_.

> As for the OSS API being crippled, I'd take the 3 ioctl calls you need
> to setup a simple stereo 16bits output with OSS than the 13 ALSA
> library calls anyday.  Especially with the impressive lack of
> documentation you get about what the hell is a period, or what you can
> do except aborting when you get an error.
>...

For a general OSS<->ALSA discussion, you are five years too late.

>   OG.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 19:30                     ` Thomas Sailer
@ 2006-01-03 19:37                       ` Jaroslav Kysela
  2006-01-03 19:56                         ` Thomas Sailer
  0 siblings, 1 reply; 193+ messages in thread
From: Jaroslav Kysela @ 2006-01-03 19:37 UTC (permalink / raw)
  To: Thomas Sailer; +Cc: Lee Revell, linux-kernel

On Tue, 3 Jan 2006, Thomas Sailer wrote:

> On Tue, 2006-01-03 at 13:28 -0500, Lee Revell wrote:
> 
> > Please provide a reproducible test case where an app *that we have the
> > source code for* works with native OSS or the in kernel /dev/dsp OSS
> > emulation and fails with the aoss/alsa-lib/userspace OSS emulation and
> > it will be fixed ASAP.
> 
> I didn't know AOSS, but http://www.baycom.org/~tom/ham/soundmodem/ fails
> with ALSA's kernel OSS emulation.

Anyone reported that? Also what's the exact bug symptom?

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 18:28                   ` Lee Revell
@ 2006-01-03 19:30                     ` Thomas Sailer
  2006-01-03 19:37                       ` Jaroslav Kysela
  0 siblings, 1 reply; 193+ messages in thread
From: Thomas Sailer @ 2006-01-03 19:30 UTC (permalink / raw)
  To: Lee Revell; +Cc: linux-kernel

On Tue, 2006-01-03 at 13:28 -0500, Lee Revell wrote:

> Please provide a reproducible test case where an app *that we have the
> source code for* works with native OSS or the in kernel /dev/dsp OSS
> emulation and fails with the aoss/alsa-lib/userspace OSS emulation and
> it will be fixed ASAP.

I didn't know AOSS, but http://www.baycom.org/~tom/ham/soundmodem/ fails
with ALSA's kernel OSS emulation. Given that ALSA's kernel OSS emulation
is buggy since a couple of years and nobody feels like fixing it and you
seem to be telling that aoss is better anyway, are we going to remove
snd_pcm_oss as well?

Tom



^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 17:16                   ` Alistair John Strachan
@ 2006-01-03 19:24                     ` Olivier Galibert
  2006-01-03 19:37                       ` Adrian Bunk
  2006-01-05  6:42                       ` Lee Revell
  0 siblings, 2 replies; 193+ messages in thread
From: Olivier Galibert @ 2006-01-03 19:24 UTC (permalink / raw)
  To: Alistair John Strachan
  Cc: Tomasz Torcz, Jan Engelhardt, Andi Kleen, Adrian Bunk, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

On Tue, Jan 03, 2006 at 05:16:13PM +0000, Alistair John Strachan wrote:
> This argument is basically watered down with devfs, udev, sysfs, etc. which 
> all have exactly the same issues. Should a crippled OSS API be the way 
> forward for Linux? I think not.

And they're getting some real backlash because of that now.  Hell,
Linus' message was about udev in the first place.

As for the OSS API being crippled, I'd take the 3 ioctl calls you need
to setup a simple stereo 16bits output with OSS than the 13 ALSA
library calls anyday.  Especially with the impressive lack of
documentation you get about what the hell is a period, or what you can
do except aborting when you get an error.


> > Also, not everybody wants to depend on a shared library.  I find this
> > "the alsa lib must be kept in lockstep with the kernel version" quite
> > annoying.  I'd rather not have the windows dll hell on linux, TYVM.
> > Or in other words, the public API of a kernel interface should _NEVER_
> > be a library only.  At least OSS, with all its issues, had that right.
> 
> Okay, I agree it's not ideal. But if you want software mixing, and it's a 
> genuinely useful feature, you either have to go down the road of running some 
> crappy daemon like arts or esound, or just link against libasound and get it 
> for free. I know I'd rather not have mixing routines in my kernel, thanks.

Duh, then don't put the mixing in the kernel, put the data routing
there.  That's a large part of what the kernel is about, moving data
around, and Linus' new magic pipes are perfect for that kind of use.

Then at system startup and through udev you can start whatever mixers,
sequencers, virtual interfaces and stuff you want.  Applications don't
need to care, and you don't have the amusing security issues around
what happens when different users want to use the sound card at the
same time.

  OG.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 17:03                 ` Olivier Galibert
  2006-01-03 17:16                   ` Alistair John Strachan
@ 2006-01-03 18:28                   ` Lee Revell
  2006-01-03 19:30                     ` Thomas Sailer
  2006-01-03 20:22                   ` Takashi Iwai
  2 siblings, 1 reply; 193+ messages in thread
From: Lee Revell @ 2006-01-03 18:28 UTC (permalink / raw)
  To: Olivier Galibert
  Cc: Alistair John Strachan, Tomasz Torcz, Jan Engelhardt, Andi Kleen,
	Adrian Bunk, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Tue, 2006-01-03 at 18:03 +0100, Olivier Galibert wrote:
> On Tue, Jan 03, 2006 at 04:29:21PM +0000, Alistair John Strachan wrote:
> > This has nothing to do with the kernel option CONFIG_SND_OSSEMUL which Jan 
> > referred to, and to which I was responding. "aoss" is also not compatible 
> > with every conceivable program.
> 
> Especially not with plugins.  Flashplayer anybody?

Yes it's a known issue that the aoss emulation is not perfect, it's not
a reason to ditch ALSA, it's a reason to fix it.

Please provide a reproducible test case where an app *that we have the
source code for* works with native OSS or the in kernel /dev/dsp OSS
emulation and fails with the aoss/alsa-lib/userspace OSS emulation and
it will be fixed ASAP.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 13:52     ` Andi Kleen
  2006-01-03 13:58       ` David Lang
  2006-01-03 14:01       ` Alistair John Strachan
@ 2006-01-03 18:24       ` Lee Revell
       [not found]       ` <mailman.1136300646.6679.linux-kernel2news@redhat.com>
  3 siblings, 0 replies; 193+ messages in thread
From: Lee Revell @ 2006-01-03 18:24 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Alistair John Strachan, Adrian Bunk, perex, alsa-devel, James,
	sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

On Tue, 2006-01-03 at 14:52 +0100, Andi Kleen wrote:
> On Tuesday 03 January 2006 14:47, Alistair John Strachan wrote:
> 
> > It strikes me that it's a bit of a chicken and egg problem. Vendors are still 
> > releasing applications on Linux that support only OSS, partly due to 
> > ignorance, but mostly because ALSA's OSS compatibility layer allows them to 
> > lazily ignore the ALSA API and target all cards, old and new.
> 
> As long as it works why is that a bad thing? OSS API works just fine
> for most sound needs. If you want to do high end sound you can still
> use ALSA.

OSS can't do software mixing of multiple audio streams, it requires a
sound server to do this.  So IMHO the OSS approach causes more bloat on
the desktop.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 17:03                 ` Olivier Galibert
@ 2006-01-03 17:16                   ` Alistair John Strachan
  2006-01-03 19:24                     ` Olivier Galibert
  2006-01-03 18:28                   ` Lee Revell
  2006-01-03 20:22                   ` Takashi Iwai
  2 siblings, 1 reply; 193+ messages in thread
From: Alistair John Strachan @ 2006-01-03 17:16 UTC (permalink / raw)
  To: Olivier Galibert
  Cc: Tomasz Torcz, Jan Engelhardt, Andi Kleen, Adrian Bunk, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

On Tuesday 03 January 2006 17:03, Olivier Galibert wrote:
> On Tue, Jan 03, 2006 at 04:29:21PM +0000, Alistair John Strachan wrote:
> > This has nothing to do with the kernel option CONFIG_SND_OSSEMUL which
> > Jan referred to, and to which I was responding. "aoss" is also not
> > compatible with every conceivable program.
>
> Especially not with plugins.  Flashplayer anybody?

Konqueror manages to "wrap" plugins quite happily.. complain to whoever makes 
your browser.

> > This is exactly why the OSS emulation option in ALSA is really a last
> > resort and should not be an excuse for people to ignore implementing ALSA
> > support directly. More so, it is very good justification for ditching
> > "everything OSS" as soon as possible, at least in new software.
>
> Actually the crappy state of OSS emulation is a good reason to ditch
> ALSA in its current implementation.  As Linus reminded not so long
> ago, backwards compatibility is extremely important.

This argument is basically watered down with devfs, udev, sysfs, etc. which 
all have exactly the same issues. Should a crippled OSS API be the way 
forward for Linux? I think not.
 
> Also, not everybody wants to depend on a shared library.  I find this
> "the alsa lib must be kept in lockstep with the kernel version" quite
> annoying.  I'd rather not have the windows dll hell on linux, TYVM.
> Or in other words, the public API of a kernel interface should _NEVER_
> be a library only.  At least OSS, with all its issues, had that right.

Okay, I agree it's not ideal. But if you want software mixing, and it's a 
genuinely useful feature, you either have to go down the road of running some 
crappy daemon like arts or esound, or just link against libasound and get it 
for free. I know I'd rather not have mixing routines in my kernel, thanks.

-- 
Cheers,
Alistair.

'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 15:22           ` Alistair John Strachan
  2006-01-03 16:05             ` Tomasz Torcz
@ 2006-01-03 17:09             ` Jan Engelhardt
  1 sibling, 0 replies; 193+ messages in thread
From: Jan Engelhardt @ 2006-01-03 17:09 UTC (permalink / raw)
  To: Alistair John Strachan
  Cc: Andi Kleen, Adrian Bunk, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel

>> Well, I am able to open /dev/dsp multiple times here without problems.
>> (Is /dev/dsp soft- or hardmixing?)
>
>As far as I'm aware, it depends on your hardware. For example, software mixing 
>kicks in with zero configuration on most hardware that won't mix in hardware, 
>e.g. my laptop's i810 audio.
>
>ogg123 -q --device=oss 01\ -\ Good\ Times\ Bad\ Times.ogg
>
>Works, but then:
>
>ogg123 -q --device=oss 01\ -\ Good\ Times\ Bad\ Times.ogg
>Error: Cannot open device oss

Oh well this does work for me.

>This is all a little OT for this thread, but it's certainly the case with 
>alsa-lib-1.0.10 on 2.6.15-rc7. My card isn't capable of hardware mixing, 
>yours might be (SBLive!/Audigy or something).

CS46XX. According to alsamixer info, it has 31 playback and 1 record channel.
Looks like I'm in favor of hardware mixing.

But hey, you have not lost anything using the OSS emulation. With OSS, I could
not even have hardware mixing on cs46xx!


Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 16:29               ` Alistair John Strachan
@ 2006-01-03 17:03                 ` Olivier Galibert
  2006-01-03 17:16                   ` Alistair John Strachan
                                     ` (2 more replies)
  0 siblings, 3 replies; 193+ messages in thread
From: Olivier Galibert @ 2006-01-03 17:03 UTC (permalink / raw)
  To: Alistair John Strachan
  Cc: Tomasz Torcz, Jan Engelhardt, Andi Kleen, Adrian Bunk, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	jgarzik, Thorsten Knabe, zwane, zaitcev, linux-kernel

On Tue, Jan 03, 2006 at 04:29:21PM +0000, Alistair John Strachan wrote:
> This has nothing to do with the kernel option CONFIG_SND_OSSEMUL which Jan 
> referred to, and to which I was responding. "aoss" is also not compatible 
> with every conceivable program.

Especially not with plugins.  Flashplayer anybody?


> This is exactly why the OSS emulation option in ALSA is really a last resort 
> and should not be an excuse for people to ignore implementing ALSA support 
> directly. More so, it is very good justification for ditching "everything 
> OSS" as soon as possible, at least in new software.

Actually the crappy state of OSS emulation is a good reason to ditch
ALSA in its current implementation.  As Linus reminded not so long
ago, backwards compatibility is extremely important.

Also, not everybody wants to depend on a shared library.  I find this
"the alsa lib must be kept in lockstep with the kernel version" quite
annoying.  I'd rather not have the windows dll hell on linux, TYVM.
Or in other words, the public API of a kernel interface should _NEVER_
be a library only.  At least OSS, with all its issues, had that right.

  OG.


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 16:05             ` Tomasz Torcz
@ 2006-01-03 16:29               ` Alistair John Strachan
  2006-01-03 17:03                 ` Olivier Galibert
  0 siblings, 1 reply; 193+ messages in thread
From: Alistair John Strachan @ 2006-01-03 16:29 UTC (permalink / raw)
  To: Tomasz Torcz
  Cc: Jan Engelhardt, Andi Kleen, Adrian Bunk, perex, alsa-devel,
	James, sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

On Tuesday 03 January 2006 16:05, Tomasz Torcz wrote:
[snip]
> >
> > [alistair] 15:20 [~/Music/Led Zeppelin - I] ogg123 -q --device=oss 01\ -\
> > Good\ Times\ Bad\ Times.ogg
> > Error: Cannot open device oss.
>
>  Proper way (using userspace OSS emulation):
> aoss ogg123 -q --device=oss [...]

I'm aware of this.

This has nothing to do with the kernel option CONFIG_SND_OSSEMUL which Jan 
referred to, and to which I was responding. "aoss" is also not compatible 
with every conceivable program.

This is exactly why the OSS emulation option in ALSA is really a last resort 
and should not be an excuse for people to ignore implementing ALSA support 
directly. More so, it is very good justification for ditching "everything 
OSS" as soon as possible, at least in new software.

-- 
Cheers,
Alistair.

'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 15:22           ` Alistair John Strachan
@ 2006-01-03 16:05             ` Tomasz Torcz
  2006-01-03 16:29               ` Alistair John Strachan
  2006-01-03 17:09             ` Jan Engelhardt
  1 sibling, 1 reply; 193+ messages in thread
From: Tomasz Torcz @ 2006-01-03 16:05 UTC (permalink / raw)
  To: Alistair John Strachan
  Cc: Jan Engelhardt, Andi Kleen, Adrian Bunk, perex, alsa-devel,
	James, sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1757 bytes --]

On Tue, Jan 03, 2006 at 03:22:06PM +0000, Alistair John Strachan wrote:
> On Tuesday 03 January 2006 14:50, Jan Engelhardt wrote:
> > >The problem with using OSS compatibility, at least on this machine with
> > > ALSA 1.0.9, is that if you use it you automatically lose the software
> > > mixing capabilities of ALSA, so it really is less than ideal.
> >
> > Well, I am able to open /dev/dsp multiple times here without problems.
> > (Is /dev/dsp soft- or hardmixing?)
> 
> As far as I'm aware, it depends on your hardware. For example, software mixing 
> kicks in with zero configuration on most hardware that won't mix in hardware, 
> e.g. my laptop's i810 audio.
> 
> [alistair] 15:18 [~] cat /proc/asound/cards
> 0 [I82801DBICH4   ]: ICH4 - Intel 82801DB-ICH4
>                      Intel 82801DB-ICH4 with AD1981B at 0xa0100000, irq 11
> 1 [Modem          ]: ICH-MODEM - Intel 82801DB-ICH4 Modem
>                      Intel 82801DB-ICH4 Modem at 0x3400, irq 11
> 
> I can successfully hear two mixed sources when I execute the following:
> 
> ogg123 -q --device=alsa09 01\ -\ Good\ Times\ Bad\ Times.ogg
> 
> And on another terminal
> 
> ogg123 -q --device=alsa09 01\ -\ Good\ Times\ Bad\ Times.og
> 
> This is ALSA soft mixing the two sources for me. Very nifty. However, if I 
> throw an OSS into the mix (whilst these other two are playing).
> 
> [alistair] 15:20 [~/Music/Led Zeppelin - I] ogg123 -q --device=oss 01\ -\ 
> Good\ Times\ Bad\ Times.ogg
> Error: Cannot open device oss.

 Proper way (using userspace OSS emulation):
aoss ogg123 -q --device=oss [...]

-- 
Tomasz Torcz                "Funeral in the morning, IDE hacking
zdzichu@irc.-nie.spam-.pl    in the afternoon and evening." - Alan Cox


[-- Attachment #2: Type: application/pgp-signature, Size: 229 bytes --]

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 14:50         ` Jan Engelhardt
@ 2006-01-03 15:22           ` Alistair John Strachan
  2006-01-03 16:05             ` Tomasz Torcz
  2006-01-03 17:09             ` Jan Engelhardt
  0 siblings, 2 replies; 193+ messages in thread
From: Alistair John Strachan @ 2006-01-03 15:22 UTC (permalink / raw)
  To: Jan Engelhardt
  Cc: Andi Kleen, Adrian Bunk, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel

On Tuesday 03 January 2006 14:50, Jan Engelhardt wrote:
> >The problem with using OSS compatibility, at least on this machine with
> > ALSA 1.0.9, is that if you use it you automatically lose the software
> > mixing capabilities of ALSA, so it really is less than ideal.
>
> Well, I am able to open /dev/dsp multiple times here without problems.
> (Is /dev/dsp soft- or hardmixing?)

As far as I'm aware, it depends on your hardware. For example, software mixing 
kicks in with zero configuration on most hardware that won't mix in hardware, 
e.g. my laptop's i810 audio.

[alistair] 15:18 [~] cat /proc/asound/cards
0 [I82801DBICH4   ]: ICH4 - Intel 82801DB-ICH4
                     Intel 82801DB-ICH4 with AD1981B at 0xa0100000, irq 11
1 [Modem          ]: ICH-MODEM - Intel 82801DB-ICH4 Modem
                     Intel 82801DB-ICH4 Modem at 0x3400, irq 11

I can successfully hear two mixed sources when I execute the following:

ogg123 -q --device=alsa09 01\ -\ Good\ Times\ Bad\ Times.ogg

And on another terminal

ogg123 -q --device=alsa09 01\ -\ Good\ Times\ Bad\ Times.og

This is ALSA soft mixing the two sources for me. Very nifty. However, if I 
throw an OSS into the mix (whilst these other two are playing).

[alistair] 15:20 [~/Music/Led Zeppelin - I] ogg123 -q --device=oss 01\ -\ 
Good\ Times\ Bad\ Times.ogg
Error: Cannot open device oss.

In fact, ogg123 hangs at this point (oh dear). If I try what you suggested and 
play two OSS sources, this doesn't work either:

ogg123 -q --device=oss 01\ -\ Good\ Times\ Bad\ Times.ogg

Works, but then:

ogg123 -q --device=oss 01\ -\ Good\ Times\ Bad\ Times.ogg
Error: Cannot open device oss

This is all a little OT for this thread, but it's certainly the case with 
alsa-lib-1.0.10 on 2.6.15-rc7. My card isn't capable of hardware mixing, 
yours might be (SBLive!/Audigy or something).

-- 
Cheers,
Alistair.

'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 14:41       ` Alistair John Strachan
@ 2006-01-03 14:50         ` Jan Engelhardt
  2006-01-03 15:22           ` Alistair John Strachan
  0 siblings, 1 reply; 193+ messages in thread
From: Jan Engelhardt @ 2006-01-03 14:50 UTC (permalink / raw)
  To: Alistair John Strachan
  Cc: Andi Kleen, Adrian Bunk, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel


>The problem with using OSS compatibility, at least on this machine with ALSA 
>1.0.9, is that if you use it you automatically lose the software mixing 
>capabilities of ALSA, so it really is less than ideal.
>

Well, I am able to open /dev/dsp multiple times here without problems.
(Is /dev/dsp soft- or hardmixing?)



Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 14:38     ` Jan Engelhardt
@ 2006-01-03 14:41       ` Alistair John Strachan
  2006-01-03 14:50         ` Jan Engelhardt
  0 siblings, 1 reply; 193+ messages in thread
From: Alistair John Strachan @ 2006-01-03 14:41 UTC (permalink / raw)
  To: Jan Engelhardt
  Cc: Andi Kleen, Adrian Bunk, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel

On Tuesday 03 January 2006 14:38, Jan Engelhardt wrote:
> >It strikes me that it's a bit of a chicken and egg problem. Vendors are
> > still releasing applications on Linux that support only OSS, partly due
> > to ignorance, but mostly because ALSA's OSS compatibility layer allows
> > them to lazily ignore the ALSA API and target all cards, old and new.
> >
> >Additionally, we can't get rid of OSS compatibility until pretty much all
> >hardware has an ALSA driver, and (inferred from your comment) we can't get
> >rid of OSS drivers until nothing supports OSS, because the whole of the
> > ALSA stuff is a bit larger...
>
> By OSS compatibility, do you mean the OSS PCM emulation layer (/dev/dsp)? I
> think that should be kept. That way, legacy apps keep working, especially
> unmaintained binary-only things like Unreal Tournament 1.
>
> The OSS emulation does not depend on the OSS tree (CONFIG_SOUND_PRIME), so
> I cannot quite follow your second paragraph - we should not remove OSS
> compat. anytime.

Andi made this point and I agree. I'm just making the point that people should 
see it as exactly that -- a legacy compatibility layer. It should not be seen 
as a "way out" for vendors looking to write generic DSP software.

The problem with using OSS compatibility, at least on this machine with ALSA 
1.0.9, is that if you use it you automatically lose the software mixing 
capabilities of ALSA, so it really is less than ideal.

-- 
Cheers,
Alistair.

'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 13:47   ` Alistair John Strachan
  2006-01-03 13:52     ` Andi Kleen
@ 2006-01-03 14:38     ` Jan Engelhardt
  2006-01-03 14:41       ` Alistair John Strachan
  1 sibling, 1 reply; 193+ messages in thread
From: Jan Engelhardt @ 2006-01-03 14:38 UTC (permalink / raw)
  To: Alistair John Strachan
  Cc: Andi Kleen, Adrian Bunk, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel


>It strikes me that it's a bit of a chicken and egg problem. Vendors are still 
>releasing applications on Linux that support only OSS, partly due to 
>ignorance, but mostly because ALSA's OSS compatibility layer allows them to 
>lazily ignore the ALSA API and target all cards, old and new.
>
>Additionally, we can't get rid of OSS compatibility until pretty much all 
>hardware has an ALSA driver, and (inferred from your comment) we can't get 
>rid of OSS drivers until nothing supports OSS, because the whole of the ALSA 
>stuff is a bit larger...
>
By OSS compatibility, do you mean the OSS PCM emulation layer (/dev/dsp)? I
think that should be kept. That way, legacy apps keep working, especially
unmaintained binary-only things like Unreal Tournament 1.

The OSS emulation does not depend on the OSS tree (CONFIG_SOUND_PRIME), so I
cannot quite follow your second paragraph - we should not remove OSS compat.
anytime.


Jan Engelhardt
-- 

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 14:33         ` Alistair John Strachan
@ 2006-01-03 14:34           ` Alistair John Strachan
  0 siblings, 0 replies; 193+ messages in thread
From: Alistair John Strachan @ 2006-01-03 14:34 UTC (permalink / raw)
  To: David Lang
  Cc: Andi Kleen, Adrian Bunk, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel

On Tuesday 03 January 2006 14:33, Alistair John Strachan wrote:
> On Tuesday 03 January 2006 13:58, David Lang wrote:
> > On Tue, 3 Jan 2006, Andi Kleen wrote:
> > >> Even if Adrian's not trying to make this point (he's just removing
> > >> duplicate drivers, and opting for the newer ones), we accepted ALSA
> > >> into the kernel. It's probably about time we let OSS die properly, for
> > >> sanity purposes.
> > >
> > > Avoiding bloat is more important.
> >
> > given that the ALSA drivers are not going to be removed, isn't it bloat
> > to have two drivers for the same card?
>
> Normally this isn't too big a deal in Linux; eventually one gets removed,
> but not until it is substantially inferior than the other (or broken, or
> not compiling, or unmaintained..).
>
> > yes, an individual compiled kernel may be slightly smaller by continueing
> > to support the OSS driver, but the source (and the maintinance) are
> > significantly worse by haveing two drivers instead of just one.
>
> If there are two separate maintainers it's probably not a lot worse. I
> think the argument pretty much has to remain "ALSA drivers are technically
> superior, OSS drivers have unfixable limitations", and that should be a
> good enough reason to see them removed.
>
> Perhaps Andi's concerns about ALSA bloat could also be concerned. 
							 ^^^ addressed

-- 
Cheers,
Alistair.

'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 13:58       ` David Lang
@ 2006-01-03 14:33         ` Alistair John Strachan
  2006-01-03 14:34           ` Alistair John Strachan
  0 siblings, 1 reply; 193+ messages in thread
From: Alistair John Strachan @ 2006-01-03 14:33 UTC (permalink / raw)
  To: David Lang
  Cc: Andi Kleen, Adrian Bunk, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, jgarzik, Thorsten Knabe,
	zwane, zaitcev, linux-kernel

On Tuesday 03 January 2006 13:58, David Lang wrote:
> On Tue, 3 Jan 2006, Andi Kleen wrote:
> >> Even if Adrian's not trying to make this point (he's just removing
> >> duplicate drivers, and opting for the newer ones), we accepted ALSA into
> >> the kernel. It's probably about time we let OSS die properly, for sanity
> >> purposes.
> >
> > Avoiding bloat is more important.
>
> given that the ALSA drivers are not going to be removed, isn't it bloat to
> have two drivers for the same card?

Normally this isn't too big a deal in Linux; eventually one gets removed, but 
not until it is substantially inferior than the other (or broken, or not 
compiling, or unmaintained..).

> yes, an individual compiled kernel may be slightly smaller by continueing
> to support the OSS driver, but the source (and the maintinance) are
> significantly worse by haveing two drivers instead of just one.

If there are two separate maintainers it's probably not a lot worse. I think 
the argument pretty much has to remain "ALSA drivers are technically 
superior, OSS drivers have unfixable limitations", and that should be a good 
enough reason to see them removed.

Perhaps Andi's concerns about ALSA bloat could also be concerned. I don't know 
enough about the "high end" features of ALSA to comment on whether they could 
become optional (currently there are few driver-generic options in the 
Kconfig file).

-- 
Cheers,
Alistair.

'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 13:52     ` Andi Kleen
  2006-01-03 13:58       ` David Lang
@ 2006-01-03 14:01       ` Alistair John Strachan
  2006-01-03 18:24       ` Lee Revell
       [not found]       ` <mailman.1136300646.6679.linux-kernel2news@redhat.com>
  3 siblings, 0 replies; 193+ messages in thread
From: Alistair John Strachan @ 2006-01-03 14:01 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Adrian Bunk, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Tuesday 03 January 2006 13:52, Andi Kleen wrote:
> On Tuesday 03 January 2006 14:47, Alistair John Strachan wrote:
> > It strikes me that it's a bit of a chicken and egg problem. Vendors are
> > still releasing applications on Linux that support only OSS, partly due
> > to ignorance, but mostly because ALSA's OSS compatibility layer allows
> > them to lazily ignore the ALSA API and target all cards, old and new.
>
> As long as it works why is that a bad thing? OSS API works just fine
> for most sound needs. If you want to do high end sound you can still
> use ALSA.

Is multiple-source mixing really a "high end" requirement? When I last 
checked, the OSS driver didn't support multiple applications claiming it at 
once, thus requiring you to use "more bloat" like esound, arts, or some other 
crap to access your soundcard more than once at any given time.

I think when you consider other modern sound architectures across many 
operating systems have supported this fundamentally basic feature for a long 
time, it's important to the majority of end users.

> > Additionally, we can't get rid of OSS compatibility until pretty much all
> > hardware has an ALSA driver, and (inferred from your comment) we can't
> > get rid of OSS drivers until nothing supports OSS, because the whole of
> > the ALSA stuff is a bit larger...
>
> We can never get rid of it.
> Linux doesn't break widely used application interfaces.

Okay, fair point.

> > Even if Adrian's not trying to make this point (he's just removing
> > duplicate drivers, and opting for the newer ones), we accepted ALSA into
> > the kernel. It's probably about time we let OSS die properly, for sanity
> > purposes.
>
> Avoiding bloat is more important.

I can't agree with that.

-- 
Cheers,
Alistair.

'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 13:52     ` Andi Kleen
@ 2006-01-03 13:58       ` David Lang
  2006-01-03 14:33         ` Alistair John Strachan
  2006-01-03 14:01       ` Alistair John Strachan
                         ` (2 subsequent siblings)
  3 siblings, 1 reply; 193+ messages in thread
From: David Lang @ 2006-01-03 13:58 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Alistair John Strachan, Adrian Bunk, perex, alsa-devel, James,
	sailer, linux-sound, zab, kyle, parisc-linux, jgarzik,
	Thorsten Knabe, zwane, zaitcev, linux-kernel

On Tue, 3 Jan 2006, Andi Kleen wrote:

>> Even if Adrian's not trying to make this point (he's just removing duplicate
>> drivers, and opting for the newer ones), we accepted ALSA into the kernel.
>> It's probably about time we let OSS die properly, for sanity purposes.
>
> Avoiding bloat is more important.

given that the ALSA drivers are not going to be removed, isn't it bloat to 
have two drivers for the same card?

yes, an individual compiled kernel may be slightly smaller by continueing 
to support the OSS driver, but the source (and the maintinance) are 
significantly worse by haveing two drivers instead of just one.

David Lang

-- 
There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.
  -- C.A.R. Hoare


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 13:47   ` Alistair John Strachan
@ 2006-01-03 13:52     ` Andi Kleen
  2006-01-03 13:58       ` David Lang
                         ` (3 more replies)
  2006-01-03 14:38     ` Jan Engelhardt
  1 sibling, 4 replies; 193+ messages in thread
From: Andi Kleen @ 2006-01-03 13:52 UTC (permalink / raw)
  To: Alistair John Strachan
  Cc: Adrian Bunk, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Tuesday 03 January 2006 14:47, Alistair John Strachan wrote:

> It strikes me that it's a bit of a chicken and egg problem. Vendors are still 
> releasing applications on Linux that support only OSS, partly due to 
> ignorance, but mostly because ALSA's OSS compatibility layer allows them to 
> lazily ignore the ALSA API and target all cards, old and new.

As long as it works why is that a bad thing? OSS API works just fine
for most sound needs. If you want to do high end sound you can still
use ALSA.

> Additionally, we can't get rid of OSS compatibility until pretty much all 
> hardware has an ALSA driver, and (inferred from your comment) we can't get 
> rid of OSS drivers until nothing supports OSS, because the whole of the ALSA 
> stuff is a bit larger...

We can never get rid of it.
Linux doesn't break widely used application interfaces.

> Even if Adrian's not trying to make this point (he's just removing duplicate 
> drivers, and opting for the newer ones), we accepted ALSA into the kernel. 
> It's probably about time we let OSS die properly, for sanity purposes.

Avoiding bloat is more important.

-Andi

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2006-01-03 13:21 ` Andi Kleen
@ 2006-01-03 13:47   ` Alistair John Strachan
  2006-01-03 13:52     ` Andi Kleen
  2006-01-03 14:38     ` Jan Engelhardt
  0 siblings, 2 replies; 193+ messages in thread
From: Alistair John Strachan @ 2006-01-03 13:47 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Adrian Bunk, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

On Tuesday 03 January 2006 13:21, Andi Kleen wrote:
> Adrian Bunk <bunk@stusta.de> writes:
> >  Documentation/feature-removal-schedule.txt |    7 +
> >  sound/oss/Kconfig                          |   79 ++++++++++++---------
> >  2 files changed, 54 insertions(+), 32 deletions(-)
> >
> > ---
> > linux-2.6.13-rc3-mm1-full/Documentation/feature-removal-schedule.txt.old	
> >2005-07-26 16:50:05.000000000 +0200 +++
> > linux-2.6.13-rc3-mm1-full/Documentation/feature-removal-schedule.txt	2005
> >-07-26 16:51:24.000000000 +0200 @@ -44,0 +45,7 @@
> > +What:	drivers depending on OBSOLETE_OSS_DRIVER
> > +When:	October 2005
> > +Why:	OSS drivers with ALSA replacements
> > +Who:	Adrian Bunk <bunk@stusta.de>
>
> I object to the ICH driver being scheduler for removal. It works
> fine and is a significantly less bloated than the equivalent ALSA setup.
>
> This means ac97_codec.c also has to stay.

I think this is probably true for quite a few of the OSS drivers, versus their 
ALSA equivalents. The fact is that OSS is obsolete, and the ALSA libraries 
and utilities provide, to all soundcards, more features than the OSS API 
could.

Maybe it's more bloated, but it's about time applications on Linux didn't have 
to support 2-3 audio APIs just so they'd work on more than 50% of systems.

It strikes me that it's a bit of a chicken and egg problem. Vendors are still 
releasing applications on Linux that support only OSS, partly due to 
ignorance, but mostly because ALSA's OSS compatibility layer allows them to 
lazily ignore the ALSA API and target all cards, old and new.

Additionally, we can't get rid of OSS compatibility until pretty much all 
hardware has an ALSA driver, and (inferred from your comment) we can't get 
rid of OSS drivers until nothing supports OSS, because the whole of the ALSA 
stuff is a bit larger...

Even if Adrian's not trying to make this point (he's just removing duplicate 
drivers, and opting for the newer ones), we accepted ALSA into the kernel. 
It's probably about time we let OSS die properly, for sanity purposes.

-- 
Cheers,
Alistair.

'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:08 Adrian Bunk
                   ` (8 preceding siblings ...)
  2005-07-31 13:38 ` James Courtier-Dutton
@ 2006-01-03 13:21 ` Andi Kleen
  2006-01-03 13:47   ` Alistair John Strachan
  9 siblings, 1 reply; 193+ messages in thread
From: Andi Kleen @ 2006-01-03 13:21 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: perex, alsa-devel, James, sailer, linux-sound, zab, kyle,
	parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev,
	linux-kernel

Adrian Bunk <bunk@stusta.de> writes:
> 
>  Documentation/feature-removal-schedule.txt |    7 +
>  sound/oss/Kconfig                          |   79 ++++++++++++---------
>  2 files changed, 54 insertions(+), 32 deletions(-)
> 
> --- linux-2.6.13-rc3-mm1-full/Documentation/feature-removal-schedule.txt.old	2005-07-26 16:50:05.000000000 +0200
> +++ linux-2.6.13-rc3-mm1-full/Documentation/feature-removal-schedule.txt	2005-07-26 16:51:24.000000000 +0200
> @@ -44,0 +45,7 @@
> +What:	drivers depending on OBSOLETE_OSS_DRIVER
> +When:	October 2005
> +Why:	OSS drivers with ALSA replacements
> +Who:	Adrian Bunk <bunk@stusta.de>

I object to the ICH driver being scheduler for removal. It works
fine and is a significantly less bloated than the equivalent ALSA setup.

This means ac97_codec.c also has to stay.

-Andi

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-28 13:43             ` Jaroslav Kysela
  2005-07-28 14:15               ` Adrian Bunk
@ 2006-01-03 13:14               ` Adrian Bunk
  1 sibling, 0 replies; 193+ messages in thread
From: Adrian Bunk @ 2006-01-03 13:14 UTC (permalink / raw)
  To: Jaroslav Kysela
  Cc: Alan Cox, Jeff Garzik, LKML, ALSA development, Takashi Iwai

On Thu, Jul 28, 2005 at 03:43:49PM +0200, Jaroslav Kysela wrote:
> On Thu, 28 Jul 2005, Alan Cox wrote:
> 
> > On Mer, 2005-07-27 at 16:43 -0400, Jeff Garzik wrote:
> > > ISTR Alan saying there was some ALi hardware that either wasn't in ALSA, 
> > > or most likely didn't work in ALSA.  If Alan says I'm smoking crack, 
> > > then you all can ignore me :)
> > 
> > The only big thing I know that still needed OSS (and may still do so) is
> > the support for AC97 wired touchscreens and the like. Has that been
> > ported to ALSA ?
> 
> We're working on this issue right now.

What's the current status of this issue?

> 						Jaroslav

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 23:38   ` Zoran Dzelajlija
  2005-07-27 23:28     ` Lee Revell
  2005-07-28  8:09     ` Takashi Iwai
@ 2005-07-31 19:36     ` Adrian Bunk
  2 siblings, 0 replies; 193+ messages in thread
From: Adrian Bunk @ 2005-07-31 19:36 UTC (permalink / raw)
  To: Zoran Dzelajlija; +Cc: linux-kernel, linux-sound, Takashi Iwai

On Wed, Jul 27, 2005 at 01:38:37AM +0200, Zoran Dzelajlija wrote:
> Zach Brown <zab@zabbo.net> wrote:
> > Adrian Bunk wrote:
> > > This patch schedules obsolete OSS drivers (with ALSA drivers that 
> > > support the same hardware) for removal.
> 
> > > I've Cc'ed the people listed in MAINTAINERS as being responsible for one 
> > > or more of these drivers, and I've also Cc'ed the ALSA people.
> 
> > I haven't touched the maestro drivers in so long (for near-total lack of
> > docs, etc.) that I can't be considered authoritative for approving it's
> > removal. If people are relying on it I certainly don't know who they
> > are.  In better news, Takashi should now have the pile of maestro
> > hardware that I used in the first pass to help him maintain the ALSA
> > driver..
> 
> The OSS maestro driver works better on my old Armada E500 laptop.  I tried
> ALSA after switching to 2.6, but the computer hung with 2.6.8.1 or 2.6.10 if
> I touched the volume buttons.  With OSS they just work.  The four separate
> dsp devices also look kind of more useful.

I've left it on the list of OSS drivers scheduled for removal based on 
Takashi's comment that the volume button problem should be fixed now.

If this problem is still present in 2.6.13-rc4, please open a bug at the 
ALSA bug tracking system [1] and tell me the bug number so that I can 
track it.

> Zoran

cu
Adrian

[1] https://bugtrack.alsa-project.org/alsa-bug/

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 16:17 ` Andrew Haninger
@ 2005-07-31 19:29   ` Adrian Bunk
  0 siblings, 0 replies; 193+ messages in thread
From: Adrian Bunk @ 2005-07-31 19:29 UTC (permalink / raw)
  To: Andrew Haninger
  Cc: linux-kernel, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev

On Tue, Jul 26, 2005 at 12:17:14PM -0400, Andrew Haninger wrote:
> On 7/26/05, Adrian Bunk <bunk@stusta.de> wrote:
> >  config SOUND_OPL3SA2
> >         tristate "Yamaha OPL3-SA2 and SA3 based PnP cards"
> > -       depends on SOUND_OSS
> > +       depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
> >         help
> >           Say Y or M if you have a card based on one of these Yamaha sound
> >           chipsets or the "SAx", which is actually a SA3. Read
> Forgive me if I'm misreading this (I'm hardly a coder and no kernel
> hacker) but, as it stands, the OPL3SA2 driver provided by ALSA and the
> main kernel tree work but are not correctly detected by ALSA's
> detection routines (in alsaconf) on the 2.6 kernel. The OSS drivers
> work, as well, but (AFAIK) there are no methods of automatic
> configuration with the OSS drivers.
> 
> So, for people who don't feel like configuring ALSA with their OPL3SA2
> card, the OSS modules may be easier to configure and thus should be
> left in until the ALSA/2.6 kernel problems are worked out with the
> OPL3SA2.

This is kernel bug #3117 [1] / ALSA bug #879 [2]?

> -Andy

cu
Adrian

[1] http://bugzilla.kernel.org/show_bug.cgi?id=3117
[2] https://bugtrack.alsa-project.org/alsa-bug/view.php?id=879

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:08 Adrian Bunk
                   ` (7 preceding siblings ...)
  2005-07-28 15:04 ` Thorsten Knabe
@ 2005-07-31 13:38 ` James Courtier-Dutton
  2006-01-03 13:21 ` Andi Kleen
  9 siblings, 0 replies; 193+ messages in thread
From: James Courtier-Dutton @ 2005-07-31 13:38 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: linux-kernel, perex, alsa-devel, sailer, linux-sound, zab, kyle,
	parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev

Adrian Bunk wrote:
> This patch schedules obsolete OSS drivers (with ALSA drivers that 
> support the same hardware) for removal.
> 
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
> 
> ---
> 
> I've Cc'ed the people listed in MAINTAINERS as being responsible for one 
> or more of these drivers, and I've also Cc'ed the ALSA people.
> 

I am happy for the emu10k1 OSS driver to go.
The ALSA driver has considerably more features now.

James

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-28 15:04 ` Thorsten Knabe
@ 2005-07-28 15:46   ` Adrian Bunk
  0 siblings, 0 replies; 193+ messages in thread
From: Adrian Bunk @ 2005-07-28 15:46 UTC (permalink / raw)
  To: Thorsten Knabe; +Cc: linux-kernel, alsa-devel, linux-sound

On Thu, Jul 28, 2005 at 05:04:20PM +0200, Thorsten Knabe wrote:
> On Tue, 26 Jul 2005, Adrian Bunk wrote:
> 
> >This patch schedules obsolete OSS drivers (with ALSA drivers that
> >support the same hardware) for removal.
> 
> Hello Adrian.

Hi Thorsten,

> I'm the maintainer of the OSS AD1816 sound driver. I'm aware of two 
> problems of the ALSA AD1816 driver, that do not show up with the OSS 
> driver:
> - According to my own experience and user reports audio is choppy with 
> some VoIP Softphones like gnophone at least when used with the ALSA OSS 
> emulation layer, whereas the OSS driver is crystal clear.
> - Users reported, that on some HP Kayak systems the on-board AD1816A 
> was not properly detected by the ALSA driver or was detected, but 
> there was no audio output. I'm not sure if the problem is still present in 
> the current ALSA driver, as I do not own such a system.
> 
> Maybe the OSS driver should stay in the kernel, until those problems are 
> fixed in the ALSA driver.

thanks for this note, I'll drop the AD1816 driver from my list.

> Regards
> Thorsten

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:08 Adrian Bunk
                   ` (6 preceding siblings ...)
  2005-07-27 18:39 ` Kyle McMartin
@ 2005-07-28 15:04 ` Thorsten Knabe
  2005-07-28 15:46   ` Adrian Bunk
  2005-07-31 13:38 ` James Courtier-Dutton
  2006-01-03 13:21 ` Andi Kleen
  9 siblings, 1 reply; 193+ messages in thread
From: Thorsten Knabe @ 2005-07-28 15:04 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel, alsa-devel, linux-sound

On Tue, 26 Jul 2005, Adrian Bunk wrote:

> This patch schedules obsolete OSS drivers (with ALSA drivers that
> support the same hardware) for removal.

Hello Adrian.

I'm the maintainer of the OSS AD1816 sound driver. I'm aware of two 
problems of the ALSA AD1816 driver, that do not show up with the OSS 
driver:
- According to my own experience and user reports audio is choppy with 
some VoIP Softphones like gnophone at least when used with the ALSA OSS 
emulation layer, whereas the OSS driver is crystal clear.
- Users reported, that on some HP Kayak systems the on-board AD1816A 
was not properly detected by the ALSA driver or was detected, but 
there was no audio output. I'm not sure if the problem is still present in 
the current ALSA driver, as I do not own such a system.

Maybe the OSS driver should stay in the kernel, until those problems are 
fixed in the ALSA driver.

Regards
Thorsten

-- 
___
  |        | /                 E-Mail: linux@thorsten-knabe.de
  |horsten |/\nabe                WWW: http://linux.thorsten-knabe.de

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-28 13:43             ` Jaroslav Kysela
@ 2005-07-28 14:15               ` Adrian Bunk
  2006-01-03 13:14               ` Adrian Bunk
  1 sibling, 0 replies; 193+ messages in thread
From: Adrian Bunk @ 2005-07-28 14:15 UTC (permalink / raw)
  To: Jaroslav Kysela
  Cc: Alan Cox, Jeff Garzik, John W. Linville, Lee Revell, LKML,
	ALSA development, James, sailer, linux-sound, zab, kyle,
	parisc-linux, Thorsten Knabe, zwane, zaitcev, Takashi Iwai

On Thu, Jul 28, 2005 at 03:43:49PM +0200, Jaroslav Kysela wrote:
> On Thu, 28 Jul 2005, Alan Cox wrote:
> 
> > On Mer, 2005-07-27 at 16:43 -0400, Jeff Garzik wrote:
> > > ISTR Alan saying there was some ALi hardware that either wasn't in ALSA, 
> > > or most likely didn't work in ALSA.  If Alan says I'm smoking crack, 
> > > then you all can ignore me :)
> > 
> > The only big thing I know that still needed OSS (and may still do so) is
> > the support for AC97 wired touchscreens and the like. Has that been
> > ported to ALSA ?
> 
> We're working on this issue right now.

Does "right now" mean it will be done in a few days or a few months?

I'm asking because in the latter case I'll remove the driver from my 
current "scheduled for removal" list.

> 						Jaroslav

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-27 18:39 ` Kyle McMartin
@ 2005-07-28 14:14   ` Adrian Bunk
  0 siblings, 0 replies; 193+ messages in thread
From: Adrian Bunk @ 2005-07-28 14:14 UTC (permalink / raw)
  To: Kyle McMartin
  Cc: linux-kernel, perex, alsa-devel, James, sailer, linux-sound, zab,
	parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev

On Wed, Jul 27, 2005 at 02:39:42PM -0400, Kyle McMartin wrote:
> On Tue, Jul 26, 2005 at 05:08:37PM +0200, Adrian Bunk wrote:
> > This patch schedules obsolete OSS drivers (with ALSA drivers that 
> > support the same hardware) for removal.
> 
> oss/harmony.c can probably go, unless someone from parisc-linux
> objects. I've written a (working) replacement[1] for oss/ad1889.c
> which is in our cvs, and will go upstream shortly. oss/ad1889.c
> doesn't (and hasn't ever) worked, so it should probably be removed.
>...

:-)

The sooner your driver goes through the ALSA people in Linus' tree, the 
sooner we can schedule the OSS driver for removal.

> Cheers,
> Kyle McMartin

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-27 20:43         ` Jeff Garzik
@ 2005-07-28 14:00           ` Alan Cox
  2005-07-28 13:43             ` Jaroslav Kysela
  0 siblings, 1 reply; 193+ messages in thread
From: Alan Cox @ 2005-07-28 14:00 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: John W. Linville, Adrian Bunk, Lee Revell, linux-kernel, perex,
	alsa-devel, James, sailer, linux-sound, zab, kyle, parisc-linux,
	Thorsten Knabe, zwane, zaitcev

On Mer, 2005-07-27 at 16:43 -0400, Jeff Garzik wrote:
> ISTR Alan saying there was some ALi hardware that either wasn't in ALSA, 
> or most likely didn't work in ALSA.  If Alan says I'm smoking crack, 
> then you all can ignore me :)

The only big thing I know that still needed OSS (and may still do so) is
the support for AC97 wired touchscreens and the like. Has that been
ported to ALSA ?


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-28 14:00           ` Alan Cox
@ 2005-07-28 13:43             ` Jaroslav Kysela
  2005-07-28 14:15               ` Adrian Bunk
  2006-01-03 13:14               ` Adrian Bunk
  0 siblings, 2 replies; 193+ messages in thread
From: Jaroslav Kysela @ 2005-07-28 13:43 UTC (permalink / raw)
  To: Alan Cox
  Cc: Jeff Garzik, John W. Linville, Adrian Bunk, Lee Revell, LKML,
	ALSA development, James, sailer, linux-sound, zab, kyle,
	parisc-linux, Thorsten Knabe, zwane, zaitcev, Takashi Iwai

On Thu, 28 Jul 2005, Alan Cox wrote:

> On Mer, 2005-07-27 at 16:43 -0400, Jeff Garzik wrote:
> > ISTR Alan saying there was some ALi hardware that either wasn't in ALSA, 
> > or most likely didn't work in ALSA.  If Alan says I'm smoking crack, 
> > then you all can ignore me :)
> 
> The only big thing I know that still needed OSS (and may still do so) is
> the support for AC97 wired touchscreens and the like. Has that been
> ported to ALSA ?

We're working on this issue right now.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 23:38   ` Zoran Dzelajlija
  2005-07-27 23:28     ` Lee Revell
@ 2005-07-28  8:09     ` Takashi Iwai
  2005-07-31 19:36     ` Adrian Bunk
  2 siblings, 0 replies; 193+ messages in thread
From: Takashi Iwai @ 2005-07-28  8:09 UTC (permalink / raw)
  To: Zoran Dzelajlija; +Cc: linux-kernel, linux-sound

At Wed, 27 Jul 2005 01:38:37 +0200,
Zoran Dzelajlija wrote:
> 
> Zach Brown <zab@zabbo.net> wrote:
> > Adrian Bunk wrote:
> > > This patch schedules obsolete OSS drivers (with ALSA drivers that 
> > > support the same hardware) for removal.
> 
> > > I've Cc'ed the people listed in MAINTAINERS as being responsible for one 
> > > or more of these drivers, and I've also Cc'ed the ALSA people.
> 
> > I haven't touched the maestro drivers in so long (for near-total lack of
> > docs, etc.) that I can't be considered authoritative for approving it's
> > removal. If people are relying on it I certainly don't know who they
> > are.  In better news, Takashi should now have the pile of maestro
> > hardware that I used in the first pass to help him maintain the ALSA
> > driver..
> 
> The OSS maestro driver works better on my old Armada E500 laptop.  I tried
> ALSA after switching to 2.6, but the computer hung with 2.6.8.1 or 2.6.10 if
> I touched the volume buttons.  With OSS they just work.  The four separate
> dsp devices also look kind of more useful.

The bug around h/w volume control should have been fixed in the recent
version of ALSA drivers.  Hopefully everything will get merged into
2.6.13...


Takashi

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-27 23:28     ` Lee Revell
@ 2005-07-27 23:58       ` Rogério Brito
  0 siblings, 0 replies; 193+ messages in thread
From: Rogério Brito @ 2005-07-27 23:58 UTC (permalink / raw)
  To: Lee Revell; +Cc: Zoran Dzelajlija, linux-kernel, linux-sound

On Jul 27 2005, Lee Revell wrote:
> On Wed, 2005-07-27 at 01:38 +0200, Zoran Dzelajlija wrote:
> > The OSS maestro driver works better on my old Armada E500 laptop.
> > I tried ALSA after switching to 2.6, but the computer hung with
> > 2.6.8.1 or 2.6.10 if I touched the volume buttons.
> 
> Please test a newer ALSA version, like the one in 2.6.12.

I have an Armada V300 laptop that uses the maestro2 chipset (and I
wouldn't be surprised if your E500 used that very same chip) and it
works fine with the ALSA provided in kernels since the 2.6.10-mm era
(actually, I think it worked fine with even earlier kernels, but I am
not sure).


Just another datapoint, Rogério.

-- 
Rogério Brito : rbrito@ime.usp.br : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 23:38   ` Zoran Dzelajlija
@ 2005-07-27 23:28     ` Lee Revell
  2005-07-27 23:58       ` Rogério Brito
  2005-07-28  8:09     ` Takashi Iwai
  2005-07-31 19:36     ` Adrian Bunk
  2 siblings, 1 reply; 193+ messages in thread
From: Lee Revell @ 2005-07-27 23:28 UTC (permalink / raw)
  To: Zoran Dzelajlija; +Cc: linux-kernel, linux-sound

On Wed, 2005-07-27 at 01:38 +0200, Zoran Dzelajlija wrote:
> The OSS maestro driver works better on my old Armada E500 laptop.  I tried
> ALSA after switching to 2.6, but the computer hung with 2.6.8.1 or 2.6.10 if
> I touched the volume buttons.

Please test a newer ALSA version, like the one in 2.6.12.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-27 20:31       ` John W. Linville
@ 2005-07-27 20:43         ` Jeff Garzik
  2005-07-28 14:00           ` Alan Cox
  0 siblings, 1 reply; 193+ messages in thread
From: Jeff Garzik @ 2005-07-27 20:43 UTC (permalink / raw)
  To: John W. Linville
  Cc: Adrian Bunk, Lee Revell, linux-kernel, perex, alsa-devel, James,
	sailer, linux-sound, zab, kyle, parisc-linux, Thorsten Knabe,
	zwane, zaitcev, Alan Cox

John W. Linville wrote:
> On Wed, Jul 27, 2005 at 08:24:28PM +0200, Adrian Bunk wrote:
> 
> 
>>I've grep'ed a second time for every single PCI ID in the OSS 
>>i810_audio, and I still haven't found WTF you are talking about.
> 
> 
> I looked as well, and I found nothing either.
> 
> Jeff, can you enlighten us?


ISTR Alan saying there was some ALi hardware that either wasn't in ALSA, 
or most likely didn't work in ALSA.  If Alan says I'm smoking crack, 
then you all can ignore me :)

	Jeff



^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-27 18:24     ` Adrian Bunk
@ 2005-07-27 20:31       ` John W. Linville
  2005-07-27 20:43         ` Jeff Garzik
  0 siblings, 1 reply; 193+ messages in thread
From: John W. Linville @ 2005-07-27 20:31 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: Jeff Garzik, Lee Revell, linux-kernel, perex, alsa-devel, James,
	sailer, linux-sound, zab, kyle, parisc-linux, Thorsten Knabe,
	zwane, zaitcev

On Wed, Jul 27, 2005 at 08:24:28PM +0200, Adrian Bunk wrote:

> I've grep'ed a second time for every single PCI ID in the OSS 
> i810_audio, and I still haven't found WTF you are talking about.

I looked as well, and I found nothing either.

Jeff, can you enlighten us?

John
-- 
John W. Linville
linville@tuxdriver.com

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:08 Adrian Bunk
                   ` (5 preceding siblings ...)
  2005-07-26 16:27 ` Zach Brown
@ 2005-07-27 18:39 ` Kyle McMartin
  2005-07-28 14:14   ` Adrian Bunk
  2005-07-28 15:04 ` Thorsten Knabe
                   ` (2 subsequent siblings)
  9 siblings, 1 reply; 193+ messages in thread
From: Kyle McMartin @ 2005-07-27 18:39 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: linux-kernel, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev

On Tue, Jul 26, 2005 at 05:08:37PM +0200, Adrian Bunk wrote:
> This patch schedules obsolete OSS drivers (with ALSA drivers that 
> support the same hardware) for removal.

oss/harmony.c can probably go, unless someone from parisc-linux
objects. I've written a (working) replacement[1] for oss/ad1889.c
which is in our cvs, and will go upstream shortly. oss/ad1889.c
doesn't (and hasn't ever) worked, so it should probably be removed.

Stuart, Randolph, comments?

1. http://cvs.parisc-linux.org/linux-2.6/sound/pci/ad1889.c?rev=1.30&view=markup

Cheers,
-- 
Kyle McMartin

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:57   ` Jeff Garzik
  2005-07-26 16:02     ` Lee Revell
@ 2005-07-27 18:24     ` Adrian Bunk
  2005-07-27 20:31       ` John W. Linville
  1 sibling, 1 reply; 193+ messages in thread
From: Adrian Bunk @ 2005-07-27 18:24 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: Lee Revell, linux-kernel, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, Thorsten Knabe, zwane,
	zaitcev

On Tue, Jul 26, 2005 at 11:57:04AM -0400, Jeff Garzik wrote:
> Lee Revell wrote:
> >On Tue, 2005-07-26 at 17:08 +0200, Adrian Bunk wrote:
> >
> >>This patch schedules obsolete OSS drivers (with ALSA drivers that 
> >>support the same hardware) for removal.
> >
> >
> >How many non-obsolete OSS drivers were there?
> 
> someone needs to test the remaining PCI ID(s) that are in i810_audio but 
> not ALSA.

I've grep'ed a second time for every single PCI ID in the OSS 
i810_audio, and I still haven't found WTF you are talking about.

Once again my question:

I though I found every single PCI ID from this driver in ALSA.
Which PCI IDs did I miss?

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 18:13     ` Adrian Bunk
@ 2005-07-27  3:19       ` Gene Heskett
  0 siblings, 0 replies; 193+ messages in thread
From: Gene Heskett @ 2005-07-27  3:19 UTC (permalink / raw)
  To: linux-kernel

On Tuesday 26 July 2005 14:13, Adrian Bunk wrote:
>On Tue, Jul 26, 2005 at 01:03:39PM -0400, Gene Heskett wrote:
>> On Tuesday 26 July 2005 11:48, Jeff Garzik wrote:
>> >Adrian Bunk wrote:
>> >> This patch schedules obsolete OSS drivers (with ALSA drivers
>> >> that support the same hardware) for removal.
[...]
>> >ACK for via82cxxx.
>>
>> I'm still running a box that needs this one.  The darned thing
>> refuses to die. :)
>>...
>
>Why doesn't the ALSA driver work for you?

Humm, I missread that it was OSS you were talking about, my bad.

I'll go quietly officer. :(

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.35% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 16:27 ` Zach Brown
  2005-07-26 21:41   ` Krzysztof Halasa
@ 2005-07-26 23:38   ` Zoran Dzelajlija
  2005-07-27 23:28     ` Lee Revell
                       ` (2 more replies)
  1 sibling, 3 replies; 193+ messages in thread
From: Zoran Dzelajlija @ 2005-07-26 23:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-sound

Zach Brown <zab@zabbo.net> wrote:
> Adrian Bunk wrote:
> > This patch schedules obsolete OSS drivers (with ALSA drivers that 
> > support the same hardware) for removal.

> > I've Cc'ed the people listed in MAINTAINERS as being responsible for one 
> > or more of these drivers, and I've also Cc'ed the ALSA people.

> I haven't touched the maestro drivers in so long (for near-total lack of
> docs, etc.) that I can't be considered authoritative for approving it's
> removal. If people are relying on it I certainly don't know who they
> are.  In better news, Takashi should now have the pile of maestro
> hardware that I used in the first pass to help him maintain the ALSA
> driver..

The OSS maestro driver works better on my old Armada E500 laptop.  I tried
ALSA after switching to 2.6, but the computer hung with 2.6.8.1 or 2.6.10 if
I touched the volume buttons.  With OSS they just work.  The four separate
dsp devices also look kind of more useful.

Zoran


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 16:27 ` Zach Brown
@ 2005-07-26 21:41   ` Krzysztof Halasa
  2005-07-26 23:38   ` Zoran Dzelajlija
  1 sibling, 0 replies; 193+ messages in thread
From: Krzysztof Halasa @ 2005-07-26 21:41 UTC (permalink / raw)
  To: Zach Brown
  Cc: Adrian Bunk, linux-kernel, perex, alsa-devel, James, sailer,
	linux-sound, kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane,
	zaitcev

Zach Brown <zab@zabbo.net> writes:

> I haven't touched the maestro drivers in so long (for near-total lack of
> docs, etc.) that I can't be considered authoritative for approving it's
> removal.

Maestro3 ALSA does work fine for me.
-- 
Krzysztof Halasa

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 17:03   ` Gene Heskett
@ 2005-07-26 18:13     ` Adrian Bunk
  2005-07-27  3:19       ` Gene Heskett
  0 siblings, 1 reply; 193+ messages in thread
From: Adrian Bunk @ 2005-07-26 18:13 UTC (permalink / raw)
  To: Gene Heskett; +Cc: linux-kernel

On Tue, Jul 26, 2005 at 01:03:39PM -0400, Gene Heskett wrote:
> On Tuesday 26 July 2005 11:48, Jeff Garzik wrote:
> >Adrian Bunk wrote:
> >> This patch schedules obsolete OSS drivers (with ALSA drivers that
> >> support the same hardware) for removal.
> >>
> >>
> >> Signed-off-by: Adrian Bunk <bunk@stusta.de>
> >>
> >> ---
> >>
> >> I've Cc'ed the people listed in MAINTAINERS as being responsible
> >> for one or more of these drivers, and I've also Cc'ed the ALSA
> >> people.
> >>
> >> Please tell if any my driver selections is wrong.
> >>
> >>  Documentation/feature-removal-schedule.txt |    7 +
> >>  sound/oss/Kconfig                          |   79
> >> ++++++++++++--------- 2 files changed, 54 insertions(+), 32
> >> deletions(-)
> >
> >Please CHECK before doing this.
> >
> >ACK for via82cxxx.
> 
> I'm still running a box that needs this one.  The darned thing refuses 
> to die. :)
>...


Why doesn't the ALSA driver work for you?


> Cheers, Gene


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 16:49   ` Lee Revell
@ 2005-07-26 17:49     ` John W. Linville
  0 siblings, 0 replies; 193+ messages in thread
From: John W. Linville @ 2005-07-26 17:49 UTC (permalink / raw)
  To: Lee Revell
  Cc: Jeff Garzik, Adrian Bunk, linux-kernel, perex, alsa-devel, James,
	sailer, linux-sound, zab, kyle, parisc-linux, Thorsten Knabe,
	zwane, zaitcev

On Tue, Jul 26, 2005 at 12:49:46PM -0400, Lee Revell wrote:
> On Tue, 2005-07-26 at 11:48 -0400, Jeff Garzik wrote:
> > NAK for i810_audio:  ALSA doesn't have all the PCI IDs (which must be 
> > verified -- you cannot just add the PCI IDs for some hardware)
> 
> Some of them might be in snd-hda-intel in addition to snd-intel8x0.

Hmmm...I don't think that would work.  If there are IDs listed in
both i810_audio and snd-hda-intel, it is probably a mistake.

John
-- 
John W. Linville
linville@tuxdriver.com

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:48 ` Jeff Garzik
  2005-07-26 16:04   ` Adrian Bunk
  2005-07-26 16:49   ` Lee Revell
@ 2005-07-26 17:03   ` Gene Heskett
  2005-07-26 18:13     ` Adrian Bunk
  2 siblings, 1 reply; 193+ messages in thread
From: Gene Heskett @ 2005-07-26 17:03 UTC (permalink / raw)
  To: linux-kernel

On Tuesday 26 July 2005 11:48, Jeff Garzik wrote:
>Adrian Bunk wrote:
>> This patch schedules obsolete OSS drivers (with ALSA drivers that
>> support the same hardware) for removal.
>>
>>
>> Signed-off-by: Adrian Bunk <bunk@stusta.de>
>>
>> ---
>>
>> I've Cc'ed the people listed in MAINTAINERS as being responsible
>> for one or more of these drivers, and I've also Cc'ed the ALSA
>> people.
>>
>> Please tell if any my driver selections is wrong.
>>
>>  Documentation/feature-removal-schedule.txt |    7 +
>>  sound/oss/Kconfig                          |   79
>> ++++++++++++--------- 2 files changed, 54 insertions(+), 32
>> deletions(-)
>
>Please CHECK before doing this.
>
>ACK for via82cxxx.

I'm still running a box that needs this one.  The darned thing refuses 
to die. :)

>NAK for i810_audio:  ALSA doesn't have all the PCI IDs (which must
> be verified -- you cannot just add the PCI IDs for some hardware)
>
> Jeff
>
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.35% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:48 ` Jeff Garzik
  2005-07-26 16:04   ` Adrian Bunk
@ 2005-07-26 16:49   ` Lee Revell
  2005-07-26 17:49     ` John W. Linville
  2005-07-26 17:03   ` Gene Heskett
  2 siblings, 1 reply; 193+ messages in thread
From: Lee Revell @ 2005-07-26 16:49 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: Adrian Bunk, linux-kernel, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, Thorsten Knabe, zwane,
	zaitcev

On Tue, 2005-07-26 at 11:48 -0400, Jeff Garzik wrote:
> NAK for i810_audio:  ALSA doesn't have all the PCI IDs (which must be 
> verified -- you cannot just add the PCI IDs for some hardware)

Some of them might be in snd-hda-intel in addition to snd-intel8x0.

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:51 ` Lee Revell
  2005-07-26 15:57   ` Jeff Garzik
@ 2005-07-26 16:30   ` Adrian Bunk
  1 sibling, 0 replies; 193+ messages in thread
From: Adrian Bunk @ 2005-07-26 16:30 UTC (permalink / raw)
  To: Lee Revell
  Cc: linux-kernel, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev

On Tue, Jul 26, 2005 at 11:51:13AM -0400, Lee Revell wrote:
> On Tue, 2005-07-26 at 17:08 +0200, Adrian Bunk wrote:
> > This patch schedules obsolete OSS drivers (with ALSA drivers that 
> > support the same hardware) for removal.
> 
> How many non-obsolete OSS drivers were there?

I haven't counted them, but there are still many.

> Lee

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:08 Adrian Bunk
                   ` (4 preceding siblings ...)
  2005-07-26 16:17 ` Andrew Haninger
@ 2005-07-26 16:27 ` Zach Brown
  2005-07-26 21:41   ` Krzysztof Halasa
  2005-07-26 23:38   ` Zoran Dzelajlija
  2005-07-27 18:39 ` Kyle McMartin
                   ` (3 subsequent siblings)
  9 siblings, 2 replies; 193+ messages in thread
From: Zach Brown @ 2005-07-26 16:27 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: linux-kernel, perex, alsa-devel, James, sailer, linux-sound,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev

Adrian Bunk wrote:
> This patch schedules obsolete OSS drivers (with ALSA drivers that 
> support the same hardware) for removal.

> I've Cc'ed the people listed in MAINTAINERS as being responsible for one 
> or more of these drivers, and I've also Cc'ed the ALSA people.

I haven't touched the maestro drivers in so long (for near-total lack of
docs, etc.) that I can't be considered authoritative for approving it's
removal.  If people are relying on it I certainly don't know who they
are.  In better news, Takashi should now have the pile of maestro
hardware that I used in the first pass to help him maintain the ALSA
driver..

- z

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:08 Adrian Bunk
                   ` (3 preceding siblings ...)
  2005-07-26 15:51 ` Lee Revell
@ 2005-07-26 16:17 ` Andrew Haninger
  2005-07-31 19:29   ` Adrian Bunk
  2005-07-26 16:27 ` Zach Brown
                   ` (4 subsequent siblings)
  9 siblings, 1 reply; 193+ messages in thread
From: Andrew Haninger @ 2005-07-26 16:17 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: linux-kernel, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev

On 7/26/05, Adrian Bunk <bunk@stusta.de> wrote:
>  config SOUND_OPL3SA2
>         tristate "Yamaha OPL3-SA2 and SA3 based PnP cards"
> -       depends on SOUND_OSS
> +       depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
>         help
>           Say Y or M if you have a card based on one of these Yamaha sound
>           chipsets or the "SAx", which is actually a SA3. Read
Forgive me if I'm misreading this (I'm hardly a coder and no kernel
hacker) but, as it stands, the OPL3SA2 driver provided by ALSA and the
main kernel tree work but are not correctly detected by ALSA's
detection routines (in alsaconf) on the 2.6 kernel. The OSS drivers
work, as well, but (AFAIK) there are no methods of automatic
configuration with the OSS drivers.

So, for people who don't feel like configuring ALSA with their OPL3SA2
card, the OSS modules may be easier to configure and thus should be
left in until the ALSA/2.6 kernel problems are worked out with the
OPL3SA2.

-Andy

^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:48 ` Jeff Garzik
@ 2005-07-26 16:04   ` Adrian Bunk
  2005-07-26 16:49   ` Lee Revell
  2005-07-26 17:03   ` Gene Heskett
  2 siblings, 0 replies; 193+ messages in thread
From: Adrian Bunk @ 2005-07-26 16:04 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: linux-kernel, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, Thorsten Knabe, zwane, zaitcev

On Tue, Jul 26, 2005 at 11:48:04AM -0400, Jeff Garzik wrote:
> Adrian Bunk wrote:
> >This patch schedules obsolete OSS drivers (with ALSA drivers that 
> >support the same hardware) for removal.
> >
> >
> >Signed-off-by: Adrian Bunk <bunk@stusta.de>
> >
> >---
> >
> >I've Cc'ed the people listed in MAINTAINERS as being responsible for one 
> >or more of these drivers, and I've also Cc'ed the ALSA people.
> >
> >Please tell if any my driver selections is wrong.
> >
> > Documentation/feature-removal-schedule.txt |    7 +
> > sound/oss/Kconfig                          |   79 ++++++++++++---------
> > 2 files changed, 54 insertions(+), 32 deletions(-)
> 
> Please CHECK before doing this.

I did (but I don't claim that I didn't miss anything).

> ACK for via82cxxx.

Thanks.

> NAK for i810_audio:  ALSA doesn't have all the PCI IDs (which must be 
> verified -- you cannot just add the PCI IDs for some hardware)

I though I found every single PCI ID from this driver in ALSA.
Which PCI IDs did I miss?

> 	Jeff

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:57   ` Jeff Garzik
@ 2005-07-26 16:02     ` Lee Revell
  2005-07-27 18:24     ` Adrian Bunk
  1 sibling, 0 replies; 193+ messages in thread
From: Lee Revell @ 2005-07-26 16:02 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: Adrian Bunk, linux-kernel, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, Thorsten Knabe, zwane,
	zaitcev

On Tue, 2005-07-26 at 11:57 -0400, Jeff Garzik wrote:
> Lee Revell wrote:
> > On Tue, 2005-07-26 at 17:08 +0200, Adrian Bunk wrote:
> > 
> >>This patch schedules obsolete OSS drivers (with ALSA drivers that 
> >>support the same hardware) for removal.
> > 
> > 
> > How many non-obsolete OSS drivers were there?
> 
> someone needs to test the remaining PCI ID(s) that are in i810_audio but 
> not ALSA.
> 

Good luck finding someone with all that old hardware...

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:51 ` Lee Revell
@ 2005-07-26 15:57   ` Jeff Garzik
  2005-07-26 16:02     ` Lee Revell
  2005-07-27 18:24     ` Adrian Bunk
  2005-07-26 16:30   ` Adrian Bunk
  1 sibling, 2 replies; 193+ messages in thread
From: Jeff Garzik @ 2005-07-26 15:57 UTC (permalink / raw)
  To: Lee Revell
  Cc: Adrian Bunk, linux-kernel, perex, alsa-devel, James, sailer,
	linux-sound, zab, kyle, parisc-linux, Thorsten Knabe, zwane,
	zaitcev

Lee Revell wrote:
> On Tue, 2005-07-26 at 17:08 +0200, Adrian Bunk wrote:
> 
>>This patch schedules obsolete OSS drivers (with ALSA drivers that 
>>support the same hardware) for removal.
> 
> 
> How many non-obsolete OSS drivers were there?

someone needs to test the remaining PCI ID(s) that are in i810_audio but 
not ALSA.



^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:08 Adrian Bunk
                   ` (2 preceding siblings ...)
  2005-07-26 15:48 ` Jeff Garzik
@ 2005-07-26 15:51 ` Lee Revell
  2005-07-26 15:57   ` Jeff Garzik
  2005-07-26 16:30   ` Adrian Bunk
  2005-07-26 16:17 ` Andrew Haninger
                   ` (5 subsequent siblings)
  9 siblings, 2 replies; 193+ messages in thread
From: Lee Revell @ 2005-07-26 15:51 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: linux-kernel, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev

On Tue, 2005-07-26 at 17:08 +0200, Adrian Bunk wrote:
> This patch schedules obsolete OSS drivers (with ALSA drivers that 
> support the same hardware) for removal.

How many non-obsolete OSS drivers were there?

Lee


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:08 Adrian Bunk
  2005-07-26 15:41 ` Jesper Juhl
  2005-07-26 15:41 ` Thomas Sailer
@ 2005-07-26 15:48 ` Jeff Garzik
  2005-07-26 16:04   ` Adrian Bunk
                     ` (2 more replies)
  2005-07-26 15:51 ` Lee Revell
                   ` (6 subsequent siblings)
  9 siblings, 3 replies; 193+ messages in thread
From: Jeff Garzik @ 2005-07-26 15:48 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: linux-kernel, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, Thorsten Knabe, zwane, zaitcev

Adrian Bunk wrote:
> This patch schedules obsolete OSS drivers (with ALSA drivers that 
> support the same hardware) for removal.
> 
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
> 
> ---
> 
> I've Cc'ed the people listed in MAINTAINERS as being responsible for one 
> or more of these drivers, and I've also Cc'ed the ALSA people.
> 
> Please tell if any my driver selections is wrong.
> 
>  Documentation/feature-removal-schedule.txt |    7 +
>  sound/oss/Kconfig                          |   79 ++++++++++++---------
>  2 files changed, 54 insertions(+), 32 deletions(-)

Please CHECK before doing this.

ACK for via82cxxx.

NAK for i810_audio:  ALSA doesn't have all the PCI IDs (which must be 
verified -- you cannot just add the PCI IDs for some hardware)

	Jeff




^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:41 ` Jesper Juhl
@ 2005-07-26 15:46   ` Adrian Bunk
  0 siblings, 0 replies; 193+ messages in thread
From: Adrian Bunk @ 2005-07-26 15:46 UTC (permalink / raw)
  To: Jesper Juhl
  Cc: linux-kernel, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev

On Tue, Jul 26, 2005 at 05:41:31PM +0200, Jesper Juhl wrote:
>...
> > +         This patch enables support for obsolete OSS drivers that
> 
>                       s/patch/option/  ???

Sure.

I'll correct this before resending the patch.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:08 Adrian Bunk
  2005-07-26 15:41 ` Jesper Juhl
@ 2005-07-26 15:41 ` Thomas Sailer
  2005-07-26 15:48 ` Jeff Garzik
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 193+ messages in thread
From: Thomas Sailer @ 2005-07-26 15:41 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: linux-kernel, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev

On Tue, 2005-07-26 at 17:08 +0200, Adrian Bunk wrote:
> This patch schedules obsolete OSS drivers (with ALSA drivers that 
> support the same hardware) for removal.
> 
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Thomas Sailer <sailer@ife.ee.ethz.ch>



^ permalink raw reply	[flat|nested] 193+ messages in thread

* Re: [2.6 patch] schedule obsolete OSS drivers for removal
  2005-07-26 15:08 Adrian Bunk
@ 2005-07-26 15:41 ` Jesper Juhl
  2005-07-26 15:46   ` Adrian Bunk
  2005-07-26 15:41 ` Thomas Sailer
                   ` (8 subsequent siblings)
  9 siblings, 1 reply; 193+ messages in thread
From: Jesper Juhl @ 2005-07-26 15:41 UTC (permalink / raw)
  To: Adrian Bunk
  Cc: linux-kernel, perex, alsa-devel, James, sailer, linux-sound, zab,
	kyle, parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev

On 7/26/05, Adrian Bunk <bunk@stusta.de> wrote:
> This patch schedules obsolete OSS drivers (with ALSA drivers that
> support the same hardware) for removal.
> 
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
> 
> ---
> 
> I've Cc'ed the people listed in MAINTAINERS as being responsible for one
> or more of these drivers, and I've also Cc'ed the ALSA people.
> 
> Please tell if any my driver selections is wrong.
> 
>  Documentation/feature-removal-schedule.txt |    7 +
>  sound/oss/Kconfig                          |   79 ++++++++++++---------
>  2 files changed, 54 insertions(+), 32 deletions(-)
> 
> --- linux-2.6.13-rc3-mm1-full/Documentation/feature-removal-schedule.txt.old    2005-07-26 16:50:05.000000000 +0200
> +++ linux-2.6.13-rc3-mm1-full/Documentation/feature-removal-schedule.txt        2005-07-26 16:51:24.000000000 +0200
> @@ -44,0 +45,7 @@
> +What:  drivers depending on OBSOLETE_OSS_DRIVER
> +When:  October 2005
> +Why:   OSS drivers with ALSA replacements
> +Who:   Adrian Bunk <bunk@stusta.de>
> +
> +---------------------------
> +
> --- linux-2.6.13-rc3-mm1-modular/sound/oss/Kconfig.old  2005-07-23 21:04:56.000000000 +0200
> +++ linux-2.6.13-rc3-mm1-modular/sound/oss/Kconfig      2005-07-24 01:22:11.000000000 +0200
> @@ -4,9 +4,24 @@
>  # More hacking for modularisation.
>  #
>  # Prompt user for primary drivers.
> +
> +config OBSOLETE_OSS_DRIVER
> +       bool "Obsolete OSS drivers"
> +       depends on SOUND_PRIME
> +       help
> +         This patch enables support for obsolete OSS drivers that

                      s/patch/option/  ???

-- 
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

^ permalink raw reply	[flat|nested] 193+ messages in thread

* [2.6 patch] schedule obsolete OSS drivers for removal
@ 2005-07-26 15:08 Adrian Bunk
  2005-07-26 15:41 ` Jesper Juhl
                   ` (9 more replies)
  0 siblings, 10 replies; 193+ messages in thread
From: Adrian Bunk @ 2005-07-26 15:08 UTC (permalink / raw)
  To: linux-kernel
  Cc: perex, alsa-devel, James, sailer, linux-sound, zab, kyle,
	parisc-linux, jgarzik, Thorsten Knabe, zwane, zaitcev

This patch schedules obsolete OSS drivers (with ALSA drivers that 
support the same hardware) for removal.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

I've Cc'ed the people listed in MAINTAINERS as being responsible for one 
or more of these drivers, and I've also Cc'ed the ALSA people.

Please tell if any my driver selections is wrong.

 Documentation/feature-removal-schedule.txt |    7 +
 sound/oss/Kconfig                          |   79 ++++++++++++---------
 2 files changed, 54 insertions(+), 32 deletions(-)

--- linux-2.6.13-rc3-mm1-full/Documentation/feature-removal-schedule.txt.old	2005-07-26 16:50:05.000000000 +0200
+++ linux-2.6.13-rc3-mm1-full/Documentation/feature-removal-schedule.txt	2005-07-26 16:51:24.000000000 +0200
@@ -44,0 +45,7 @@
+What:	drivers depending on OBSOLETE_OSS_DRIVER
+When:	October 2005
+Why:	OSS drivers with ALSA replacements
+Who:	Adrian Bunk <bunk@stusta.de>
+
+---------------------------
+
--- linux-2.6.13-rc3-mm1-modular/sound/oss/Kconfig.old	2005-07-23 21:04:56.000000000 +0200
+++ linux-2.6.13-rc3-mm1-modular/sound/oss/Kconfig	2005-07-24 01:22:11.000000000 +0200
@@ -4,9 +4,24 @@
 # More hacking for modularisation.
 #
 # Prompt user for primary drivers.
+
+config OBSOLETE_OSS_DRIVER
+	bool "Obsolete OSS drivers"
+	depends on SOUND_PRIME
+	help
+	  This patch enables support for obsolete OSS drivers that
+	  are scheduled for removal in the near future since there
+	  are ALSA drivers for the same hardware.
+
+	  Please contact Adrian Bunk <bunk@stusta.de> if you had to
+	  say Y here because your soundcard is not properly supported
+	  by ALSA.
+
+	  If unsure, say N.
+
 config SOUND_BT878
 	tristate "BT878 audio dma"
-	depends on SOUND_PRIME
+	depends on SOUND_PRIME && OBSOLETE_OSS_DRIVER
 	---help---
 	  Audio DMA support for bt878 based grabber boards.  As you might have
 	  already noticed, bt878 is listed with two functions in /proc/pci.
@@ -22,7 +37,7 @@
 
 config SOUND_CMPCI
 	tristate "C-Media PCI (CMI8338/8738)"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a PCI sound card using the CMI8338
 	  or the CMI8738 chipset.  Data on these chips are available at
@@ -61,7 +76,7 @@
 
 config SOUND_EMU10K1
 	tristate "Creative SBLive! (EMU10K1)"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	---help---
 	  Say Y or M if you have a PCI sound card using the EMU10K1 chipset,
 	  such as the Creative SBLive!, SB PCI512 or Emu-APS.
@@ -95,7 +110,7 @@
 
 config SOUND_CS4281
 	tristate "Crystal Sound CS4281"
-	depends on SOUND_PRIME
+	depends on SOUND_PRIME && OBSOLETE_OSS_DRIVER
 	help
 	  Picture and feature list at
 	  <http://www.pcbroker.com/crystal4281.html>.
@@ -112,7 +127,7 @@
 
 config SOUND_ES1370
 	tristate "Ensoniq AudioPCI (ES1370)"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a PCI sound card utilizing the Ensoniq
 	  ES1370 chipset, such as Ensoniq's AudioPCI (non-97). To find
@@ -125,7 +140,7 @@
 
 config SOUND_ES1371
 	tristate "Creative Ensoniq AudioPCI 97 (ES1371)"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a PCI sound card utilizing the Ensoniq
 	  ES1371 chipset, such as Ensoniq's AudioPCI97. To find out if
@@ -138,7 +153,7 @@
 
 config SOUND_ESSSOLO1
 	tristate "ESS Technology Solo1" 
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a PCI sound card utilizing the ESS Technology
 	  Solo1 chip. To find out if your sound card uses a
@@ -149,7 +164,7 @@
 
 config SOUND_MAESTRO
 	tristate "ESS Maestro, Maestro2, Maestro2E driver"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a sound system driven by ESS's Maestro line
 	  of PCI sound chips.  These include the Maestro 1, Maestro 2, and
@@ -158,28 +173,28 @@
 
 config SOUND_MAESTRO3
 	tristate "ESS Maestro3/Allegro driver (EXPERIMENTAL)"
-	depends on SOUND_PRIME && PCI && EXPERIMENTAL
+	depends on SOUND_PRIME && PCI && EXPERIMENTAL && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a sound system driven by ESS's Maestro 3
 	  PCI sound chip.
 
 config SOUND_ICH
 	tristate "Intel ICH (i8xx) audio support"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Support for integral audio in Intel's I/O Controller Hub (ICH)
 	  chipset, as used on the 810/820/840 motherboards.
 
 config SOUND_HARMONY
 	tristate "PA Harmony audio driver"
-	depends on GSC_LASI && SOUND_PRIME
+	depends on GSC_LASI && SOUND_PRIME && OBSOLETE_OSS_DRIVER
 	help
 	  Say 'Y' or 'M' to include support for Harmony soundchip
 	  on HP 712, 715/new and many other GSC based machines.
 
 config SOUND_SONICVIBES
 	tristate "S3 SonicVibes"
-	depends on SOUND_PRIME
+	depends on SOUND_PRIME && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a PCI sound card utilizing the S3
 	  SonicVibes chipset. To find out if your sound card uses a
@@ -218,7 +233,7 @@
 
 config SOUND_AU1000
 	tristate "Au1000 Sound"
-	depends on SOUND_PRIME && (SOC_AU1000 || SOC_AU1100 || SOC_AU1500)
+	depends on SOUND_PRIME && (SOC_AU1000 || SOC_AU1100 || SOC_AU1500) && OBSOLETE_OSS_DRIVER
 
 config SOUND_AU1550_AC97
 	tristate "Au1550 AC97 Sound"
@@ -492,7 +507,7 @@
 
 config SOUND_VIA82CXXX
 	tristate "VIA 82C686 Audio Codec"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y here to include support for the audio codec found on VIA
 	  82Cxxx-based chips. Typically these are built into a motherboard.
@@ -546,7 +561,7 @@
 
 config SOUND_AD1816
 	tristate "AD1816(A) based cards (EXPERIMENTAL)"
-	depends on EXPERIMENTAL && SOUND_OSS
+	depends on EXPERIMENTAL && SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say M here if you have a sound card based on the Analog Devices
 	  AD1816(A) chip.
@@ -563,7 +578,7 @@
 
 config SOUND_SGALAXY
 	tristate "Aztech Sound Galaxy (non-PnP) cards"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  This module initializes the older non Plug and Play sound galaxy
 	  cards from Aztech. It supports the Waverider Pro 32 - 3D and the
@@ -599,7 +614,7 @@
 
 config SOUND_CS4232
 	tristate "Crystal CS4232 based (PnP) cards"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y here if you have a card based on the Crystal CS4232 chip set,
 	  which uses its own Plug and Play protocol.
@@ -613,7 +628,7 @@
 
 config SOUND_SSCAPE
 	tristate "Ensoniq SoundScape support"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Answer Y if you have a sound card based on the Ensoniq SoundScape
 	  chipset. Such cards are being manufactured at least by Ensoniq, Spea
@@ -625,7 +640,7 @@
 
 config SOUND_GUS
 	tristate "Gravis Ultrasound support"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y here for any type of Gravis Ultrasound card, including the GUS
 	  or GUS MAX.  See also <file:Documentation/sound/oss/ultrasound> for more
@@ -727,7 +742,7 @@
 
 config SOUND_NM256
 	tristate "NM256AV/NM256ZX audio support"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say M here to include audio support for the NeoMagic 256AV/256ZX
 	  chipsets. These are the audio chipsets found in the Sony
@@ -739,7 +754,7 @@
 
 config SOUND_MAD16
 	tristate "OPTi MAD16 and/or Mozart based cards"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	---help---
 	  Answer Y if your card has a Mozart (OAK OTI-601) or MAD16 (OPTi
 	  82C928 or 82C929 or 82C931) audio interface chip. These chips are
@@ -860,7 +875,7 @@
 
 config SOUND_AWE32_SYNTH
 	tristate "AWE32 synth"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y here if you have a Sound Blaster SB32, AWE32-PnP, SB AWE64 or
 	  similar sound card. See <file:Documentation/sound/oss/README.awe>,
@@ -870,7 +885,7 @@
 
 config SOUND_WAVEFRONT
 	tristate "Full support for Turtle Beach WaveFront (Tropez Plus, Tropez, Maui) synth/soundcards"
-	depends on SOUND_OSS && m
+	depends on SOUND_OSS && m && OBSOLETE_OSS_DRIVER
 	help
 	  Answer Y or M if you have a Tropez Plus, Tropez or Maui sound card
 	  and read the files <file:Documentation/sound/oss/Wavefront> and
@@ -878,7 +893,7 @@
 
 config SOUND_MAUI
 	tristate "Limited support for Turtle Beach Wave Front (Maui, Tropez) synthesizers"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y here if you have a Turtle Beach Wave Front, Maui, or Tropez
 	  sound card.
@@ -904,7 +919,7 @@
 
 config SOUND_YM3812
 	tristate "Yamaha FM synthesizer (YM3812/OPL-3) support"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	---help---
 	  Answer Y if your card has a FM chip made by Yamaha (OPL2/OPL3/OPL4).
 	  Answering Y is usually a safe and recommended choice, however some
@@ -920,7 +935,7 @@
 
 config SOUND_OPL3SA1
 	tristate "Yamaha OPL3-SA1 audio controller"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a Yamaha OPL3-SA1 sound chip, which is
 	  usually built into motherboards. Read
@@ -932,7 +947,7 @@
 
 config SOUND_OPL3SA2
 	tristate "Yamaha OPL3-SA2 and SA3 based PnP cards"
-	depends on SOUND_OSS
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a card based on one of these Yamaha sound
 	  chipsets or the "SAx", which is actually a SA3. Read
@@ -946,7 +961,7 @@
 
 config SOUND_YMFPCI
 	tristate "Yamaha YMF7xx PCI audio (native mode)"
-	depends on SOUND_OSS && PCI
+	depends on SOUND_OSS && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Support for Yamaha cards including the YMF711, YMF715, YMF718,
 	  YMF719, YMF724, Waveforce 192XG, and Waveforce 192 Digital.
@@ -1088,11 +1103,11 @@
 
 config SOUND_ALI5455
 	tristate "ALi5455 audio support"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 
 config SOUND_FORTE
 	tristate "ForteMedia FM801 driver"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you want driver support for the ForteMedia FM801 PCI
 	  audio controller (Abit AU10, Genius Sound Maker, HP Workstation
@@ -1100,7 +1115,7 @@
 
 config SOUND_RME96XX
 	tristate "RME Hammerfall (RME96XX) support"
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER
 	help
 	  Say Y or M if you have a Hammerfall or Hammerfall light
 	  multichannel card from RME. If you want to access advanced
@@ -1108,7 +1123,7 @@
 
 config SOUND_AD1980
 	tristate "AD1980 front/back switch plugin"
-	depends on SOUND_PRIME
+	depends on SOUND_PRIME && OBSOLETE_OSS_DRIVER
 
 config SOUND_SH_DAC_AUDIO
 	tristate "SuperH DAC audio support"


^ permalink raw reply	[flat|nested] 193+ messages in thread

end of thread, other threads:[~2006-01-09 16:22 UTC | newest]

Thread overview: 193+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-30 10:51 [2.6 patch] schedule obsolete OSS drivers for removal Adrian Bunk
2005-10-30 13:41 ` Gene Heskett
2005-10-30 13:51   ` Adrian Bunk
2005-10-30 13:53   ` Alistair John Strachan
2005-10-30 14:27 ` Kyle McMartin
2005-10-30 15:12   ` Adrian Bunk
2005-10-30 15:19     ` Kyle McMartin
2005-10-30 15:53       ` [updated 2.6 " Adrian Bunk
2005-10-31 16:50     ` [2.6 " Lee Revell
2005-11-01 14:55       ` Adrian Bunk
2005-10-30 18:06 ` Andi Kleen
2005-10-30 18:38   ` Adrian Bunk
2005-10-30 19:35     ` Andi Kleen
2005-10-30 19:49       ` Adrian Bunk
2005-10-31 11:09         ` Takashi Iwai
2005-10-31 15:59         ` Nix
2005-10-31 16:27           ` Michael Buesch
2005-10-31 16:36             ` Nix
2005-10-31  7:06   ` Lee Revell
     [not found] <5r1ql-4Af-11@gated-at.bofh.it>
     [not found] ` <5r2mU-63n-79@gated-at.bofh.it>
     [not found]   ` <5r2FQ-6FS-37@gated-at.bofh.it>
     [not found]     ` <5r3C3-88G-55@gated-at.bofh.it>
     [not found]       ` <5r4ey-wy-17@gated-at.bofh.it>
     [not found]         ` <5r4of-Wo-39@gated-at.bofh.it>
     [not found]           ` <5r50O-1IR-3@gated-at.bofh.it>
     [not found]             ` <5r5k8-2kx-1@gated-at.bofh.it>
     [not found]               ` <5r72E-4AS-5@gated-at.bofh.it>
     [not found]                 ` <5rcOF-4ci-1@gated-at.bofh.it>
     [not found]                   ` <5rgSv-1KJ-41@gated-at.bofh.it>
2006-01-04 14:03                     ` Patrizio Bassi
  -- strict thread matches above, loose matches on Subject: below --
2005-07-26 15:08 Adrian Bunk
2005-07-26 15:41 ` Jesper Juhl
2005-07-26 15:46   ` Adrian Bunk
2005-07-26 15:41 ` Thomas Sailer
2005-07-26 15:48 ` Jeff Garzik
2005-07-26 16:04   ` Adrian Bunk
2005-07-26 16:49   ` Lee Revell
2005-07-26 17:49     ` John W. Linville
2005-07-26 17:03   ` Gene Heskett
2005-07-26 18:13     ` Adrian Bunk
2005-07-27  3:19       ` Gene Heskett
2005-07-26 15:51 ` Lee Revell
2005-07-26 15:57   ` Jeff Garzik
2005-07-26 16:02     ` Lee Revell
2005-07-27 18:24     ` Adrian Bunk
2005-07-27 20:31       ` John W. Linville
2005-07-27 20:43         ` Jeff Garzik
2005-07-28 14:00           ` Alan Cox
2005-07-28 13:43             ` Jaroslav Kysela
2005-07-28 14:15               ` Adrian Bunk
2006-01-03 13:14               ` Adrian Bunk
2005-07-26 16:30   ` Adrian Bunk
2005-07-26 16:17 ` Andrew Haninger
2005-07-31 19:29   ` Adrian Bunk
2005-07-26 16:27 ` Zach Brown
2005-07-26 21:41   ` Krzysztof Halasa
2005-07-26 23:38   ` Zoran Dzelajlija
2005-07-27 23:28     ` Lee Revell
2005-07-27 23:58       ` Rogério Brito
2005-07-28  8:09     ` Takashi Iwai
2005-07-31 19:36     ` Adrian Bunk
2005-07-27 18:39 ` Kyle McMartin
2005-07-28 14:14   ` Adrian Bunk
2005-07-28 15:04 ` Thorsten Knabe
2005-07-28 15:46   ` Adrian Bunk
2005-07-31 13:38 ` James Courtier-Dutton
2006-01-03 13:21 ` Andi Kleen
2006-01-03 13:47   ` Alistair John Strachan
2006-01-03 13:52     ` Andi Kleen
2006-01-03 13:58       ` David Lang
2006-01-03 14:33         ` Alistair John Strachan
2006-01-03 14:34           ` Alistair John Strachan
2006-01-03 14:01       ` Alistair John Strachan
2006-01-03 18:24       ` Lee Revell
     [not found]       ` <mailman.1136300646.6679.linux-kernel2news@redhat.com>
2006-01-04 11:13         ` Pete Zaitcev
2006-01-04 11:16           ` Jaroslav Kysela
2006-01-03 14:38     ` Jan Engelhardt
2006-01-03 14:41       ` Alistair John Strachan
2006-01-03 14:50         ` Jan Engelhardt
2006-01-03 15:22           ` Alistair John Strachan
2006-01-03 16:05             ` Tomasz Torcz
2006-01-03 16:29               ` Alistair John Strachan
2006-01-03 17:03                 ` Olivier Galibert
2006-01-03 17:16                   ` Alistair John Strachan
2006-01-03 19:24                     ` Olivier Galibert
2006-01-03 19:37                       ` Adrian Bunk
2006-01-03 21:40                         ` Olivier Galibert
2006-01-03 23:10                         ` Tomasz Kłoczko
2006-01-04  0:33                           ` Thomas Sailer
2006-01-04  1:48                             ` Olivier Galibert
2006-01-04  9:03                           ` Jan Engelhardt
2006-01-04 12:13                           ` Joern Nettingsmeier
2006-01-04 12:35                             ` Andi Kleen
2006-01-04 12:41                               ` Jaroslav Kysela
2006-01-04 17:31                                 ` Alistair John Strachan
2006-01-04 17:48                                   ` Takashi Iwai
2006-01-05  6:42                       ` Lee Revell
2006-01-03 18:28                   ` Lee Revell
2006-01-03 19:30                     ` Thomas Sailer
2006-01-03 19:37                       ` Jaroslav Kysela
2006-01-03 19:56                         ` Thomas Sailer
2006-01-03 20:06                           ` Jaroslav Kysela
2006-01-04  0:23                             ` Thomas Sailer
2006-01-03 22:39                           ` James Courtier-Dutton
2006-01-03 20:22                   ` Takashi Iwai
2006-01-03 20:37                     ` Tomasz Torcz
2006-01-03 20:44                       ` Takashi Iwai
2006-01-03 20:56                         ` Jesper Juhl
2006-01-03 21:56                           ` Adrian Bunk
2006-01-03 22:11                             ` Jesper Juhl
2006-01-04 11:46                               ` Takashi Iwai
2006-01-04 14:46                                 ` Jan Engelhardt
2006-01-04 16:43                                   ` Marcin Dalecki
2006-01-05 10:57                                     ` Jan Engelhardt
2006-01-05 12:44                                       ` Marcin Dalecki
2006-01-05 18:33                                         ` Lee Revell
2006-01-05 20:03                                           ` Marcin Dalecki
2006-01-05 20:05                                             ` Lee Revell
2006-01-05 20:18                                               ` Marcin Dalecki
2006-01-05 20:28                                                 ` Lee Revell
2006-01-05 20:32                                                   ` Marcin Dalecki
2006-01-05 20:39                                                     ` Lee Revell
2006-01-05 20:32                                                 ` Lee Revell
2006-01-05 20:54                                                   ` Marcin Dalecki
2006-01-05 21:01                                                     ` Lee Revell
2006-01-05 21:43                                                       ` Marcin Dalecki
2006-01-05 21:47                                                         ` Lee Revell
2006-01-05 23:35                                                     ` Jesper Juhl
2006-01-06  0:04                                                       ` Marcin Dalecki
2006-01-06  0:08                                                         ` Jesper Juhl
2006-01-06  1:36                                                         ` Hannu Savolainen
2006-01-06  9:54                                                           ` James Courtier-Dutton
2006-01-06 13:37                                                             ` Hannu Savolainen
2006-01-06 10:34                                                           ` Gabor Gombas
2006-01-06 12:48                                                             ` Hannu Savolainen
2006-01-07 14:09                                                           ` Takashi Iwai
2006-01-07 14:57                                                             ` Marcin Dalecki
2006-01-08  0:21                                                             ` Hannu Savolainen
2006-01-06  2:40                                             ` Diego Calleja
2006-01-06 14:57                                               ` Olivier Galibert
2006-01-06 20:26                                                 ` Jaroslav Kysela
2006-01-07  0:40                                                   ` Marcin Dalecki
2006-01-07  0:56                                                   ` Olivier Galibert
2006-01-05 23:19                                           ` Hannu Savolainen
2006-01-05 23:33                                             ` Lee Revell
2006-01-06 13:20                                               ` caszonyi
2006-01-06 13:43                                                 ` James Courtier-Dutton
2006-01-06 18:24                                                 ` Lee Revell
2006-01-06 18:27                                                 ` Lee Revell
2006-01-04 20:12                                   ` Kyle Moffett
2006-01-04 22:25                                     ` Olivier Galibert
2006-01-03 22:13                             ` Tomasz Torcz
2006-01-03 23:10                               ` Adrian Bunk
2006-01-03 23:51                                 ` Tomasz Kłoczko
2006-01-04  0:03                                   ` Adrian Bunk
2006-01-04  0:46                                     ` Tomasz Kłoczko
2006-01-04  1:01                                       ` Adrian Bunk
2006-01-04  2:51                                         ` Tomasz Kłoczko
2006-01-04  8:50                                           ` Alan Cox
2006-01-04 13:21                                             ` Greg Louis
2006-01-04 14:41                                               ` Adrian Bunk
2006-01-04 10:37                                           ` tapas
2006-01-04 17:28                                             ` Alistair John Strachan
2006-01-05  7:14                                               ` Jan Engelhardt
2006-01-04 17:54                                             ` Takashi Iwai
2006-01-04 18:17                                               ` Florian Schmidt
2006-01-04 19:28                                                 ` Marcin Dalecki
2006-01-04 19:52                                                   ` Florian Schmidt
2006-01-05  7:11                                                     ` Jan Engelhardt
2006-01-05 11:15                                                     ` Takashi Iwai
2006-01-05 21:20                                                   ` Jim Crilly
2006-01-05  7:11                                                 ` Lee Revell
2006-01-05 19:09                                                   ` Edgar Toernig
2006-01-05 19:29                                                     ` Lee Revell
2006-01-05 20:19                                                       ` Lee Revell
2006-01-05 21:05                                                         ` Edgar Toernig
2006-01-05 21:10                                                           ` Lee Revell
2006-01-05 20:24                                                       ` Edgar Toernig
2006-01-05 20:29                                                         ` Lee Revell
2006-01-05  7:16                                             ` Lee Revell
2006-01-05 11:43                                               ` Florian Schmidt
2006-01-05 17:48                                                 ` Lee Revell
2006-01-08 21:07                                                   ` Ville Herva
2006-01-08 21:44                                                     ` Lee Revell
2006-01-09  8:16                                                       ` Ville Herva
2006-01-09 13:52                                                         ` Lee Revell
2006-01-09 14:22                                                           ` Ville Herva
2006-01-09 15:18                                                             ` Lee Revell
2006-01-09 16:21                                                               ` Ville Herva
2006-01-09 16:22                                                                 ` Lee Revell
2006-01-05 18:36                                                 ` Lee Revell
2006-01-05 18:47                                                   ` Tomasz Torcz
2006-01-05 19:10                                                     ` Lee Revell
2006-01-05 19:15                                                   ` Florian Schmidt
2006-01-04  0:28                                   ` Stefan Smietanowski
2006-01-04  1:38                                     ` Tomasz Kłoczko
2006-01-04  9:48                                       ` Stefan Smietanowski
2006-01-05  3:03                                         ` Peter Bortas
2006-01-05  7:13                                           ` Jan Engelhardt
2006-01-05  7:19                                             ` Lee Revell
2006-01-05  8:41                                               ` Stefan Smietanowski
2006-01-05  9:57                                             ` Peter Bortas
2006-01-03 17:09             ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).