On 01/26/11 11:13, Jaroslav Kysela wrote:
On Wed, 26 Jan 2011, Fredrik Lingvall wrote:
I did two things to build the hdspmixer I got from Florian.
- Moved the #endif (at line 121)
#endif /* __SOUND_HDSPM_H */
downto the last line of the hdspm.h
It's already in hdspm.h we have in the GIT kernel tree:
http://git.alsa-project.org/?p=alsa-kernel.git;a=blob;f=include/sound/hdspm....
I have now build the hdspm driver from: http://wiki.linuxproaudio.org/index.php/Driver:hdspm (2010-12-25) and the hdspmixer (hdspmixer_64-1.9) from: http://wiki.linuxproaudio.org/index.php/App:hdspmixer_64
I did this by copying the hdspm.c file to the (gentoo kernel) /usr/src/linux-2.6.36-gentoo-r5/sound/pci/rme9652/hdspm.c and the hdspm.h file to /usr/include/alsa/sound/hdspm.h and /usr/include/sound/hdspm.h (had to change the include path for hdspm.h in hdspm.c as well).
Both the driver and hdspmixer build fine.
There are some differences to the driver at:
http://git.alsa-project.org/?p=alsa-kernel.git;a=blob;f=include/sound/hdspm.... http://git.alsa-project.org/?p=alsa-kernel.git;a=blob;f=sound/pci/rme9652/hd...
At a quick glance I could see that Florian's name was missing in the MODULE_AUTHOR section for example.
There is also one problem that I have with the driver and and MADIFace plus a RME M-32 ADC (on a Macbook Pro running x86_64 Gentoo) - the boot sequence hugs if I have the coax MADI input connected and switched on. By toggeling to MADI optical during boot is boots fine and I can afterwards switch back to coax after boot and the card and driver works fine.
/Fredrik