Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Soundblaster X-Fi + Atheros wireless = hang. Why? [CLOSED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Fog_Watch
Apprentice
Apprentice


Joined: 24 Jul 2006
Posts: 267
Location: Utility Muffin Research Kitchen

PostPosted: Fri Jun 14, 2013 4:39 am    Post subject: Soundblaster X-Fi + Atheros wireless = hang. Why? [CLOSED] Reply with quote

My motherboard has the following two cards:
Quote:
lspci -vvs 05:00.0 && lspci -vvs 05:02.0
05:00.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Wireless Network Adapter (rev 01)
Subsystem: Cisco Aironet Wireless Communications Device cc21
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: 168 (2500ns min, 7000ns max), Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 21
Region 0: Memory at e4200000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME-
Kernel driver in use: ath5k

05:02.0 Multimedia audio controller: Creative Labs SB X-Fi
Subsystem: Creative Labs Device 0029
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: 32 (1000ns min, 1250ns max), Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 18
Region 0: I/O ports at 1000 [size=32]
Region 1: Memory at e4000000 (64-bit, non-prefetchable) [size=2M]
Region 3: Memory at e0000000 (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 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Kernel driver in use: snd_ctxfi

If I attempt to play sound through the X-Fi card the machine completely hangs. However, if I pull the wi-fi card the machine no-longer hangs when I play sound through the X-Fi.

The hang occurs whether or not the on-board sound is disabled in the bios.

Is there a way to configure this machine so that the wi-fi card and the X-Fi card can co-exist?

Regards

Fog_Watch.

PS
Quote:
uname -pio
Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz GenuineIntel GNU/Linux


Last edited by Fog_Watch on Sat Jun 22, 2013 11:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Fri Jun 14, 2013 5:02 am    Post subject: Reply with quote

You need to experiment, e.g. the kernel bootup option:

Code:
pci=pcie_bus_peer2peer

There's many other pci= options.
_________________
Improve your font rendering and ALSA sound
Back to top
View user's profile Send private message
Fog_Watch
Apprentice
Apprentice


Joined: 24 Jul 2006
Posts: 267
Location: Utility Muffin Research Kitchen

PostPosted: Fri Jun 14, 2013 6:56 am    Post subject: Reply with quote

PaulBredbury wrote:
You need to experiment, e.g. the kernel bootup option:

Code:
pci=pcie_bus_peer2peer

There's many other pci= options.

Indeed there is.

I'm fearful that this exercise is going to hurt my little head.

Parameters skip_isa_align, nobios and the more mysterious pcie_bus_peer2peer, chosen at random, do appear to change the length of time (seconds) it takes before a hang occurs. I'm still however without luck. I'll try again.

Thanks PaulBredbury.
Back to top
View user's profile Send private message
Fog_Watch
Apprentice
Apprentice


Joined: 24 Jul 2006
Posts: 267
Location: Utility Muffin Research Kitchen

PostPosted: Tue Jun 18, 2013 6:09 am    Post subject: Reply with quote

Knoppix can get this hardware to go. Given that I haven't had much luck with pci=, how do I work out what they did that is different from me (.config)?
Back to top
View user's profile Send private message
Fog_Watch
Apprentice
Apprentice


Joined: 24 Jul 2006
Posts: 267
Location: Utility Muffin Research Kitchen

PostPosted: Sat Jun 22, 2013 11:47 pm    Post subject: Reply with quote

I have swapped out my horrible Cisco Aironet and put in a RT61 card:
Quote:
lspci -vvs 05:00.0
05:00.0 Network controller: Ralink corp. RT2561/RT61 rev B 802.11g
Subsystem: D-Link System Inc AirPlus G DWL-G510 Wireless Network Adapter (Rev.C)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 21
Region 0: Memory at e4200000 (32-bit, non-prefetchable) [size=32K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: rt61pci

The machine no-longer hangs - so this is closed.
Code:

...................Dangerously off-topic alert..................
|                                                              |
| In attempting to solve this I tried a Creative EMU10K1 card. |
| Don't: it sounds horrible.  Initial impressions of the X-Fi  |
| card are that is reproduces quite nicely.                    |
|                                                              |
| The RT61 card was a little tricky to get going.  In addition |
| to the kernel module some firmware is needed.                |
| net-wireless/rt61-firmware is of no use here as the links    |
| are stale.  A work around is to go to mediatek.com, get the  |
| Linux RT61 download and unpack the firmware *.bin(s) into    |
| /lib/firmware.  The card has a much better range than the    |
| Aironet.                                                     |
|                                                              |
"---------------------------------------------------------------
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum