All of lore.kernel.org
 help / color / mirror / Atom feed
* still losing with hdsp
@ 2003-06-02 22:46 jfm3
  2003-06-03 11:13 ` still losing with hdsp (me too) Jaakko Prättälä
  0 siblings, 1 reply; 4+ messages in thread
From: jfm3 @ 2003-06-02 22:46 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 722 bytes --]

I still can't get the hdsp driver to work. The kernel module loads, but
then hdsploader fails. Here is what I think is the relevant analysis/spew.

[jfm3@localhost jfm3]$ hdsploader
hdsploader - firmware loader for RME Hammerfall DSP cards
Looking for HDSP + Multiface or Digiface cards :
Card 0 : NVidia NForce2 at 0xea080000, irq 12
Card 1 : RME Hammerfall DSP at 0xe9020000, irq 5
Upload firmware for card hw:1

Hwdep ioctl error on card hw:1 : Input/output error.
Card 2 :
Card 3 : Virtual MIDI Card 1

lspci -vvv output is attached. Note I have not yet begun to play with pci
latency settings.

I bought the hdsp and multiface recently. It might have the dreaded
version 11 firmware. Should I be complaining to RME?


[-- Attachment #2: foo --]
[-- Type: application/octet-stream, Size: 9304 bytes --]

00:00.0 Host bridge: nVidia Corporation: Unknown device 01e0 (rev c1)
	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 e0000000 (32-bit, prefetchable) [size=64M]
	Capabilities: [40] AGP version 2.0
		Status: RQ=31 SBA+ 64bit- FW+ Rate=x1,x2,x4
		Command: RQ=0 SBA- AGP- 64bit- FW- Rate=x1
	Capabilities: [60] #08 [2001]

00:00.1 RAM memory: nVidia Corporation: Unknown device 01eb (rev c1)
	Subsystem: Unknown device 1695:1000
	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-

00:00.2 RAM memory: nVidia Corporation: Unknown device 01ee (rev c1)
	Subsystem: Unknown device 1695:1000
	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-

00:00.3 RAM memory: nVidia Corporation: Unknown device 01ed (rev c1)
	Subsystem: Unknown device 1695:1000
	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-

00:00.4 RAM memory: nVidia Corporation: Unknown device 01ec (rev c1)
	Subsystem: Unknown device 1695:1000
	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-

00:00.5 RAM memory: nVidia Corporation: Unknown device 01ef (rev c1)
	Subsystem: Unknown device 1695:1000
	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-

00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a3)
	Subsystem: Unknown device 1695:1000
	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
	Capabilities: [48] #08 [01e1]

00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
	Subsystem: Unknown device 1695:1000
	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-
	Interrupt: pin A routed to IRQ 0
	Region 0: I/O ports at e000 [size=32]
	Capabilities: [44] 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:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a3) (prog-if 10 [OHCI])
	Subsystem: Unknown device 1695:1000
	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 (750ns min, 250ns max)
	Interrupt: pin A routed to IRQ 12
	Region 0: Memory at ea084000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [44] 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:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a3) (prog-if 10 [OHCI])
	Subsystem: Unknown device 1695:1000
	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 (750ns min, 250ns max)
	Interrupt: pin B routed to IRQ 11
	Region 0: Memory at ea082000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [44] 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:05.0 Multimedia audio controller: nVidia Corporation nForce MultiMedia audio [Via VT82C686B] (rev a2)
	Subsystem: Unknown device 1695:1000
	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 (250ns min, 3000ns max)
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at ea000000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: [44] 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:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
	Subsystem: Unknown device 1695:1000
	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 (500ns min, 1250ns max)
	Interrupt: pin A routed to IRQ 12
	Region 0: I/O ports at d000 [size=256]
	Region 1: I/O ports at d400 [size=128]
	Region 2: Memory at ea080000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [44] 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:08.0 PCI bridge: nVidia Corporation: Unknown device 006c (rev a3) (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=01, subordinate=01, sec-latency=32
	I/O behind bridge: 0000c000-0000cfff
	Memory behind bridge: e9000000-e9ffffff
	Prefetchable memory behind bridge: fff00000-000fffff
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-

00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2) (prog-if 8a [Master SecP PriP])
	Subsystem: Unknown device 1695:1000
	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 (750ns min, 250ns max)
	Region 4: I/O ports at f000 [size=16]
	Capabilities: [44] 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:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1) (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: 32
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
	I/O behind bridge: 0000f000-00000fff
	Memory behind bridge: e6000000-e8ffffff
	Prefetchable memory behind bridge: e4000000-e5ffffff
	BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-

01:06.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: 32
	Interrupt: pin A routed to IRQ 5
	Region 0: Memory at e9020000 (32-bit, non-prefetchable) [size=64K]

01:08.0 Ethernet controller: Linksys Network Everywhere Fast Ethernet 10/100 model NC100 (rev 11)
	Subsystem: Linksys: Unknown device 0574
	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 (16000ns min, 32000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 11
	Region 0: I/O ports at c000 [size=256]
	Region 1: Memory at e9030000 (32-bit, non-prefetchable) [size=1K]
	Expansion ROM at <unassigned> [disabled] [size=128K]
	Capabilities: [c0] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=100mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

02:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 03) (prog-if 00 [VGA])
	Subsystem: Matrox Graphics, Inc. Millennium G400 MAX/Dual Head 32Mb
	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 (4000ns min, 8000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 12
	Region 0: Memory at e4000000 (32-bit, prefetchable) [size=32M]
	Region 1: Memory at e6000000 (32-bit, non-prefetchable) [size=16K]
	Region 2: Memory at e7000000 (32-bit, non-prefetchable) [size=8M]
	Expansion ROM at <unassigned> [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


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

* Re: still losing with hdsp (me too)
  2003-06-02 22:46 still losing with hdsp jfm3
@ 2003-06-03 11:13 ` Jaakko Prättälä
  2003-06-03 16:19   ` Mark Knecht
  2003-06-04 17:55   ` David E. Storey
  0 siblings, 2 replies; 4+ messages in thread
From: Jaakko Prättälä @ 2003-06-03 11:13 UTC (permalink / raw)
  To: alsa-devel

On Tuesday 03 June 2003 01:46, jfm3@ouroboros-complex.org wrote:

> lspci -vvv output is attached.
> I bought the hdsp and multiface recently. It might have the dreaded
> version 11 firmware.

Xilinx Corporation RME Hammerfall DSP (rev 0b)
0b hexadecimal == 11 decimal
so, you have revision 11 firmware...

This looks like the problem I'm having that didn't go away by
downgrading the firmware. Then again, I'm using the cardbus interface.
Anyway, rev 10 firmware gets loaded and rev 11 doesn't. So
maybe try downgrading?

######## the (me too) part: ####################

Sorry to burn the devel-list bandwidth again.
I'm still wishing that somewhere I'd get a hint of what's
going on with my system. (The snd-hdsp module locks up
when I try to use it. Start aplay or pd and wind up with a module
that can't be rmmod'ed because of "device or resource busy".)
I'd try fixing the code if I could
pinpoint the bug. As for now I don't know if it's alsa, pcmcia or
pci code that hates my hardware.

David Hinds of the pcmcia-cs project tells me that I should
use the kernel pcmcia and ask you, alsa-developers,
and as I'm still stuck, here I am, asking:

1. What do you reckon that hdsploader ioctl error is?
    (iirc it comes even when the fw gets loaded...)
2. What could cause the module lock-up?

In other words:
- where should I look for the nastiness and
- what could I do to narrow down the set of possible
  places too look.

I'm using alsa from cvs (last update on 18th of May)
on a hp xe4100 laptop with all sorts of kernels,
mostly 2.4.20 with acpi patches.

-- 
Jaakko Prättälä
Jaakko.Prattala@Helsinki.FI



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5

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

