Page 1 of 2
It just stopped.
Posted: Fri Apr 02, 2010 7:02 pm
by PauPau

Hey Guys, I remember you helping me out with my OSS installation. Thanks for that.
I've gotten myself into another issue though.
Everything was working fine, but one day after a simple restart everything stopped.
Totem stays on silent, Rhythmbox, requires 'gstreamer element autoaudiosinc' all of the sudden and Ossxmix is dead during any operation, though all the volumes are maxed.
Could you please help me out?
I've tried to solve the 'gstreamer element autoaudiosinc' error, bu the conventional solution doesn't work.
Also, when I go to 'gstreamer-properties' and test both of the pipelines with osssinc and osssrc i get:
Code: Select all
Error running pipeline 'OSS - Open Sound System': Could not open audio device for playback. [gstosssink.c(417): gst_oss_sink_open (): /GstPipeline:pipeline0/GstOssSink:osssink3:
system error: No such device or address]
Strangelly enough osstest works perfectly fine...
Here's by ossmix:
Code: Select all
Selected mixer 0/High Definition Audio ALC268
Known controls are:
jack.int-speaker.mode <mix|input> (currently mix)
jack.int-speaker.mute ON|OFF (currently OFF)
jack.int-speaker.speaker [<leftvol>:<rightvol>] (currently 63.9:63.9 dB)
jack.int-speaker.speaker-mute ON|OFF (currently OFF)
jack.black.mode1 <mix|input> (currently mix)
jack.black.mute1 ON|OFF (currently OFF)
jack.black.headphone [<leftvol>:<rightvol>] (currently 45.9:45.9 dB)
jack.black.mute.headphone ON|OFF (currently OFF)
jack.black.mute.speaker ON|OFF (currently OFF)
jack.black.mode2 <speaker|input> (currently input)
jack.black [<leftvol>:<rightvol>] (currently 39.9:39.9 dB)
jack.black.mute2 ON|OFF (currently OFF)
jack.int-mic [<leftvol>:<rightvol>] (currently 39.9:39.9 dB)
record.select.select1 [<leftvol>:<rightvol>] (currently 32.9:32.9 dB)
record.select.select2 <speaker|int-mic> (currently speaker)
record.select.select3 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
record.select.select4 <speaker|int-mic> (currently speaker)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Multich)
vmix0-src <Fast|High|OFF> (currently Fast)
vmix0-outvol <monovol> (currently 24.0 dB)
vmix0-invol <monovol> (currently 15.0 dB)
vmix0.pcm7 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm8 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm9 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm10 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
Any Ideas? Any extra info?
Re: It just stopped.
Posted: Fri Apr 02, 2010 10:39 pm
by cesium
Trying installing gstreamer0.10-plugins-good and gstreamer0.10-plugins-bad packages. Either oss4sink or osssink should work then...
Re: It just stopped.
Posted: Sat Apr 03, 2010 1:55 pm
by PauPau
Done and done. Installed both packages. Still, the same outcome.
And the device is marked as 'Unsupported' on gstreamer-properties.
How can this happen all of the sudden?
Re: It just stopped.
Posted: Sat Apr 03, 2010 5:13 pm
by cesium
hmm.. What does 'gst-inspect oss4' show? Also, can you post 'ossinfo -v3' output here?
Re: It just stopped.
Posted: Sat Apr 03, 2010 7:22 pm
by PauPau
Thanks:
gst-inspect oss4
Code: Select all
(gst-inspect-0.10:14161): GLib-WARNING **: g_set_prgname() called multiple times
Plugin Details:
Name: oss4
Description: Open Sound System (OSS) version 4 support for GStreamer
Filename: /usr/lib/gstreamer-0.10/libgstoss4audio.so
Version: 0.10.14
License: LGPL
Source module: gst-plugins-bad
Binary package: GStreamer Bad Plugins (Ubuntu)
Origin URL: https://launchpad.net/distros/ubuntu/+source/gst-plugins-bad0.10
oss4sink: OSS v4 Audio Sink
oss4src: OSS v4 Audio Source
oss4mixer: OSS v4 Audio Mixer
3 features:
+-- 3 elements
ossinfo -v3
Code: Select all
Version info: OSS 4.2 (b 2000/200909092208) (0x00040100) EXPIRED
Platform: Linux/i686 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 (paulius-laptop)
Number of audio devices: 7
Number of audio engines: 11
Number of MIDI devices: 0
Number of mixer devices: 1
Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 Intel HD Audio interrupts=779 (779)
HD Audio controller Intel HD Audio
Vendor ID 0x8086284b
Subvendor ID 0x103c30cc
Codec 0: ALC268 (0x10ec0268/0x103c30cc)
Codec 1: Motorola3055 (0x10573055)
2: oss_usb0 USB audio core services
MIDI devices (/dev/midi*)
Mixer devices
0: High Definition Audio ALC268 (Mixer 0 of device object 1)
Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer0
Priority: 10
Caps:
Device handle: PCI30cc103c-0000:00:1b.0-mx01
Device priority: 10
Audio devices
HD Audio play speaker /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 speaker
Available for use
Engine 2: 7/HD Audio play speaker (vmix)
Available for use
Engine 3: 8/HD Audio play speaker (vmix)
Available for use
Engine 4: 9/HD Audio play speaker (vmix)
Available for use
Engine 5: 10/HD Audio play speaker (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: PCI30cc103c-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 headphone /dev/oss/oss_hdaudio0/pcm1 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 1/HD Audio play headphone
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: PCI30cc103c-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 spdif-out /dev/oss/oss_hdaudio0/spdout0 (device index 2)
Legacy device /dev/dsp2
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 2/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: PCI30cc103c-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,88200,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio play modem /dev/oss/oss_hdaudio0/mdmout0 (device index 3)
Legacy device /dev/dsp3
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 3/HD Audio play modem
Available for use
Input formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Output formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Device handle: PCI30cc103c-0000:00:1b.0-au04
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 1
Native sample rates (min - max): 8000 - 16000 (8000,9600,16000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio rec select /dev/oss/oss_hdaudio0/pcmin0 (device index 4)
Legacy device /dev/dsp4
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
In engine 1: 4/HD Audio rec select
Available for use
Engine 2: 7/HD Audio play speaker (vmix)
Available for use
Engine 3: 8/HD Audio play speaker (vmix)
Available for use
Engine 4: 9/HD Audio play speaker (vmix)
Available for use
Engine 5: 10/HD Audio play speaker (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: PCI30cc103c-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 - 96000 (44100,48000,96000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio rec select /dev/oss/oss_hdaudio0/pcmin1 (device index 5)
Legacy device /dev/dsp5
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 5/HD Audio rec select
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: PCI30cc103c-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 - 96000 (44100,48000,96000)
HW Type: Not indicated.
Minimum latency: Not indicated
HD Audio rec modem /dev/oss/oss_hdaudio0/mdmin0 (device index 6)
Legacy device /dev/dsp6
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 6/HD Audio rec modem
Available for use
Input formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Output formats (0x00000010):
AFMT_S16_LE - 16 bit signed little endian
Device handle: PCI30cc103c-0000:00:1b.0-au07
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 1 - 1
Native sample rates (min - max): 8000 - 16000 (8000,9600,16000)
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
paulius@paulius-laptop:/$
Re: It just stopped.
Posted: Sat Apr 03, 2010 9:03 pm
by cesium
It's there, the OSS sound device should be available... Try running the following command:
Code: Select all
gst-launch filesrc location=$oggfilename ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! oss4sink Of course, replace "$oggfilename" with an actual ogg filename.
Re: It just stopped.
Posted: Sat Apr 03, 2010 11:38 pm
by PauPau
A bit slower please... I'm far from adept.

How do i go around doing that?
Re: It just stopped.
Posted: Sat Apr 03, 2010 11:45 pm
by cesium
Just type the command above, but instead of $oggfilename type an actual ogg file (not sure which exist on your system. Probably something exists at /usr/share/sounds).
Re: It just stopped.
Posted: Mon Apr 05, 2010 4:52 pm
by PauPau
Ah, ok I got it. Tried it...
Sadly nothing works still.
And no program that has anything to do with sound works, Rhythmbox, VLC even skype...

Re: It just stopped.
Posted: Mon Apr 05, 2010 4:56 pm
by cesium
Ah, so it's not just a gstreamer problem... I thought the rest worked.. Does "osstest" emit sound? If so, does "osstest -V" work?
Re: It just stopped.
Posted: Mon Apr 05, 2010 5:03 pm
by PauPau
Osstest does emit sound, which is scary after several days of silence from my computer, but then it also comes out with this:
Code: Select all
Sound subsystem and version: OSS 4.2 (b 2000/200909092208) (0x00040100)
Platform: Linux/i686 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010
*** Scanning sound adapter #-1 ***
/dev/oss/oss_hdaudio0/pcm0 (audio engine 0): HD Audio play speaker
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 47990.00 Hz (-0.02%)>
/dev/oss/oss_hdaudio0/pcm1 (audio engine 1): HD Audio play headphone
- Performing audio playback test... /dev/oss/oss_hdaudio0/pcm1: No such file or directory
Can't open the device
/dev/oss/oss_hdaudio0/spdout0 (audio engine 2): HD Audio play spdif-out
- Performing audio playback test... /dev/oss/oss_hdaudio0/spdout0: No such file or directory
Can't open the device
/dev/oss/oss_hdaudio0/mdmout0 (audio engine 3): HD Audio play modem
- Performing audio playback test... /dev/oss/oss_hdaudio0/mdmout0: No such file or directory
Can't open the device
/dev/oss/oss_hdaudio0/pcmin0 (audio engine 4): HD Audio rec select
- Skipping input only device
/dev/oss/oss_hdaudio0/pcmin1 (audio engine 5): HD Audio rec select
- Skipping input only device
/dev/oss/oss_hdaudio0/mdmin0 (audio engine 6): HD Audio rec modem
- Skipping input only device
*** Some errors were detected during the tests ***
osstest -V on the other hand does not emit any sound:
Code: Select all
*** Scanning sound adapter #-1 ***
/dev/oss/oss_hdaudio0/pcm0 (audio engine 0): HD Audio play speaker
- Performing audio playback test... /dev/oss/oss_hdaudio0/pcm0: No such device or address
Can't open the device
/dev/oss/oss_hdaudio0/pcm1 (audio engine 1): HD Audio play headphone
- Performing audio playback test... /dev/oss/oss_hdaudio0/pcm1: No such file or directory
Can't open the device
/dev/oss/oss_hdaudio0/spdout0 (audio engine 2): HD Audio play spdif-out
- Performing audio playback test... /dev/oss/oss_hdaudio0/spdout0: No such file or directory
Can't open the device
/dev/oss/oss_hdaudio0/mdmout0 (audio engine 3): HD Audio play modem
- Performing audio playback test... /dev/oss/oss_hdaudio0/mdmout0: No such file or directory
Can't open the device
/dev/oss/oss_hdaudio0/pcmin0 (audio engine 4): HD Audio rec select
- Skipping input only device
/dev/oss/oss_hdaudio0/pcmin1 (audio engine 5): HD Audio rec select
- Skipping input only device
/dev/oss/oss_hdaudio0/mdmin0 (audio engine 6): HD Audio rec modem
- Skipping input only device
*** Some errors were detected during the tests ***
Re: It just stopped.
Posted: Mon Apr 05, 2010 11:07 pm
by cesium
weird... I noticed that your OSS is a bit old (build 2000 while current is build 2002). Perhaps you can try to upgrade it to latest version?
Re: It just stopped.
Posted: Tue Apr 06, 2010 1:49 pm
by PauPau
I know, weirds me out. How do I upgrade it again?
The Package manager indicates the the 2000 version is the latest, which is obviously not the case.
Re: It just stopped.
Posted: Tue Apr 06, 2010 6:14 pm
by cesium
Go to 4front.com, select "Download", click on "Open Sound System" graphic, and then select "Linux 2.6 (x86) DEB" in the drop down. Click on "Submit" and download the deb. Once you have downloaded it, do "sudo dpkg -i oss-linux-4.2-2002_i386.deb" to install the new deb.
Re: It just stopped.
Posted: Wed Apr 07, 2010 8:37 pm
by PauPau
Thanks for the baby steps! I don't really know how or why, but it seems to have worked.
Cesium once again, you are a God amongst men and my favourite pyrophoric chemical element!
