XFI Xtreme PCIe on CENTOS 5.4 OSS 4.2 Build 2003

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

XFI Xtreme PCIe on CENTOS 5.4 OSS 4.2 Build 2003

Postby mattnorris » Wed Jun 30, 2010 3:39 pm

Hello,

I have a Linux system on which OSS is not detecting the XFI Xtreme PCIe.

Xeon 5520
Tyan S7020 Motherboard
3Gigs Ram

CentOS 5.4
Kernel 2.6.18-164.el5

OSS 4.2 Build 2003
Downloaded from 4Front 6/28/2010

Have run ossdetect and it does not report the card. Also noting here that the card is not detected by ALSA either.

Any suggestions?

I have also noted several places that the XFI Xtreme is listed as only supporting sterio output. Is this still the case? Does that mean the mic record functionality does not work at all?

Matt Norris
Lead Software Engineer
ATC Simulation and Training Systems
SYMVIONICS, Inc
mattnorris
New Member
 
Posts: 5
Joined: Wed Jun 30, 2010 2:37 pm

Re: XFI Xtreme PCIe on CENTOS 5.4 OSS 4.2 Build 2003

Postby cesium » Wed Jun 30, 2010 6:05 pm

I'm pretty sure the oss_sbxfi driver only does stereo/96K for now, and I suspect playback only (IIRC, anything more interesting requires loading a special firmware?). It's possible though your card has hdaudio emulation, which can use the more capable oss_hdaudio driver.

Can you paste output of 'lspci -vnn' for the card?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: XFI Xtreme PCIe on CENTOS 5.4 OSS 4.2 Build 2003

Postby mattnorris » Wed Jun 30, 2010 7:58 pm

Ok here is the information. Forgot to mention that the onboard audio device ALC262 is enabled. Currently we can not disable it due to the bios not having an option for that. So it shows up in ossinfo. I included ossinfo and ossdetect -v and ossdetect -v -d


lspci | grep Creative
Code: Select all
06:00.0 PCI bridge: Creative Labs Unknown device 7006
07:00.0 Audio device: Creative Labs [SB X-Fi Xtreme Audio] CA0110-IBG


lspci -vnn
Code: Select all
06:00.0 0604: 1102:7006
        Flags: bus master, fast devsel, latency 0
        Bus: primary=06, secondary=07, subordinate=07, sec-latency=64
        Memory behind bridge: fbd00000-fbdfffff
        Capabilities: [50] Power Management version 3
        Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/4 Enable-
        Capabilities: [80] #0d [0000]
        Capabilities: [90] Express PCI/PCI-X Bridge IRQ 0
        Capabilities: [100] Advanced Error Reporting

07:00.0 0403: 1102:0009
        Subsystem: 1102:0018
        Flags: medium devsel, IRQ 154
        Memory at fbdfc000 (32-bit, non-prefetchable) [disabled] [size=16K]
        Capabilities: [dc] Power Management version 3


ossinfo
Code: Select all
Version info: OSS 4.2 (b 2003/201006291909) (0x00040100) GPL
Platform: Linux/i686 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 (nasif-exec-1)

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


Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 Intel HD Audio interrupts=421 (421)
    HD Audio controller Intel HD Audio
    Vendor ID    0x80863a3e
    Subvendor ID 0x80863a3e
     Codec  0: ALC262 (0x10ec0262/0x10f17010)
2: oss_hdaudio1
3: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: High Definition Audio ALC262 (Mixer 0 of device object 1)

Audio devices
HD Audio play speaker             /dev/oss/oss_hdaudio0/pcm0  (device index 0)
HD Audio play headphone           /dev/oss/oss_hdaudio0/pcm1  (device index 1)
HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin0  (device index 2)
HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin1  (device index 3)
HD Audio rec select               /dev/oss/oss_hdaudio0/pcmin2  (device index 4)

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_sblive0/pcm0
  /dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0


ossdetect -v
Code: Select all
Detected Creative Labs SB XFi Xtreme
Detected Intel High Definition Audio (ICH10)
USB support available in the system, adding USB driver
Detected Generic USB audio/MIDI device (BETA)


ossdetect -v -d
Code: Select all
mknod /dev/sndstat c 253 0 -m 20666
mknod /dev/midi c 253 1 -m 20666
mknod /dev/mixer c 253 2 -m 20666
mknod /dev/oss/oss_hdaudio0/mix0 c 252 3 -m 20666
mknod /dev/oss/oss_hdaudio0/pcm0 c 252 4 -m 20666
mknod /dev/oss/oss_hdaudio0/pcm1 c 252 6 -m 20666
mknod /dev/oss/oss_hdaudio0/pcmin0 c 252 8 -m 20666
mknod /dev/oss/oss_hdaudio0/pcmin1 c 252 10 -m 20666
mknod /dev/oss/oss_hdaudio0/pcmin2 c 252 12 -m 20666


Matt Norris
Lead Software Engineer
ATC Simulation and Training Systems
SYMVIONICS, Inc
mattnorris
New Member
 
Posts: 5
Joined: Wed Jun 30, 2010 2:37 pm

Re: XFI Xtreme PCIe on CENTOS 5.4 OSS 4.2 Build 2003

Postby cesium » Wed Jun 30, 2010 11:12 pm

So it does detect the card.. But the oss_hdaudio driver doesn't work for some reason. Please try this:

[Edit: simpler idea: Try using ALSA's "probe_mask" module argument. e.g. "modprobe snd-hda-intel probe_mask=3" (when OSS isn't loaded), and see if sound can be outputted. It should have the same effect as the steps below]

A) Add the line "detect_trace=1" to /usr/lib/oss/conf/osscore.conf.
B) Get OSS source (preferably from mercurial repo), patching it with this patch first. You can see here how to build OSS from source (and where to get the source from). When that's done, try loading OSS again and see if "osstest" outputs anything on the X-fi.
C) Paste 'dmesg' output here if it doesn't work.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: XFI Xtreme PCIe on CENTOS 5.4 OSS 4.2 Build 2003

Postby igorzwx » Thu Jul 01, 2010 9:08 am

If I understood correctly, there are two questions about the soundcard:

1. Does it work with Linux?

2. Does it work with that particular "CentOS 5.4, Kernel 2.6.18-164.el5"?

Perhaps, the easiest way is to test it with Arch Linux (OSS and ALSA)
http://wiki.archlinux.org/index.php/Beginners'_Guide
http://wiki.archlinux.org/index.php/OSS
http://wiki.archlinux.org/index.php/Alsa
igorzwx
Supporter
 
Posts: 993
Joined: Sun Jun 28, 2009 9:31 pm

Re: XFI Xtreme PCIe on CENTOS 5.4 OSS 4.2 Build 2003

Postby mattnorris » Thu Jul 01, 2010 2:05 pm

igorzwx wrote:If I understood correctly, there are two questions about the soundcard:

1. Does it work with Linux?

2. Does it work with that particular "CentOS 5.4, Kernel 2.6.18-164.el5"?


1. Sort of yes. We have worked with Opensound on OSS issues several times and these guys are great at getting us help. So I am sure we can find a good solution.

2. CentOS 5.4 is our target environment for this contract. While the possiblity of the sound card working on another linux distro is nice to know I have no real choice in the distro we use outside of version 5.4 or 5.5 if released prior to delivery. But thanks for the suggestion.

History wise we have used Create Labs Audigy and PCI128 sound cards for our software and have a few applications that coded to the OSS API.

Matt Norris
Lead Software Engineer
ATC Simulation and Training Systems
SYMVIONICS, Inc
Last edited by mattnorris on Thu Jul 01, 2010 2:14 pm, edited 2 times in total.
mattnorris
New Member
 
Posts: 5
Joined: Wed Jun 30, 2010 2:37 pm

Re: XFI Xtreme PCIe on CENTOS 5.4 OSS 4.2 Build 2003

Postby mattnorris » Thu Jul 01, 2010 2:14 pm

Building OSS from source. Have the source for 4.2 build 2003 as downloaded from the developer section of the OSS site.

I added detect_trace=1 and did soundoff/soundon and here is the new dmesg data
Code: Select all
usbcore: deregistering driver oss_usb
ACPI: PCI interrupt for device 0000:00:1b.0 disabled
PCI: Enabling device 0000:00:1b.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 146
oss_hdaudio_attach entered
Codec mask 1
HD audio Codec ID: 10ec0262 (ALC262)
HDA codec revision 1.0 (2.2) (0x00100202)
**** Codec 0 ****
First node 1, num nodes 1
Subsystem ID = 0x10f17010
        Group 1 First node 2, num nodes 35
Node 2, parent 1 type 0, unsol capa 0
        Widget type 0 (Audio output)(pcm)
        Power State 0
        PCM Size/Rate 000e0560
                Supports 16 bits
                Supports 20 bits
                Supports 24 bits
                Supports 44100 Hz
                Supports 48000 Hz
                Supports 96000 Hz
                Supports 192000 Hz
Node 3, parent 1 type 0, unsol capa 0
        Widget type 0 (Audio output)(pcm)
        Power State 0
        PCM Size/Rate 000e0560
                Supports 16 bits
                Supports 20 bits
                Supports 24 bits
                Supports 44100 Hz
                Supports 48000 Hz
                Supports 96000 Hz
                Supports 192000 Hz
Node 4, parent 1 type 0, unsol capa 0
        Widget type 15 (Vendor defined audio)(vendor)
        Power State 0
Node 5, parent 1 type 0, unsol capa 0
        Widget type 15 (Vendor defined audio)(vendor)
        Power State 0
Node 6, parent 1 type 0, unsol capa 0
        Widget type 0 (Audio output)(pcm)
        Power State 0
        PCM Size/Rate 001e0560
                Supports 16 bits
                Supports 20 bits
                Supports 24 bits
                Supports 32 bits
                Supports 44100 Hz
                Supports 48000 Hz
                Supports 96000 Hz
                Supports 192000 Hz
Node 7, parent 1 type 0, unsol capa 0
        Widget type 1 (Audio input)(rec)
        Power State 0
        Conn list (1): 36
        PCM Size/Rate 00060160
                Supports 16 bits
                Supports 20 bits
                Supports 44100 Hz
                Supports 48000 Hz
                Supports 96000 Hz
Node 8, parent 1 type 0, unsol capa 0
        Widget type 1 (Audio input)(rec)
        Power State 0
        Conn list (1): 35
        PCM Size/Rate 00060160
                Supports 16 bits
                Supports 20 bits
                Supports 44100 Hz
                Supports 48000 Hz
                Supports 96000 Hz
Node 9, parent 1 type 0, unsol capa 0
        Widget type 1 (Audio input)(rec)
        Power State 0
        Conn list (1): 34
        PCM Size/Rate 00060160
                Supports 16 bits
                Supports 20 bits
                Supports 44100 Hz
                Supports 48000 Hz
                Supports 96000 Hz
Node 10, parent 1 type 0, unsol capa 0
        Widget type 1 (Audio input)(rec)
        Power State 0
        Conn list (1): 31
        PCM Size/Rate 001e0560
                Supports 16 bits
                Supports 20 bits
                Supports 24 bits
                Supports 32 bits
                Supports 44100 Hz
                Supports 48000 Hz
                Supports 96000 Hz
                Supports 192000 Hz
Node 11, parent 1 type 0, unsol capa 0
        Widget type 2 (Audio mixer)(mix)
        Power State 0
        Conn list (8): 24 25 26 27 28 29 20 21
Node 12, parent 1 type 0, unsol capa 0
        Widget type 2 (Audio mixer)(mix)
        Power State 0
        Conn list (2): 2 11
Node 13, parent 1 type 0, unsol capa 0
        Widget type 2 (Audio mixer)(mix)
        Power State 0
        Conn list (2): 3 11
Node 14, parent 1 type 0, unsol capa 0
        Widget type 2 (Audio mixer)(mix)
        Power State 0
        Conn list (2): 2 11
Node 15, parent 1 type 0, unsol capa 0
        Widget type 15 (Vendor defined audio)(vendor)
        Power State 0
Node 16, parent 1 type 0, unsol capa 0
        Widget type 15 (Vendor defined audio)(vendor)
        Power State 0
Node 17, parent 1 type 0, unsol capa 0
        Widget type 15 (Vendor defined audio)(vendor)
        Power State 0
Node 18, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Config default 411111f0
Node 19, parent 1 type 0, unsol capa 0
        Widget type 15 (Vendor defined audio)(vendor)
        Power State 0
Node 20, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Conn list (2): 12 13
        Config default 01014410
Node 21, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Conn list (2): 12 13
        Config default 411111f0
Node 22, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Conn list (1): 14
        Config default 411111f0
Node 23, parent 1 type 0, unsol capa 0
        Widget type 15 (Vendor defined audio)(vendor)
        Power State 0
Node 24, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Conn list (2): 12 13
        Config default 01a19c20
Node 25, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Conn list (2): 12 13
        Config default 02a19c21
Node 26, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Conn list (2): 12 13
        Config default 01813c2f
Node 27, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Conn list (2): 12 13
        Config default 02214c1f
Node 28, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Config default 593301f0
Node 29, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Config default 4014c601
Node 30, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Conn list (1): 6
        Config default 411111f0
Node 31, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Config default 411111f0
Node 32, parent 1 type 0, unsol capa 0
        Widget type 15 (Vendor defined audio)(vendor)
        Power State 0
Node 33, parent 1 type 0, unsol capa 0
        Widget type 6 (Volume knob)(vol)
        Power State 0
Node 34, parent 1 type 0, unsol capa 0
        Widget type 3 (Audio selector)(select)
        Power State 0
        Conn list (10): 24 25 26 27 28 29 20 21 11 18
Node 35, parent 1 type 0, unsol capa 0
        Widget type 2 (Audio mixer)(mix)
        Power State 0
        Conn list (9): 24 25 26 27 28 29 20 21 11
Node 36, parent 1 type 0, unsol capa 0
        Widget type 2 (Audio mixer)(mix)
        Power State 0
        Conn list (9): 24 25 26 27 28 29 20 21 11
HD audio Codec ID: 10ec0262 (ALC262)
HDA codec revision 1.0 (2.2) (0x00100202)
**** Codec 0 ****
First node 1, num nodes 1
        Group 1 First node 2, num nodes 35
Mixer: Intel HD Audio ALC262
Create instance 1
vmix_masterdev=0
vmix_inputdev=2
vmix_rate=48000

Check masterdev eng=0/HD Audio play speaker
Vmix masterdev=0
oss_audio_open_engine(0, mode=0x2)
oss_audio_open_engine(2, mode=0x1)
Expand factor was = 1024 (1.00)
Expand factor inverted to = 1024 (1.00)
No format conversions needed
Master dev 2 is OK
PCI: Enabling device 0000:07:00.0 (0140 -> 0142)
ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 30 (level, low) -> IRQ 154
oss_hdaudio_attach entered
oss_hdaudio: oss_hdaudio_attach: Already attached
ACPI: PCI interrupt for device 0000:07:00.0 disabled
oss_hdaudio: probe of 0000:07:00.0 failed with error -5
usbcore: registered new driver oss_usb
oss_cdev_open(2): mixer, class=6, instance=0
oss_cdev_open(2): mixer, class=6, instance=0
oss_cdev_open(0): sndstat, class=0, instance=0
oss_cdev_open(2): mixer, class=6, instance=0
oss_cdev_open(2): mixer, class=6, instance=0
oss_cdev_open(2): mixer, class=6, instance=0


Going to look at the patch you suggested adding. About using ALSA, when I get to a point that I have OSS unloaded I will try to get that information. But I think the

oss_hdaudio: probe of 0000:07:00.0 failed with error -5

is a prime indicator at this point since the XFI is sitting at 07:00.

Thanks for all the help so far.

Added the patch and built. soundoff / soundon / dmesg here is the output of dmesg
Code: Select all
PCI: Enabling device 0000:00:1b.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 146
oss_hdaudio_attach entered
Codec mask 1
Codec mask 1
HD audio Codec ID: 10ec0262 (ALC262)
HDA codec revision 1.0 (2.2) (0x00100202)
**** Codec 0 ****
First node 1, num nodes 1
Subsystem ID = 0x10f17010
        Group 1 First node 2, num nodes 35
Node 2, parent 1 type 0, unsol capa 0
        Widget type 0 (Audio output)(pcm)
        Power State 0
        PCM Size/Rate 000e0560
                Supports 16 bits
                Supports 20 bits
                Supports 24 bits
                Supports 44100 Hz
                Supports 48000 Hz
                Supports 96000 Hz
                Supports 192000 Hz
Node 3, parent 1 type 0, unsol capa 0
        Widget type 0 (Audio output)(pcm)
        Power State 0
        PCM Size/Rate 000e0560
                Supports 16 bits
                Supports 20 bits
                Supports 24 bits
                Supports 44100 Hz
                Supports 48000 Hz
                Supports 96000 Hz
                Supports 192000 Hz
Node 4, parent 1 type 0, unsol capa 0
        Widget type 15 (Vendor defined audio)(vendor)
        Power State 0
Node 5, parent 1 type 0, unsol capa 0
        Widget type 15 (Vendor defined audio)(vendor)
        Power State 0
Node 6, parent 1 type 0, unsol capa 0
        Widget type 0 (Audio output)(pcm)
        Power State 0
        PCM Size/Rate 001e0560
                Supports 16 bits
                Supports 20 bits
                Supports 24 bits
                Supports 32 bits
                Supports 44100 Hz
                Supports 48000 Hz
                Supports 96000 Hz
                Supports 192000 Hz
Node 7, parent 1 type 0, unsol capa 0
        Widget type 1 (Audio input)(rec)
        Power State 0
        Conn list (1): 36
        PCM Size/Rate 00060160
                Supports 16 bits
                Supports 20 bits
                Supports 44100 Hz
                Supports 48000 Hz
                Supports 96000 Hz
Node 8, parent 1 type 0, unsol capa 0
        Widget type 1 (Audio input)(rec)
        Power State 0
        Conn list (1): 35
        PCM Size/Rate 00060160
                Supports 16 bits
                Supports 20 bits
                Supports 44100 Hz
                Supports 48000 Hz
                Supports 96000 Hz
Node 9, parent 1 type 0, unsol capa 0
        Widget type 1 (Audio input)(rec)
        Power State 0
        Conn list (1): 34
        PCM Size/Rate 00060160
                Supports 16 bits
                Supports 20 bits
                Supports 44100 Hz
                Supports 48000 Hz
                Supports 96000 Hz
Node 10, parent 1 type 0, unsol capa 0
        Widget type 1 (Audio input)(rec)
        Power State 0
        Conn list (1): 31
        PCM Size/Rate 001e0560
                Supports 16 bits
                Supports 20 bits
                Supports 24 bits
                Supports 32 bits
                Supports 44100 Hz
                Supports 48000 Hz
                Supports 96000 Hz
                Supports 192000 Hz
Node 11, parent 1 type 0, unsol capa 0
        Widget type 2 (Audio mixer)(mix)
        Power State 0
        Conn list (8): 24 25 26 27 28 29 20 21
Node 12, parent 1 type 0, unsol capa 0
        Widget type 2 (Audio mixer)(mix)
        Power State 0
        Conn list (2): 2 11
Node 13, parent 1 type 0, unsol capa 0
        Widget type 2 (Audio mixer)(mix)
        Power State 0
        Conn list (2): 3 11
Node 14, parent 1 type 0, unsol capa 0
        Widget type 2 (Audio mixer)(mix)
        Power State 0
        Conn list (2): 2 11
Node 15, parent 1 type 0, unsol capa 0
        Widget type 15 (Vendor defined audio)(vendor)
        Power State 0
Node 16, parent 1 type 0, unsol capa 0
        Widget type 15 (Vendor defined audio)(vendor)
        Power State 0
Node 17, parent 1 type 0, unsol capa 0
        Widget type 15 (Vendor defined audio)(vendor)
        Power State 0
Node 18, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Config default 411111f0
Node 19, parent 1 type 0, unsol capa 0
        Widget type 15 (Vendor defined audio)(vendor)
        Power State 0
Node 20, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Conn list (2): 12 13
        Config default 01014410
Node 21, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Conn list (2): 12 13
        Config default 411111f0
Node 22, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Conn list (1): 14
        Config default 411111f0
Node 23, parent 1 type 0, unsol capa 0
        Widget type 15 (Vendor defined audio)(vendor)
        Power State 0
Node 24, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Conn list (2): 12 13
        Config default 01a19c20
Node 25, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Conn list (2): 12 13
        Config default 02a19c21
Node 26, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Conn list (2): 12 13
        Config default 01813c2f
Node 27, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Conn list (2): 12 13
        Config default 02214c1f
Node 28, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Config default 593301f0
Node 29, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Config default 4014c601
Node 30, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Conn list (1): 6
        Config default 411111f0
Node 31, parent 1 type 0, unsol capa 0
        Widget type 4 (Pin complex)(jack)
        Power State 0
        Config default 411111f0
Node 32, parent 1 type 0, unsol capa 0
        Widget type 15 (Vendor defined audio)(vendor)
        Power State 0
Node 33, parent 1 type 0, unsol capa 0
        Widget type 6 (Volume knob)(vol)
        Power State 0
Node 34, parent 1 type 0, unsol capa 0
        Widget type 3 (Audio selector)(select)
        Power State 0
        Conn list (10): 24 25 26 27 28 29 20 21 11 18
Node 35, parent 1 type 0, unsol capa 0
        Widget type 2 (Audio mixer)(mix)
        Power State 0
        Conn list (9): 24 25 26 27 28 29 20 21 11
Node 36, parent 1 type 0, unsol capa 0
        Widget type 2 (Audio mixer)(mix)
        Power State 0
        Conn list (9): 24 25 26 27 28 29 20 21 11
HD audio Codec ID: 10ec0262 (ALC262)
HDA codec revision 1.0 (2.2) (0x00100202)
**** Codec 0 ****
First node 1, num nodes 1
        Group 1 First node 2, num nodes 35
Mixer: Intel HD Audio ALC262
Create instance 1
vmix_masterdev=0
vmix_inputdev=2
vmix_rate=48000

Check masterdev eng=0/HD Audio play speaker
Vmix masterdev=0
oss_audio_open_engine(0, mode=0x2)
oss_audio_open_engine(2, mode=0x1)
Expand factor was = 1024 (1.00)
Expand factor inverted to = 1024 (1.00)
No format conversions needed
Master dev 2 is OK
PCI: Enabling device 0000:07:00.0 (0140 -> 0142)
ACPI: PCI Interrupt 0000:07:00.0[A] -> GSI 30 (level, low) -> IRQ 154
oss_hdaudio_attach entered
oss_hdaudio: oss_hdaudio_attach: Already attached
ACPI: PCI interrupt for device 0000:07:00.0 disabled
oss_hdaudio: probe of 0000:07:00.0 failed with error -5
usbcore: registered new driver oss_usb
oss_cdev_open(2): mixer, class=6, instance=0
oss_cdev_open(2): mixer, class=6, instance=0
oss_cdev_open(0): sndstat, class=0, instance=0
oss_cdev_open(2): mixer, class=6, instance=0
oss_cdev_open(2): mixer, class=6, instance=0
oss_cdev_open(2): mixer, class=6, instance=0


ossinfo after the patch
Code: Select all
Version info: OSS 4.2 (b 2003/201007011423) (0x00040100) GPL
Platform: Linux/i686 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 (nasif-exec-1)

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


Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 Intel HD Audio interrupts=417 (417)
    HD Audio controller Intel HD Audio
    Vendor ID    0x80863a3e
    Subvendor ID 0x80863a3e
     Codec  0: ALC262 (0x10ec0262/0x10f17010)
2: oss_hdaudio1
3: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: High Definition Audio ALC262 (Mixer 0 of device object 1)

Audio devices
HD Audio play speaker             /dev/oss/oss_hdaudio0/pcm0  (device index 0)
HD Audio play headphone           /dev/oss/oss_hdaudio0/pcm1  (device index 1)
HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin0  (device index 2)
HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin1  (device index 3)
HD Audio rec select               /dev/oss/oss_hdaudio0/pcmin2  (device index 4)

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_mmap -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0


ossdetect -v after the patch
Code: Select all
Detected Creative Labs SB XFi Xtreme
Detected Intel High Definition Audio (ICH10)
USB support available in the system, adding USB driver
Detected Generic USB audio/MIDI device (BETA)


Tried the modprobe snd-hda-intel probe_mask=3 and there was zero output. Running all commands as root. dmesg had no new data after running the command either. This would be consistent with the Sound Card Detection Application not detecting the XFI at all when ALSA is loaded.

Matt Norris
Lead Software Engineer
ATC Simulation and Training Systems
SYMVIONICS, Inc
mattnorris
New Member
 
Posts: 5
Joined: Wed Jun 30, 2010 2:37 pm

Re: XFI Xtreme PCIe on CENTOS 5.4 OSS 4.2 Build 2003

Postby cesium » Fri Jul 02, 2010 4:55 pm

You understand of course that modprobing the ALSA module would have to be done when OSS is not loaded, since otherwise it will occupy the card? I assume you do.

OK, this is above my league. Perhaps you should ask the OSS devs at the mailing list about this.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: XFI Xtreme PCIe on CENTOS 5.4 OSS 4.2 Build 2003

Postby mattnorris » Fri Jul 02, 2010 5:35 pm

Thanks for the help.

Yep OSS was uninstalled and ALSA was running when I did the mobprobe.

Will get in touch with dev. Appears this is not as simple as I had hoped it would be.

Matt Norris
Lead Software Engineer
ATC Simulation and Training Systems
SYMVIONICS, Inc
mattnorris
New Member
 
Posts: 5
Joined: Wed Jun 30, 2010 2:37 pm


Return to Linux

Who is online

Users browsing this forum: cwpjr and 1 guest

cron