[alsa-devel] RME HDSP rev 37 does not work on 64-bit linux
Hello,
recently I upgraded firmware for my RME HDSP (Cardbus + Multiface II) to recent version, to be able to use it under WinXP 64, since there's no 64-bit windows driver for old hdsp firmware. And the results under linux are surprising: My main OS is Ubuntu 8.10 64-bit, and there hdspmixer fails with the message:
Card 1 : RME Hammerfall DSP at 0x130000000, irq 18 Uninitialized HDSP card found. Use hdsploader to upload configuration data to the card. No Hammerfall DSP card found.
Trying to run hdsploader gives:
Card 1 : RME Hammerfall DSP at 0x130000000, irq 18 Upload firmware for card hw:1 Hwdep ioctl error on card hw:1 : Input/output error.
dmesg: Hammerfall-DSP: wait for FIFO status <= 0 failed after 30 iterations
This happens even if I boot into winxp first to initialize multiface, then reboot into linux and do not run hdsploader.
BUT: under 32-bit ubuntu 8.10 with the same kernel 2.6.27-11-generic and the same version of alsa-*: 1.0.17-0ubuntu1, everything works fine both with cold boot + hdsploader and winxp -> reboot-> no hdsploader.
Regards, Dmitry.
Dmitry,
under 32-bit ubuntu 8.10 with the same kernel 2.6.27-11-generic and the same version of alsa-*: 1.0.17-0ubuntu1, everything works fine both with cold boot + hdsploader and winxp -> reboot-> no hdsploader.
It works fine with 64 bit linux, I have pure 64 bit machines and all hdsp(e) cards work as they should. Must be something else then.
Flo
On Sun, Feb 1, 2009 at 6:16 PM, Florian Faber faber@faberman.de wrote:
Dmitry,
under 32-bit ubuntu 8.10 with the same kernel 2.6.27-11-generic and the same version of alsa-*: 1.0.17-0ubuntu1, everything works fine both with cold boot + hdsploader and winxp -> reboot-> no hdsploader.
It works fine with 64 bit linux, I have pure 64 bit machines and all hdsp(e) cards work as they should. Must be something else then.
Which distribution/kernel(s) do you use?
I just revived my 64-bit Gentoo partition, and vanilla 2.6.28.2 says No Multiface or Digiface found, disabling the card.
Dmitry.
under 32-bit ubuntu 8.10 with the same kernel 2.6.27-11-generic and the same version of alsa-*: 1.0.17-0ubuntu1, everything works fine both with cold boot + hdsploader and winxp -> reboot-> no hdsploader.
It works fine with 64 bit linux, I have pure 64 bit machines and all hdsp(e) cards work as they should. Must be something else then.
Which distribution/kernel(s) do you use?
I just revived my 64-bit Gentoo partition, and vanilla 2.6.28.2 says No Multiface or Digiface found, disabling the card.
i have the same issue with my hdsp on a 64-bit kernel, using the standard firmware (whatever is shipped with alsa). once i tried to debug this issue, finding, that the card actually has the register value that the card is not connected, although it is.
usually, unloading/reloading the kernel module should resolve it, though. maybe the hardware is not initialized correctly? are there some more detailed information about the hdsp hardware available or did the developers of the kernel module receive some specification under nda restrictions?
tim
On Sunday 01 February 2009 17:56:34 Tim Blechmann wrote:
under 32-bit ubuntu 8.10 with the same kernel 2.6.27-11-generic and the same version of alsa-*: 1.0.17-0ubuntu1, everything works fine both with cold boot + hdsploader and winxp -> reboot-> no hdsploader.
It works fine with 64 bit linux, I have pure 64 bit machines and all hdsp(e) cards work as they should. Must be something else then.
Which distribution/kernel(s) do you use?
I just revived my 64-bit Gentoo partition, and vanilla 2.6.28.2 says No Multiface or Digiface found, disabling the card.
i have the same issue with my hdsp on a 64-bit kernel, using the standard firmware (whatever is shipped with alsa). once i tried to debug this issue, finding, that the card actually has the register value that the card is not connected, although it is.
usually, unloading/reloading the kernel module should resolve it, though. maybe the hardware is not initialized correctly? are there some more detailed information about the hdsp hardware available or did the developers of the kernel module receive some specification under nda restrictions?
Ok, you two, please mail me the relevant contents of dmesg and the contents of /proc/asound/cardX/hdsp together with a 'uname -a'.
All I can say is that it works fine with all 2.6 kernels so far and I have never used anything else but 64bit.
Flo
Dmitry,
I just revived my 64-bit Gentoo partition, and vanilla 2.6.28.2 says No Multiface or Digiface found, disabling the card.
Ok, you are using a notebook. I have seen problems with notebooks when the period between powering up the cardbus socket and trying to access the card wasn't long enough, the interface card isn't initialized fast enough.
Please try the following: Go to line 5059 in /sound/pci/rme9652/hdsp.c and change the line ssleep(2); to ssleep(5);
Compile it and try again.
Flo
On Mon, Feb 2, 2009 at 11:35 AM, Florian Faber faber@faberman.de wrote:
Dmitry,
I just revived my 64-bit Gentoo partition, and vanilla 2.6.28.2 says No Multiface or Digiface found, disabling the card.
Ok, you are using a notebook. I have seen problems with notebooks when the period between powering up the cardbus socket and trying to access the card wasn't long enough, the interface card isn't initialized fast enough.
Actually, this is desktop with pci-pcmcia adapter card. I just tried it in my laptop with 64-bit Ubuntu 8.10 and everything works perfectly.
Please try the following: Go to line 5059 in /sound/pci/rme9652/hdsp.c and change the line ssleep(2); to ssleep(5);
Compile it and try again.
It waits for 5 seconds according to dmesg, but the result is the same: card disabled.
The summary of my experiments so far: everywhere Ubuntu is 8.10, kernel 2.6.27-11
laptop + cardbus + 64-bit ubuntu: WORKS
desktop + pci-pcmcia adapter: ubuntu 32: WORKS ubuntu 64: can't upload firmware gentoo 64 + vanilla kernel 2.6.28.2: can't recognize external box, disables the card.
Dmitry.
At Tue, 3 Feb 2009 14:58:41 +0300, Dmitry Baikov wrote:
On Mon, Feb 2, 2009 at 11:35 AM, Florian Faber faber@faberman.de wrote:
Dmitry,
I just revived my 64-bit Gentoo partition, and vanilla 2.6.28.2 says No Multiface or Digiface found, disabling the card.
Ok, you are using a notebook. I have seen problems with notebooks when the period between powering up the cardbus socket and trying to access the card wasn't long enough, the interface card isn't initialized fast enough.
Actually, this is desktop with pci-pcmcia adapter card. I just tried it in my laptop with 64-bit Ubuntu 8.10 and everything works perfectly.
Please try the following: Go to line 5059 in /sound/pci/rme9652/hdsp.c and change the line ssleep(2); to ssleep(5);
Compile it and try again.
It waits for 5 seconds according to dmesg, but the result is the same: card disabled.
The summary of my experiments so far: everywhere Ubuntu is 8.10, kernel 2.6.27-11
laptop + cardbus + 64-bit ubuntu: WORKS
desktop + pci-pcmcia adapter: ubuntu 32: WORKS ubuntu 64: can't upload firmware gentoo 64 + vanilla kernel 2.6.28.2: can't recognize external box, disables the card.
Increasing HDSP_SHORT_WAIT doesn't help, too?
Takashi
On Thu, Feb 5, 2009 at 12:28 PM, Takashi Iwai tiwai@suse.de wrote:
At Tue, 3 Feb 2009 14:58:41 +0300, Dmitry Baikov wrote:
On Mon, Feb 2, 2009 at 11:35 AM, Florian Faber faber@faberman.de wrote:
Dmitry,
I just revived my 64-bit Gentoo partition, and vanilla 2.6.28.2 says No Multiface or Digiface found, disabling the card.
Ok, you are using a notebook. I have seen problems with notebooks when the period between powering up the cardbus socket and trying to access the card wasn't long enough, the interface card isn't initialized fast enough.
Actually, this is desktop with pci-pcmcia adapter card. I just tried it in my laptop with 64-bit Ubuntu 8.10 and everything works perfectly.
Please try the following: Go to line 5059 in /sound/pci/rme9652/hdsp.c and change the line ssleep(2); to ssleep(5);
Compile it and try again.
It waits for 5 seconds according to dmesg, but the result is the same: card disabled.
The summary of my experiments so far: everywhere Ubuntu is 8.10, kernel 2.6.27-11
laptop + cardbus + 64-bit ubuntu: WORKS
desktop + pci-pcmcia adapter: ubuntu 32: WORKS ubuntu 64: can't upload firmware gentoo 64 + vanilla kernel 2.6.28.2: can't recognize external box, disables the card.
Increasing HDSP_SHORT_WAIT doesn't help, too?
No, I tried several values up to 300 (from original 30), result is the same: No Digiface or Multiface connected.
This is weird.
Dmitry.
participants (4)
-
Dmitry Baikov
-
Florian Faber
-
Takashi Iwai
-
Tim Blechmann