* RE: still losing with hdsp (me too)
  2003-06-03 11:13 ` still losing with hdsp (me too) Jaakko Prättälä
@ 2003-06-03 16:19   ` Mark Knecht
  2003-06-04 17:55   ` David E. Storey
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Knecht @ 2003-06-03 16:19 UTC (permalink / raw)
  To: Jaakko Prättälä, alsa-devel

<SNIP>
> 
> Xilinx Corporation RME Hammerfall DSP (rev 0b)
> 0b hexadecimal == 11 decimal
> so, you have revision 11 firmware...
> 
> This looks like the problem I'm having that didn't go away by
> downgrading the firmware. Then again, I'm using the cardbus interface.
> Anyway, rev 10 firmware gets loaded and rev 11 doesn't. So
> maybe try downgrading?
> 
> ######## the (me too) part: ####################
> 
> Sorry to burn the devel-list bandwidth again.
> I'm still wishing that somewhere I'd get a hint of what's
> going on with my system. (The snd-hdsp module locks up
> when I try to use it. Start aplay or pd and wind up with a module
> that can't be rmmod'ed because of "device or resource busy".)

Jaakko,
   Hi. Sorry if this email doesn't help. I'm currently not using my
HDSP 9652 at all since the drivers just don't work, but in the 
meantime I tried using Alsa with my motherboard's sound chip - a
Via8235. I had similar problems as you with that chip. Often 
apps like aplay locked up for at least a minute or two, and some
game apps like Frozen Bubble would lock up forever as far as I could
tell. I have also seen the same 'device or resource busy' messages.

   Last evening I found that at least for aplay, if I specified the
specific hardware interface, such as 

aplay -D hw:0,1 wavefile.wav

then the system works fine, at least for aplay. However, just starting
aplay using

aplay wavefile.wav 

resulted in error messages. The system still hangs on Frozen
Bubble and many other games, so I need to know how to make
this -D hw:0,1 option the default. My .asoundrc file does not seem
to make that happen.

   Takashi-san said that some motherboards have BIOS problems. 
Possibly that's the cause in my case, but I'm not so sure. 

   Maybe you can try 

aplay -l

and get some info about the interface that will help.

   Again, sorry for probably wasting bandwidth.

cheers,
Mark




-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5

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

* Re: still losing with hdsp (me too)
  2003-06-03 11:13 ` still losing with hdsp (me too) Jaakko Prättälä
  2003-06-03 16:19   ` Mark Knecht
@ 2003-06-04 17:55   ` David E. Storey
  1 sibling, 0 replies; 4+ messages in thread
From: David E. Storey @ 2003-06-04 17:55 UTC (permalink / raw)
  To: alsa

[-- Attachment #1: Type: text/plain, Size: 2017 bytes --]

I'm also having problems with the hdsp driver, however, I can get my
multiface + PCMCIA card working just fine so long as I boot XP first. XP
will load the firmware and when I reboot into linux and do a "modprobe
snd-hdsp", it loads up just fine and states that the firmware has
already been initialized. If I don't boot into XP first...

(root@scorpius root)# lspci -vvv -s 07:00
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-
        Interrupt: pin A routed to IRQ 9
        Region 0: Memory at 21000000 (32-bit, non-prefetchable)
[size=64K]

(root@scorpius root)# modprobe snd-hdsp
(root@scorpius root)# dmesg
[snip]
cs: cb_alloc(bus 7): vendor 0x10ee, device 0x3fc5
PCI: Enabling device 07:00.0 (0080 -> 0082)
Hammerfall memory allocator: buffers allocated for 1 cards
PCI: Setting latency timer of device 07:00.0 to 64
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:4107: card initialization
pending : waiting for firmware

(root@scorpius root)# hdsploader 
hdsploader - firmware loader for RME Hammerfall DSP cards
Looking for HDSP + Multiface or Digiface cards :
Card 0 : Intel 82801CA-ICH3 at 0x1c00, irq 9
Card 1 : RME Hammerfall DSP at 0x21000000, irq 9
Upload firmware for card hw:1
Hwdep ioctl error on card hw:1 : Input/output error.

(root@scorpius root)# dmesg
[snip]
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:4107: card initialization
pending : waiting for firmware
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:644: wait for FIFO status <= 0
failed after 30 iterations
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:3803: initializing firmware
upload
ALSA ../../alsa-kernel/pci/rme9652/hdsp.c:508: Hammerfall-DSP: no
Digiface or Multiface connected!

While the XP boot-up is annoying, the driver works fine otherwise.

d!

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2003-06-04 17:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-02 22:46 still losing with hdsp jfm3
2003-06-03 11:13 ` still losing with hdsp (me too) Jaakko Prättälä
2003-06-03 16:19   ` Mark Knecht
2003-06-04 17:55   ` David E. Storey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.