Skip to contentSkip to conversation

schedule obsolete OSS drivers for removal

PATCH In review Adrian Bunk 9 participants 19 messages Oct 30, 2005 – Nov 1, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 schedule obsolete OSS drivers for removal

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.

---

 Documentation/feature-removal-schedule.txt |    7 ++
 sound/oss/Kconfig                          |   73 +++++++++++++++++------------
 2 files changed, 51 insertions(+), 29 deletions(-)
Documentation/feature-removal-schedule.txt renamed from Documentation/feature-removal-schedule.txt~schedule-obsolete-oss-drivers-for-removal-version-2 +7 -0
diff -puN Documentation/feature-removal-schedule.txt~schedule-obsolete-oss-drivers-for-removal-version-2 Documentation/feature-removal-schedule.txt
@@ -42,6 +42,13 @@ Who:	Adrian Bunk <[email protected]>
 
 ---------------------------
 
+What:	drivers depending on OBSOLETE_OSS_DRIVER
+When:	January 2006
+Why:	OSS drivers with ALSA replacements
+Who:	Adrian Bunk <[email protected]>
+
+---------------------------
+
 What:	RCU API moves to EXPORT_SYMBOL_GPL
 When:	April 2006
 Files:	include/linux/rcupdate.h, kernel/rcupdate.c
sound/oss/Kconfig renamed from sound/oss/Kconfig~schedule-obsolete-oss-drivers-for-removal-version-2 +44 -29

246 lines not on this page · raw message

_

#1 lore raw
Quoted 5 lines · Adrian Bunk

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.

Quoted 318 lines

---

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 <[email protected]>

---------------------------

Documentation/feature-removal-schedule.txt renamed from Documentation/feature-removal-schedule.txt~schedule-obsolete-oss-drivers-for-removal-version-2 +7 -0
+What:	drivers depending on OBSOLETE_OSS_DRIVER
+When:	January 2006
+Why:	OSS drivers with ALSA replacements
+Who:	Adrian Bunk <[email protected]>
+
+---------------------------
+

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.

sound/oss/Kconfig renamed from sound/oss/Kconfig~schedule-obsolete-oss-drivers-for-removal-version-2 +15 -0
+
+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 <[email protected]> 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"

(quoted diff) +1 -1
-	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.

(quoted diff) +0 -0
@@ -22,7 +37,7 @@ config SOUND_BT878
 

config SOUND_CMPCI

	tristate "C-Media PCI (CMI8338/8738)"
(quoted diff) +1 -1
-	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

(quoted diff) +0 -0
@@ -61,7 +76,7 @@ config SOUND_CMPCI_JOYSTICK
 

config SOUND_EMU10K1
tristate "Creative SBLive! (EMU10K1)"

(quoted diff) +1 -1
-	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.

(quoted diff) +0 -0
@@ -95,7 +110,7 @@ config SOUND_FUSION
 

config SOUND_CS4281
tristate "Crystal Sound CS4281"

(quoted diff) +1 -1
-	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>.
(quoted diff) +0 -0
@@ -112,7 +127,7 @@ config SOUND_BCM_CS4297A
 

config SOUND_ES1370
tristate "Ensoniq AudioPCI (ES1370)"

(quoted diff) +1 -1
-	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

(quoted diff) +0 -0
@@ -125,7 +140,7 @@ config SOUND_ES1370
 

config SOUND_ES1371
tristate "Creative Ensoniq AudioPCI 97 (ES1371)"

(quoted diff) +1 -1
-	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

(quoted diff) +0 -0
@@ -138,7 +153,7 @@ config SOUND_ES1371
 

config SOUND_ESSSOLO1
tristate "ESS Technology Solo1"

(quoted diff) +1 -1
-	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

(quoted diff) +0 -0
@@ -149,7 +164,7 @@ config SOUND_ESSSOLO1
 

config SOUND_MAESTRO
tristate "ESS Maestro, Maestro2, Maestro2E driver"

(quoted diff) +1 -1
-	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

(quoted diff) +0 -0
@@ -158,7 +173,7 @@ config SOUND_MAESTRO
 

config SOUND_MAESTRO3
tristate "ESS Maestro3/Allegro driver (EXPERIMENTAL)"

sound/oss/Kconfig renamed from sound/oss/Kconfig~schedule-obsolete-oss-drivers-for-removal-version-2 +1 -1
-	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.

(quoted diff) +0 -0
@@ -172,14 +187,14 @@ config SOUND_ICH
 

config SOUND_HARMONY
tristate "PA Harmony audio driver"

sound/oss/Kconfig renamed from sound/oss/Kconfig~schedule-obsolete-oss-drivers-for-removal-version-2 +1 -1
-	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"

(quoted diff) +1 -1
-	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

(quoted diff) +0 -0
@@ -218,7 +233,7 @@ config SOUND_VRC5477
 

config SOUND_AU1000

	tristate "Au1000 Sound"
(quoted diff) +1 -1
-	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"
(quoted diff) +0 -0
@@ -492,7 +507,7 @@ config MSND_FIFOSIZE
 

config SOUND_VIA82CXXX
tristate "VIA 82C686 Audio Codec"

(quoted diff) +1 -1
-	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.

(quoted diff) +0 -0
@@ -563,7 +578,7 @@ config SOUND_AD1889
 

config SOUND_SGALAXY
tristate "Aztech Sound Galaxy (non-PnP) cards"

(quoted diff) +1 -1
-	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

(quoted diff) +0 -0
@@ -599,7 +614,7 @@ config SOUND_ACI_MIXER
 

config SOUND_CS4232
tristate "Crystal CS4232 based (PnP) cards"

(quoted diff) +1 -1
-	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.

(quoted diff) +0 -0
@@ -613,7 +628,7 @@ config SOUND_CS4232
 

config SOUND_SSCAPE
tristate "Ensoniq SoundScape support"

(quoted diff) +1 -1
-	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

(quoted diff) +0 -0
@@ -625,7 +640,7 @@ config SOUND_SSCAPE
 

config SOUND_GUS
tristate "Gravis Ultrasound support"

(quoted diff) +1 -1
-	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"

(quoted diff) +1 -1
-	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

(quoted diff) +0 -0
@@ -739,7 +754,7 @@ config SOUND_NM256
 

config SOUND_MAD16
tristate "OPTi MAD16 and/or Mozart based cards"

(quoted diff) +1 -1
-	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
(quoted diff) +0 -0
@@ -860,7 +875,7 @@ config SOUND_SB
 

config SOUND_AWE32_SYNTH
tristate "AWE32 synth"

(quoted diff) +1 -1
-	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>,

(quoted diff) +0 -0
@@ -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

sound/oss/Kconfig renamed from sound/oss/Kconfig~schedule-obsolete-oss-drivers-for-removal-version-2 +1 -0
+	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

(quoted diff) +0 -0
@@ -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

(quoted diff) +1 -0
+	depends on SOUND_OSS && OBSOLETE_OSS_DRIVER

help
Say Y here if you have a Turtle Beach Wave Front, Maui, or Tropez sound card.

(quoted diff) +0 -0
@@ -904,7 +919,7 @@ config MAUI_BOOT_FILE
 

config SOUND_YM3812
tristate "Yamaha FM synthesizer (YM3812/OPL-3) support"

(quoted diff) +1 -1
-	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

(quoted diff) +0 -0
@@ -920,7 +935,7 @@ config SOUND_YM3812
 

config SOUND_OPL3SA1
tristate "Yamaha OPL3-SA1 audio controller"

(quoted diff) +1 -1
-	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

(quoted diff) +0 -0
@@ -946,7 +961,7 @@ config SOUND_OPL3SA2
 

config SOUND_YMFPCI
tristate "Yamaha YMF7xx PCI audio (native mode)"

sound/oss/Kconfig renamed from sound/oss/Kconfig~schedule-obsolete-oss-drivers-for-removal-version-2 +1 -1
-	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.
(quoted diff) +0 -0
@@ -1088,11 +1103,11 @@ config SOUND_KAHLUA
 

config SOUND_ALI5455
tristate "ALi5455 audio support"

(quoted diff) +1 -1
-	depends on SOUND_PRIME && PCI
+	depends on SOUND_PRIME && PCI && OBSOLETE_OSS_DRIVER

config SOUND_FORTE
tristate "ForteMedia FM801 driver"

(quoted diff) +1 -1
-	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

(quoted diff) +0 -0
@@ -1100,7 +1115,7 @@ config SOUND_FORTE
 

config SOUND_RME96XX
tristate "RME Hammerfall (RME96XX) support"

(quoted diff) +1 -1
-	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

