[linux-audio-user] snd-hdsp+cardbus+M6807 notebook=distortion -- FIXED!

Tim Blechmann TimBlechmann at gmx.net
Wed Apr 21 15:55:48 BST 2004


> if it doesn't work, try playing with o2micro.h. i did three blocks
> there to enable/disable the FIFO/postwriting. test them all, only one
> at a time to #if 1, the other two to #if 0
i tested all the three setups ... none worked :-(

> also a full lspci -vvv and a hexdump of the config space of the PCI
> bridge (i think you have a 82801BA/CA pci bridge, right?) it may
> be that the BIOS did something wrong there and linux doesn't take
> care about. (plus the windows one to compare)

lspci -vvv:
0000:00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host
Bridge (rev 04)	Subsystem: Acer Incorporated [ALI]: Unknown device 0019
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B-	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr-
DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-	Latency: 0
	Region 0: Memory at ec000000 (32-bit, prefetchable)
	Capabilities: [e4] #09 [9104]
	Capabilities: [a0] AGP version 2.0
		Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans-
64bit- FW+ AGP3- Rate=x1,x2,x4		Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP+ GART64-
64bit- FW- Rate=x1

0000:00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP
Bridge (rev 04) (prog-if 00 [Normal decode])	Control: I/O+ Mem+ BusMaster+
SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-	Status: Cap-
66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort-
>SERR- <PERR-
	Latency: 96
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
	I/O behind bridge: 00003000-00003fff
	Memory behind bridge: e8000000-e80fffff
	Prefetchable memory behind bridge: f0000000-f7ffffff
	Expansion ROM at 00003000 [disabled] [size=4K]
	BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-

0000:00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 05)
(prog-if 00 [Normal decode])	Control: I/O+ Mem+ BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-	Status: Cap- 66Mhz- UDF-
FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-	Latency:
0	Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
	I/O behind bridge: 00004000-00004fff
	Memory behind bridge: e8100000-e81fffff
	Prefetchable memory behind bridge: fff00000-000fffff
	BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-

0000:00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 05)
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr-
DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-	Latency: 0

0000:00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 05)
(prog-if 80 [Master])	Subsystem: Acer Incorporated [ALI]: Unknown device 0019
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr-
DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-	Latency: 0
	Region 4: I/O ports at 1800 [size=16]

0000:00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev
05) (prog-if 00 [UHCI])	Subsystem: Acer Incorporated [ALI]: Unknown
device 0019	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-	Status: Cap- 66Mhz- UDF- FastB2B+
ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-	Latency:
0	Interrupt: pin D routed to IRQ 5
	Region 4: I/O ports at 1820 [size=32]

0000:00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 05)
	Subsystem: Acer Incorporated [ALI]: Unknown device 0019
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr-
DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-	Interrupt: pin B
routed to IRQ 11	Region 4: I/O ports at 1810 [size=16]

0000:00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev
05) (prog-if 00 [UHCI])	Subsystem: Acer Incorporated [ALI]: Unknown
device 0019	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-	Status: Cap- 66Mhz- UDF- FastB2B+
ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-	Latency:
0	Interrupt: pin C routed to IRQ 11
	Region 4: I/O ports at 1840 [size=32]

0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97
Audio (rev 05)	Subsystem: Acer Incorporated [ALI]: Unknown device 0019
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr-
DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-	Latency: 0
	Interrupt: pin B routed to IRQ 11
	Region 0: I/O ports at 1c00
	Region 1: I/O ports at 1880 [size=64]

0000:00:1f.6 Modem: Intel Corp. Intel 537 [82801BA/BAM AC'97 Modem] (rev
05) (prog-if 00 [Generic])	Subsystem: Acer Incorporated [ALI]: Unknown
device 0019	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-	Status: Cap- 66Mhz- UDF- FastB2B+
ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin B routed to IRQ 11	Region 0: I/O ports at 2400
	Region 1: I/O ports at 2000 [size=128]

0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon
Mobility M6 LY (prog-if 00 [VGA])	Subsystem: Acer Incorporated [ALI]:
Unknown device 0019	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV-
VGASnoop- ParErr- Stepping+ SERR+ FastB2B+	Status: Cap+ 66Mhz+ UDF-
FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 66 (2000ns min), cache line size 08	Interrupt: pin A routed
to IRQ 5	Region 0: Memory at f0000000 (32-bit, prefetchable)
	Region 1: I/O ports at 3000 [size=256]
	Region 2: Memory at e8000000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: [58] AGP version 2.0
		Status: RQ=48 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans-
64bit- FW- AGP3- Rate=x1,x2,x4		Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64-
64bit- FW- Rate=x1	Capabilities: [50] 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-

0000:02:00.0 CardBus bridge: O2 Micro, Inc. OZ6933 Cardbus Controller
(rev 01)	Subsystem: Acer Incorporated [ALI]: Unknown device 0019
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping+ SERR- FastB2B-	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr-
DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-	Latency: 168
	Interrupt: pin A routed to IRQ 5
	Region 0: Memory at 20000000 (32-bit, non-prefetchable)
	Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
	Memory window 0: 20400000-207ff000 (prefetchable)
	Memory window 1: 20800000-20bff000
	I/O window 0: 00004400-000044ff
	I/O window 1: 00004800-000048ff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
	16-bit legacy interface ports at 0001

