Thread: [Fwd: Re: [Isisalsa-devel] First driver release]
Status: Inactive
Brought to you by:
jeanseb
|
From: Felipe S. <sol...@es...> - 2003-07-27 03:48:58
|
-------- Original Message -------- Subject: Re: [Isisalsa-devel] First driver release Date: Sat, 26 Jul 2003 20:50:17 -0400 From: Felipe Sologuren <sol...@es...> To: Pieter Palmers <pie...@st...> References: <3F2...@st...> Pieter Palmers wrote: > Good news: I've finally succeeded in completing a beta version of the > ISIS driver. It's only functional with the pci64.bin firmware (i.e. > multimedia mode, not studio). > Everything works, except recording from the rack (not possible with > windows drivers either in MM mode) and the MIDI synthesizer doesn't work > either. > > There are some bugs in the driver, for sure. Please let me know what & > how it occurred. > > Installation: > 1) download the file alsa-driver-0.9.5-isis.tar.bz2 from the sourceforge > project page (http://www.sourceforge.net/projects/isisalsa) > this file is a modified version of the ALSA 0.9.5 driver package. You'll > also need the other ALSA driver files, available at www.alsa-project.org. > 2) unpack it, and follow the procedure outlined in the ALSA docs for > installation > 3) use maxiinit to load the pci64.bin firmware to the card (e.g. > maxiinit /etc/isis/pci64.bin) > 4) load the isis driver: (as root) "modprobe snd-isis" > > it should work. If it doesnt, please send me the output of the kernel > log ("dmesg") and the PCI configuration ("lspci -v"), and a description > of the problem, so I can try and figure out the problem. > > Device info: > pcm device 0 = ESS Maestro PCM (Playback & Capture) > pcm device 1 = SAM 1/2 PCM (mixed with Maestro PCM by firmware) > (Playback only) > pcm device 2 = SAM 3/4 PCM (Playback only) > > Midi should also work > Joystick also > > Enjoy, > > Pieter > > PS: I'm working on the Studio mode driver, but that mode is even less > documented. Could be a while before I get this straigt. > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Isisalsa-devel mailing list > Isi...@li... > https://lists.sourceforge.net/lists/listinfo/isisalsa-devel > > Pieter: I can't compile the driver. I can do './configure' but with 'make' in the 'pci/isisalsa' subdirectory report an error: make[2]: Cambiando a directorio `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/ice1712' make[2]: Saliendo directorio `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/ice1712' make -C isisalsa modules make[2]: Cambiando a directorio `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/isisalsa' gcc -D__KERNEL__ -DMODULE=1 -I/installers/AUDIO/alsa-driver-0.9.5-isis/include -I/usr/src/linux-2.4.20-18.1.caps/include -O2 -mpreferred-stack-boundary=2 -march=athlon -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -DKBUILD_BASENAME=isis -c -o isis.o isis.c isis.c: In function `isis_sam_read_control': isis.c:611: parse error before `data' isis.c:615: `data' undeclared (first use in this function) isis.c:615: (Each undeclared identifier is reported only once isis.c:615: for each function it appears in.) isis.c:616: warning: control reaches end of non-void function isis.c: In function `isis_sam_read_data8': isis.c:640: parse error before `data' isis.c:644: `data' undeclared (first use in this function) isis.c:645: warning: control reaches end of non-void function isis.c: In function `isis_sam_read_data16': isis.c:668: parse error before `data' isis.c:672: `data' undeclared (first use in this function) isis.c:673: warning: control reaches end of non-void function isis.c: In function `isis_sam_init': isis.c:728: parse error before `*' isis.c:731: `isis' undeclared (first use in this function) isis.c: In function `snd_isis_init_dmabuf': isis.c:1678: warning: passing arg 4 of `snd_malloc_pci_pages_fallback_R9e9124ec' from incompatible pointer type isis.c: In function `snd_isis_interrupt': isis.c:2131: parse error before `unsigned' isis.c:2151: `flags' undeclared (first use in this function) isis.c: In function `snd_isis_mixer': isis.c:2241: warning: passing arg 1 of `snd_ctl_new1_R11a21821' discards qualifiers from pointer target type isis.c: At top level: isis_mixer.h:60: warning: `isis_set_volume_monitor' defined but not used make[2]: *** [isis.o] Error 1 make[2]: Saliendo directorio `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/isisalsa' make[1]: *** [_modsubdir_isisalsa] Error 2 make[1]: Saliendo directorio `/installers/AUDIO/alsa-driver-0.9.5-isis/pci' make: *** [compile] Error 1 I don't know if this error is a problem of the driver but I search the line of isis.c where 'isis_sam_read_data' appears and it is in a section called 'no spinlock' :( |
|
From: Pieter P. <pie...@st...> - 2003-07-27 09:27:32
|
Hi Felipe, This looks like a compiler problem. Or an include file that isn't present. First of all: what distribution do you use? and what version of gcc? Second: make sure that the directory alsa-driver-0.9.5-isis/include contains a symbolic link named sam9407.h that points to the file alsa-driver-0.9.5-isis/pci/isisalsa/sam9407.h This link should be present in the package, but it could be lost during untarring. I do find it a very strange error. I'll look into it. Pieter > > Pieter: > I can't compile the driver. > I can do './configure' but with 'make' in the 'pci/isisalsa' > subdirectory report an error: > > make[2]: Cambiando a directorio > `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/ice1712' > make[2]: Saliendo directorio > `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/ice1712' > make -C isisalsa modules > make[2]: Cambiando a directorio > `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/isisalsa' > gcc -D__KERNEL__ -DMODULE=1 > -I/installers/AUDIO/alsa-driver-0.9.5-isis/include > -I/usr/src/linux-2.4.20-18.1.caps/include -O2 > -mpreferred-stack-boundary=2 -march=athlon -DLINUX -Wall > -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 > -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD > -DKBUILD_BASENAME=isis -c -o isis.o isis.c > isis.c: In function `isis_sam_read_control': > isis.c:611: parse error before `data' > isis.c:615: `data' undeclared (first use in this function) > isis.c:615: (Each undeclared identifier is reported only once > isis.c:615: for each function it appears in.) > isis.c:616: warning: control reaches end of non-void function > isis.c: In function `isis_sam_read_data8': > isis.c:640: parse error before `data' > isis.c:644: `data' undeclared (first use in this function) > isis.c:645: warning: control reaches end of non-void function > isis.c: In function `isis_sam_read_data16': > isis.c:668: parse error before `data' > isis.c:672: `data' undeclared (first use in this function) > isis.c:673: warning: control reaches end of non-void function > isis.c: In function `isis_sam_init': > isis.c:728: parse error before `*' > isis.c:731: `isis' undeclared (first use in this function) > isis.c: In function `snd_isis_init_dmabuf': > isis.c:1678: warning: passing arg 4 of > `snd_malloc_pci_pages_fallback_R9e9124ec' from incompatible pointer type > isis.c: In function `snd_isis_interrupt': > isis.c:2131: parse error before `unsigned' > isis.c:2151: `flags' undeclared (first use in this function) > isis.c: In function `snd_isis_mixer': > isis.c:2241: warning: passing arg 1 of `snd_ctl_new1_R11a21821' discards > qualifiers from pointer target type > isis.c: At top level: > isis_mixer.h:60: warning: `isis_set_volume_monitor' defined but not used > make[2]: *** [isis.o] Error 1 > make[2]: Saliendo directorio > `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/isisalsa' > make[1]: *** [_modsubdir_isisalsa] Error 2 > make[1]: Saliendo directorio > `/installers/AUDIO/alsa-driver-0.9.5-isis/pci' > make: *** [compile] Error 1 > > I don't know if this error is a problem of the driver but I search > the > line of isis.c where 'isis_sam_read_data' appears and it is in a > section called 'no spinlock' :( > |
|
From: Felipe S. <sol...@es...> - 2003-07-27 19:34:35
|
Pieter Palmers wrote: > Hi Felipe, > > This looks like a compiler problem. Or an include file that isn't present. > > First of all: what distribution do you use? and what version of gcc? I'm using RH 7.3 and gcc 2.96 I have alsa-kernel from planet-ccrma 2.4.21.1-II.acpi, but yesterday I tried with 2.4.20-18.1.caps too and results was the same. Before your release I was using alsa 0.9.4 from planet and the via card for trying with jack-ardour. It was uninstalling with synaptic. Today, I'am trying without via82xx onboard from bios. I don't know if that is important, but maybe a hardware conflict... acpi yet... > > Second: make sure that the directory alsa-driver-0.9.5-isis/include > contains a symbolic link named sam9407.h that points to the file > alsa-driver-0.9.5-isis/pci/isisalsa/sam9407.h > This link should be present in the package, but it could be lost during > untarring. The file is ok. After untarring again and looks the symbolic link both archives looks fine. > > I do find it a very strange error. I'll look into it. > > Pieter > >> >> Pieter: >> I can't compile the driver. >> I can do './configure' but with 'make' in the 'pci/isisalsa' > > >> subdirectory report an error: >> >> make[2]: Cambiando a directorio >> `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/ice1712' >> make[2]: Saliendo directorio >> `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/ice1712' >> make -C isisalsa modules >> make[2]: Cambiando a directorio >> `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/isisalsa' >> gcc -D__KERNEL__ -DMODULE=1 >> -I/installers/AUDIO/alsa-driver-0.9.5-isis/include >> -I/usr/src/linux-2.4.20-18.1.caps/include -O2 >> -mpreferred-stack-boundary=2 -march=athlon -DLINUX -Wall >> -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 >> -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD >> -DKBUILD_BASENAME=isis -c -o isis.o isis.c >> isis.c: In function `isis_sam_read_control': >> isis.c:611: parse error before `data' >> isis.c:615: `data' undeclared (first use in this function) >> isis.c:615: (Each undeclared identifier is reported only once >> isis.c:615: for each function it appears in.) >> isis.c:616: warning: control reaches end of non-void function >> isis.c: In function `isis_sam_read_data8': >> isis.c:640: parse error before `data' >> isis.c:644: `data' undeclared (first use in this function) >> isis.c:645: warning: control reaches end of non-void function >> isis.c: In function `isis_sam_read_data16': >> isis.c:668: parse error before `data' >> isis.c:672: `data' undeclared (first use in this function) >> isis.c:673: warning: control reaches end of non-void function >> isis.c: In function `isis_sam_init': >> isis.c:728: parse error before `*' >> isis.c:731: `isis' undeclared (first use in this function) >> isis.c: In function `snd_isis_init_dmabuf': >> isis.c:1678: warning: passing arg 4 of >> `snd_malloc_pci_pages_fallback_R9e9124ec' from incompatible pointer type >> isis.c: In function `snd_isis_interrupt': >> isis.c:2131: parse error before `unsigned' >> isis.c:2151: `flags' undeclared (first use in this function) >> isis.c: In function `snd_isis_mixer': >> isis.c:2241: warning: passing arg 1 of `snd_ctl_new1_R11a21821' discards >> qualifiers from pointer target type >> isis.c: At top level: >> isis_mixer.h:60: warning: `isis_set_volume_monitor' defined but not used >> make[2]: *** [isis.o] Error 1 >> make[2]: Saliendo directorio >> `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/isisalsa' >> make[1]: *** [_modsubdir_isisalsa] Error 2 >> make[1]: Saliendo directorio >> `/installers/AUDIO/alsa-driver-0.9.5-isis/pci' >> make: *** [compile] Error 1 >> >> I don't know if this error is a problem of the driver but I search >> the >> line of isis.c where 'isis_sam_read_data' appears and it is in a >> section called 'no spinlock' :( >> > > > > |
|
From: Pieter P. <pie...@st...> - 2003-07-27 19:57:47
|
Felipe Sologuren wrote: > Pieter Palmers wrote: > > Hi Felipe, > > > > This looks like a compiler problem. Or an include file that isn't > present. > > > > First of all: what distribution do you use? and what version of gcc? > > I'm using RH 7.3 and gcc 2.96 > I have alsa-kernel from planet-ccrma 2.4.21.1-II.acpi, but yesterday I > tried with 2.4.20-18.1.caps too and results was the same. > Before your release I was using alsa 0.9.4 from planet and the via > card > for trying with jack-ardour. It was uninstalling with synaptic. > Today, I'am trying without via82xx onboard from bios. I don't know if > that is important, but maybe a hardware conflict... acpi yet... Possibly the problem arises from the gcc version you use. I use Redhat 8.0 which comes with gcc version >3. There are some differences between the 2.x and 3.x versions of gcc. I haven't tested with gcc 2.96. I'll try and figure out the problems (& solutions) as soon as possible. Pieter |
|
From: Pieter P. <pie...@st...> - 2003-07-27 21:16:47
|
Hi all, I have corrected the compilation problems of Felipe. The new version at sourceforge.net should compile with gcc2.96. I have also added preliminary MIDI support to the driver: - The MIDI connectors on the breakout box are (by hardware) connected to the Maestro MIDI port. This port is also available on the joystick connector. The ALSA device name for the maestro MIDI device is "Maxi Studio ISIS MPU-401 (Maestro)". This midi port was already supported in the previous driver release. - The SAM device contains two MIDI devices: "Maxi Studio ISIS SAM Synth" and "Maxi Studio ISIS SAM MIDI". The first is the internal wavetable synthesiser of the SAM chip. The second is the MIDI port of the SAM chip. Note that these new midi devices aren't very usefull for now: - I still have to write a method to upload soundbanks into the SAM memory, so the synth is pretty much useless (for now). But the soundbank stuff is so damn complicated... - The SAM midi port isn't connected to anything on the ISIS PCB. So why support it you may ask... well: first of all it wasn't difficult to support it, because it's usage almost identical to the internal synth usage. And second, I plan to modify my ISIS PCB to connect the SAM midi port to the breakout box connectors. That way I'll have two midi ports available on the ISIS: one on the breakout box (=SAM midi port) and one on the joystick port (=maestro midi port). The modification is pretty simple... I wonder why the guys at guillemot didn't do it this way... probably because writing a driver would be more difficult. Don't expect these things to work yet, because I can't test them for the moment. I won't be able to work on the driver from July 30 to Aug 20 because I'm working (actually earning some money). After that, I'll have to apply for a PhD scolarship, and I don't know how much time that is going to consume. Probably a lot. From 3sept to 26sept I'm off to Mexico... So I guess the project is pretty much suspended until end september. I'm sorry. Maybe there is someone else who has some basic expierience with ALSA & linux drivers that can help me out? Anyway, try the new driver, http://prdownloads.sourceforge.net/isisalsa/alsa-driver-0.9.5-isis-1.tar.bz2?download Pieter Pieter Palmers wrote: > Felipe Sologuren wrote: > >> Pieter Palmers wrote: >> > Hi Felipe, >> > >> > This looks like a compiler problem. Or an include file that isn't >> present. >> > >> > First of all: what distribution do you use? and what version of gcc? >> >> I'm using RH 7.3 and gcc 2.96 >> I have alsa-kernel from planet-ccrma 2.4.21.1-II.acpi, but yesterday I >> tried with 2.4.20-18.1.caps too and results was the same. >> Before your release I was using alsa 0.9.4 from planet and the >> via card >> for trying with jack-ardour. It was uninstalling with synaptic. >> Today, I'am trying without via82xx onboard from bios. I don't >> know if >> that is important, but maybe a hardware conflict... acpi yet... > > > > Possibly the problem arises from the gcc version you use. I use Redhat > 8.0 which comes with gcc version >3. There are some differences > between the 2.x and 3.x versions of gcc. I haven't tested with gcc 2.96. > I'll try and figure out the problems (& solutions) as soon as possible. > > Pieter > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > Isisalsa-devel mailing list > Isi...@li... > https://lists.sourceforge.net/lists/listinfo/isisalsa-devel > |
|
From: Felipe S. <sol...@es...> - 2003-07-27 18:23:23
|
Pieter Palmers wrote: > Hi Felipe, > > This looks like a compiler problem. Or an include file that isn't present. > > First of all: what distribution do you use? and what version of gcc? I'm using RH 7.3 and gcc 2.96 I have alsa-kernel from planet-ccrma 2.4.21.1-II.acpi, but yesterday I tried with 2.4.20-18.1.caps too and results was the same. Before your release I was using alsa 0.9.4 from planet and the via card for trying with jack-ardour. It was uninstalling with synaptic. Today, I'am trying without via82xx onboard from bios. I don't know if that is important, but maybe a hardware conflict... acpi yet... > > Second: make sure that the directory alsa-driver-0.9.5-isis/include > contains a symbolic link named sam9407.h that points to the file > alsa-driver-0.9.5-isis/pci/isisalsa/sam9407.h > This link should be present in the package, but it could be lost during > untarring. The file is ok. After downloading, untarring again and looks the symbolic link both archives looks fine. > > I do find it a very strange error. I'll look into it. > > Pieter > >> >> Pieter: >> I can't compile the driver. >> I can do './configure' but with 'make' in the 'pci/isisalsa' > > >> subdirectory report an error: >> >> make[2]: Cambiando a directorio >> `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/ice1712' >> make[2]: Saliendo directorio >> `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/ice1712' >> make -C isisalsa modules >> make[2]: Cambiando a directorio >> `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/isisalsa' >> gcc -D__KERNEL__ -DMODULE=1 >> -I/installers/AUDIO/alsa-driver-0.9.5-isis/include >> -I/usr/src/linux-2.4.20-18.1.caps/include -O2 >> -mpreferred-stack-boundary=2 -march=athlon -DLINUX -Wall >> -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 >> -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD >> -DKBUILD_BASENAME=isis -c -o isis.o isis.c >> isis.c: In function `isis_sam_read_control': >> isis.c:611: parse error before `data' >> isis.c:615: `data' undeclared (first use in this function) >> isis.c:615: (Each undeclared identifier is reported only once >> isis.c:615: for each function it appears in.) >> isis.c:616: warning: control reaches end of non-void function >> isis.c: In function `isis_sam_read_data8': >> isis.c:640: parse error before `data' >> isis.c:644: `data' undeclared (first use in this function) >> isis.c:645: warning: control reaches end of non-void function >> isis.c: In function `isis_sam_read_data16': >> isis.c:668: parse error before `data' >> isis.c:672: `data' undeclared (first use in this function) >> isis.c:673: warning: control reaches end of non-void function >> isis.c: In function `isis_sam_init': >> isis.c:728: parse error before `*' >> isis.c:731: `isis' undeclared (first use in this function) >> isis.c: In function `snd_isis_init_dmabuf': >> isis.c:1678: warning: passing arg 4 of >> `snd_malloc_pci_pages_fallback_R9e9124ec' from incompatible pointer type >> isis.c: In function `snd_isis_interrupt': >> isis.c:2131: parse error before `unsigned' >> isis.c:2151: `flags' undeclared (first use in this function) >> isis.c: In function `snd_isis_mixer': >> isis.c:2241: warning: passing arg 1 of `snd_ctl_new1_R11a21821' discards >> qualifiers from pointer target type >> isis.c: At top level: >> isis_mixer.h:60: warning: `isis_set_volume_monitor' defined but not used >> make[2]: *** [isis.o] Error 1 >> make[2]: Saliendo directorio >> `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/isisalsa' >> make[1]: *** [_modsubdir_isisalsa] Error 2 >> make[1]: Saliendo directorio >> `/installers/AUDIO/alsa-driver-0.9.5-isis/pci' >> make: *** [compile] Error 1 >> >> I don't know if this error is a problem of the driver but I search >> the >> line of isis.c where 'isis_sam_read_data' appears and it is in a >> section called 'no spinlock' :( >> > > > > |