Skip to contentSkip to conversation

Maestro 2E vs. Power mgmt

DISCUSSION Faux Pas III 3 participants 14 messages Nov 15, 2001 – Nov 18, 2001

lore
Share & tools
lore
#0 lore raw

I have a Toshiba laptop system (dynabook 3380v) with integrated Maestro 2E sound. This works fine and dandy when on AC power, but when on battery, the sound doesn't play properly... xmms and mpg123 show very slow (1/10 or so) progress through the file and the sound that results is a staticky approximation of the correct output.

The device shares irq 11 with the i82365 cardbus bridge, the NeoMagic 256va AGP chipset and the uhci usb controller. Driver output is thus:

maestro: Configuring ESS Maestro 2E fount at IO 0xEE00 IRQ 11
maestro: subvendor id: 0x00011179
maestro: PCI power management capability: 0x7622
maestro: AC97 Codec detected: v: 0x83847609 caps: 0x6940 pwr: 0xf
maestro: 1 channels configured.
maestro: version 0.15 time 14:51:38 Nov 15 2001

I've tried with the power management both off and on, and with apm off in the kernel altogether. Tried kernels 2.4.{13,14,15-pre{2,3}}

Signature · 1 line
Josh Litherland ([email protected])
#1 lore raw
Quoted 8 lines

Maestro 2E sound. This works fine and dandy when on AC power, but when on battery, the sound doesn't play properly... xmms and mpg123 show very slow (1/10 or so) progress through the file and the sound that results is a staticky approximation of the correct output.

I've tried with the power management both off and on, and with apm off in the kernel altogether. Tried kernels 2.4.{13,14,15-pre{2,3}}

Nothing immediately strikes me - could be its not got CLKRUN wired up properly. What pci bridges does it have ?

#2 lore raw
In reply to Faux Pas III
Quoted 2 lines · Alan Cox

Nothing immediately strikes me - could be its not got CLKRUN wired up properly. What pci bridges does it have ?

frabjous:~# lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (AGP disabled) (rev 03)
00:04.0 VGA compatible controller: Neomagic Corporation [MagicMedia 256AV] (rev 12)
00:05.0 Bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
00:05.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
00:05.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
00:05.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 03)
00:07.0 Communication controller: Lucent Microelectronics 56k WinModem (rev 01)
00:09.0 Communication controller: Toshiba America Info Systems FIR Port (rev 23)
00:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC97 (rev 05)
00:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC97 (rev 05)
00:0c.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
frabjous:~# 
Signature · 1 line
Josh Litherland ([email protected])
#3 lore raw
Quoted 7 lines
Quoted 2 lines

Nothing immediately strikes me - could be its not got CLKRUN wired up properly. What pci bridges does it have ?

frabjous:~# lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (AGP disabled) (rev 03)
00:04.0 VGA compatible controller: Neomagic Corporation [MagicMedia 256AV] (rev 12)
00:05.0 Bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)

Ok. Well if it is the CLKRUN stuff then I can give you a diff to try if you are happy rebuilding kernels

Alan

#4 lore raw
In reply to Faux Pas III
Quoted 18 lines · Faux Pas III

I have a Toshiba laptop system (dynabook 3380v) with integrated Maestro 2E sound. This works fine and dandy when on AC power, but when on battery, the sound doesn't play properly... xmms and mpg123 show very slow (1/10 or so) progress through the file and the sound that results is a staticky approximation of the correct output.

The device shares irq 11 with the i82365 cardbus bridge, the NeoMagic 256va AGP chipset and the uhci usb controller. Driver output is thus:

maestro: Configuring ESS Maestro 2E fount at IO 0xEE00 IRQ 11
maestro: subvendor id: 0x00011179
maestro: PCI power management capability: 0x7622
maestro: AC97 Codec detected: v: 0x83847609 caps: 0x6940 pwr: 0xf
maestro: 1 channels configured.
maestro: version 0.15 time 14:51:38 Nov 15 2001

Quoted 2 lines

I've tried with the power management both off and on, and with apm off in the kernel altogether. Tried kernels 2.4.{13,14,15-pre{2,3}}

Could you do a lspci -vv as root on that device both with AC and without? (to see the dump of of the PM capabilities?).

Thanks,

-pat

#5 lore raw
In reply to Faux Pas III
Quoted 1 line · Patrick Mochel

Could you do a lspci -vv as root on that device both with AC and without?

On AC:

frabjous:~# lspci -vv
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (AGP disabled) (rev 03)
        Subsystem: Toshiba America Info Systems: Unknown device 0001
        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: 64
        Region 0: Memory at e0000000 (32-bit, prefetchable) [size=256M]

00:04.0 VGA compatible controller: Neomagic Corporation [MagicMedia 256AV] (rev 12) (prog-if 00 [VGA])
Subsystem: Toshiba America Info Systems: Unknown device 0001
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: 64 (4000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at df000000 (32-bit, prefetchable) [size=16M]
Region 1: Memory at ff800000 (32-bit, non-prefetchable) [size=4M]
Region 2: Memory at ff700000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:05.0 Bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
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

00:05.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if 80 [Master])
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: 64
Region 4: I/O ports at 1000 [size=16]

00:05.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
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: 64
Interrupt: pin D routed to IRQ 11
Region 4: I/O ports at ffe0 [size=32]

00:05.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 03)
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 ? routed to IRQ 9

00:07.0 Communication controller: Lucent Microelectronics 56k WinModem (rev 01)
Subsystem: Toshiba America Info Systems Internal V.90 Modem
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 (63000ns min, 3500ns max)
Interrupt: pin A routed to IRQ 3
Region 0: Memory at ffefff00 (32-bit, non-prefetchable) [size=256]
Region 1: I/O ports at 02f8 [size=8]
Region 2: I/O ports at 1c00 [size=256]
Capabilities: [f8] 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-

00:09.0 Communication controller: Toshiba America Info Systems FIR Port (rev 23)
Subsystem: Toshiba America Info Systems: Unknown device 0001
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: 64
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at ff80 [size=32]

00:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC97 (rev 05)
Subsystem: Toshiba America Info Systems: Unknown device 0001
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: 0
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=14, subordinate=14, sec-latency=0
I/O window 0: 00000000-00000003
I/O window 1: 00000000-00000003
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
16-bit legacy interface ports at 0001

00:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC97 (rev 05)
Subsystem: Toshiba America Info Systems: Unknown device 0001
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: 0
Interrupt: pin B routed to IRQ 11
Region 0: Memory at 10001000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=15, subordinate=15, sec-latency=0
I/O window 0: 00000000-00000003
I/O window 1: 00000000-00000003
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
16-bit legacy interface ports at 0001

00:0c.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
Subsystem: Toshiba America Info Systems ES1978 Maestro-2E Audiodrive
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: 64 (500ns min, 6000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at ee00 [size=256]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D2 PME-Enable- DSel=0 DScale=0 PME-

frabjous:~#

And on battery:

frabjous:~# lspci -vv
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (AGP disabled) (rev 03)
        Subsystem: Toshiba America Info Systems: Unknown device 0001
        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: 64
        Region 0: Memory at e0000000 (32-bit, prefetchable) [size=256M]

00:04.0 VGA compatible controller: Neomagic Corporation [MagicMedia 256AV] (rev 12) (prog-if 00 [VGA])
Subsystem: Toshiba America Info Systems: Unknown device 0001
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: 64 (4000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at df000000 (32-bit, prefetchable) [size=16M]
Region 1: Memory at ff800000 (32-bit, non-prefetchable) [size=4M]
Region 2: Memory at ff700000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:05.0 Bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
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

00:05.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01) (prog-if 80 [Master])
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: 64
Region 4: I/O ports at 1000 [size=16]

00:05.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
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: 64
Interrupt: pin D routed to IRQ 11
Region 4: I/O ports at ffe0 [size=32]

00:05.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 03)
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 ? routed to IRQ 9

00:07.0 Communication controller: Lucent Microelectronics 56k WinModem (rev 01)
Subsystem: Toshiba America Info Systems Internal V.90 Modem
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 (63000ns min, 3500ns max)
Interrupt: pin A routed to IRQ 3
Region 0: Memory at ffefff00 (32-bit, non-prefetchable) [size=256]
Region 1: I/O ports at 02f8 [size=8]
Region 2: I/O ports at 1c00 [size=256]
Capabilities: [f8] 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-

00:09.0 Communication controller: Toshiba America Info Systems FIR Port (rev 23)
Subsystem: Toshiba America Info Systems: Unknown device 0001
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: 64
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at ff80 [size=32]

00:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC97 (rev 05)
Subsystem: Toshiba America Info Systems: Unknown device 0001
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: 0
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=14, subordinate=14, sec-latency=0
I/O window 0: 00000000-00000003
I/O window 1: 00000000-00000003
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
16-bit legacy interface ports at 0001

00:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC97 (rev 05)
Subsystem: Toshiba America Info Systems: Unknown device 0001
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: 0
Interrupt: pin B routed to IRQ 11
Region 0: Memory at 10001000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=15, subordinate=15, sec-latency=0
I/O window 0: 00000000-00000003
I/O window 1: 00000000-00000003
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
16-bit legacy interface ports at 0001

00:0c.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
Subsystem: Toshiba America Info Systems ES1978 Maestro-2E Audiodrive
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: 64 (500ns min, 6000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at ee00 [size=256]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D2 PME-Enable- DSel=0 DScale=0 PME-

frabjous:~#

Signature · 1 line
Josh Litherland ([email protected])
#6 lore raw
Quoted 3 lines · Faux Pas III
Quoted 1 line · Patrick Mochel

Could you do a lspci -vv as root on that device both with AC and without?

Sorry, I meant something like 'lspci -vv -s 00:0c.0' :)

Quoted 4 lines

On AC:

frabjous:~# lspci -vv
	...
Quoted 10 lines

00:0c.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
Subsystem: Toshiba America Info Systems ES1978 Maestro-2E Audiodrive
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: 64 (500ns min, 6000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at ee00 [size=256]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D2 PME-Enable- DSel=0 DScale=0 PME-

                         ^^^^
Quoted 6 lines

frabjous:~#

And on battery:

frabjous:~# lspci -vv
	...
Quoted 10 lines

00:0c.0 Multimedia audio controller: ESS Technology ES1978 Maestro 2E (rev 10)
Subsystem: Toshiba America Info Systems ES1978 Maestro-2E Audiodrive
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: 64 (500ns min, 6000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at ee00 [size=256]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D2 PME-Enable- DSel=0 DScale=0 PME-

                         ^^^^

It says in both cases that the device is in D2; ah yes, the device is not open and the driver cuts the power on ess_release().

Are you noticing any performance degradation for any other devices?

(On a side note, it looks like the driver is manually touching a lot of PCI config space rather than using the pci_ wrappers...)

-pat

#7 lore raw
Quoted 2 lines

(On a side note, it looks like the driver is manually touching a lot of PCI config space rather than using the pci_ wrappers...)

It does PCI power management in 2.2 as well..

#8 lore raw
In reply to Faux Pas III
Quoted 1 line · Patrick Mochel

Sorry, I meant something like 'lspci -vv -s 00:0c.0' :)

Hehe... I just try to comlpy when others are helping me debug my driver issues =)

Quoted 1 line

Are you noticing any performance degradation for any other devices?

Nothing glaring, but I can try to get some numbers if there's a particular device you'd suspect.

Signature · 1 line
Josh Litherland ([email protected])
#9 lore raw
In reply to Faux Pas III
Quoted 1 line · Patrick Mochel

Are you noticing any performance degradation for any other devices?

Hard drive, video, and network (which is in the cardbus slot) don't perform any differntly on AC vs. battery.

Signature · 1 line
Josh Litherland ([email protected])
#11 lore raw
In reply to Faux Pas III

Another interesting finding here... whenever something else is generating a lot of interrupts (specifically, those devices that share IRQ 11 with the sound card), the sound actually comes out correctly, or at least more correctly... still slow.

I noticed this at first while folding up a mozilla window in windowmaker, I assume the X-server is interrupting on the video card a lot there. hdparm -t /dev/hda also causes it.

Signature · 1 line
Josh Litherland ([email protected])
#12 lore raw
Quoted 4 lines

Another interesting finding here... whenever something else is generating a lot of interrupts (specifically, those devices that share IRQ 11 with the sound card), the sound actually comes out correctly, or at least more correctly... still slow.

Intriguing - so its as if the sound driver isnt generating interrupts (one way to test that would be to monitor /proc/interrupts both with power on mains and off of mains)

#13 lore raw
In reply to Faux Pas III
Quoted 3 lines · Alan Cox

Intriguing - so its as if the sound driver isnt generating interrupts (one way to test that would be to monitor /proc/interrupts both with power on mains and off of mains)

When playing a particular mp3 with mpg123, the rate of increase of that field in /proc/interrupts is ~200/sec regardless of whether on AC or battery. Of course, doing stuff to the other devices that share that interrupt blow it up.

Signature · 1 line
Josh Litherland ([email protected])