0000:02:00.1 CardBus bridge: O2 Micro, Inc. OZ6933 Cardbus Controller
(rev 01)	Subsystem: Acer Incorporated [ALI]: Unknown device 0019
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping+ SERR- FastB2B-	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr-
DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-	Latency: 168
	Interrupt: pin B routed to IRQ 11
	Region 0: Memory at 20001000 (32-bit, non-prefetchable)
	Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
	Memory window 0: 20c00000-20fff000 (prefetchable)
	Memory window 1: 21000000-213ff000
	I/O window 0: 00004c00-00004cff
	I/O window 1: 00005000-000050ff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
	16-bit legacy interface ports at 0001

0000:02:08.0 Ethernet controller: Intel Corp. 82801BA/BAM/CA/CAM
Ethernet Controller (rev 03)	Subsystem: Acer Incorporated [ALI]:
Unknown device 0019	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+
VGASnoop- ParErr- Stepping- SERR+ FastB2B-	Status: Cap+ 66Mhz- UDF-
FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 66 (2000ns min, 14000ns max), cache line size 08	Interrupt: pin A
routed to IRQ 11	Region 0: Memory at e8100000 (32-bit, non-prefetchable)
	Region 1: I/O ports at 4000 [size=64]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA
PME(D0+,D1+,D2+,D3hot+,D3cold+)		Status: D0 PME-Enable+ DSel=0 DScale=2
PME-

0000:07:00.0 Multimedia audio controller: Xilinx Corporation RME
Hammerfall DSP (rev 0b)	Control: I/O- Mem+ BusMaster+ SpecCycle-
MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-	Status: Cap- 66Mhz- UDF-
FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 255	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at 21000000 (32-bit, non-prefetchable)



hexdump (pci-pci bridge):
0000000 8086 244e 0107 0080 0005 0604 0000 0001
0000010 0000 0000 0000 0000 0200 4002 4040 a280
0000020 e810 e810 fff0 0000 0000 0000 0000 0000
0000030 0000 0000 0000 0000 0000 0000 0000 0004
0000040 2800 2020 0000 0000 0000 0000 0000 0000
0000050 0002 0000 0000 0000 0000 0000 0000 0000
0000060 0000 0000 0000 0000 0000 0000 0000 0000
0000070 0040 0000 0000 0000 0000 0000 0000 0000
0000080 0000 0048 0000 0000 0000 0000 0000 0000
0000090 0000 0000 0000 0000 0000 0000 0000 0000
00000a0 0010 0008 0000 0000 0000 0000 0000 0000
00000b0 0001 0002 0003 00c0 0000 0000 0000 0000
00000c0 0000 0000 0000 0000 0000 0000 0000 0000
*
00000f0 0000 0000 0000 0000 0f47 0000 0000 0000

windows settings (seem to be absolutely the same):
-------------------------------------------------------- 
WPCREDIT Version 1.2a / Copyright (c) 1998-99  By H.Oda! 
-------------------------------------------------------- 
PCI Bus : 0    Vendor ID: 8086                           
Device  : 30   Device ID: 244E                           
Function: 0    Revision : 05   PCI-PCI Bridge            
-------------------------------------------------------- 
      00 01 02 03 04 05 06 07  08 09 0A 0B 0C 0D 0E 0F   
    + -- -- -- -- -- -- -- --  -- -- -- -- -- -- -- --   
 00 | 86 80 4E 24 07 01 80 00  05 00 04 06 00 00 01 00   
 10 | 00 00 00 00 00 00 00 00  00 02 57 40 40 40 80 22   
 20 | 10 E8 10 E8 F0 FF 00 00  00 00 00 00 00 00 00 00   
 30 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 04 00   
 40 | 00 28 20 20 00 00 00 00  00 00 00 00 00 00 00 00   
 50 | 02 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   
 60 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   
 70 | 40 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   
 80 | 00 00 40 00 00 00 00 00  00 00 00 00 00 00 00 00   
 90 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   
 A0 | 10 00 08 00 00 00 00 00  00 00 00 00 00 00 00 00   
 B0 | 01 00 02 00 03 00 C0 00  00 00 00 00 00 00 00 00   
 C0 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   
 D0 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   
 E0 | 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   
 F0 | 00 00 00 00 00 00 00 00  47 0F 00 00 00 00 00 00   
-------------------------------------------------------- 

cheers...

 Tim                          mailto:TimBlechmann at gmx.de
                              ICQ: 96771783
--
The only people for me are the mad ones, the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn,
burn, like fabulous yellow roman candles exploding like spiders across
the stars and in the middle you see the blue centerlight pop and
everybody goes "Awww!"
                                                          Jack Kerouac




More information about the linux-pcmcia mailing list