Skip to contentSkip to conversation

hdsp driver status

DISCUSSION Paul Davis 3 participants 3 messages May 8, 2003

lore
Share & tools
lore

Paul Davis

author
#0 lore raw

i finally got the information from RME to enable the mixer on the hdsp-9652. i updated CVS, and the hdsp driver is totally incompilable. somebody ripped out the definition of HDSP_IO_Type, and then we have stuff like this:

../../alsa-kernel/pci/rme9652/hdsp.c:403: `HDSP_MATRIX_MIXER_SIZE' undeclared he re (not in a function)
../../alsa-kernel/pci/rme9652/hdsp.c: In function `hdsp_read_gain':
../../alsa-kernel/pci/rme9652/hdsp.c:655: `HDSP_MATRIX_MIXER_SIZE' undeclared (f irst use in this function) ../../alsa-kernel/pci/rme9652/hdsp.c:655: (Each undeclared identifier is reporte d only once
../../alsa-kernel/pci/rme9652/hdsp.c:655: for each function it appears in.) ../../alsa-kernel/pci/rme9652/hdsp.c: In function `hdsp_write_gain':
../../alsa-kernel/pci/rme9652/hdsp.c:692: `HDSP_MATRIX_MIXER_SIZE' undeclared (f irst use in this function)
../../alsa-kernel/pci/rme9652/hdsp.c: In function `snd_hdsp_set_defaults':
../../alsa-kernel/pci/rme9652/hdsp.c:3029: `HDSP_MATRIX_MIXER_SIZE' undeclared ( first use in this function)
../../alsa-kernel/pci/rme9652/hdsp.c: In function `snd_hdsp_hwdep_ioctl':
../../alsa-kernel/pci/rme9652/hdsp.c:3729: `hdsp_firmware_t' undeclared (first u se in this function)
../../alsa-kernel/pci/rme9652/hdsp.c:3729: `firmware' undeclared (first use in t his

can some fill me in on what is going on? why is the driver so totally broken?

-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com

#1 lore raw
Quoted 25 lines · Paul Davis

i finally got the information from RME to enable the mixer on the hdsp-9652. i updated CVS, and the hdsp driver is totally incompilable. somebody ripped out the definition of HDSP_IO_Type, and then we have stuff like this:

../../alsa-kernel/pci/rme9652/hdsp.c:403: `HDSP_MATRIX_MIXER_SIZE' undeclared he re (not in a function)
../../alsa-kernel/pci/rme9652/hdsp.c: In function `hdsp_read_gain':
../../alsa-kernel/pci/rme9652/hdsp.c:655: `HDSP_MATRIX_MIXER_SIZE' undeclared (f irst use in this function) ../../alsa-kernel/pci/rme9652/hdsp.c:655: (Each undeclared identifier is reporte d only once
../../alsa-kernel/pci/rme9652/hdsp.c:655: for each function it appears in.) ../../alsa-kernel/pci/rme9652/hdsp.c: In function `hdsp_write_gain':
../../alsa-kernel/pci/rme9652/hdsp.c:692: `HDSP_MATRIX_MIXER_SIZE' undeclared (f irst use in this function)
../../alsa-kernel/pci/rme9652/hdsp.c: In function `snd_hdsp_set_defaults':
../../alsa-kernel/pci/rme9652/hdsp.c:3029: `HDSP_MATRIX_MIXER_SIZE' undeclared ( first use in this function)
../../alsa-kernel/pci/rme9652/hdsp.c: In function `snd_hdsp_hwdep_ioctl':
../../alsa-kernel/pci/rme9652/hdsp.c:3729: `hdsp_firmware_t' undeclared (first u se in this function)
../../alsa-kernel/pci/rme9652/hdsp.c:3729: `firmware' undeclared (first use in t his

Quoted 1 line

can some fill me in on what is going on? why is the driver so totally broken?

It's defined in alsa-kernel/include/hdsp.h...

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com

#2 lore raw
Quoted 7 lines · Paul Davis
Quoted 3 lines

somebody ripped out the definition of HDSP_IO_Type, and

It's defined in alsa-kernel/include/hdsp.h...

I moved the definition there to make it usable by userspace applications. I should have warned you about that, sorry.

Thomas

-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com