ossctl can't write out the dspdevs.map file

OSS specific Solaris discussion (x86/SPARC)

Moderators: cesium, dev, kodachi, hannu

ossctl can't write out the dspdevs.map file

Postby tck1000 » Wed Sep 12, 2007 7:42 pm

Solaris Nevada build 72, OSS4.1

Code: Select all
tcsh-[6]% osstest
Sound subsystem and version: OSS 4.0 (b1006/200708291218) (0x00040002)
Platform: SunOS/i86pc 5.11 snv_72

*** Scanning sound adapter #-1 ***
/dev/oss/hdaudio0/pcm0 (audio engine 0): Intel HD Audio pcm1 output
Note! Device is in use (by PID 0/VMIX) but will try anyway
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>
/dev/oss/hdaudio0/pcm1 (audio engine 1): Intel HD Audio pcm2 output
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>
/dev/oss/hdaudio0/pcm2 (audio engine 2): Intel HD Audio pcm3 output
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>
<strong>/dev/oss/hdaudio0/pcm3 (audio engine 3): Intel HD Audio pcm4 output
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>

/dev/oss/hdaudio0/spdout0 (audio engine 4): Intel HD Audio spdifout1 output
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>

/dev/oss/hdaudio0/spdout1 (audio engine 5): Intel HD Audio spdifout2 output
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>
/dev/oss/hdaudio0/pcmin0 (audio engine 6): Intel HD Audio rec1 input
- Skipping input only device
/dev/oss/hdaudio0/pcmin1 (audio engine 7): Intel HD Audio rec2 input
- Skipping input only device
/dev/oss/hdaudio0/spdin0 (audio engine 8): Intel HD Audio spdifin input
- Skipping input only device

*** All tests completed OK ***


The device that stands out is the one that works for me, where I hear sound output.

However, I can't get ossctl to write out the dspdevs.map file when I try to reorder
the output devices and save.

Code: Select all
tcsh-[50]# rm /usr/lib/oss/etc/dspdevs.map
tcsh-[51]# /usr/sbin/ossctl
  <snip some gui interaction which doesn't show up in xterm>
Set reroute: Invalid argument
Set reroute: Invalid argument
Set reroute: Invalid argument
tcsh-[52]# ls -la /usr/lib/oss/etc/dspdevs.map
-rw-r--r--   1 root     root           0 Sep 12 15:36 /usr/lib/oss/etc/dspdevs.map


Can someone tell me what the format of the dspdevs.map file is supposed to be?
Or tell me why ossctl is not working as expected, and if it's a known bug when
a fix is expected?

Thank you.
tck1000
New Member
 
Posts: 2
Joined: Wed Sep 12, 2007 7:32 pm

how about just a dspdevs.map file?

Postby tck1000 » Fri Sep 14, 2007 1:00 am

Can someone post the contents of their dspdevs.map file, from
/usr/lib/oss/etc/dspdevs.map?

Maybe if I can at least write one out by hand, that would work
for me.

Thanks.
tck1000
New Member
 
Posts: 2
Joined: Wed Sep 12, 2007 7:32 pm


Return to Solaris

Who is online

Users browsing this forum: No registered users and 1 guest