Need help with Ubuntu 9.10 OSS upgrade

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

Need help with Ubuntu 9.10 OSS upgrade

Postby rosco » Tue Nov 03, 2009 6:29 am

Hi
OSS was working fine in Ubuntu 9.04.
Upgraded to 9.10.

Reinstalled OSS, now no sound from "Totem Movie Player 2.28.1 :: Movie Player using GStreamer 0.10.25" when playing my .wav files, although osstest produces good sound on "osstest" as follows:

Sound subsystem and version: OSS 4.2 (b 2001/200910230435) (0x00040100)
Platform: Linux/i686 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009

*** Scanning sound adapter #-1 ***
/dev/oss/oss_hdaudio0/pcm0 (audio engine 0): HD Audio play front
- Performing audio playback test...
<left> OK <right> OK <stereo>

Also noted that "System -> Preferences -> Sound" I just get a dialog box "Waiting for sound system to respond".

Thanks in advance for any help
Almost a Newbie.
------------------------
Output of ossmix & ossinfo -v3 follows:

ross@cb-desktop:~$ ossmix
Selected mixer 0/High Definition Audio ALC885
Known controls are:
jack.green.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.green.mute ON|OFF (currently OFF)
jack.black.mode <front|rear|center/LFE|side|pcm4|input> (currently center/LFE)
jack.black [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.black.mute ON|OFF (currently OFF)
jack.orange.mode <front|rear|center/LFE|side|pcm4|input> (currently rear)
jack.orange [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.orange.mute ON|OFF (currently OFF)
jack.gray.mode <front|rear|center/LFE|side|pcm4|input> (currently pcm4)
jack.gray [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.gray.mute ON|OFF (currently OFF)
jack.pink.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.pink.mute ON|OFF (currently OFF)
jack.fp-pink.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.fp-pink [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-pink.mute ON|OFF (currently OFF)
jack.blue.mode <front|rear|center/LFE|side|pcm4|input> (currently input)
jack.blue [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.blue.mute ON|OFF (currently OFF)
jack.fp-green.mode <front|rear|center/LFE|side|pcm4|input> (currently front)
jack.fp-green [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.fp-green.mute ON|OFF (currently OFF)
record.mix.mute.mic1 ON|OFF (currently OFF)
record.mix.mute.fp-mic1 ON|OFF (currently OFF)
record.mix.mute.linein1 ON|OFF (currently OFF)
record.mix.mute.fp-headphone1 ON|OFF (currently OFF)
record.mix.mute.green1 ON|OFF (currently OFF)
record.mix.mute.black1 ON|OFF (currently OFF)
record.mix.mute.orange1 ON|OFF (currently OFF)
record.mix.mute.gray1 ON|OFF (currently OFF)
record.mix.mute.input-mix1 ON|OFF (currently OFF)
record.mix1 [<leftvol>:<rightvol>] (currently 37.9:37.9 dB)
record.mix.mute.mic2 ON|OFF (currently OFF)
record.mix.mute.fp-mic2 ON|OFF (currently OFF)
record.mix.mute.linein2 ON|OFF (currently OFF)
record.mix.mute.fp-headphone2 ON|OFF (currently OFF)
record.mix.mute.green2 ON|OFF (currently OFF)
record.mix.mute.black2 ON|OFF (currently OFF)
record.mix.mute.orange2 ON|OFF (currently OFF)
record.mix.mute.gray2 ON|OFF (currently OFF)
record.mix.mute.input-mix2 ON|OFF (currently OFF)
record.mix2 [<leftvol>:<rightvol>] (currently 37.9:37.9 dB)
record.mix.mute.mic3 ON|OFF (currently OFF)
record.mix.mute.fp-mic3 ON|OFF (currently OFF)
record.mix.mute.linein3 ON|OFF (currently OFF)
record.mix.mute.fp-headphone3 ON|OFF (currently OFF)
record.mix.mute.green3 ON|OFF (currently OFF)
record.mix.mute.black3 ON|OFF (currently OFF)
record.mix.mute.orange3 ON|OFF (currently OFF)
record.mix.mute.gray3 ON|OFF (currently OFF)
record.mix.mute.input-mix3 ON|OFF (currently OFF)
record.mix3 [<leftvol>:<rightvol>] (currently 37.9:37.9 dB)
misc.mic [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.fp-mic [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.linein [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.fp-headphone [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.green [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.black [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.orange [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.gray [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.input-mix <mic|fp-mic|linein> (currently mic)
misc.front-mute ON|OFF (currently OFF)
misc.input-mix-mute1 ON|OFF (currently OFF)
misc.front1 [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
misc.front2 <front|input-mix> (currently front)
misc.rear-mute ON|OFF (currently OFF)
misc.input-mix-mute2 ON|OFF (currently OFF)
misc.rear1 [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
misc.rear2 <rear|input-mix> (currently rear)
misc.center/lfe-mute ON|OFF (currently OFF)
misc.input-mix-mute3 ON|OFF (currently OFF)
misc.center/lfe1 [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
misc.center/lfe2 <center/LFE|input-mix> (currently center/LFE)
misc.side-mute ON|OFF (currently OFF)
misc.input-mix-mute4 ON|OFF (currently OFF)
misc.side1 [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
misc.side2 <side|input-mix> (currently side)
misc.pcm4-mute ON|OFF (currently OFF)
misc.input-mix-mute5 ON|OFF (currently OFF)
misc.pcm41 [<leftvol>:<rightvol>] (currently 51.9:51.9 dB)
misc.pcm42 <pcm4|input-mix> (currently pcm4)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Stereo)
vmix0-src <Fast|High|OFF> (currently Fast)
vmix0-outvol <monovol> (currently 25.0 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm10 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm11 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm12 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm13 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
ross@cb-desktop:~$ ossinfo -v3
Version info: OSS 4.2 (b 2001/200910230435) (0x00040100) TRIAL
Platform: Linux/i686 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 (cb-desktop)

Number of audio devices: 10
Number of audio engines: 14
Number of MIDI devices: 0
Number of mixer devices: 1


Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 Intel HD Audio interrupts=24528 (24528)
HD Audio controller Intel HD Audio
Vendor ID 0x8086293e
Subvendor ID 0x1458a002
Codec 2: ALC885 (0x10ec0885/0x1458a002)
2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: High Definition Audio ALC885 (Mixer 0 of device object 1)
Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer0
Priority: 10
Caps:
Device handle: PCIa0021458-0000:00:1b.0-mx01
Device priority: 10


Audio devices
HD Audio play front /dev/oss/oss_hdaudio0/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
Out engine 1: 0/HD Audio play front
Available for use
Engine 2: 10/HD Audio play front (vmix)
Available for use
Engine 3: 11/HD Audio play front (vmix)
Available for use
Engine 4: 12/HD Audio play front (vmix)
Available for use
Engine 5: 13/HD Audio play front (vmix)
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCIa0021458-0000:00:1b.0-au01
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 8
Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio play rear /dev/oss/oss_hdaudio0/pcm1 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 1/HD Audio play rear
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCIa0021458-0000:00:1b.0-au02
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio play center/LFE /dev/oss/oss_hdaudio0/pcm2 (device index 2)
Legacy device /dev/dsp2
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 2/HD Audio play center/LFE
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCIa0021458-0000:00:1b.0-au03
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio play side /dev/oss/oss_hdaudio0/pcm3 (device index 3)
Legacy device /dev/dsp3
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 3/HD Audio play side
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCIa0021458-0000:00:1b.0-au04
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio play pcm4 /dev/oss/oss_hdaudio0/pcm4 (device index 4)
Legacy device /dev/dsp4
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 4/HD Audio play pcm4
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCIa0021458-0000:00:1b.0-au05
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio play spdif-out /dev/oss/oss_hdaudio0/spdout0 (device index 5)
Legacy device /dev/dsp5
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 5/HD Audio play spdif-out
Available for use
Input formats (0x00001410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCIa0021458-0000:00:1b.0-au06
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,88200,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio rec mix /dev/oss/oss_hdaudio0/pcmin0 (device index 6)
Legacy device /dev/dsp6
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
In engine 1: 6/HD Audio rec mix
Available for use
Engine 2: 10/HD Audio play front (vmix)
Available for use
Engine 3: 11/HD Audio play front (vmix)
Available for use
Engine 4: 12/HD Audio play front (vmix)
Available for use
Engine 5: 13/HD Audio play front (vmix)
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCIa0021458-0000:00:1b.0-au07
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio rec mix /dev/oss/oss_hdaudio0/pcmin1 (device index 7)
Legacy device /dev/dsp7
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 7/HD Audio rec mix
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCIa0021458-0000:00:1b.0-au08
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio rec mix /dev/oss/oss_hdaudio0/pcmin2 (device index 8)
Legacy device /dev/dsp8
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 8/HD Audio rec mix
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCIa0021458-0000:00:1b.0-au09
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio rec spdifin /dev/oss/oss_hdaudio0/spdin0 (device index 9)
Legacy device /dev/dsp9
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 9/HD Audio rec spdifin
Available for use
Input formats (0x00001410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001410):
AFMT_S16_LE - 16 bit signed little endian
AFMT_AC3 - AC3 (Dolby Digital) encoded audio
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCIa0021458-0000:00:1b.0-au10
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated


Nodes
/dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_in -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_ac3 -> /dev/oss/oss_hdaudio0/spdout0
/dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0
ross@cb-desktop:~$
rosco
New Member
 
Posts: 2
Joined: Tue Nov 03, 2009 6:19 am

Re: Need help with Ubuntu 9.10 OSS upgrade

Postby cesium » Tue Nov 03, 2009 11:15 am

A. Does "osstest -V" work? Do other programs output sound normally? If so, it's probably a Gnome/totem issue...

B. IIRC, recent totem insists on using PulseAudio. So I suggest following this to get PulseAudio to work, and then totem will output via Pulse.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Need help with Ubuntu 9.10 OSS upgrade

Postby rosco » Tue Nov 03, 2009 1:04 pm

Top stuff.

osstest -V works fine.

Followed your suggestion:
Installed PulseAudio, made the amendments as suggested in the procedure, rebooted & sound works.

Thank you very much for your help.

Regards
Ross
rosco
New Member
 
Posts: 2
Joined: Tue Nov 03, 2009 6:19 am

Re: Need help with Ubuntu 9.10 OSS upgrade

Postby igorzwx » Tue Nov 03, 2009 1:41 pm

cesium wrote: B. IIRC, recent totem insists on using PulseAudio. So I suggest following this to get PulseAudio to work, and then totem will output via Pulse.


Cesium!

It is just a popular misconception. You should correct this in the wiki.
Totem works well on my ancient box with OSS4 and Ubuntu 9.10.
The evil PulseAudio was completely removed, of course.

To make Totem work, you have to remove "gstreamer0.10-pulseaudio"

Step 1: Eradication of the evil

sudo killall pulseaudio

cp /etc/X11/Xsession.d/70pulseaudio ~/

sudo apt-get purge pulseaudio

sudo apt-get remove gstreamer0.10-pulseaudio

sudo reboot

There is a guide for the removal of PulseAudio:
http://n2.nabble.com/Re-Ubuntu-s-switch ... l#a3886061
igorzwx
Known Member
 
Posts: 1000
Joined: Sun Jun 28, 2009 9:31 pm

Re: Need help with Ubuntu 9.10 OSS upgrade

Postby Temüjin » Tue Nov 03, 2009 9:23 pm

Ubuntu 9.10 depends on PulseAudio for some basic audio functionality (like volume control and gstreamer properties). There are ways to work around most of these things. I'm in the process of updating that OSS Ubuntu guide with the specifics. Until then, useful info can be found here: http://www.opensound.com/wiki/index.php ... #gstreamer
Temüjin
Member
 
Posts: 84
Joined: Tue Jul 24, 2007 7:55 pm
Location: Pennsylvania, USA


Return to Linux

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest