public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* EMU10K1: IRQ 10 ?
@ 2001-12-25  3:47 Frédéric L. W. Meunier
       [not found] ` <200112250401.fBP41E025476@barn.psychohorse.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Frédéric L. W. Meunier @ 2001-12-25  3:47 UTC (permalink / raw)
  To: linux-kernel

Hi. I just bought a Sound Blaster Live! 5.1 (SB0100)
and tried to install it on Linux 2.4.17. It's my second sound
card. The 16 ISA worked but I haven't used it for years.

# modprobe emu10k1

/var/log/messages:

Dec 25 01:02:27 pervalidus kernel: Creative EMU10K1 PCI Audio Driver, version 0.16, 06:46:55 Dec 22 2001
Dec 25 01:02:27 pervalidus kernel: PCI: Found IRQ 10 for device 00:0b.0
Dec 25 01:02:27 pervalidus kernel: emu10k1: EMU10K1 rev 8 model 0x8064 found, IO at 0xa000-0xa01f, IRQ 10
Dec 25 01:02:27 pervalidus kernel: ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)

/proc/modules:
emu10k1                55360   0 (unused)
sound                  53676   0 [emu10k1]
ac97_codec              9632   0 [emu10k1]
soundcore               3460   7 [emu10k1 sound]

# lspci -vv

00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 02)
	Subsystem: Asustek Computer, Inc.: Unknown device 8033
	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 0: Memory at e4000000 (32-bit, prefetchable) [size=64M]
	Capabilities: [a0] AGP version 2.0
		Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
		Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>
	Capabilities: [c0] 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:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP] (prog-if 00 [Normal decode])
	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
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	Memory behind bridge: e0800000-e1dfffff
	Prefetchable memory behind bridge: e1f00000-e3ffffff
	BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-
	Capabilities: [80] 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:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
	Subsystem: Asustek Computer, Inc.: Unknown device 8033
	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:04.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 10) (prog-if 8a [Master SecP PriP])
	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: 32
	Region 4: I/O ports at d800 [size=16]
	Capabilities: [c0] 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:04.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10) (prog-if 00 [UHCI])
	Subsystem: Unknown device 0925:1234
	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: 32, cache line size 08
	Interrupt: pin D routed to IRQ 12
	Region 4: I/O ports at d400 [size=32]
	Capabilities: [80] 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:04.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10) (prog-if 00 [UHCI])
	Subsystem: Unknown device 0925:1234
	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: 32, cache line size 08
	Interrupt: pin D routed to IRQ 12
	Region 4: I/O ports at d000 [size=32]
	Capabilities: [80] 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:04.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
	Subsystem: Asustek Computer, Inc.: Unknown device 8033
	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
	Capabilities: [68] 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 Ethernet controller: 3Com Corporation 3c905C-TX [Fast Etherlink] (rev 78)
	Subsystem: 3Com Corporation 3C905C-TX Fast Etherlink for PC Management NIC
	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: 32 (2500ns min, 2500ns max), cache line size 08
	Interrupt: pin A routed to IRQ 12
	Region 0: I/O ports at a400 [size=128]
	Region 1: Memory at e0000000 (32-bit, non-prefetchable) [size=128]
	Expansion ROM at <unassigned> [disabled] [size=128K]
	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-

00:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
	Subsystem: Creative Labs: Unknown device 8064
	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: 32 (500ns min, 5000ns max)
	Interrupt: pin A routed to IRQ 10
	Region 0: I/O ports at a000 [size=32]
	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=0 PME-

00:0b.1 Input device controller: Creative Labs SB Live! (rev 08)
	Subsystem: Creative Labs Gameport Joystick
	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: 32
	Region 0: I/O ports at 9800 [size=8]
	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=0 PME-

01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 04) (prog-if 00 [VGA])
	Subsystem: Matrox Graphics, Inc. Millennium G400 32Mb SDRAM
	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, 8000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at e2000000 (32-bit, prefetchable) [size=32M]
	Region 1: Memory at e1000000 (32-bit, non-prefetchable) [size=16K]
	Region 2: Memory at e0800000 (32-bit, non-prefetchable) [size=8M]
	Expansion ROM at e1ff0000 [disabled] [size=64K]
	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=0 PME-
	Capabilities: [f0] AGP version 2.0
		Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
		Command: RQ=31 SBA+ AGP+ 64bit- FW- Rate=x1


When I try to test:

# cat /home/ftp/pub/sound/ra/english.au > /dev/audio
zsh: no such device or address: /dev/audio

# cat /home/ftp/pub/sound/ra/english.au > /dev/sound/audio
zsh: no such device or address: /dev/sound/audio

My .config:

CONFIG_SOUND=m
# CONFIG_SOUND_BT878 is not set
# CONFIG_SOUND_CMPCI is not set
CONFIG_SOUND_EMU10K1=m
CONFIG_MIDI_EMU10K1=y
# CONFIG_SOUND_FUSION is not set
# CONFIG_SOUND_CS4281 is not set
# CONFIG_SOUND_ES1370 is not set
# CONFIG_SOUND_ES1371 is not set
# CONFIG_SOUND_ESSSOLO1 is not set
# CONFIG_SOUND_MAESTRO is not set
# CONFIG_SOUND_MAESTRO3 is not set
# CONFIG_SOUND_ICH is not set
# CONFIG_SOUND_RME96XX is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
# CONFIG_SOUND_VIA82CXXX is not set
# CONFIG_MIDI_VIA82CXXX is not set
# CONFIG_SOUND_OSS is not set
# CONFIG_SOUND_TVMIXER is not set

I don't have any other OS to test. Any idea ?

I'm using devfs. My devfsd.conf:

REGISTER        .*              MKOLDCOMPAT
UNREGISTER      .*              RMOLDCOMPAT
LOOKUP          .*              MODLOAD
REGISTER        tts/1           PERMISSIONS root.uucp 660
REGISTER        floppy/.*       PERMISSIONS root.floppy 660
REGISTER        sound/.*        PERMISSIONS root.audio 660
REGISTER        snd/.*          PERMISSIONS root.audio 660

All entries in /dev are created, including the symbolic
links.

-- 
0@pervalidus.{net, {dyndns.}org} Tel: 55-21-2717-2399 (Niterói-RJ BR)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: EMU10K1: IRQ 10 ?
       [not found]     ` <200112250440.fBP4eu025586@barn.psychohorse.com>
@ 2001-12-25  5:40       ` Frédéric L. W. Meunier
  2001-12-25  6:31         ` Matthew Johnson
  2001-12-25 11:56         ` Hartmut Holz
  0 siblings, 2 replies; 4+ messages in thread
From: Frédéric L. W. Meunier @ 2001-12-25  5:40 UTC (permalink / raw)
  To: Matthew Johnson; +Cc: linux-kernel

On Mon, Dec 24, 2001 at 08:41:19PM -0800, Matthew Johnson wrote:
> On Monday 24 December 2001 08:32 pm, you wrote:

> > > I'd cheat and use sndconfig ot yast2 or whatever else.
> > > Failing that I can give you some idea via my modules.conf,
> > > but I use SuSE, whcih in turn uses Alsa.
> >
> > OK, so I'll try ALSA.
> >
> > My modules.conf just includes 'alias sound emu10k1'.

Dec 25 03:13:38 pervalidus kernel: PCI: Found IRQ 10 for device 00:0b.0

OK, ALSA worked, while OSS from the kernel didn't. I don't
know why.

I still have a problem. Sound is very distorted with a lot of
noise when I do a 'cat /home/ftp/pub/sound/ra/english.au >
/dev/audio' . Maybe my speakers are broken ? I never used
them before. Time to do more testing. Yes, I know nothing
about sound.

Thank you Matthew. Now if any kernel developer can answer why
OSS from the kernel didn't work...

-- 
0@pervalidus.{net, {dyndns.}org} Tel: 55-21-2717-2399 (Niterói-RJ BR)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: EMU10K1: IRQ 10 ?
  2001-12-25  5:40       ` Frédéric L. W. Meunier
@ 2001-12-25  6:31         ` Matthew Johnson
  2001-12-25 11:56         ` Hartmut Holz
  1 sibling, 0 replies; 4+ messages in thread
From: Matthew Johnson @ 2001-12-25  6:31 UTC (permalink / raw)
  To: Frédéric L. W. Meunier; +Cc: linux-kernel

> Thank you Matthew. Now if any kernel developer can answer why
> OSS from the kernel didn't work...

No problem, but whilst you wait maybe this file will help you, just in case 
you haven't found it yet:

http://www.opensound.com/readme/README.SBLive.html

Main page:

http://www.opensound.com

Try the forum too, will know more about sound issues than I currently know.

Merry xmas, don't eat too many Mince pies, or em Mince Pizza with Cokenogg

Matt


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: EMU10K1: IRQ 10 ?
  2001-12-25  5:40       ` Frédéric L. W. Meunier
  2001-12-25  6:31         ` Matthew Johnson
@ 2001-12-25 11:56         ` Hartmut Holz
  1 sibling, 0 replies; 4+ messages in thread
From: Hartmut Holz @ 2001-12-25 11:56 UTC (permalink / raw)
  To: Frédéric L. W. Meunier; +Cc: linux-kernel

Frédéric L. W. Meunier wrote:

> On Mon, Dec 24, 2001 at 08:41:19PM -0800, Matthew Johnson wrote:
> 
>>On Monday 24 December 2001 08:32 pm, you wrote:
>>
> 
>>>>I'd cheat and use sndconfig ot yast2 or whatever else.
>>>>Failing that I can give you some idea via my modules.conf,
>>>>but I use SuSE, whcih in turn uses Alsa.
>>>>
>>>OK, so I'll try ALSA.
>>>
>>>My modules.conf just includes 'alias sound emu10k1'.
>>>
> 
> Dec 25 03:13:38 pervalidus kernel: PCI: Found IRQ 10 for device 00:0b.0
> 
> OK, ALSA worked, while OSS from the kernel didn't. I don't
> know why.
> 
> I still have a problem. Sound is very distorted with a lot of
> noise when I do a 'cat /home/ftp/pub/sound/ra/english.au >
> /dev/audio' . Maybe my speakers are broken ? I never used
> them before. Time to do more testing. Yes, I know nothing
> about sound.
> 


Same for me. But if you use a real application like plaympeg or
sox hi.au -t ossdsp /dev/dsp it works fine. I'm using emu10k1
from http://opensource.creative.com





-- 
Hartmut Holz                                EMail: H.Holz@hamburg.de
Kieler Straße 231			    Phone: +49 4085080014	
22525 Hamburg
Germany


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-12-25 11:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-25  3:47 EMU10K1: IRQ 10 ? Frédéric L. W. Meunier
     [not found] ` <200112250401.fBP41E025476@barn.psychohorse.com>
     [not found]   ` <20011225043232.GC148@pervalidus>
     [not found]     ` <200112250440.fBP4eu025586@barn.psychohorse.com>
2001-12-25  5:40       ` Frédéric L. W. Meunier
2001-12-25  6:31         ` Matthew Johnson
2001-12-25 11:56         ` Hartmut Holz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox