Re: [LAD] [RME - hdsp] Multiface/Digiface/RPM detection

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Thursday, July 28, 2011 - 9:56 pm

On Thu, Jul 28, 2011 at 09:41:09PM +0000, Fons Adriaensen wrote:

> > After reading the kernel source, I think the code in hdsp.c is wrong:

I blindly wrote a patch:

http://adi.loris.tv/hdsp_test.tar.bz2

Does it work? If you like and if it's possible to get remote access to
your machine, I'm happy to give it a whirl and start hacking.

I'm somewhat surprised to see so many "wrong" constants in hdsp.c, like
HDSP_fifoData being 368. I have no idea why it is there, I always
thought the fifo write register is 92. (that's what I've changed in the
hdsp_test.tar.bz2, too)

There are even more occurrences of control2Reg in hdsp.c which I would
change to controlRegister, especially in
snd_hdsp_load_firmware_from_cache. But it cannot be totally wrong,
because I guess it must be working for some users...

Cheers
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] [RME - hdsp] Multiface/Digiface/RPM detection, Adrian Knoth, (Thu Jul 28, 8:31 pm)
Re: [LAD] [RME - hdsp] Multiface/Digiface/RPM detection, Fons Adriaensen, (Thu Jul 28, 9:41 pm)
Re: [LAD] [RME - hdsp] Multiface/Digiface/RPM detection, Adrian Knoth, (Thu Jul 28, 9:56 pm)
Re: [LAD] [RME - hdsp] Multiface/Digiface/RPM detection, Adrian Knoth, (Thu Jul 28, 10:43 pm)
Re: [LAD] [RME - hdsp] Multiface/Digiface/RPM detection, Fons Adriaensen, (Fri Jul 29, 8:05 am)
Re: [LAD] [RME - hdsp] Multiface/Digiface/RPM detection, Adrian Knoth, (Thu Jul 28, 10:29 pm)