alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Roman Haefeli <reduzent@gmail.com>
To: alsa-devel@alsa-project.org
Subject: Re: hdsp rpm support
Date: Wed, 15 Feb 2012 00:07:20 +0100	[thread overview]
Message-ID: <1329260840.2350.27.camel@yoyo5> (raw)
In-Reply-To: <4F3926E3.1050809@drcomp.erfurt.thur.de>

Hi Adrian

On Mon, 2012-02-13 at 16:06 +0100, Adrian Knoth wrote:
> On 01/18/2012 11:54 AM, Roman Haefeli wrote:
> Sorry for the late reply, I was on vacation...

No problem at all. I'm glad to get a response.

> [RME HDSP RPM]
> > May I ask kindly for the 'other' version of the driver, which I would be
> > happy to test?
> 
> As already mentioned by Fons, there are so many differnt versions now
> that I hardly remember which one is supposed to work. ;)
> 
>     http://adi.loris.tv/hdsp_20111031.tar.bz2
> 
> 
> seems to be a combined archive. It contains two versions of the driver,
> the first (hdsp.c) is more or less what's in current alsa-driver, the
> other one (hdsp-test.c) is what turned out to be working for one user,
> so you would do

Unfortunately, it seems that none of those versions is working for me. 
I did as you suggested and inserted the module based on hdsp-test.c.
When inserting the cardbus interface (with connected iobox), I get this:

---
Feb 14 23:48:38 yoyo5 kernel: [40573.384092] pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted into slot 0
Feb 14 23:48:38 yoyo5 kernel: [40573.384130] pci 0000:16:00.0: [10ee:3fc5] type 0 class 0x000401
Feb 14 23:48:38 yoyo5 kernel: [40573.384172] pci 0000:16:00.0: reg 10: [mem 0x00000000-0x0000ffff]
Feb 14 23:48:38 yoyo5 kernel: [40573.384337] pci 0000:16:00.0: BAR 0: assigned [mem 0x80000000-0x8000ffff]
Feb 14 23:48:38 yoyo5 kernel: [40573.384352] pci 0000:16:00.0: BAR 0: set to [mem 0x80000000-0x8000ffff] (PCI address [0x80000000-0x8000ffff])
Feb 14 23:48:38 yoyo5 kernel: [40573.384376] pci 0000:16:00.0: cache line size of 64 is not supported
Feb 14 23:48:38 yoyo5 kernel: [40573.384673] hdsp 0000:16:00.0: enabling device (0000 -> 0002)
Feb 14 23:48:38 yoyo5 kernel: [40573.384691] hdsp 0000:16:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Feb 14 23:48:41 yoyo5 kernel: [40576.408074] Hammerfall-DSP: no IO box connected!
Feb 14 23:48:41 yoyo5 kernel: [40576.408148] hdsp 0000:16:00.0: PCI INT A disabled
Feb 14 23:48:41 yoyo5 kernel: [40576.408173] hdsp: probe of 0000:16:00.0 failed with error -5
---

It's seems it's not even recognizing that an RPM box is attached.

The other version (hdsp.c from your archive) gives me this, which is
similar to what I get with the stock alsa drivers:

---
Feb 14 23:57:52 yoyo5 kernel: [41126.784055] pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted into slot 0
Feb 14 23:57:52 yoyo5 kernel: [41126.784093] pci 0000:16:00.0: [10ee:3fc5] type 0 class 0x000401
Feb 14 23:57:52 yoyo5 kernel: [41126.784134] pci 0000:16:00.0: reg 10: [mem 0x00000000-0x0000ffff]
Feb 14 23:57:52 yoyo5 kernel: [41126.784300] pci 0000:16:00.0: BAR 0: assigned [mem 0x80000000-0x8000ffff]
Feb 14 23:57:52 yoyo5 kernel: [41126.784315] pci 0000:16:00.0: BAR 0: set to [mem 0x80000000-0x8000ffff] (PCI address [0x80000000-0x8000ffff])
Feb 14 23:57:52 yoyo5 kernel: [41126.784339] pci 0000:16:00.0: cache line size of 64 is not supported
Feb 14 23:57:52 yoyo5 kernel: [41126.784639] hdsp 0000:16:00.0: enabling device (0000 -> 0002)
Feb 14 23:57:52 yoyo5 kernel: [41126.784658] hdsp 0000:16:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Feb 14 23:57:54 yoyo5 kernel: [41129.343204] Hammerfall-DSP: wait for FIFO status <= 0 failed after 30 iterations
Feb 14 23:57:54 yoyo5 kernel: [41129.346250] Hammerfall-DSP: wait for FIFO status <= 0 failed after 30 iterations
Feb 14 23:57:54 yoyo5 kernel: [41129.351601] Hammerfall-DSP: loading firmware
Feb 14 23:57:55 yoyo5 kernel: [41129.857764] Hammerfall-DSP: wait for FIFO status <= 0 failed after 5000 iterations
Feb 14 23:57:55 yoyo5 kernel: [41129.857767] Hammerfall-DSP: timeout waiting for download preparation
Feb 14 23:57:55 yoyo5 kernel: [41129.857769] Hammerfall-DSP: couldn't get firmware from userspace. try using hdsploader
Feb 14 23:57:55 yoyo5 kernel: [41129.857771] Hammerfall-DSP: card initialization pending : waiting for firmware
---

>From what I can tell, it finds the correct firmware. If I remove the
firmware file, I get different messages. So the problem must be
something else.


> Final remark: For some devices (digiface, multiface, iirc), the firmware
> filename was too long. mv /lib/firmware/hdsploader/* /lib/firmware/ did
> the trick, but iirc, the RPM wasn't affected.

With hdsp-test.c, it doesn't even try to find the firmware, since it
doesn't seem to see the attached iobox.

Is there something else I could try?

Roman

  reply	other threads:[~2012-02-14 23:07 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-18  9:05 hdsp rpm support Roman Haefeli
2012-01-18 10:26 ` Fons Adriaensen
2012-01-18 10:54   ` Roman Haefeli
2012-02-13 15:06     ` Adrian Knoth
2012-02-14 23:07       ` Roman Haefeli [this message]
2012-05-17 13:21       ` Roman Haefeli
2012-12-30 12:09         ` Adrian Knoth
2013-01-24 23:21           ` Roman Haefeli
2012-09-30 23:04   ` Roman Haefeli
2012-10-01  8:05     ` Florian Faber
2012-10-01 20:00       ` Roman Haefeli
2012-11-18 17:30     ` Karl Grill
2012-11-20  7:57       ` Roman Haefeli
  -- strict thread matches above, loose matches on Subject: below --
2008-05-26  7:33 Martin Tufnel
2008-05-26  8:19 ` Roman Haefeli
2008-05-26 12:27   ` Martin Tufnel
     [not found]     ` <47321.137.248.1.11.1211815832.squirrel@webmail.naturestudies.eu>
2008-05-27  3:00       ` Martin Tufnel
2008-05-27  6:14         ` Florian Faber
2008-05-27 12:59           ` Martin Tufnel
2008-05-27 13:08             ` Florian Faber
2008-05-28 12:58               ` Martin Tufnel
2008-05-27 13:46             ` Roman Haefeli
2008-05-28 13:01               ` Martin Tufnel
2008-05-30 16:15           ` Karl Grill
2008-05-27 11:45         ` Roman Haefeli
2008-05-27 13:02           ` Martin Tufnel
2007-12-11 11:21 kgrill
2007-12-11 17:01 ` Roman Haefeli
2008-02-25  7:45   ` Karl Grill
2008-02-25 15:50     ` Roman Haefeli
2008-02-20 13:54 ` Roman Haefeli
2007-12-10  0:48 Roman Haefeli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1329260840.2350.27.camel@yoyo5 \
    --to=reduzent@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).