OSS4 on Debian Squeeze
- by mit
Hi,
I am trying to get OSS4 to work on a Debian Squeeze 64 bit machine with an usb sound adapter.
There is no sound from this adapter at the present, although it worked just before on the previous installation.
You can see the output of some commands here:
$ sudo /etc/init.d/oss4-base restart
Stopping Open Sound System: SNDCTL_MIX_EXTINFO: No such device or address
done.
Starting Open Sound System: done (OSS is already loaded).
$ sudo /etc/init.d/oss4-base stop
Stopping Open Sound System: SNDCTL_MIX_EXTINFO: No such device or address
done.
$ sudo /etc/init.d/oss4-base start
Starting Open Sound System: done (OSS is already loaded).
$ ossinfo
Version info: OSS 4.2 (b 2002/201001250441) (0x00040100) GPL
Platform: Linux/x86_64 2.6.32-5-xen-amd64 #1 SMP Fri Dec 10 17:41:50 UTC 2010 (pc11)
Number of audio devices: 2
Number of audio engines: 2
Number of MIDI devices: 0
Number of mixer devices: 2
Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 ATI HD Audio interrupts=0 (613)
HD Audio controller ATI HD Audio
Vendor ID 0x10024383
Subvendor ID 0x10192816
Codec 0: Not present
2: oss_usb0 USB audio core services
3: usb0d8c0126-0 USB sound device
4: usb0d8c0126-1 USB sound device
5: usb0d8c0126-2 USB sound device
6: usb0d8c0126-3 USB sound device
MIDI devices (/dev/midi*)
Mixer devices
0: (USB sound device )(Mixer 0 of device object 3)
1: USB sound device (Mixer 0 of device object 5)
Audio devices
(USB sound device play /dev/oss/usb0d8c0126-1/pcm0 ) (device index 0)
USB sound device play /dev/oss/usb0d8c0126-3/pcm0 (device index 1)
Nodes
/dev/dsp -> /dev/oss/usb0d8c0126-1/pcm0
/dev/dsp_out -> /dev/oss/usb0d8c0126-1/pcm0
/dev/dsp_mmap -> /dev/oss/usb0d8c0126-1/pcm0
$ osstest
Sound subsystem and version: OSS 4.2 (b 2002/201001250441) (0x00040100)
Platform: Linux/x86_64 2.6.32-5-xen-amd64 #1 SMP Fri Dec 10 17:41:50 UTC 2010
*** Scanning sound adapter #-1 ***
/dev/oss/usb0d8c0126-1/pcm0 (audio engine 0): USB sound device play
- Device not present - Skipping
*** Scanning sound adapter #-1 ***
/dev/oss/usb0d8c0126-3/pcm0 (audio engine 1): USB sound device play
- Performing audio playback test... /dev/oss/usb0d8c0126-3/pcm0: No such file or directory
Can't open the device
*** Some errors were detected during the tests ***
$ ossxmix
/dev/oss/usb0d8c0126-2/mix0: No such file or directory
No mixers could be opened
$ ossmix
SNDCTL_MIX_EXTINFO: No such device or address
ad@pc11:~$ man ossmix
ad@pc11:~$ ossmix -a
SNDCTL_MIX_EXTINFO: No such device or address
ad@pc11:~$ man ossmix
ad@pc11:~$ ossmix -D
SNDCTL_MIX_EXTINFO: No such device or address
ad@pc11:~$ ossmix -D 0
SNDCTL_MIX_EXTINFO: No such device or address
ad@pc11:~$ man ossmix
ad@pc11:~$ ossxmix
/dev/oss/usb0d8c0126-2/mix0: No such file or directory
No mixers could be opened
How can I make oss sound work? I can add more information if necessary.