Skip to contentSkip to conversation

schedule obsolete OSS drivers for removal (version 2)

PATCH In review Adrian Bunk 2 participants 11 messages Jul 29, 2005 – Aug 14, 2005

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

PATCH 1/1 schedule obsolete OSS drivers for removal (version 2)

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.

---

@Andrew:
I'd like to see this in the next -mm for getting more feedback.

Changes since the first version:

Options no longer scheduled for removal:
- SOUND_AD1816
- SOUND_ICH
- SOUND_OPL3SA2

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 of my driver selections are wrong.

 Documentation/feature-removal-schedule.txt |    7 +
 sound/oss/Kconfig                          |   74 ++++++++++++---------
 2 files changed, 51 insertions(+), 30 deletions(-)
Documentation/feature-removal-schedule.txt renamed from Documentation/feature-removal-schedule.txt.old +7 -0
@@ -44,0 +45,7 @@
+What:	drivers depending on OBSOLETE_OSS_DRIVER
+When:	October 2005
+Why:	OSS drivers with ALSA replacements
+Who:	Adrian Bunk <[email protected]>
+
+---------------------------
+
sound/oss/Kconfig renamed from sound/oss/Kconfig.old +44 -29

253 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.

Someone on linux-audio-user just pointed out that the OSS USB audio and midi modules were never deprecated, much less scheduled to be removed.

Maybe the best way to deprecate them is to move them to Sound -> OSS, that's where they belong anyway.

Lee

Quoted 14 lines · Christoph Eckert
Quoted 1 line

Recompile the kernel with USB audio support.

Please ensure that you *disable* => Devioce drivers => USB => USB audio and USB Midi.

Both are OSS modules and caused a lot of trouble here when used in conjunction with the ALSA module

=> Sound => ALSA => USB devices => USB Audio/MIDI driver

BTW: OSS is marked as deprecated, but not the two OSS modules mentioned above. Couldn't this get set or at least some info that these modules belong to OSS?

#2 lore raw
Quoted 4 lines · Lee Revell
Quoted 3 lines · Adrian Bunk

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

Quoted 8 lines
Quoted 2 lines

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

Someone on linux-audio-user just pointed out that the OSS USB audio and midi modules were never deprecated, much less scheduled to be removed.

Maybe the best way to deprecate them is to move them to Sound -> OSS, that's where they belong anyway.

I'd deprecate them without moving them.

I'll send a patch unless someone tells that any functionality of these drivers is lacking in ALSA.

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
#3 lore raw
Quoted 2 lines · Adrian Bunk

I'd deprecate them without moving them.

OK, I think that will still be slightly confusing becuase it comes before Sound in the kernel config, but maybe the deprecated part will make people think twice.

I think we should at least label these clearly as part of OSS. Users at least seem to know that mixing OSS and ALSA modules is bad.

Quoted 2 lines

I'll send a patch unless someone tells that any functionality of these drivers is lacking in ALSA.

OK. I'm almost positive there is no functionality missing, there have not been any reports of people needing to use the OSS driver on any of the ALSA lists.

Lee

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

I'd deprecate them without moving them.

OK, I think that will still be slightly confusing becuase it comes before Sound in the kernel config, but maybe the deprecated part will make people think twice.

I think we should at least label these clearly as part of OSS. Users at least seem to know that mixing OSS and ALSA modules is bad.

Quoted 2 lines

I'll send a patch unless someone tells that any functionality of these drivers is lacking in ALSA.

OK. I'm almost positive there is no functionality missing, there have not been any reports of people needing to use the OSS driver on any of the ALSA lists.

Lee

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#5 lore raw
In reply to Adrian Bunk
Quoted 8 lines · Adrian Bunk
Quoted 7 lines · Lee Revell
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.

Quoted 8 lines
Quoted 5 lines

Someone on linux-audio-user just pointed out that the OSS USB audio and midi modules were never deprecated, much less scheduled to be removed.

Maybe the best way to deprecate them is to move them to Sound -> OSS, that's where they belong anyway.

I'd deprecate them without moving them.

Here's the patch. The bug was that CONFIG_USB_AUDIO and CONFIG_USB_MIDI need to depend on CONFIG_SOUND_PRIME.

It also fixes some typos and clarifies the help text.

drivers/usb/class/Kconfig renamed from drivers/usb/class/Kconfig~ +8 -6
@@ -5,12 +5,12 @@
 	depends on USB
 
 config USB_AUDIO
-	tristate "USB Audio support"
-	depends on USB && SOUND
+	tristate "USB Audio support (OSS)"
+	depends on USB && SOUND_PRIME
 	help
 	  Say Y here if you want to connect USB audio equipment such as
 	  speakers to your computer's USB port. You only need this if you use
-	  the OSS sound driver; ALSA has its own option for usb audio support.
+	  the OSS sound system; ALSA has its own option for USB audio support.
 
 	  To compile this driver as a module, choose M here: the
 	  module will be called audio.
@@ -39,11 +39,13 @@
 	  module will be called bluetty.
 
 config USB_MIDI
-	tristate "USB MIDI support"
-	depends on USB && SOUND
+	tristate "USB MIDI support (OSS)"
+	depends on USB && SOUND_PRIME
 	---help---
 	  Say Y here if you want to connect a USB MIDI device to your
-	  computer's USB port. This driver is for devices that comply with
+	  computer's USB port. You only need this if you use the OSS 
+	  sound system; USB MIDI devices are supported by ALSA's USB 
+	  audio driver.  This driver is for devices that comply with
 	  'Universal Serial Bus Device Class Definition for MIDI Device'.
 
 	  The following devices are known to work:
#6 lore raw

PATCH 1/1 schedule OSS USB drivers for removal

Quoted 15 lines · Lee Revell
Quoted 14 lines · Adrian Bunk
Quoted 12 lines · Lee Revell
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.

Someone on linux-audio-user just pointed out that the OSS USB audio and midi modules were never deprecated, much less scheduled to be removed.

Maybe the best way to deprecate them is to move them to Sound -> OSS, that's where they belong anyway.

Quoted 6 lines
Quoted 2 lines

I'd deprecate them without moving them.

Here's the patch. The bug was that CONFIG_USB_AUDIO and CONFIG_USB_MIDI need to depend on CONFIG_SOUND_PRIME.
...

This doesn't deprecate them (I've deprecated only some of the options below CONFIG_SOUND_PRIME).

What about the patch below?

A second "deprecated OSS" option doesn't do much harm and seems to be the easiest solution.

cu
Adrian

<-- snip -->

Deprecate the OSS USB drivers.

This patch includes spelling fixes by Lee Revell.

---

 Documentation/feature-removal-schedule.txt |    2 +-
 drivers/usb/class/Kconfig                  |   21 ++++++++++++++++++---
 2 files changed, 19 insertions(+), 4 deletions(-)
Documentation/feature-removal-schedule.txt renamed from Documentation/feature-removal-schedule.txt.old +1 -1
@@ -42,7 +42,7 @@
 
 ---------------------------
 
-What:	drivers depending on OBSOLETE_OSS_DRIVER
+What:	drivers depending on OBSOLETE_OSS_DRIVER or OBSOLETE_OSS_USB_DRIVER
 When:	October 2005
 Why:	OSS drivers with ALSA replacements
 Who:	Adrian Bunk <[email protected]>
drivers/usb/class/Kconfig renamed from drivers/usb/class/Kconfig.old +18 -3
@@ -4,9 +4,22 @@
 comment "USB Device Class drivers"
 	depends on USB
 
+config OBSOLETE_OSS_USB_DRIVER
+	bool "Obsolete OSS USB drivers"
+	depends on USB && SOUND
+	help
+	  This option enables support for the obsolete USB Audio and Midi
+	  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 of missing support in the ALSA drivers.
+
+	  If unsure, say N.
+
 config USB_AUDIO
 	tristate "USB Audio support"
-	depends on USB && SOUND
+	depends on USB && SOUND && OBSOLETE_OSS_USB_DRIVER
 	help
 	  Say Y here if you want to connect USB audio equipment such as
 	  speakers to your computer's USB port. You only need this if you use
@@ -40,10 +53,12 @@
 
 config USB_MIDI
 	tristate "USB MIDI support"
-	depends on USB && SOUND
+	depends on USB && SOUND && OBSOLETE_OSS_USB_DRIVER
 	---help---
 	  Say Y here if you want to connect a USB MIDI device to your
-	  computer's USB port. This driver is for devices that comply with
+	  computer's USB port.  You only need this if you use the OSS
+	  sound system; USB MIDI devices are supported by ALSA's USB
+	  audio driver. This driver is for devices that comply with
 	  'Universal Serial Bus Device Class Definition for MIDI Device'.
 
 	  The following devices are known to work:
#7 lore raw

PATCH 1/1 schedule OSS USB drivers for removal

In reply to Lee Revell
Quoted 15 lines · Lee Revell
Quoted 14 lines · Adrian Bunk
Quoted 12 lines · Lee Revell
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.

Someone on linux-audio-user just pointed out that the OSS USB audio and midi modules were never deprecated, much less scheduled to be removed.

Maybe the best way to deprecate them is to move them to Sound -> OSS, that's where they belong anyway.

Quoted 6 lines
Quoted 2 lines

I'd deprecate them without moving them.

Here's the patch. The bug was that CONFIG_USB_AUDIO and CONFIG_USB_MIDI need to depend on CONFIG_SOUND_PRIME.
...

This doesn't deprecate them (I've deprecated only some of the options below CONFIG_SOUND_PRIME).

What about the patch below?

A second "deprecated OSS" option doesn't do much harm and seems to be the easiest solution.

cu
Adrian

<-- snip -->

Deprecate the OSS USB drivers.

This patch includes spelling fixes by Lee Revell.

---

 Documentation/feature-removal-schedule.txt |    2 +-
 drivers/usb/class/Kconfig                  |   21 ++++++++++++++++++---
 2 files changed, 19 insertions(+), 4 deletions(-)
Documentation/feature-removal-schedule.txt renamed from Documentation/feature-removal-schedule.txt.old +1 -1
@@ -42,7 +42,7 @@
 
 ---------------------------
 
-What:	drivers depending on OBSOLETE_OSS_DRIVER
+What:	drivers depending on OBSOLETE_OSS_DRIVER or OBSOLETE_OSS_USB_DRIVER
 When:	October 2005
 Why:	OSS drivers with ALSA replacements
 Who:	Adrian Bunk <[email protected]>
drivers/usb/class/Kconfig renamed from drivers/usb/class/Kconfig.old +18 -3
@@ -4,9 +4,22 @@
 comment "USB Device Class drivers"
 	depends on USB
 
+config OBSOLETE_OSS_USB_DRIVER
+	bool "Obsolete OSS USB drivers"
+	depends on USB && SOUND
+	help
+	  This option enables support for the obsolete USB Audio and Midi
+	  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 of missing support in the ALSA drivers.
+
+	  If unsure, say N.
+
 config USB_AUDIO
 	tristate "USB Audio support"
-	depends on USB && SOUND
+	depends on USB && SOUND && OBSOLETE_OSS_USB_DRIVER
 	help
 	  Say Y here if you want to connect USB audio equipment such as
 	  speakers to your computer's USB port. You only need this if you use
@@ -40,10 +53,12 @@
 
 config USB_MIDI
 	tristate "USB MIDI support"
-	depends on USB && SOUND
+	depends on USB && SOUND && OBSOLETE_OSS_USB_DRIVER
 	---help---
 	  Say Y here if you want to connect a USB MIDI device to your
-	  computer's USB port. This driver is for devices that comply with
+	  computer's USB port.  You only need this if you use the OSS
+	  sound system; USB MIDI devices are supported by ALSA's USB
+	  audio driver. This driver is for devices that comply with
 	  'Universal Serial Bus Device Class Definition for MIDI Device'.
 
 	  The following devices are known to work:

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#8 lore raw
In reply to Adrian Bunk
Quoted 8 lines · Adrian Bunk
Quoted 7 lines · Lee Revell
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.

Quoted 8 lines
Quoted 5 lines

Someone on linux-audio-user just pointed out that the OSS USB audio and midi modules were never deprecated, much less scheduled to be removed.

Maybe the best way to deprecate them is to move them to Sound -> OSS, that's where they belong anyway.

I'd deprecate them without moving them.

Here's the patch. The bug was that CONFIG_USB_AUDIO and CONFIG_USB_MIDI need to depend on CONFIG_SOUND_PRIME.

It also fixes some typos and clarifies the help text.

drivers/usb/class/Kconfig renamed from drivers/usb/class/Kconfig~ +8 -6
@@ -5,12 +5,12 @@
 	depends on USB
 
 config USB_AUDIO
-	tristate "USB Audio support"
-	depends on USB && SOUND
+	tristate "USB Audio support (OSS)"
+	depends on USB && SOUND_PRIME
 	help
 	  Say Y here if you want to connect USB audio equipment such as
 	  speakers to your computer's USB port. You only need this if you use
-	  the OSS sound driver; ALSA has its own option for usb audio support.
+	  the OSS sound system; ALSA has its own option for USB audio support.
 
 	  To compile this driver as a module, choose M here: the
 	  module will be called audio.
@@ -39,11 +39,13 @@
 	  module will be called bluetty.
 
 config USB_MIDI
-	tristate "USB MIDI support"
-	depends on USB && SOUND
+	tristate "USB MIDI support (OSS)"
+	depends on USB && SOUND_PRIME
 	---help---
 	  Say Y here if you want to connect a USB MIDI device to your
-	  computer's USB port. This driver is for devices that comply with
+	  computer's USB port. You only need this if you use the OSS 
+	  sound system; USB MIDI devices are supported by ALSA's USB 
+	  audio driver.  This driver is for devices that comply with
 	  'Universal Serial Bus Device Class Definition for MIDI Device'.
 
 	  The following devices are known to work:

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#9 lore raw
In reply to Lee Revell
Quoted 4 lines · Lee Revell
Quoted 3 lines · Adrian Bunk

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

Quoted 8 lines
Quoted 2 lines

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

Someone on linux-audio-user just pointed out that the OSS USB audio and midi modules were never deprecated, much less scheduled to be removed.

Maybe the best way to deprecate them is to move them to Sound -> OSS, that's where they belong anyway.

I'd deprecate them without moving them.

I'll send a patch unless someone tells that any functionality of these drivers is lacking in ALSA.

Quoted 1 line

Lee

cu
Adrian

Signature · 9 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

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
#10 lore raw
In reply to Adrian Bunk
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.

Someone on linux-audio-user just pointed out that the OSS USB audio and midi modules were never deprecated, much less scheduled to be removed.

Maybe the best way to deprecate them is to move them to Sound -> OSS, that's where they belong anyway.

Lee

Quoted 8 lines · Christoph Eckert
Quoted 1 line

Recompile the kernel with USB audio support.

Please ensure that you *disable* => Devioce drivers => USB => USB audio and USB Midi.

Both are OSS modules and caused a lot of trouble here when used in conjunction with the ALSA module

Quoted 6 lines

=> Sound => ALSA => USB devices => USB Audio/MIDI driver

BTW: OSS is marked as deprecated, but not the two OSS modules mentioned above. Couldn't this get set or at least some info that these modules belong to OSS?

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux