LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Problem with SB Live! and setpci (https://www.linuxquestions.org/questions/linux-hardware-18/problem-with-sb-live-and-setpci-106172/)

shadfiel 10-20-2003 02:09 AM

Problem with SB Live! and setpci
 
Hi,
I've been having a lot of issues with my SB Live! sound card and I think I've found the root of the problem, but now I need some help fixing it. Linux thinks my SB Live sound card is actually a "VGA compatible" device. Doing a lspci it gives me the following line:

00:0f.0 VGA compatible unclassified device: Creative Labs SB Live! EMU10k1 (rev 08)

So when I start up XFree, it almost immediately locks up my system. I think because it's trying to grab my SB as a video device. I've determined that my motherboard also recognizes this as a video card. I once flashed my bios, which set one of the options to check for pci video cards before agp, and my computer wouldn't load because it thought the sound card should be loaded as a video card.

Anyways, I've got another machine running a slightly different make of the SB Live and a different motherboard. When I do a lspci on it I get:

00:0f.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)

Which is what it should be. So I figured that maybe I could use setpci to set my sound card appropriately. After about a bit of research I figured out that the part that says:
"VGA compatible unclassified device" and
"Multimedia audio controller"
Comes from the CLASS_DEVICE register. The "multimedia" is hex 0401, and the VGA is 0001. So I tried running the command:

/sbin/setpci -s 00:0f.0 class_device=0401

But then when I test the value again is still says that class_device=0001

I'm not really familiar with the setpci command or modifying pci devices. This is the first time I've tried it. Can anyone help me out here?


Also, there may be another solution to this problem that I'm not aware of...
Is it possible to force XFree to use a specified video device, or at least to use only AGP and not even check PCI for video cards?


Thanks!


All times are GMT -5. The time now is 12:55 PM.