[alsa-devel] hdspmixer
Hi,
working on new ALSA release, but it seems that alsa-tools/hdspmixer is out of sync with current linux/sound/hdsp.h / hdspm.h after this commit:
commit e24e56795ea57e3dd7da45063ab71f04e231192d Author: Adrian Knoth adi@drcomp.erfurt.thur.de Date: Sun Jan 9 19:42:59 2011 +0100
Add support for RME MADI, RayDAT and AIO
Merged the work by Florian Faber that's distributed separately as hdspmixer64.
Code taken from http://wiki.linuxproaudio.org/index.php/App:hdspmixer_64
Signed-off-by: Adrian Knoth adi@drcomp.erfurt.thur.de Signed-off-by: Takashi Iwai tiwai@suse.de
Any clue what to do to get things fixed?
Jaroslav
----- Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.
At Wed, 26 Jan 2011 10:49:51 +0100 (CET), Jaroslav Kysela wrote:
Hi,
working on new ALSA release, but it seems that alsa-tools/hdspmixer is out of sync with current linux/sound/hdsp.h / hdspm.h after this commit:
commit e24e56795ea57e3dd7da45063ab71f04e231192d Author: Adrian Knoth adi@drcomp.erfurt.thur.de Date: Sun Jan 9 19:42:59 2011 +0100
Add support for RME MADI, RayDAT and AIO Merged the work by Florian Faber that's distributed separately as hdspmixer64. Code taken from
http://wiki.linuxproaudio.org/index.php/App:hdspmixer_64
Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Any clue what to do to get things fixed?
This requires some work from Adrian...
Takashi
I did two things to build the hdspmixer I got from Florian.
1) Moved the #endif (at line 121)
#endif /* __SOUND_HDSPM_H */
downto the last line of the hdspm.h
2) Changed
#include<alsa/sound/hdsp.h>
to
#include <sound/hdspm.h>
in HDSPMixerWindow.h
/Fredrik
On 01/26/11 10:49, Jaroslav Kysela wrote:
Hi,
working on new ALSA release, but it seems that alsa-tools/hdspmixer is out of sync with current linux/sound/hdsp.h / hdspm.h after this commit:
commit e24e56795ea57e3dd7da45063ab71f04e231192d Author: Adrian Knoth adi@drcomp.erfurt.thur.de Date: Sun Jan 9 19:42:59 2011 +0100
Add support for RME MADI, RayDAT and AIO Merged the work by Florian Faber that's distributed separately as hdspmixer64. Code taken from
http://wiki.linuxproaudio.org/index.php/App:hdspmixer_64
Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Any clue what to do to get things fixed?
Jaroslav
Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
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....
- Changed
#include<alsa/sound/hdsp.h>
to
#include <sound/hdspm.h>
in HDSPMixerWindow.h
I have both includes in HDSMixerWindow.h:
#include <alsa/sound/hdsp.h> #include <alsa/sound/hdspm.h>
The hdspm.h is from the location above (added to alsa-lib/include/sound tree).
I think that you are using different kernel driver - so we are out of sync with the user space tools. What version of the hdsp/hdspm driver are you using?
Jaroslav
On 01/26/11 10:49, Jaroslav Kysela wrote:
Hi,
working on new ALSA release, but it seems that alsa-tools/hdspmixer is out of sync with current linux/sound/hdsp.h / hdspm.h after this commit:
commit e24e56795ea57e3dd7da45063ab71f04e231192d Author: Adrian Knoth adi@drcomp.erfurt.thur.de Date: Sun Jan 9 19:42:59 2011 +0100
Add support for RME MADI, RayDAT and AIO Merged the work by Florian Faber that's distributed separately as hdspmixer64. Code taken from
http://wiki.linuxproaudio.org/index.php/App:hdspmixer_64
Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Any clue what to do to get things fixed?
Jaroslav
----- Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.
On 01/26/11 11:13, Jaroslav Kysela wrote:
I think that you are using different kernel driver - so we are out of sync with the user space tools. What version of the hdsp/hdspm driver are you using?
Jaroslav
The one I got by email from Florian on 2010-10-27 (I have attached the 32kB tar file). The one on http://wiki.linuxproaudio.org/index.php/Driver:hdspm is newer (2010-12-25). I will check if I can get hdspmixer to build against the 2010-12-25 version.
/Fredrik
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
On 01/26/11 10:49, Jaroslav Kysela wrote:
Hi,
Hi!
working on new ALSA release, but it seems that alsa-tools/hdspmixer is out of sync with current linux/sound/hdsp.h / hdspm.h after this commit:
That's very likely. The commit was ment to amend ongoing work on the hdspm driver, but it took me a little longer to get it done. (I completed it yesterday, but I still have to send the patch)
Find attached the hdspm.h I'm going to send today (hopefully; like always, time is the foremost problem).
With this file, I'm able to compile and run hdspmixer.
HTH
At Wed, 26 Jan 2011 11:23:05 +0100, Adrian Knoth wrote:
On 01/26/11 10:49, Jaroslav Kysela wrote:
Hi,
Hi!
working on new ALSA release, but it seems that alsa-tools/hdspmixer is out of sync with current linux/sound/hdsp.h / hdspm.h after this commit:
That's very likely. The commit was ment to amend ongoing work on the hdspm driver, but it took me a little longer to get it done. (I completed it yesterday, but I still have to send the patch)
Find attached the hdspm.h I'm going to send today (hopefully; like always, time is the foremost problem).
Thanks. Feel free to submit the rest ;)
Takashi
participants (5)
-
Adrian Knoth
-
Fredrik Lingvall
-
Fredrik Lingvall
-
Jaroslav Kysela
-
Takashi Iwai