missing pcm channels

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

missing pcm channels

Postby krz » Sat Jan 01, 2011 9:47 pm

Since i build new Wine 1.3.10, pcm1-4 channels in /dev/oss/oss_sblive0/ are lost.
I tried everything, including reinstalling oss. Also vmix isn't working.
I can play sounds when vmix is disabled, but only one process can use it.
krz
Member
 
Posts: 11
Joined: Fri Jul 02, 2010 10:08 pm

Re: missing pcm channels

Postby krz » Sat Jan 01, 2011 9:56 pm

This is what I get running..:
osstest

Code: Select all
Sound subsystem and version: OSS 4.2 (b 2003/201005280201) (0x00040100)
Platform: Linux/i686 2.6.34-020634-generic #020634 SMP Mon May 17 20:34:55 UTC 2010

*** Scanning sound adapter #-1 ***
/dev/oss/oss_sblive0/pcm0 (audio engine 0): SB Live main
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured srate 47992.00 Hz (-0.02%)>
/dev/oss/oss_sblive0/pcm1 (audio engine 5): SB Live front out
- Performing audio playback test... /dev/oss/oss_sblive0/pcm1: No such file or directory
Can't open the device
/dev/oss/oss_sblive0/pcm2 (audio engine 6): SB Live side out
- Performing audio playback test... /dev/oss/oss_sblive0/pcm2: No such file or directory
Can't open the device
/dev/oss/oss_sblive0/pcm3 (audio engine 7): SB Live center/lfe out
- Performing audio playback test... /dev/oss/oss_sblive0/pcm3: No such file or directory
Can't open the device
/dev/oss/oss_sblive0/pcm4 (audio engine 8): SB Live 5.1 output device
- Skipping multi channel device


ossinfo
Code: Select all
Version info: OSS 4.2 (b 2003/201005280201) (0x00040100) EXPIRED
Platform: Linux/i686 2.6.34-020634-generic #020634 SMP Mon May 17 20:34:55 UTC 2010 (krzysiek)

Number of audio devices:   5
Number of audio engines:   9
Number of MIDI devices:      1
Number of mixer devices:   1


Device objects
0: osscore0 OSS core services
1: oss_sblive0 SB Live interrupts=91847 (91847)

MIDI devices (/dev/midi*)
0: SB Live external MIDI (MIDI port 1 of device object 1)

Mixer devices
0: SB Live (STAC9708) (Mixer 0 of device object 1)

Audio devices
SB Live main                      /dev/oss/oss_sblive0/pcm0  (device index 0)
SB Live front out                 /dev/oss/oss_sblive0/pcm1  (device index 1)
SB Live side out                  /dev/oss/oss_sblive0/pcm2  (device index 2)
SB Live center/lfe out            /dev/oss/oss_sblive0/pcm3  (device index 3)
SB Live 5.1 output device         /dev/oss/oss_sblive0/pcm4  (device index 4)

Nodes
  /dev/dsp -> /dev/oss/oss_sblive0/pcm0
  /dev/dsp_in -> /dev/oss/oss_sblive0/pcm0
  /dev/dsp_out -> /dev/oss/oss_sblive0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_sblive0/pcm0
  /dev/dsp_mmap -> /dev/oss/oss_sblive0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_sblive0/pcm4


ossdetect -d -v
Code: Select all
mknod /dev/sndstat c 250 0 -m 20666
mknod /dev/midi c 250 1 -m 20666
mknod /dev/mixer c 250 2 -m 20666
mknod /dev/oss/oss_sblive0/mix0 c 249 3 -m 20666
mknod /dev/oss/oss_sblive0/mid0 c 249 4 -m 20666
mknod /dev/oss/oss_sblive0/pcm0 c 249 5 -m 20666


sudo ossdevlinks -v -r
Code: Select all
5 audio devices
/dev/dsp0 is the next free legacy device
/dev/dsp0: No such file or directory
Created new legacy device /dev/dsp0 -> /dev/oss/oss_sblive0/pcm0
/dev/dsp1: No such file or directory
Created new legacy device /dev/dsp1 -> /dev/oss/oss_sblive0/pcm1
/dev/dsp2: No such file or directory
Created new legacy device /dev/dsp2 -> /dev/oss/oss_sblive0/pcm2
/dev/dsp3: No such file or directory
Created new legacy device /dev/dsp3 -> /dev/oss/oss_sblive0/pcm3
/dev/dsp4: No such file or directory
Created new legacy device /dev/dsp4 -> /dev/oss/oss_sblive0/pcm4
0 legacy dsp device files
/dev/oss/oss_sblive0/pcm0 is the default /dev/dsp device
/dev/oss/oss_sblive0/pcm0 is the default dsp_out device
/dev/oss/oss_sblive0/pcm0 is the default dsp_in device
/dev/oss/oss_sblive0/pcm0 is the default AC3 output device
/dev/oss/oss_sblive0/pcm0 is the default mmap output device
/dev/oss/oss_sblive0/pcm4 is the default multichan output device
1 mixer devices
/dev/mixer1 is the next free legacy device
/dev/mixer0: No such file or directory
Created new legacy device /dev/mixer0 -> /dev/oss/oss_sblive0/mix0
1 legacy mixer device files
1 midi devices
/dev/midi01 is the next free legacy device
/dev/midi00: No such file or directory
Created new legacy device /dev/midi00 -> /dev/oss/oss_sblive0/mid0
1 legacy MIDI device files


ossplay /usr/share/sounds/*.wav
Code: Select all
/dev/dsp: No such device or address

The device file was found in /dev but
there is no driver for it currently loaded.

You can start it by executing the soundon command as
super user (root).


---

Code: Select all
/dev/oss/oss_sblive0$ ls
mid0  mix0  pcm0
krz
Member
 
Posts: 11
Joined: Fri Jul 02, 2010 10:08 pm

Re: missing pcm channels

Postby igorzwx » Sun Jan 02, 2011 12:18 am

Your OSS licence expired. Read your "ossinfo":

Code: Select all
Version info: OSS 4.2 (b 2003/201005280201) (0x00040100) EXPIRED


You can verify this with "dmesg":

Code: Select all
$ dmesg | grep oss


You may try to build OSS4 from mercurial.
igorzwx
Supporter
 
Posts: 987
Joined: Sun Jun 28, 2009 9:31 pm

Re: missing pcm channels

Postby krz » Sun Jan 02, 2011 10:16 am

Ok, this helped.
Thank you. :)
krz
Member
 
Posts: 11
Joined: Fri Jul 02, 2010 10:08 pm


Return to Linux

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest