bobbyshane@bobslappy:~/line6usb/line6usb-0.7.2$ sudo make install
make -C /lib/modules/2.6.24-16-rt/build SUBDIRS=/home/bobbyshane/line6usb/line6usb-0.7.2 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-rt'
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.2/audio.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.2/capture.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.2/control.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.2/driver.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.2/dumprequest.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.2/midi.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.2/pcm.o
/home/bobbyshane/line6usb/line6usb-0.7.2/pcm.c: In function ‘snd_pod_trigger’:
/home/bobbyshane/line6usb/line6usb-0.7.2/pcm.c:39: error: implicit declaration of function ‘snd_pcm_group_for_each’
/home/bobbyshane/line6usb/line6usb-0.7.2/pcm.c:39: error: expected ‘;’ before ‘{’ token
/home/bobbyshane/line6usb/line6usb-0.7.2/pcm.c:33: warning: unused variable ‘err’
/home/bobbyshane/line6usb/line6usb-0.7.2/pcm.c:32: warning: unused variable ‘s’
make[2]: *** [/home/bobbyshane/line6usb/line6usb-0.7.2/pcm.o] Error 1
make[1]: *** [_module_/home/bobbyshane/line6usb/line6usb-0.7.2] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-rt'
make: *** [default] Error 2
bobbyshane@bobslappy:~/line6usb/line6usb-0.7.2$
Both of which after installing both the linux headers and build essential. If anyone can help or has found a workaround for this please let me know. I had the driver installed fine on my old desktop using Ubuntu Studio 7.10 last year.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> I'm using Ubuntu Studio 8.04 Hardy Heron with the 2.6.24-16-rt kernel.
Another user already reported problems with the 2.6.24 kernel distributed with Ubuntu 8.04. If this problem is specific to Ubuntu, I can't contribute much to its resolution since I'm using SuSE. Can anybody using kernel 2.6.24 either from the original sources or from a different distribution let us know if they are able to build the driver?
Thanks & kind regards,
Markus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just to give a response and report the current status: I gave up for this moment. I found out that the Ubuntu team didn't compile all sound options you need into the kernel. Ubuntu uses Portaudio since Hardy Heron which doesn't seem to need the kernel option "config_snd". I compiled my own kernel and got the PODxt to work without any problem.
Unfortunately it is not possible to get the current kernel config. This means that I would have to do "trail and error" because half of my hardware does not work with my own kernel. There are some config files in /boot but these ones doesn't fit the kernel images. The option to read the config at /proc is not activated. I made a bug report here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/228380 but it took the developers over a month to confirm that bug and it's status is still undecided though. FYI, we discussed this issue at http://forum.ubuntuusers.de/topic/172824/ (German).
I am very disappointed about the Ubuntu team because I don't understand the problem to share a kernel configuration. Please contribute to the bug report.
My solution is just to not use the Hardy kernels. Since I updated from Gutsy I still have an old Kernel image that works with the PODxt. If you can't get one: Wipe Hardy from your hard disk and reinstall Gutsy. Unfortunately there is not much Markus can do about it. I think it would need a rewrite of the driver (using portaudio or jack).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it defiantly something to do with Ubuntu 8.04? I might try download Gutsy. If i can get my guitarport to play sound (i've heard this driver works with guitarport) then i will be really happy!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using Ubuntu Studio 8.04 Hardy Heron with the 2.6.24-16-rt kernel.
When I try to compile 0.7.3 I get this:
bobbyshane@bobslappy:~/line6usb/line6usb-0.7.3$ sudo make install
make -C /lib/modules/2.6.24-16-rt/build SUBDIRS=/home/bobbyshane/line6usb/line6usb-0.7.3 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-rt'
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.3/audio.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.3/capture.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.3/control.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.3/driver.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.3/dumprequest.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.3/midi.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.3/midibuf.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.3/pcm.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.3/playback.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.3/pod.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.3/variax.o
LD [M] /home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: "snd_pcm_period_elapsed" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_rawmidi_set_ops" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_card_disconnect" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_rawmidi_new" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_device_new" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_pcm_set_ops" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_rawmidi_transmit_peek" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_pcm_lib_free_pages" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_pcm_lib_ioctl" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_pcm_lib_malloc_pages" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_card_new" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_rawmidi_transmit_ack" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_ctl_new1" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_pcm_format_physical_width" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_pcm_lib_preallocate_pages_for_all" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_card_free" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_card_register" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_pcm_new" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_ctl_add" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_rawmidi_receive" [/home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko] undefined!
CC /home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.mod.o
LD [M] /home/bobbyshane/line6usb/line6usb-0.7.3/line6usb.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-rt'
mkdir -p /lib/modules/2.6.24-16-rt/kernel/sound/usb
cp line6usb.ko /lib/modules/2.6.24-16-rt/kernel/sound/usb
mkdir -p /usr/bin
cp *.sh *.pl /usr/bin
/sbin/depmod -a
/sbin/modprobe line6usb
When I try to compile 0.7.2 I get this:
bobbyshane@bobslappy:~/line6usb/line6usb-0.7.2$ sudo make install
make -C /lib/modules/2.6.24-16-rt/build SUBDIRS=/home/bobbyshane/line6usb/line6usb-0.7.2 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-rt'
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.2/audio.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.2/capture.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.2/control.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.2/driver.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.2/dumprequest.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.2/midi.o
CC [M] /home/bobbyshane/line6usb/line6usb-0.7.2/pcm.o
/home/bobbyshane/line6usb/line6usb-0.7.2/pcm.c: In function ‘snd_pod_trigger’:
/home/bobbyshane/line6usb/line6usb-0.7.2/pcm.c:39: error: implicit declaration of function ‘snd_pcm_group_for_each’
/home/bobbyshane/line6usb/line6usb-0.7.2/pcm.c:39: error: expected ‘;’ before ‘{’ token
/home/bobbyshane/line6usb/line6usb-0.7.2/pcm.c:33: warning: unused variable ‘err’
/home/bobbyshane/line6usb/line6usb-0.7.2/pcm.c:32: warning: unused variable ‘s’
make[2]: *** [/home/bobbyshane/line6usb/line6usb-0.7.2/pcm.o] Error 1
make[1]: *** [_module_/home/bobbyshane/line6usb/line6usb-0.7.2] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-rt'
make: *** [default] Error 2
bobbyshane@bobslappy:~/line6usb/line6usb-0.7.2$
Both of which after installing both the linux headers and build essential. If anyone can help or has found a workaround for this please let me know. I had the driver installed fine on my old desktop using Ubuntu Studio 7.10 last year.
> I'm using Ubuntu Studio 8.04 Hardy Heron with the 2.6.24-16-rt kernel.
Another user already reported problems with the 2.6.24 kernel distributed with Ubuntu 8.04. If this problem is specific to Ubuntu, I can't contribute much to its resolution since I'm using SuSE. Can anybody using kernel 2.6.24 either from the original sources or from a different distribution let us know if they are able to build the driver?
Thanks & kind regards,
Markus
Just to give a response and report the current status: I gave up for this moment. I found out that the Ubuntu team didn't compile all sound options you need into the kernel. Ubuntu uses Portaudio since Hardy Heron which doesn't seem to need the kernel option "config_snd". I compiled my own kernel and got the PODxt to work without any problem.
Unfortunately it is not possible to get the current kernel config. This means that I would have to do "trail and error" because half of my hardware does not work with my own kernel. There are some config files in /boot but these ones doesn't fit the kernel images. The option to read the config at /proc is not activated. I made a bug report here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/228380 but it took the developers over a month to confirm that bug and it's status is still undecided though. FYI, we discussed this issue at http://forum.ubuntuusers.de/topic/172824/ (German).
I am very disappointed about the Ubuntu team because I don't understand the problem to share a kernel configuration. Please contribute to the bug report.
My solution is just to not use the Hardy kernels. Since I updated from Gutsy I still have an old Kernel image that works with the PODxt. If you can't get one: Wipe Hardy from your hard disk and reinstall Gutsy. Unfortunately there is not much Markus can do about it. I think it would need a rewrite of the driver (using portaudio or jack).
Excuse me. When I wrote "portaudio" I meant "pulseaudio".
I'm also using Ubuntu 8.04 with the 2.6.24-generic kernel, and i get this:
mark@mark-desktop:~/line6usb-0.7.3$ sudo make install
make -C /lib/modules/2.6.24-21-generic/build SUBDIRS=/home/mark/line6usb-0.7.3 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-21-generic'
Building modules, stage 2.
MODPOST 1 modules
WARNING: "snd_pcm_period_elapsed" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_rawmidi_set_ops" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_card_disconnect" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_rawmidi_new" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_device_new" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_pcm_set_ops" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_rawmidi_transmit_peek" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_pcm_lib_free_pages" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_pcm_lib_ioctl" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_pcm_lib_malloc_pages" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_card_new" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_rawmidi_transmit_ack" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_ctl_new1" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_pcm_format_physical_width" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_pcm_lib_preallocate_pages_for_all" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_card_free" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_card_register" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_pcm_new" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_ctl_add" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
WARNING: "snd_rawmidi_receive" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-21-generic'
mkdir -p /lib/modules/2.6.24-21-generic/kernel/sound/usb
cp line6usb.ko /lib/modules/2.6.24-21-generic/kernel/sound/usb
mkdir -p /usr/bin
cp *.sh *.pl /usr/bin
/sbin/depmod -a
/sbin/modprobe line6usb
mark@mark-desktop:~/line6usb-0.7.3$
Is it defiantly something to do with Ubuntu 8.04? I might try download Gutsy. If i can get my guitarport to play sound (i've heard this driver works with guitarport) then i will be really happy!
> WARNING: "snd_pcm_period_elapsed" [/home/mark/line6usb-0.7.3/line6usb.ko] undefined!
> [...]
7.3 is quite out of date, and the next release will not be in the near future, so in the meantime you should get the recent sources from subversion:
svn co https://line6linux.svn.sourceforge.net/svnroot/line6linux/driver/trunk
Kind regards,
Markus