(quoted diff) +0 -0
@@ -1108,7 +1123,7 @@ config SOUND_RME96XX
 

config SOUND_AD1980
tristate "AD1980 front/back switch plugin"

sound/oss/Kconfig renamed from sound/oss/Kconfig~schedule-obsolete-oss-drivers-for-removal-version-2 +1 -1
-	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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 10 lines
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.
#2 lore raw
Quoted 9 lines · Gene Heskett
Quoted 5 lines · Adrian Bunk

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

Signature · 4 lines
       "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
#3 lore raw
In reply to Gene Heskett
Quoted 8 lines · Gene Heskett
Quoted 4 lines · Adrian Bunk

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.

Signature · 6 lines
Cheers,
Alistair.

'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
#4 lore raw
In reply to Adrian Bunk
Quoted 4 lines · Adrian Bunk

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

#5 lore raw
Quoted 9 lines · Kyle McMartin
Quoted 4 lines · Adrian Bunk

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.

Quoted 2 lines

Cheers,
Kyle

cu
Adrian

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

Signature · 4 lines
       "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
#6 lore raw
Quoted 2 lines · Adrian Bunk

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.

Quoted 2 lines

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

#7 lore raw

PATCH 1/1 schedule obsolete OSS drivers for removal

Quoted 8 lines · Kyle McMartin
Quoted 2 lines · Adrian Bunk

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.

---

 Documentation/feature-removal-schedule.txt |    7 +
 sound/oss/Kconfig                          |   75 ++++++++++++---------
 2 files changed, 52 insertions(+), 30 deletions(-)
Documentation/feature-removal-schedule.txt renamed from Documentation/feature-removal-schedule.txt.old +7 -0
@@ -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 <[email protected]>
+
+---------------------------
+
 What:	RCU API moves to EXPORT_SYMBOL_GPL
 When:	April 2006
 Files:	include/linux/rcupdate.h, kernel/rcupdate.c
sound/oss/Kconfig renamed from sound/oss/Kconfig.old +45 -30

254 lines not on this page · raw message

#8 lore raw
In reply to Adrian Bunk
Quoted 7 lines · Adrian Bunk
Quoted 6 lines · Kyle McMartin
Quoted 4 lines · Adrian Bunk

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

Quoted 5 lines
Quoted 3 lines

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

#9 lore raw
Quoted 7 lines · Lee Revell
Quoted 2 lines · Adrian Bunk

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.

Quoted 1 line

Lee

cu
Adrian

Signature · 4 lines
       "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
#10 lore raw
In reply to Adrian Bunk
Quoted 4 lines · Adrian Bunk

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

#11 lore raw
Quoted 10 lines · Andi Kleen
Quoted 4 lines · Adrian Bunk

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.

Quoted 1 line

-Andi

cu
Adrian

Signature · 4 lines
       "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
#12 lore raw
Quoted 8 lines · Adrian Bunk

???

$ ls -la sound/oss/i810_audio.o sound/pci/intel8x0.o
(quoted diff) +0 -2
-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.

Quoted 2 lines

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

#13 lore raw
Quoted 9 lines · Andi Kleen
Quoted 7 lines · Adrian Bunk

???

$ ls -la sound/oss/i810_audio.o sound/pci/intel8x0.o
(quoted diff) +0 -2
-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

$

Quoted 4 lines
Quoted 1 line

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.

Quoted 4 lines
Quoted 2 lines

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.

Quoted 1 line

-Andi

cu
Adrian

Signature · 4 lines
       "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
#14 lore raw

At Sun, 30 Oct 2005 20:49:51 +0100,

Quoted 7 lines · Adrian Bunk
Quoted 5 lines
Quoted 3 lines

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

#15 lore raw
In reply to Adrian Bunk
Quoted 2 lines · Adrian Bunk

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. :)

Signature · 3 lines
`"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
#16 lore raw
Quoted 4 lines · you
Quoted 2 lines · Adrian Bunk

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.

Quoted 8 lines

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

Signature · 1 line
Greetings Michael.
#17 lore raw
Quoted 2 lines · Michael Buesch
Quoted 1 line

.data.read_mostly 428 13144 -12716

+12716

Um. Yes. Of course.

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

Signature · 3 lines
`"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
#18 lore raw
In reply to Andi Kleen
Quoted 11 lines · Andi Kleen
Quoted 4 lines · Adrian Bunk

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