Discussion:
[linux-audio-user] Line6 POD XT Live
Markus Grabner
2005-04-17 00:32:28 UTC
Permalink
Hi POD users!

I just read your messages about using the POD XT Live under Linux. I am
very curious if this actually worked since Line6 told me about modifications
in the audio interface made for the POD XT Live, which I blindly added to the
driver without testing since I don't own a POD XT Live. Please let me know if
you were successful, and if not, what exactly went wrong (syslog etc.), so I
can try to fix it.

Thanks,
Markus
Them
2005-04-17 00:53:18 UTC
Permalink
Post by Markus Grabner
I just read your messages about using the POD XT Live under Linux. I am
very curious if this actually worked since Line6 told me about modifications
in the audio interface made for the POD XT Live, which I blindly added to the
driver without testing since I don't own a POD XT Live. Please let me know if
you were successful, and if not, what exactly went wrong (syslog etc.), so I
can try to fix it.
Do the drivers only work on 2.6 kernels? I'm still using a 2.4 kernel.
I'd love to help with the testing.

-- Brett
Markus Grabner
2005-04-17 01:03:36 UTC
Permalink
Post by Them
Post by Markus Grabner
I just read your messages about using the POD XT Live under Linux. I
am very curious if this actually worked since Line6 told me about
modifications in the audio interface made for the POD XT Live, which I
blindly added to the driver without testing since I don't own a POD XT
Live. Please let me know if you were successful, and if not, what exactly
went wrong (syslog etc.), so I can try to fix it.
Do the drivers only work on 2.6 kernels? I'm still using a 2.4 kernel.
I'd love to help with the testing.
I never tried to compile the driver on a 2.4 kernel, and I would actually be
quite surprised if it worked. The audio subsystem relies on some very recent
features of ALSA, which only appeared in 2.6 kernels. Maybe that's a good
time to make the step :-)

Kind regards,
Markus
--
Markus Grabner - Computer Graphics and Vision
Graz University of Technology, Inffeldgasse 16/II, 8010 Graz, Austria
Phone: +43/316/873-5041, Fax: +43/316/873-5050
Email: ***@icg.tu-graz.ac.at, WWW: http://www.icg.tu-graz.ac.at/~grabner
Noah Roberts
2005-04-17 01:46:37 UTC
Permalink
Post by Markus Grabner
I just read your messages about using the POD XT Live under Linux. I
am very curious if this actually worked since Line6 told me about
modifications in the audio interface made for the POD XT Live, which I
blindly added to the driver without testing since I don't own a POD XT
Live. Please let me know if you were successful, and if not, what exactly
went wrong (syslog etc.), so I can try to fix it.
I will, but it might be a while before I get to it. I am building my
studio and will probably be reinstalling my OS during the changeover.
I have been using 64bit linux and too many audio apps are just not
stable in 64 bit mode.
Markus Grabner
2005-04-17 02:01:38 UTC
Permalink
Post by Noah Roberts
Post by Markus Grabner
I just read your messages about using the POD XT Live under
Linux. I am very curious if this actually worked since Line6 told me
about modifications in the audio interface made for the POD XT Live,
which I blindly added to the driver without testing since I don't own
a POD XT Live. Please let me know if you were successful, and if not,
what exactly went wrong (syslog etc.), so I can try to fix it.
I will, but it might be a while before I get to it. I am building my
studio and will probably be reinstalling my OS during the changeover.
I have been using 64bit linux and too many audio apps are just not
stable in 64 bit mode.
Mine is ;-) I had to do remarkably few changes when migrating the driver from
IA32 to AMD64, which is now the platform I am using for development. I don't
know, however, about IA64. Has anybody tried?

Kind regards,
Markus
--
Markus Grabner - Computer Graphics and Vision
Graz University of Technology, Inffeldgasse 16/II, 8010 Graz, Austria
Phone: +43/316/873-5041, Fax: +43/316/873-5050
Email: ***@icg.tu-graz.ac.at, WWW: http://www.icg.tu-graz.ac.at/~grabner
Them
2005-04-17 02:43:13 UTC
Permalink
Post by Markus Grabner
Post by Them
Do the drivers only work on 2.6 kernels? I'm still using a 2.4 kernel.
I'd love to help with the testing.
I never tried to compile the driver on a 2.4 kernel, and I would actually be
quite surprised if it worked. The audio subsystem relies on some very recent
features of ALSA, which only appeared in 2.6 kernels. Maybe that's a good
time to make the step :-)
Maybe it is time to make the jump to the 2.6 kernel.
Noah Roberts
2005-05-01 07:20:09 UTC
Permalink
Post by Markus Grabner
Hi POD users!
I just read your messages about using the POD XT Live under Linux. I am
very curious if this actually worked since Line6 told me about modifications
in the audio interface made for the POD XT Live, which I blindly added to the
driver without testing since I don't own a POD XT Live. Please let me know if
you were successful, and if not, what exactly went wrong (syslog etc.), so I
can try to fix it.
Well, it wouldn't build for one thing:

make -C /lib/modules/2.6.5-gentoo-r1/build
SUBDIRS=/home/nroberts/podxtpro-0.3 modules
make[1]: Entering directory `/usr/src/linux-2.6.5-gentoo-r1'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[2]: `arch/x86_64/kernel/asm-offsets.s' is up to date.
CC [M] /home/nroberts/podxtpro-0.3/audio.o
/home/nroberts/podxtpro-0.3/audio.c: In function `snd_podxtpro_control_get':
/home/nroberts/podxtpro-0.3/audio.c:62: error:
`snd_podxtpro_audio_t_magic' undeclared (first use in this function)
/home/nroberts/podxtpro-0.3/audio.c:62: error: (Each undeclared
identifier is reported only once
/home/nroberts/podxtpro-0.3/audio.c:62: error: for each function it appears in.)
/home/nroberts/podxtpro-0.3/audio.c: In function `snd_podxtpro_control_put':
/home/nroberts/podxtpro-0.3/audio.c:73: error:
`snd_podxtpro_audio_t_magic' undeclared (first use in this function)
/home/nroberts/podxtpro-0.3/audio.c: In function `cleanup_audio':
/home/nroberts/podxtpro-0.3/audio.c:207: warning: implicit declaration
of function `usb_kill_urb'
make[2]: *** [/home/nroberts/podxtpro-0.3/audio.o] Error 1
make[1]: *** [/home/nroberts/podxtpro-0.3] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-gentoo-r1'
make: *** [default] Error 2



***@bart podxtpro-0.3 $ grep -n snd_podxtpro_audio_t_magic *
***@bart podxtpro-0.3 $

Install txt doesn't say anything about needing any other packages...
Robert Jonsson
2005-05-01 13:57:30 UTC
Permalink
Hi,
Post by Noah Roberts
Post by Markus Grabner
Hi POD users!
I just read your messages about using the POD XT Live under Linux. I
am very curious if this actually worked since Line6 told me about
modifications in the audio interface made for the POD XT Live, which I
blindly added to the driver without testing since I don't own a POD XT
Live. Please let me know if you were successful, and if not, what exactly
went wrong (syslog etc.), so I can try to fix it.
Haven't tried it yet, didn't know it was at all possible to create a driver
for it even!
It does build just fine on my system though. Kernel 2.6.12rc2<yadayadayada>

I'm unable to find _any_ reference to the `snd_podxtpro_audio_t_magic'.
Possibly the _magic is appended by some macro, the rest is available...
Possibly it's kernel dependent...

Try unpacking the files again, perhaps there was a mismatch with some source?
Post by Noah Roberts
make -C /lib/modules/2.6.5-gentoo-r1/build
SUBDIRS=/home/nroberts/podxtpro-0.3 modules
make[1]: Entering directory `/usr/src/linux-2.6.5-gentoo-r1'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[2]: `arch/x86_64/kernel/asm-offsets.s' is up to date.
CC [M] /home/nroberts/podxtpro-0.3/audio.o
/home/nroberts/podxtpro-0.3/audio.c: In function
`snd_podxtpro_audio_t_magic' undeclared (first use in this function)
/home/nroberts/podxtpro-0.3/audio.c:62: error: (Each undeclared
identifier is reported only once
/home/nroberts/podxtpro-0.3/audio.c:62: error: for each function it appears
in.) /home/nroberts/podxtpro-0.3/audio.c: In function
`snd_podxtpro_audio_t_magic' undeclared (first use in this function)
/home/nroberts/podxtpro-0.3/audio.c:207: warning: implicit declaration
of function `usb_kill_urb'
make[2]: *** [/home/nroberts/podxtpro-0.3/audio.o] Error 1
make[1]: *** [/home/nroberts/podxtpro-0.3] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-gentoo-r1'
make: *** [default] Error 2
Install txt doesn't say anything about needing any other packages...
--
http://spamatica.se/musicsite/
Noah Roberts
2005-05-01 18:53:09 UTC
Permalink
Post by Robert Jonsson
Haven't tried it yet, didn't know it was at all possible to create a driver
for it even!
It does build just fine on my system though. Kernel 2.6.12rc2<yadayadayada>
Ok, I will try updating kernel later. What gcc you using?
Noah Roberts
2005-05-02 03:28:07 UTC
Permalink
Post by Noah Roberts
Post by Robert Jonsson
Haven't tried it yet, didn't know it was at all possible to create a driver
for it even!
It does build just fine on my system though. Kernel 2.6.12rc2<yadayadayada>
Ok, I will try updating kernel later. What gcc you using?
kernel update did the trick. Now have to see if it actually works.
Loaded ok anyway...
Noah Roberts
2005-05-02 05:07:26 UTC
Permalink
Post by Noah Roberts
Post by Noah Roberts
Post by Robert Jonsson
Haven't tried it yet, didn't know it was at all possible to create a driver
for it even!
It does build just fine on my system though. Kernel 2.6.12rc2<yadayadayada>
Ok, I will try updating kernel later. What gcc you using?
kernel update did the trick. Now have to see if it actually works.
Loaded ok anyway...
No. The podxtpro module doesn't seem to work with the live. I get an
oops as soon as I activate a connection to the pod.

Bootdata ok (command line is root=/dev/hda2)
Linux version 2.6.11-gentoo-r6 (***@bart.simpsons.net) (gcc version 3.3.2 20031
022 (Gentoo Linux 3.3.2-r2, propolice)) #4 Sun May 1 21:51:03 PDT 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
ACPI: RSDP (v000 VIAK8 ) @ 0x00000000000f6380
ACPI: RSDT (v001 VIAK8 AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x000000003fff300
0
ACPI: FADT (v001 VIAK8 AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x000000003fff304
0
ACPI: MADT (v001 VIAK8 AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x000000003fff760
0
ACPI: DSDT (v001 VIAK8 AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x000000000000000
0
On node 0 totalpages: 262128
Noah Roberts
2005-05-02 05:10:14 UTC
Permalink
Post by Noah Roberts
Post by Noah Roberts
Post by Noah Roberts
Post by Robert Jonsson
Haven't tried it yet, didn't know it was at all possible to create a driver
for it even!
It does build just fine on my system though. Kernel 2.6.12rc2<yadayadayada>
Ok, I will try updating kernel later. What gcc you using?
kernel update did the trick. Now have to see if it actually works.
Loaded ok anyway...
No. The podxtpro module doesn't seem to work with the live. I get an
oops as soon as I activate a connection to the pod.
Damnit, hit a shortcut key on accident and sent an incomplete oops.

Here is a complete one:

usbcore: registered new driver podxtpro
usb 4-2: new full speed USB device using uhci_hcd and address 2
podxtpro 4-2:1.0: Line6 PODxt Live found
podxtpro 4-2:1.0: Line6 PODxt Live now attached
podxtpro 4-2:1.1: Line6 PODxt Live found
Unable to handle kernel NULL pointer dereference at 0000000000000040 RIP:
<ffffffff880c92f3>{:podxtpro:cleanup_audio+35}
PGD 3e934067 PUD 3ea22067 PMD 0
Oops: 0000 [1]
CPU 0
Modules linked in: podxtpro uhci_hcd snd_seq_midi snd_ioctl32 snd_pcm_oss snd_mi
xer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_ens1371 snd_rawmidi snd_seq_d
evice snd_ac97_codec snd_pcm snd_timer snd soundcore snd_page_alloc usbcore 8139
too
Pid: 1122, comm: khubd Not tainted 2.6.11-gentoo-r6
RIP: 0010:[<ffffffff880c92f3>] <ffffffff880c92f3>{:podxtpro:cleanup_audio+35}
RSP: 0018:ffff81003e9e3c28 EFLAGS: 00010296
RAX: fffffffffffffff0 RBX: 0000000000000007 RCX: ffff81003f13aec0
RDX: 00000000001af408 RSI: 00000000000000d0 RDI: ffff81003d26fe00
RBP: 0000000000000000 R08: ffff81003d9b8840 R09: ffff81003d0e3280
R10: ffff81003ce5cb80 R11: 0000000000000000 R12: 0000000000000007
R13: ffff81003cba9428 R14: ffff81003d26feb8 R15: ffffffff880cdfa4
FS: 00002aaaab01f060(0000) GS:ffffffff804198c0(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000040 CR3: 000000003eb83000 CR4: 00000000000006e0
Process khubd (pid: 1122, threadinfo ffff81003e9e2000, task ffff81003f4d07e0)
Stack: ffffffff880ce0d7 ffff81003cba9428 ffff81003d26fe20 ffff81003d26fe20
ffff81003d26fe00 ffffffff880cc943 ffff81003d26fe00 ffff81003cba9428
ffff81003d9b88e8 ffffffff880ccf53
Call Trace:<ffffffff880cc943>{:podxtpro:destruct+35} <ffffffff880ccf53>{:podxtpr
o:podxtpro_probe+1411}
<ffffffff8019e505>{sysfs_new_dirent+37} <ffffffff88007089>{:usbcore:usb_p
robe_interface+105}
<ffffffff8024dd5d>{driver_probe_device+77} <ffffffff8024dde3>{device_atta
ch+83}
<ffffffff8024e101>{bus_add_device+97} <ffffffff8024ceb4>{device_add+148}
<ffffffff8800e3d6>{:usbcore:usb_set_configuration+918}
<ffffffff8019e589>{sysfs_make_dirent+41} <ffffffff88009623>{:usbcore:usb_
new_device+227}
<ffffffff8800a57d>{:usbcore:hub_port_connect_change+701}
<ffffffff8800a84b>{:usbcore:hub_events+571} <ffffffff8800a935>{:usbcore:h
ub_thread+37}
<ffffffff80143550>{autoremove_wake_function+0} <ffffffff80143550>{autorem
ove_wake_function+0}
<ffffffff8012c731>{schedule_tail+17} <ffffffff8010ebdb>{child_rip+8}
<ffffffff8800a910>{:usbcore:hub_thread+0} <ffffffff8010ebd3>{child_rip+0}



Code: 48 8b 7c dd 08 48 85 ff 74 13 e8 3e 37 f4 ff 48 8b 7c dd 08
RIP <ffffffff880c92f3>{:podxtpro:cleanup_audio+35} RSP <ffff81003e9e3c28>
CR2: 0000000000000040

Tried with both preempt in and out. This is amd64 in 64 mode.

Loading...