LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   SoundBlaster X-Fi Xtreme Music not working on Suse 11 (https://www.linuxquestions.org/questions/linux-hardware-18/soundblaster-x-fi-xtreme-music-not-working-on-suse-11-a-658467/)

ieduarte73 07-26-2008 06:11 PM

SoundBlaster X-Fi Xtreme Music not working on Suse 11
 
I have finally made the switch, threw away Vista Ultimate and replaced it with OpenSUSE 11 64-bit (KDE4), I am running this on my Dell Dimension XPS 710, 4GB RAM, 2X280 GB SATA HD, nVidia GEForce 7900GS, and Creative SoundBlaster X-Fi Xtreme Music.

Everything works, including my bluethoot Keyboard and Mouse, but I can't get to work the sound, even though the Hardware Info program on this distro recognizes the device.

I went into ALSA project ant the only info there is that this is a new device and Creative already released information useful for developers, but no driver at all.

Any Ideas ??

ieduarte73 07-28-2008 07:21 PM

It is working OK now
 
I found the answer to my problem in the following website:

http://www.4front-tech.com/release/

You can look there for the driver in any architecture/platform (.deb, .rpm)

All you need to do is install the package and then test your card using:

# osstest

from the console, if you are able to listen any music, you're all set.

This is a driver from OpenSound Systems, and worked for me.

OldBob1 08-02-2008 05:59 PM

Proprietory drivers available for XtremeMusic
 
Creative does have proprietory drivers available for this - Here's the link...http://support.creative.com/download...wnloadId=10530

---Let us know if they work!!---

Xalorous 12-06-2008 10:04 AM

how to use the proprietary drivers?
 
Quote:

Originally Posted by OldBob1 (Post 3234666)
Creative does have proprietory drivers available for this - Here's the link...support.creative.com/downloads/download.aspx?nDownloadId=10530

---Let us know if they work!!---

I downloaded them, unzipped and tried to follow the instructions in the README, which were to run make and make install as root.

Tried first without root, then tried with sudo, then did su and tried again. Evidently SuSE 11.0 doesn't have 'make'.

How can it not have make?

How can I compile and install the driver?

Xalorous 12-06-2008 10:29 AM

first part fixed
 
I installed make from the DVD. I guess previous linux installs (I'm rusty) included it by default.

New problem:
Code:

desktop-suse64:/home/<username>/downloads/XFiDrv_Linux_Public_US_1.00 # make
make -C /lib/modules/2.6.25.5-1.1-default/build M=/home/<username>/downloads/XFiDrv_Linux_Public_US_1.00
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/x86_64/default'
make: *** [all] Error 2

My wife says it's gibberish. I just know it's an error code that I do not know how to fix. Any help would be appreciated.

Thanks,
Xal

hawkshead 12-14-2008 08:04 AM

the problem appears to be that the ctdrv.h file. You need to determine your X-Fi sound card SUBSYSTEM Device identifier using :-

lspci -nv

You will see something like this:-
01:00.0 0401: 1102:0005
Subsystem: 1102:002c
Flags: bus master, medium devsel, latency 64, IRQ 18
I/O ports at ec00 [size=32]
Memory at fbe00000 (64-bit, non-prefetchable) [size=2M]
Memory at f4000000 (64-bit, non-prefetchable) [size=64M]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Kernel driver in use: CTALSA

edit ctdrv.h and Substitute define PCI_SUBSYS_CREATIVE_SB0880 0x0041 with 0x002c

The 0x002c could be one of several Hex Codes depending on model of card
002c is X-Fi Xtreme Gamer Fatal1ty Pro. I do believe they are all different depending on model.

Check your kernel is as you say uname -r

eg. 2.6.25.18-0.2-default You must have matching kernel-source installed

then make
make install

modprobe ctxfi

and all should be well email me if there is anything else It took some research to find out procedure which I did not write down

Xalorous 12-22-2008 02:07 PM

Quote:

Originally Posted by hawkshead (Post 3375058)
the problem appears to be that the ctdrv.h file. You need to determine your X-Fi sound card SUBSYSTEM Device identifier using :-

lspci -nv

You will see something like this:-
01:00.0 0401: 1102:0005
Subsystem: 1102:002c
Flags: bus master, medium devsel, latency 64, IRQ 18
I/O ports at ec00 [size=32]
Memory at fbe00000 (64-bit, non-prefetchable) [size=2M]
Memory at f4000000 (64-bit, non-prefetchable) [size=64M]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Kernel driver in use: CTALSA

edit ctdrv.h and Substitute define PCI_SUBSYS_CREATIVE_SB0880 0x0041 with 0x002c

The 0x002c could be one of several Hex Codes depending on model of card
002c is X-Fi Xtreme Gamer Fatal1ty Pro. I do believe they are all different depending on model.

Check your kernel is as you say uname -r

eg. 2.6.25.18-0.2-default You must have matching kernel-source installed

then make
make install

modprobe ctxfi

and all should be well email me if there is anything else It took some research to find out procedure which I did not write down

Ok, I ran the first command, and I vaguely understand the next steps, but I can't figure out the result of the first command.

Code:

desktop-suse64:/home/scott # lspci -nv
00:00.0 0600: 8086:2e20 (rev 03)
        Subsystem: 1458:5000
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information <?>

00:01.0 0604: 8086:2e21 (rev 03) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000b000-0000bfff
        Memory behind bridge: e4000000-e7ffffff
        Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
        Capabilities: [88] Subsystem: 1458:5000
        Capabilities: [80] Power Management version 3
        Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
        Capabilities: [a0] Express Root Port (Slot+), MSI 00
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [140] Root Complex Link <?>
        Kernel driver in use: pcieport-driver
        Kernel modules: shpchp

00:1a.0 0c03: 8086:3a37 (prog-if 00 [UHCI])
        Subsystem: 1458:5004
        Flags: bus master, medium devsel, latency 0, IRQ 16
        I/O ports at e100 [size=32]
        Capabilities: [50] PCIe advanced features <?>
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci-hcd

00:1a.1 0c03: 8086:3a38 (prog-if 00 [UHCI])
        Subsystem: 1458:5004
        Flags: bus master, medium devsel, latency 0, IRQ 21
        I/O ports at e200 [size=32]
        Capabilities: [50] PCIe advanced features <?>
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci-hcd

00:1a.2 0c03: 8086:3a39 (prog-if 00 [UHCI])
        Subsystem: 1458:5004
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at e000 [size=32]
        Capabilities: [50] PCIe advanced features <?>
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci-hcd

00:1a.7 0c03: 8086:3a3c (prog-if 20 [EHCI])
        Subsystem: 1458:5006
        Flags: bus master, medium devsel, latency 0, IRQ 18
        Memory at e9401000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd

00:1c.0 0604: 8086:3a40 (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
        Capabilities: [90] Subsystem: 1458:5001
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [180] Root Complex Link <?>
        Kernel driver in use: pcieport-driver
        Kernel modules: shpchp

00:1c.1 0604: 8086:3a42 (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=04, sec-latency=0
        Memory behind bridge: e9100000-e91fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
        Capabilities: [90] Subsystem: 1458:5001
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [180] Root Complex Link <?>
        Kernel driver in use: pcieport-driver
        Kernel modules: shpchp

00:1c.3 0604: 8086:3a46 (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: e9000000-e90fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
        Capabilities: [90] Subsystem: 1458:5001
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [180] Root Complex Link <?>
        Kernel driver in use: pcieport-driver
        Kernel modules: shpchp

00:1c.4 0604: 8086:3a48 (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: e8000000-e8ffffff
        Prefetchable memory behind bridge: 00000000e9200000-00000000e92fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
        Capabilities: [90] Subsystem: 1458:5001
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [180] Root Complex Link <?>
        Kernel driver in use: pcieport-driver
        Kernel modules: shpchp

00:1d.0 0c03: 8086:3a34 (prog-if 00 [UHCI])
        Subsystem: 1458:5004
        Flags: bus master, medium devsel, latency 0, IRQ 23
        I/O ports at e300 [size=32]
        Capabilities: [50] PCIe advanced features <?>
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci-hcd

00:1d.1 0c03: 8086:3a35 (prog-if 00 [UHCI])
        Subsystem: 1458:5004
        Flags: bus master, medium devsel, latency 0, IRQ 19
        I/O ports at e400 [size=32]
        Capabilities: [50] PCIe advanced features <?>
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci-hcd

00:1d.2 0c03: 8086:3a36 (prog-if 00 [UHCI])
        Subsystem: 1458:5004
        Flags: bus master, medium devsel, latency 0, IRQ 18
        I/O ports at e500 [size=32]
        Capabilities: [50] PCIe advanced features <?>
        Kernel driver in use: uhci_hcd
        Kernel modules: uhci-hcd

00:1d.7 0c03: 8086:3a3a (prog-if 20 [EHCI])
        Subsystem: 1458:5006
        Flags: bus master, medium devsel, latency 0, IRQ 23
        Memory at e9400000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd

00:1e.0 0604: 8086:244e (rev 90) (prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=07, subordinate=07, sec-latency=32
        Memory behind bridge: e9300000-e93fffff
        Capabilities: [50] Subsystem: 1458:5000

00:1f.0 0601: 8086:3a16
        Subsystem: 1458:5001
        Flags: bus master, medium devsel, latency 0
        Capabilities: [e0] Vendor Specific Information <?>

00:1f.2 0101: 8086:3a20 (prog-if 8a [Master SecP PriP])
        Subsystem: 1458:b002
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
        I/O ports at 01f0 [size=8]
        I/O ports at 03f4 [size=1]
        I/O ports at 0170 [size=8]
        I/O ports at 0374 [size=1]
        I/O ports at f000 [size=16]
        I/O ports at f100 [size=16]
        Capabilities: [70] Power Management version 3
        Capabilities: [b0] PCIe advanced features <?>
        Kernel driver in use: ata_piix
        Kernel modules: ide-pci-generic, ata_piix, pata_acpi, ata_generic

00:1f.3 0c05: 8086:3a30
        Subsystem: 1458:5001
        Flags: medium devsel, IRQ 18
        Memory at e9402000 (64-bit, non-prefetchable) [size=256]
        I/O ports at 0500 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c-i801

00:1f.5 0101: 8086:3a26 (prog-if 85 [Master SecO PriO])
        Subsystem: 1458:b002
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
        I/O ports at e700 [size=8]
        I/O ports at e800 [size=4]
        I/O ports at e900 [size=8]
        I/O ports at ea00 [size=4]
        I/O ports at eb00 [size=16]
        I/O ports at ec00 [size=16]
        Capabilities: [70] Power Management version 3
        Capabilities: [b0] PCIe advanced features <?>
        Kernel driver in use: ata_piix
        Kernel modules: ide-pci-generic, ata_piix, pata_acpi, ata_generic

01:00.0 0300: 10de:0612 (rev a2) (prog-if 00 [VGA controller])
        Subsystem: 3842:c873
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at e6000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Memory at e4000000 (64-bit, non-prefetchable) [size=32M]
        I/O ports at b000 [size=128]
        [virtual] Expansion ROM at e7000000 [disabled] [size=128K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information <?>
        Kernel driver in use: nvidia
        Kernel modules: nvidia, nvidiafb

03:00.0 0604: 1102:7006 (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=03, secondary=04, subordinate=04, sec-latency=32
        Memory behind bridge: e9100000-e91fffff
        Capabilities: [50] Power Management version 3
        Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/4 Enable-
        Capabilities: [80] Subsystem: 1102:0010
        Capabilities: [90] Express PCI/PCI-X Bridge, MSI 00
        Capabilities: [100] Advanced Error Reporting <?>
        Kernel modules: shpchp

04:00.0 0403: 1102:0009
        Subsystem: 1102:0018
        Flags: bus master, medium devsel, latency 32, IRQ 5
        Memory at e9100000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [dc] Power Management version 3

05:00.0 0106: 197b:2363 (rev 02) (prog-if 01 [AHCI 1.0])
        Subsystem: 1458:b000
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Memory at e9000000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: [68] Power Management version 2
        Capabilities: [50] Express Legacy Endpoint, MSI 01
        Kernel driver in use: ahci
        Kernel modules: ahci

05:00.1 0101: 197b:2363 (rev 02) (prog-if 85 [Master SecO PriO])
        Subsystem: 1458:b000
        Flags: bus master, fast devsel, latency 0, IRQ 16
        I/O ports at c000 [size=8]
        I/O ports at c100 [size=4]
        I/O ports at c200 [size=8]
        I/O ports at c300 [size=4]
        I/O ports at c400 [size=16]
        Capabilities: [68] Power Management version 2
        Kernel driver in use: pata_jmicron
        Kernel modules: jmicron, ide-pci-generic, pata_jmicron, pata_acpi, ata_generic

06:00.0 0200: 10ec:8168 (rev 02)
        Subsystem: 1458:e000
        Flags: bus master, fast devsel, latency 0, IRQ 4346
        I/O ports at d000 [size=256]
        Memory at e9210000 (64-bit, prefetchable) [size=4K]
        Memory at e9200000 (64-bit, prefetchable) [size=64K]
        [virtual] Expansion ROM at e9220000 [disabled] [size=64K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable+
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [b0] MSI-X: Enable- Mask- TabSize=2
        Capabilities: [d0] Vital Product Data <?>
        Capabilities: [100] Advanced Error Reporting <?>
        Capabilities: [140] Virtual Channel <?>
        Capabilities: [160] Device Serial Number 78-56-34-12-78-56-34-12
        Kernel driver in use: r8169
        Kernel modules: r8169

07:07.0 0c00: 104c:8024 (prog-if 10 [OHCI])
        Subsystem: 1458:1000
        Flags: bus master, medium devsel, latency 32, IRQ 23
        Memory at e9304000 (32-bit, non-prefetchable) [size=2K]
        Memory at e9300000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 2
        Kernel driver in use: ohci1394
        Kernel modules: ohci1394

As you can see, there are a lot of results in there and I do not see one that looks like the sound card to me.

hawkshead 12-23-2008 03:01 PM

Firstly I would re-iterate that I am no expert in this - I am however willing to help in anyway I can

The first requisite is that kernel source is loaded and is the same as the kernel you are using

I'm using 2.6.25.18-0.2-default and its 2.6.25.18-0.2-default source
I have installed just as successfully using the Latest SUSE 11.1 Release
I do always load sound mixers and any sound stuff when installing.

run command :- lsmod This should show lots of stuff related to 'snd'

It would at a guess suggest you have the onboard sound device disabled in the system BIOS section or possibly you have not set up sound in YAST2 Hardware>Sound for the onboard sound device.

Again I'm guessing this loads kernel driver CTALSA and other stuff for the on board card most of which appears also to be required in order to progress any sound configuration.

Perhaps someone with a much greater knowledge of what software such as ALSA and OSS needs to be there available to influence the above

run YAST2 Control Centre>Hardware > Hardware Information

In the sound devices section you should see something like this (its a long way down on the printout):-

18: PCI 100.0: 0401 Multimedia audio controller
[Created at pci.310]
UDI: /org/freedesktop/Hal/devices/pci_1102_5
Unique ID: VCu0.myxnxZD20h2
Parent ID: H0_h.8LoPsVNGJbF
SysFS ID: /devices/pci0000:00/0000:00:06.0/0000:01:00.0
SysFS BusID: 0000:01:00.0
Hardware Class: sound
Model: "Creative SB X-Fi"
Vendor: pci 0x1102 "Creative Labs"
Device: pci 0x0005 "SB X-Fi"
SubVendor: pci 0x1102 "Creative Labs"
SubDevice: pci 0x002c <<<<<<<<<<<<<
Driver: "CTALSA"
Driver Modules: "ctxfi"
I/O Ports: 0xec00-0xec1f (rw)
Memory Range: 0xfbe00000-0xfbffffff (rw,non-prefetchable)
Memory Range: 0xf4000000-0xf7ffffff (rw,non-prefetchable)
IRQ: 18 (no events)
Module Alias: "pci:v00001102d00000005sv00001102sd0000002Cbc04sc01i00"bc04sc01i00"
Driver Info #0:
Driver Status: ctxfi is active
Driver Activation Cmd: "modprobe ctxfi"
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #32 (PCI bridge)

Try command:-

lspci -xvvv
Amongst much more info you should see this info.

01:00.0 Multimedia audio controller: Creative Labs SB X-Fi
Subsystem: Creative Labs Device 002c
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (1000ns min, 1250ns max), Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 18
Region 0: I/O ports at ec00 [size=32]
Region 1: Memory at fbe00000 (64-bit, non-prefetchable) [size=2M]
Region 3: Memory at f4000000 (64-bit, non-prefetchable) [size=64M]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Kernel driver in use: CTALSA
Kernel modules: ctxfi

Hope some more light is shed on the topic.


All times are GMT -5. The time now is 02:42 AM.