Solaris 10 u7 /dev/oss/oss_ich0/pcm0: Device busy

OSS specific Solaris discussion (x86/SPARC)

Moderators: cesium, dev, kodachi, hannu

Solaris 10 u7 /dev/oss/oss_ich0/pcm0: Device busy

Postby bvictor » Fri May 15, 2009 6:33 pm

I just installed oss driver on my laptop ASUS L2000E
reboot and run osstest. Only one time it test was run. I rebooted one more. And run osstest again. This is result
Code: Select all
Iris/root22:15:02~#ossdetect
rem_drv osscore
rem_drv oss_ich
rem_drv oss_usb
rem_drv oss_sadasupport
unloaded osscommon
add_drv -m '* 0666 root sys' osscore
add_drv -m '* 0666 root sys' -i '"pci1039,7012"' oss_ich
add_drv -m '* 0666 root sys' -i '"usbif,class1"' oss_usb
add_drv -m '* 0666 root sys' oss_sadasupport
Iris/root22:15:40~#osstest
Sound subsystem and version: OSS 4.1 (b 1052/200903242128) (0x00040100)
Platform: SunOS/i86pc 5.10 Generic_139556-08

*** Scanning sound adapter #-1 ***
/dev/oss/oss_ich0/pcm0 (audio engine 0): SiS 7012
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>

*** All tests completed OK ***
Iris/root22:17:10~#osstest
Sound subsystem and version: OSS 4.1 (b 1052/200903242128) (0x00040100)
Platform: SunOS/i86pc 5.10 Generic_139556-08

*** Scanning sound adapter #-1 ***
/dev/oss/oss_ich0/pcm0 (audio engine 0): SiS 7012
- Performing audio playback test... /dev/oss/oss_ich0/pcm0: Device busy
Can't open the device

*** Some errors were detected during the tests ***
Iris/root22:17:14~#osstest
Sound subsystem and version: OSS 4.1 (b 1052/200903242128) (0x00040100)
Platform: SunOS/i86pc 5.10 Generic_139556-08

*** Scanning sound adapter #-1 ***
/dev/oss/oss_ich0/pcm0 (audio engine 0): SiS 7012
- Performing audio playback test... /dev/oss/oss_ich0/pcm0: Device busy
Can't open the device

*** Some errors were detected during the tests ***
Iris/root22:21:27~#
Iris/root22:26:22~#ossinfo -v3
Version info: OSS 4.1 (b 1052/200903242128) (0x00040100)
Platform: SunOS/i86pc 5.10 Generic_139556-08 (Iris)

Number of audio devices:        1
Number of audio engines:        6
Number of mixer devices:        1


Device objects
0: osscore0 OSS common devices
1: oss_ich0 SiS 7012 interrupts=1981 (3970)
2: oss_usb0 USB audio/MIDI device
3: oss_sadasupport SADA compatibility layer


Mixer devices
0: ICH AC97 Mixer (STAC9700) (Mixer 0 of device object 1)
    Device file /dev/oss/oss_ich0/mix0, Legacy device /dev/mixer0
    Priority: 10
    Caps:
    Device handle: PCI16131043-0-mx01
    Device priority: 10


Audio devices
SiS 7012                          /dev/oss/oss_ich0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER
    Modes: IN/OUT
      Engine      1: 0/SiS 7012
                     Available for use
      Engine      2: 1/SiS 7012 (vmix)
                     Available for use
      Engine      3: 2/SiS 7012 (vmix)
                     Available for use
      Engine      4: 3/SiS 7012 (vmix)
                     Available for use
      Engine      5: 4/SiS 7012 (vmix)
                     Available for use
      Engine      6: 5/SiS 7012
                     Available for use
    Input formats (0x00000410):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_AC3          - AC3 (Dolby Digital) encoded audio
    Output formats (0x00000410):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_AC3          - AC3 (Dolby Digital) encoded audio
    Device handle: PCI16131043-0-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 6
    Native sample rates (min - max): 48000 - 48000
    HW Type: Not indicated.
    Minimum latency: Not indicated

Iris/root22:26:29~#ossmix
Selected mixer 0/ICH AC97 Mixer (STAC9700)
Known controls are:
vol [<leftvol>:<rightvol>] (currently 75:75)
vol.rec ON|OFF (currently OFF)
pcm [<leftvol>:<rightvol>] (currently 75:75)
speaker <monovol> (currently 0)
line [<leftvol>:<rightvol>] (currently 32:32)
line.rec ON|OFF (currently ON)
mic <monovol> (currently 0)
mic.rec ON|OFF (currently OFF)
cd [<leftvol>:<rightvol>] (currently 75:75)
cd.rec ON|OFF (currently OFF)
igain [<leftvol>:<rightvol>] (currently 75:75)
aux1 [<leftvol>:<rightvol>] (currently 32:32)
aux1.rec ON|OFF (currently OFF)
phone [<leftvol>:<rightvol>] (currently 0:0)
phone.rec ON|OFF (currently OFF)
mono <monovol> (currently 75)
mono.rec ON|OFF (currently OFF)
video [<leftvol>:<rightvol>] (currently 0:0)
video.rec ON|OFF (currently OFF)
depth <monovol> (currently 0)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal> (currently 48000) (Read-only)
vmix0-channels <Stereo> (currently Stereo)
vmix0-src <Fast> (currently Fast)
vmix0-outvol <monovol> (currently 24.7 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm1 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm2 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm3 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm4 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
Iris/root22:27:49~#


Is it my error or this a bug in oss driver?
also my volume control indicate "no sound device" on display.
bvictor
New Member
 
Posts: 2
Joined: Fri May 15, 2009 6:08 pm
Location: Saint-Petersburg, Russia

Postby cesium » Fri May 15, 2009 7:35 pm

Try running "ossdetect -d -v" as root, and running osstest again. Is any other program capable of emitting sound?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Postby bvictor » Sat May 16, 2009 11:31 am

cesium wrote:Try running "ossdetect -d -v" as root, and running osstest again. Is any other program capable of emitting sound?


Thanks a lot! It works! No, it is no any other program capable of emitting sound.

Code: Select all
Iris/root15:20:36~#ossdetect -d -v
Iris/root15:20:53~#osstest
Sound subsystem and version: OSS 4.1 (b 1052/200903242128) (0x00040100)
Platform: SunOS/i86pc 5.10 Generic_139556-08

*** Scanning sound adapter #-1 ***
/dev/oss/oss_ich0/pcm0 (audio engine 0): SiS 7012
Note! Device is in use (by PID 0/VMIX) but will try anyway
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>

*** All tests completed OK ***
Iris/root15:21:38~#osstest
Sound subsystem and version: OSS 4.1 (b 1052/200903242128) (0x00040100)
Platform: SunOS/i86pc 5.10 Generic_139556-08

*** Scanning sound adapter #-1 ***
/dev/oss/oss_ich0/pcm0 (audio engine 0): SiS 7012
Note! Device is in use (by PID 0/VMIX) but will try anyway
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>

*** All tests completed OK ***
Iris/root15:22:03~#osstest
Sound subsystem and version: OSS 4.1 (b 1052/200903242128) (0x00040100)
Platform: SunOS/i86pc 5.10 Generic_139556-08

*** Scanning sound adapter #-1 ***
/dev/oss/oss_ich0/pcm0 (audio engine 0): SiS 7012
Note! Device is in use (by PID 0/VMIX) but will try anyway
- Performing audio playback test...
  <left> OK <right> OK <stereo> OK <measured>

*** All tests completed OK ***
bvictor
New Member
 
Posts: 2
Joined: Fri May 15, 2009 6:08 pm
Location: Saint-Petersburg, Russia

Postby cesium » Sat May 16, 2009 2:43 pm

Odd, the devices weren't created... run "ossdevlinks -v -r" as root.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Postby Tomservo » Sat May 30, 2009 8:58 pm

Actually, do make it work, I had to do it that way:

- Installing the package.
- Reboot.
- ossdevlinks -vr
- Reboot.
- ossdevlinks -vr again.

Haven't rebooted anymore since then, hope it doesn't start again like with an earlier build I've used, where I had to ossdevlinks every reboot.
Solaris 4 lyfe
Tomservo
Member
 
Posts: 40
Joined: Sat May 05, 2007 8:15 pm

Postby Tomservo » Sun May 31, 2009 12:05 pm

Now nothing works. Every OSS application reports a problem with the device. osstest works exactly one, afterwards the device's busy.
Solaris 4 lyfe
Tomservo
Member
 
Posts: 40
Joined: Sat May 05, 2007 8:15 pm


Return to Solaris

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests