You are not logged in.

#1 2011-10-17 23:43:47

adamlau
Member
Registered: 2009-01-30
Posts: 418

ASUS Xonar ST Not Working w/ OSS4?

As posted in the OSS4 Linux forums...Relevant details below, what are some possible issues/workarounds/resolutions?

$ osstest
Sound subsystem and version: OSS 4.2 (b 2005/201110101247) (0x00040100)
Platform: Linux/x86_64 3.0-BFS #1 SMP PREEMPT Fri Oct 14 00:49:00 PDT 2011

*** Scanning sound adapter #-1 ***
/dev/oss/oss_cmi878x0/pcm0 (audio engine 0): Asus Xonar (unknown) (MultiChannel)
- Performing audio playback test... 
  <left> Device returned error: Input/output error
/dev/oss/oss_cmi878x0/pcm1 (audio engine 2): Asus Xonar (unknown) (SPDIF)
- Performing audio playback test... 
  <left> Device returned error: Input/output error

*** Some errors were detected during the tests ***
$ lspci -vnn
05:05.0 Multimedia audio controller [0401]: C-Media Electronics Inc CMI8788 [Oxygen HD Audio] [13f6:8788]
	Subsystem: ASUSTeK Computer Inc. Virtuoso 100 (Xonar ST) [1043:835d]
	Flags: bus master, medium devsel, latency 64, IRQ 20
	I/O ports at d800 [size=256]
	Capabilities: <access denied>
	Kernel driver in use: oss_cmi878x
$ sudo ossdetect -d -v
Password: 
mknod /dev/sndstat c 252 0 -m 20666
mknod /dev/midi c 252 1 -m 20666
mknod /dev/mixer c 252 2 -m 20666
mknod /dev/oss/oss_cmi878x0/mix0 c 251 3 -m 20666
mknod /dev/oss/oss_cmi878x0/mix1 c 251 4 -m 20666
mknod /dev/oss/oss_cmi878x0/mid0 c 251 5 -m 20666
mknod /dev/oss/oss_cmi878x0/pcm0 c 251 6 -m 20666
mknod /dev/oss/oss_cmi878x0/pcm1 c 251 9 -m 20666
$ sudo ossdevlinks -v -r
2 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_cmi878x0/pcm0
/dev/dsp1: No such file or directory
Created new legacy device /dev/dsp1 -> /dev/oss/oss_cmi878x0/pcm1
0 legacy dsp device files
/dev/oss/oss_cmi878x0/pcm0 is the default /dev/dsp device
/dev/oss/oss_cmi878x0/pcm0 is the default dsp_out device
/dev/oss/oss_cmi878x0/pcm0 is the default dsp_in device
/dev/oss/oss_cmi878x0/pcm1 is the default AC3 output device
/dev/oss/oss_cmi878x0/pcm0 is the default mmap output device
/dev/oss/oss_cmi878x0/pcm0 is the default multichan output device
2 mixer devices
/dev/mixer2 is the next free legacy device
/dev/mixer0: No such file or directory
Created new legacy device /dev/mixer0 -> /dev/oss/oss_cmi878x0/mix0
/dev/mixer1: No such file or directory
Created new legacy device /dev/mixer1 -> /dev/oss/oss_cmi878x0/mix1
2 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_cmi878x0/mid0
1 legacy MIDI device files
$ ossinfo -v3
Version info: OSS 4.2 (b 2005/201110101247) (0x00040100) GPL
Platform: Linux/x86_64 3.0-BFS #1 SMP PREEMPT Fri Oct 14 00:49:00 PDT 2011 (Anonymous)

Number of audio devices:	2
Number of audio engines:	3
Number of MIDI devices:		1
Number of mixer devices:	2


Device objects
 0: osscore0 OSS core services
 1: oss_cmi878x0 Asus Xonar (unknown) interrupts=0 (1)

MIDI devices (/dev/midi*)
0: CMI8788 UART (MIDI port 1 of device object 1)
    Device file /dev/oss/oss_cmi878x0/mid0, Legacy device /dev/midi00
    Modes: IN/OUT , Available for use 
    Caps: 
    Minimum latency: Not indicated
    Device handle: PCI835d1043-0000:05:05.0-md01


Mixer devices
 0: CMedia CMI8788 (Mixer 0 of device object 1)
    Device file /dev/oss/oss_cmi878x0/mix0, Legacy device /dev/mixer0
    Priority: 10
    Caps: 
    Device handle: PCI835d1043-0000:05:05.0-mx01
    Device priority: 10

 1: AC97 Input Mixer (CMI9780) (Mixer 1 of device object 1)
    Device file /dev/oss/oss_cmi878x0/mix1, Legacy device /dev/mixer1
    Priority: 2
    Caps: 
    Device handle: PCI835d1043-0000:05:05.0-mx02
    Device priority: 2


Audio devices
Asus Xonar (unknown) (MultiChannel)  /dev/oss/oss_cmi878x0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: DUPLEX TRIGGER MMAP 
    Modes: IN/OUT 
      Engine      1: 0/Asus Xonar (unknown) (MultiChannel)
                     Available for use 
      Engine      2: 1/Asus Xonar (unknown) (Multichannel)
                     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: PCI835d1043-0000:05:05.0-au01
    Related mixer dev: -1
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 8
    Native sample rates (min - max): 32000 - 192000
    HW Type: Not indicated.
    Minimum latency: Not indicated

Asus Xonar (unknown) (SPDIF)      /dev/oss/oss_cmi878x0/pcm1  (device index 1)
    Legacy device /dev/dsp1
    Caps: DUPLEX TRIGGER MMAP 
    Modes: IN/OUT 
      Engine      1: 2/Asus Xonar (unknown) (SPDIF)
                     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: PCI835d1043-0000:05:05.0-au02
    Related mixer dev: -1
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 32000 - 192000
    HW Type: Not indicated.
    Minimum latency: Not indicated


Nodes
  /dev/dsp -> /dev/oss/oss_cmi878x0/pcm0
  /dev/dsp_in -> /dev/oss/oss_cmi878x0/pcm0
  /dev/dsp_out -> /dev/oss/oss_cmi878x0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_cmi878x0/pcm1
  /dev/dsp_mmap -> /dev/oss/oss_cmi878x0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_cmi878x0/pcm0
 $ cat /var/log/soundon.log

@ http://pastebin.com/YtzhRNdq


Arch Linux + sway
Debian Testing + GNOME/sway
NetBSD 64-bit + Xfce

Offline

Board footer

Powered by FluxBB