1. Make sure you have the correct kernel headers installed. (not sure how to do this on fedora)
2. Pull down the latest source from the svn repository. The 0.7.2 tarball on the website did not compile for me either (failed on pcm.c as well). To do that, make sure you have subversion (also known as svn) installed. Then make a new directory and from that directory run:
svn co https://line6linux.svn.sourceforge.net/svnroot/line6linux/driver/trunk
then
cd trunk
3. Run your make install. Running "sudo make install" instead of just "make install" could also help if you are getting permissions errors.
Hope this helps!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the help. I'll try this when I get home. I have the kernel headers installed already (sudo yum install kernel-headers I think) because I needed them for something else. I also have svn installed because I use it for my own programs (but I don't code in c).
Many thanks
Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was able to compile, though I had to do it as root. Unfortunately, Plugging my Bass POD xt Live into my PC (or switching it on while plugged in) causes my PC to freeze after 4 or 5 seconds and I have to hit the reset button. Booting Linux while the pod it plugged in doesn't work either; it stops loading at the point it would normally bring up the x server (I normally get a flash of the nVidia logo but this doesn't happen).
Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've found the following in my log files. The first entry seems to correspond with when I ran 'sudo make install' and thereafter with then I plugged the pod in for the first time. I should probably also point out that my Variax Bass was attached to the pod via a variax cable at the time, though I think the PC still crashes when this isn't the case (I need to check this).
Oct 29 18:30:38 localhost kernel: usbcore: registered new interface driver line6usb
Oct 29 18:32:20 localhost kernel: usb 4-1: new full speed USB device using uhci_hcd and address 2
Oct 29 18:32:21 localhost kernel: usb 4-1: configuration #1 chosen from 1 choice
Oct 29 18:32:21 localhost kernel: line6usb 4-1:1.0: Line6 BassPODxt Live found
Oct 29 18:32:21 localhost kernel: line6usb 4-1:1.0: Line6 BassPODxt Live now attached
Oct 29 18:32:21 localhost kernel: Line6 device 0: BassPODxt Live:0
Oct 29 18:32:21 localhost kernel: Line6 device 1: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 2: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 3: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 4: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 5: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 6: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 7: (not used)
Oct 29 18:32:21 localhost kernel: line6usb 4-1:1.1: Line6 BassPODxt Live found
Oct 29 18:32:21 localhost kernel: line6usb 4-1:1.1: Line6 BassPODxt Live now attached
Oct 29 18:32:21 localhost kernel: Line6 device 0: BassPODxt Live:0
Oct 29 18:32:21 localhost kernel: Line6 device 1: BassPODxt Live:1
Oct 29 18:32:21 localhost kernel: Line6 device 2: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 3: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 4: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 5: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 6: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 7: (not used)
Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.0: S0000: F0 7E 7F 06 01 F7 .~....
Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.0: R0000: F2 7E 7F 06 02 00 01 0C .~......
Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.0: R0008: 03 00 0B 00 00 01 00 04 ........
Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.0: R0010: F7 .
Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.1: S0000: F0 7E 7F 06 01 F7 .~....
Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.1: R0000: F2 7E 7F 06 02 00 01 0C .~......
Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.1: R0008: 03 00 0B 00 00 01 00 04 ........
Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.1: R0010: F7 .
Oct 29 18:32:25 localhost kernel: line6usb 4-1:1.0: S0000: F0 00 01 0C 03 75 F7 .....u.
Oct 29 18:32:25 localhost kernel: line6usb 4-1:1.0: R0000: F2 00 01 0C 03 74 0B .....t.
Oct 29 18:32:25 localhost kernel: line6usb 4-1:1.1: S0000: F0 00 01 0C 03 75 F7 .....u.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do the line6usb entries stop at Oct 29 18:32:25, or do they continue? The lines containing "S0000" are polling messages sent to the device to check if it is available (according to a Line6 engineer there is no other way to do this). Once the device responded, no more polling messages are sent to it. Please check without Variax bass since this configuration has never been tried before with this driver as far as I know.
Kind regards,
Markus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hm, that's weird. The last "sign of life" of the driver is the output of data received from the device, which I guess comes from line 333 in driver.c ("line6_dump_urb(urb);"). We need to track this down further to find the exact location in the code up to which the driver runs normally. Please try the following:
*) set DO_DUMP_MIDI_SEND and DO_DUMP_MIDI_RECEIVE to 1 in config.h
*) place several "CHECKPOINT;" macros in the code (preferably into empty lines so that the line numbers are not messed up and I can follow the log messages). The most interesting functions are pod.c:pod_startup_timeout, pod.c:pod_process_message, and driver.c:line6_data_received), in particular close to code which communicates with the device (I tried to use descriptive names for functions and variables - good luck :-)
This will further increase the size of your log file, but might provide useful information to locate the problem.
It would also be very interesting to know if the problem already exists with kernel version earlier than 2.6.22. Do you have some older machine to check this?
Kind regards,
Markus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'll try these tomorrow evening and let you know what happens. Unfortunately, I only have the one Linux PC. I also have a Windows Laptop and I'll make such that the pod works on that - its been a few months since I last connected it to the laptop.
Cheers
Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okay, so I've added the debug code and here are the log file entries. I haven't targeted any code in particular, I've just tried to find blank lines in the three methods that you mentioned. If you need further output, you can always direct me to add the macro to specific lines.
Oct 30 20:34:17 localhost kernel: usb 4-2: new full speed USB device using uhci_hcd and address 2
Oct 30 20:34:17 localhost kernel: usb 4-2: configuration #1 chosen from 1 choice
Oct 30 20:34:17 localhost kernel: line6usb 4-2:1.0: Line6 BassPODxt Live found
Oct 30 20:34:17 localhost kernel: line6usb 4-2:1.0: Line6 BassPODxt Live now attached
Oct 30 20:34:17 localhost kernel: Line6 device 0: BassPODxt Live:0
Oct 30 20:34:17 localhost kernel: Line6 device 1: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 2: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 3: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 4: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 5: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 6: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 7: (not used)
Oct 30 20:34:17 localhost kernel: line6usb 4-2:1.1: Line6 BassPODxt Live found
Oct 30 20:34:17 localhost kernel: line6usb 4-2:1.1: Line6 BassPODxt Live now attached
Oct 30 20:34:17 localhost kernel: Line6 device 0: BassPODxt Live:0
Oct 30 20:34:17 localhost kernel: Line6 device 1: BassPODxt Live:1
Oct 30 20:34:17 localhost kernel: Line6 device 2: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 3: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 4: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 5: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 6: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 7: (not used)
Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:105)
Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:121)
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: S0000: F0 7E 7F 06 01 F7 .~....
Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:134)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:328)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:331)
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: R0000: F2 7E 7F 06 02 00 01 0C .~......
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: R0008: 03 00 0B 00 00 01 00 04 ........
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: R0010: F7 .
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:335)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:337)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:342)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:348)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:352)
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: r0000: F2 7E 7F 06 02 00 01 0C .~......
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: r0008: 03 00 0B 00 00 01 00 04 ........
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:358)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:184)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:195)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:298)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:313)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:348)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:352)
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: r0000: F7 .
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:358)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:184)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:195)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:389)
Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:105)
Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:121)
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: S0000: F0 7E 7F 06 01 F7 .~....
Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:134)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:328)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:331)
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: R0000: F2 7E 7F 06 02 00 01 0C .~......
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: R0008: 03 00 0B 00 00 01 00 04 ........
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: R0010: F7 .
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:335)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:337)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:342)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:348)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:352)
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: r0000: F2 7E 7F 06 02 00 01 0C .~......
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: r0008: 03 00 0B 00 00 01 00 04 ........
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:358)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:184)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:195)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:298)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:313)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:348)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:352)
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: r0000: F7 .
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:358)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:184)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:195)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:389)
Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:105)
Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:121)
Oct 30 20:34:21 localhost kernel: line6usb 4-2:1.0: S0000: F0 00 01 0C 03 75 F7 .....u.
Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:134)
Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:105)
Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:121)
Oct 30 20:34:21 localhost kernel: line6usb 4-2:1.1: S0000: F0 00 01 0C 03 75 F7 .....u.
Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:134)
Oct 30 20:34:21 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:328)
Oct 30 20:34:21 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:331)
Oct 30 20:34:21 localhost kernel: line6usb 4-2:1.0: R0000: F2 00 01 0C 03 74 0B 42 .....t.B
I really hope this helps.
Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A further observation. Towards the end, we get output from lines 328 and 331 but I also copied the macro to lines 335, 337 and 342 (and more) which would suggest that lines 332 to 334 are the lines that cause the crash. I'll reproduce them here.
It would be great if the error occurred in "line6_dump_urb(urb);" since this is just debugging stuff and can be easily removed. Just try to set DO_DEBUG_MESSAGES to 0 in config.h, then this code will not be compiled at all. Nevertheless, besides this "symptomatic approach" it would be helpful to know what causes this problem since it might also appear in code which can not be removed, so I would very much appreciate if you could track this down further.
Kind regards,
Markus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've done what I said I would in my last post and add the macro to line6_dump_urb(). There are too many log entries to copy here but there is the last section:
Oct 30 21:01:12 localhost kernel: line6usb 4-2:1.1: r0000: F7 .
Oct 30 21:01:12 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:358)
Oct 30 21:01:12 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:184)
Oct 30 21:01:12 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:195)
Oct 30 21:01:12 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
Oct 30 21:01:12 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:389)
Oct 30 21:01:13 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:105)
Oct 30 21:01:13 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:121)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:132)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:138)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
I also copied the macro to lines 152 and 156, so this gives us the following code:
Okay, so to compile with debugging switched off I also had to remove the two occurrences of CHECKPOINT in playback.c (lines 297 and 299). Unfortunately, my PC still crashed when I switched the pod on. Obviously, I have no log entries to give other than the usual:
Oct 30 21:43:57 localhost kernel: usb 4-2: new full speed USB device using uhci_hcd and address 2
Oct 30 21:43:58 localhost kernel: usb 4-2: configuration #1 chosen from 1 choice
Oct 30 21:43:58 localhost kernel: line6usb 4-2:1.0: Line6 BassPODxt Live found
Oct 30 21:43:58 localhost kernel: line6usb 4-2:1.0: Line6 BassPODxt Live now attached
Oct 30 21:43:58 localhost kernel: Line6 device 0: BassPODxt Live:0
Oct 30 21:43:58 localhost kernel: Line6 device 1: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 2: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 3: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 4: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 5: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 6: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 7: (not used)
Oct 30 21:43:58 localhost kernel: line6usb 4-2:1.1: Line6 BassPODxt Live found
Oct 30 21:43:58 localhost kernel: line6usb 4-2:1.1: Line6 BassPODxt Live now attached
Oct 30 21:43:58 localhost kernel: Line6 device 0: BassPODxt Live:0
Oct 30 21:43:58 localhost kernel: Line6 device 1: BassPODxt Live:1
Oct 30 21:43:58 localhost kernel: Line6 device 2: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 3: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 4: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 5: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 6: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 7: (not used)
Not sure what to try next.
Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I'm using Fedora Core 6 and I'm trying to install the line6usb driver but I can't get it to work. Running make install gives me the following output.
make -C /lib/modules/2.6.22.9-61.fc6/build SUBDIRS=/home/michael/Desktop/line6usb-0.7.2 modules
make[1]: Entering directory `/usr/src/kernels/2.6.22.9-61.fc6-i686'
CC [M] /home/michael/Desktop/line6usb-0.7.2/pcm.o
/home/michael/Desktop/line6usb-0.7.2/pcm.c: In function ‘snd_pod_trigger’:
/home/michael/Desktop/line6usb-0.7.2/pcm.c:39: warning: implicit declaration of function ‘snd_pcm_group_for_each’
/home/michael/Desktop/line6usb-0.7.2/pcm.c:39: error: expected ‘;’ before ‘{’ token
/home/michael/Desktop/line6usb-0.7.2/pcm.c:33: warning: unused variable ‘err’
/home/michael/Desktop/line6usb-0.7.2/pcm.c:32: warning: unused variable ‘s’
/home/michael/Desktop/line6usb-0.7.2/pcm.c: At top level:
/home/michael/Desktop/line6usb-0.7.2/pcm.c:235: fatal error: opening dependency file /home/michael/Desktop/line6usb-0.7.2/.pcm.o.d: Permission denied
compilation terminated.
make[2]: *** [/home/michael/Desktop/line6usb-0.7.2/pcm.o] Error 1
make[1]: *** [_module_/home/michael/Desktop/line6usb-0.7.2] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.22.9-61.fc6-i686'
make: *** [default] Error 2
I'd really like to get this to work.
Michael
1. Make sure you have the correct kernel headers installed. (not sure how to do this on fedora)
2. Pull down the latest source from the svn repository. The 0.7.2 tarball on the website did not compile for me either (failed on pcm.c as well). To do that, make sure you have subversion (also known as svn) installed. Then make a new directory and from that directory run:
svn co https://line6linux.svn.sourceforge.net/svnroot/line6linux/driver/trunk
then
cd trunk
3. Run your make install. Running "sudo make install" instead of just "make install" could also help if you are getting permissions errors.
Hope this helps!
Hi
Thanks for the help. I'll try this when I get home. I have the kernel headers installed already (sudo yum install kernel-headers I think) because I needed them for something else. I also have svn installed because I use it for my own programs (but I don't code in c).
Many thanks
Michael
Hi
Well, that worked, kind of.
I was able to compile, though I had to do it as root. Unfortunately, Plugging my Bass POD xt Live into my PC (or switching it on while plugged in) causes my PC to freeze after 4 or 5 seconds and I have to hit the reset button. Booting Linux while the pod it plugged in doesn't work either; it stops loading at the point it would normally bring up the x server (I normally get a flash of the nVidia logo but this doesn't happen).
Michael
Are there any log messages related to the line6linux driver in the system log file (usually /var/log/messages)?
Kind regards,
Markus
I've found the following in my log files. The first entry seems to correspond with when I ran 'sudo make install' and thereafter with then I plugged the pod in for the first time. I should probably also point out that my Variax Bass was attached to the pod via a variax cable at the time, though I think the PC still crashes when this isn't the case (I need to check this).
Oct 29 18:30:38 localhost kernel: usbcore: registered new interface driver line6usb
Oct 29 18:32:20 localhost kernel: usb 4-1: new full speed USB device using uhci_hcd and address 2
Oct 29 18:32:21 localhost kernel: usb 4-1: configuration #1 chosen from 1 choice
Oct 29 18:32:21 localhost kernel: line6usb 4-1:1.0: Line6 BassPODxt Live found
Oct 29 18:32:21 localhost kernel: line6usb 4-1:1.0: Line6 BassPODxt Live now attached
Oct 29 18:32:21 localhost kernel: Line6 device 0: BassPODxt Live:0
Oct 29 18:32:21 localhost kernel: Line6 device 1: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 2: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 3: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 4: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 5: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 6: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 7: (not used)
Oct 29 18:32:21 localhost kernel: line6usb 4-1:1.1: Line6 BassPODxt Live found
Oct 29 18:32:21 localhost kernel: line6usb 4-1:1.1: Line6 BassPODxt Live now attached
Oct 29 18:32:21 localhost kernel: Line6 device 0: BassPODxt Live:0
Oct 29 18:32:21 localhost kernel: Line6 device 1: BassPODxt Live:1
Oct 29 18:32:21 localhost kernel: Line6 device 2: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 3: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 4: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 5: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 6: (not used)
Oct 29 18:32:21 localhost kernel: Line6 device 7: (not used)
Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.0: S0000: F0 7E 7F 06 01 F7 .~....
Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.0: R0000: F2 7E 7F 06 02 00 01 0C .~......
Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.0: R0008: 03 00 0B 00 00 01 00 04 ........
Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.0: R0010: F7 .
Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.1: S0000: F0 7E 7F 06 01 F7 .~....
Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.1: R0000: F2 7E 7F 06 02 00 01 0C .~......
Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.1: R0008: 03 00 0B 00 00 01 00 04 ........
Oct 29 18:32:24 localhost kernel: line6usb 4-1:1.1: R0010: F7 .
Oct 29 18:32:25 localhost kernel: line6usb 4-1:1.0: S0000: F0 00 01 0C 03 75 F7 .....u.
Oct 29 18:32:25 localhost kernel: line6usb 4-1:1.0: R0000: F2 00 01 0C 03 74 0B .....t.
Oct 29 18:32:25 localhost kernel: line6usb 4-1:1.1: S0000: F0 00 01 0C 03 75 F7 .....u.
That was kind of telepathy :-)
Do the line6usb entries stop at Oct 29 18:32:25, or do they continue? The lines containing "S0000" are polling messages sent to the device to check if it is available (according to a Line6 engineer there is no other way to do this). Once the device responded, no more polling messages are sent to it. Please check without Variax bass since this configuration has never been tried before with this driver as far as I know.
Kind regards,
Markus
Hi Markus
I've unplugged the bass and then plugged the pod into my PC, and I'm sorry to say, it froze up again. Here is my log.
Oct 29 21:01:28 localhost kernel: usb 4-1: new full speed USB device using uhci_hcd and address 2
Oct 29 21:01:28 localhost kernel: usb 4-1: configuration #1 chosen from 1 choice
Oct 29 21:01:29 localhost kernel: line6usb 4-1:1.0: Line6 BassPODxt Live found
Oct 29 21:01:29 localhost kernel: line6usb 4-1:1.0: Line6 BassPODxt Live now attached
Oct 29 21:01:29 localhost kernel: Line6 device 0: BassPODxt Live:0
Oct 29 21:01:29 localhost kernel: Line6 device 1: (not used)
Oct 29 21:01:29 localhost kernel: Line6 device 2: (not used)
Oct 29 21:01:29 localhost kernel: Line6 device 3: (not used)
Oct 29 21:01:29 localhost kernel: Line6 device 4: (not used)
Oct 29 21:01:29 localhost kernel: Line6 device 5: (not used)
Oct 29 21:01:29 localhost kernel: Line6 device 6: (not used)
Oct 29 21:01:29 localhost kernel: Line6 device 7: (not used)
Oct 29 21:01:29 localhost kernel: line6usb 4-1:1.1: Line6 BassPODxt Live found
Oct 29 21:01:29 localhost kernel: line6usb 4-1:1.1: Line6 BassPODxt Live now attached
Oct 29 21:01:29 localhost kernel: Line6 device 0: BassPODxt Live:0
Oct 29 21:01:29 localhost kernel: Line6 device 1: BassPODxt Live:1
Oct 29 21:01:29 localhost kernel: Line6 device 2: (not used)
Oct 29 21:01:29 localhost kernel: Line6 device 3: (not used)
Oct 29 21:01:29 localhost kernel: Line6 device 4: (not used)
Oct 29 21:01:29 localhost kernel: Line6 device 5: (not used)
Oct 29 21:01:29 localhost kernel: Line6 device 6: (not used)
Oct 29 21:01:29 localhost kernel: Line6 device 7: (not used)
Oct 29 21:01:29 localhost kernel: usbcore: registered new interface driver line6usb
Oct 29 21:01:32 localhost kernel: line6usb 4-1:1.0: S0000: F0 7E 7F 06 01 F7 .~....
Oct 29 21:01:32 localhost kernel: line6usb 4-1:1.0: R0000: F2 7E 7F 06 02 00 01 0C .~......
Oct 29 21:01:32 localhost kernel: line6usb 4-1:1.0: R0008: 03 00 0B 00 00 01 00 04 ........
Oct 29 21:01:32 localhost kernel: line6usb 4-1:1.0: R0010: F7 .
Oct 29 21:01:32 localhost kernel: line6usb 4-1:1.1: S0000: F0 7E 7F 06 01 F7 .~....
Oct 29 21:01:32 localhost kernel: line6usb 4-1:1.1: R0000: F2 7E 7F 06 02 00 01 0C .~......
Oct 29 21:01:32 localhost kernel: line6usb 4-1:1.1: R0008: 03 00 0B 00 00 01 00 04 ........
Oct 29 21:01:32 localhost kernel: line6usb 4-1:1.1: R0010: F7 .
Oct 29 21:01:33 localhost kernel: line6usb 4-1:1.0: S0000: F0 00 01 0C 03 75 F7 .....u.
Oct 29 21:01:33 localhost kernel: line6usb 4-1:1.1: S0000: F0 00 01 0C 03 75 F7 .....u.
Oct 29 21:01:33 localhost kernel: line6usb 4-1:1.0: R0000: F2 00 01 0C 03 74 0B 42 .....t.B
Oct 29 21:01:33 localhost kernel: line6usb 4-1:1.0: R0008: 61 73 73 69 63 73 20 20 assics
Oct 29 21:01:33 localhost kernel: line6usb 4-1:1.0: R0010: 20 20 20 20 20 20 20 00 .
Oct 29 21:01:33 localhost kernel: line6usb 4-1:1.0: R0018: 00 00 00 00 00 00 00 00 ........
Oct 29 21:04:26 localhost syslogd 1.4.1: restart.
Hm, that's weird. The last "sign of life" of the driver is the output of data received from the device, which I guess comes from line 333 in driver.c ("line6_dump_urb(urb);"). We need to track this down further to find the exact location in the code up to which the driver runs normally. Please try the following:
*) set DO_DUMP_MIDI_SEND and DO_DUMP_MIDI_RECEIVE to 1 in config.h
*) place several "CHECKPOINT;" macros in the code (preferably into empty lines so that the line numbers are not messed up and I can follow the log messages). The most interesting functions are pod.c:pod_startup_timeout, pod.c:pod_process_message, and driver.c:line6_data_received), in particular close to code which communicates with the device (I tried to use descriptive names for functions and variables - good luck :-)
This will further increase the size of your log file, but might provide useful information to locate the problem.
It would also be very interesting to know if the problem already exists with kernel version earlier than 2.6.22. Do you have some older machine to check this?
Kind regards,
Markus
Hi Markus
I'll try these tomorrow evening and let you know what happens. Unfortunately, I only have the one Linux PC. I also have a Windows Laptop and I'll make such that the pod works on that - its been a few months since I last connected it to the laptop.
Cheers
Michael
Okay, so I've added the debug code and here are the log file entries. I haven't targeted any code in particular, I've just tried to find blank lines in the three methods that you mentioned. If you need further output, you can always direct me to add the macro to specific lines.
Oct 30 20:34:17 localhost kernel: usb 4-2: new full speed USB device using uhci_hcd and address 2
Oct 30 20:34:17 localhost kernel: usb 4-2: configuration #1 chosen from 1 choice
Oct 30 20:34:17 localhost kernel: line6usb 4-2:1.0: Line6 BassPODxt Live found
Oct 30 20:34:17 localhost kernel: line6usb 4-2:1.0: Line6 BassPODxt Live now attached
Oct 30 20:34:17 localhost kernel: Line6 device 0: BassPODxt Live:0
Oct 30 20:34:17 localhost kernel: Line6 device 1: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 2: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 3: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 4: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 5: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 6: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 7: (not used)
Oct 30 20:34:17 localhost kernel: line6usb 4-2:1.1: Line6 BassPODxt Live found
Oct 30 20:34:17 localhost kernel: line6usb 4-2:1.1: Line6 BassPODxt Live now attached
Oct 30 20:34:17 localhost kernel: Line6 device 0: BassPODxt Live:0
Oct 30 20:34:17 localhost kernel: Line6 device 1: BassPODxt Live:1
Oct 30 20:34:17 localhost kernel: Line6 device 2: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 3: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 4: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 5: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 6: (not used)
Oct 30 20:34:17 localhost kernel: Line6 device 7: (not used)
Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:105)
Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:121)
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: S0000: F0 7E 7F 06 01 F7 .~....
Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:134)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:328)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:331)
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: R0000: F2 7E 7F 06 02 00 01 0C .~......
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: R0008: 03 00 0B 00 00 01 00 04 ........
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: R0010: F7 .
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:335)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:337)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:342)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:348)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:352)
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: r0000: F2 7E 7F 06 02 00 01 0C .~......
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: r0008: 03 00 0B 00 00 01 00 04 ........
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:358)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:184)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:195)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:298)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:313)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:348)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:352)
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.0: r0000: F7 .
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:358)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:184)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:195)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:389)
Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:105)
Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:121)
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: S0000: F0 7E 7F 06 01 F7 .~....
Oct 30 20:34:20 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:134)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:328)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:331)
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: R0000: F2 7E 7F 06 02 00 01 0C .~......
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: R0008: 03 00 0B 00 00 01 00 04 ........
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: R0010: F7 .
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:335)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:337)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:342)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:348)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:352)
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: r0000: F2 7E 7F 06 02 00 01 0C .~......
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: r0008: 03 00 0B 00 00 01 00 04 ........
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:358)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:184)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:195)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:298)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:313)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:348)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:352)
Oct 30 20:34:20 localhost kernel: line6usb 4-2:1.1: r0000: F7 .
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:358)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:184)
Oct 30 20:34:20 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:195)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
Oct 30 20:34:20 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:389)
Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:105)
Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:121)
Oct 30 20:34:21 localhost kernel: line6usb 4-2:1.0: S0000: F0 00 01 0C 03 75 F7 .....u.
Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:134)
Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:105)
Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:121)
Oct 30 20:34:21 localhost kernel: line6usb 4-2:1.1: S0000: F0 00 01 0C 03 75 F7 .....u.
Oct 30 20:34:21 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:134)
Oct 30 20:34:21 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:328)
Oct 30 20:34:21 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:331)
Oct 30 20:34:21 localhost kernel: line6usb 4-2:1.0: R0000: F2 00 01 0C 03 74 0B 42 .....t.B
I really hope this helps.
Michael
A further observation. Towards the end, we get output from lines 328 and 331 but I also copied the macro to lines 335, 337 and 342 (and more) which would suggest that lines 332 to 334 are the lines that cause the crash. I'll reproduce them here.
#if DO_DUMP_URB_RECEIVE
line6_dump_urb(urb);
#endif
I guess the obvious next step is to add the CHECKPOINT macro to the line6_dump_urb method (or is a function?). I'll post again after I've done this.
Michael
It would be great if the error occurred in "line6_dump_urb(urb);" since this is just debugging stuff and can be easily removed. Just try to set DO_DEBUG_MESSAGES to 0 in config.h, then this code will not be compiled at all. Nevertheless, besides this "symptomatic approach" it would be helpful to know what causes this problem since it might also appear in code which can not be removed, so I would very much appreciate if you could track this down further.
Kind regards,
Markus
Hi Markus
I've done what I said I would in my last post and add the macro to line6_dump_urb(). There are too many log entries to copy here but there is the last section:
Oct 30 21:01:12 localhost kernel: line6usb 4-2:1.1: r0000: F7 .
Oct 30 21:01:12 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:358)
Oct 30 21:01:12 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:184)
Oct 30 21:01:12 localhost kernel: line6usb: pod_process_message (/home/michael/line6usb/trunk/pod.c:195)
Oct 30 21:01:12 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:345)
Oct 30 21:01:12 localhost kernel: line6usb: line6_data_received (/home/michael/line6usb/trunk/driver.c:389)
Oct 30 21:01:13 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:105)
Oct 30 21:01:13 localhost kernel: line6usb: pod_startup_timeout (/home/michael/line6usb/trunk/pod.c:121)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:132)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:138)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:152)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:141)
Oct 30 21:01:13 localhost kernel: line6usb: line6_write_hexdump (/home/michael/line6usb/trunk/driver.c:149)
I also copied the macro to lines 152 and 156, so this gives us the following code:
if(bytes > hexdumpsize)
break; /* buffer overflow */
I'm going to try your last suggestion now, and I'll let you know what happens.
Michael
Hi
Okay, so to compile with debugging switched off I also had to remove the two occurrences of CHECKPOINT in playback.c (lines 297 and 299). Unfortunately, my PC still crashed when I switched the pod on. Obviously, I have no log entries to give other than the usual:
Oct 30 21:43:57 localhost kernel: usb 4-2: new full speed USB device using uhci_hcd and address 2
Oct 30 21:43:58 localhost kernel: usb 4-2: configuration #1 chosen from 1 choice
Oct 30 21:43:58 localhost kernel: line6usb 4-2:1.0: Line6 BassPODxt Live found
Oct 30 21:43:58 localhost kernel: line6usb 4-2:1.0: Line6 BassPODxt Live now attached
Oct 30 21:43:58 localhost kernel: Line6 device 0: BassPODxt Live:0
Oct 30 21:43:58 localhost kernel: Line6 device 1: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 2: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 3: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 4: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 5: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 6: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 7: (not used)
Oct 30 21:43:58 localhost kernel: line6usb 4-2:1.1: Line6 BassPODxt Live found
Oct 30 21:43:58 localhost kernel: line6usb 4-2:1.1: Line6 BassPODxt Live now attached
Oct 30 21:43:58 localhost kernel: Line6 device 0: BassPODxt Live:0
Oct 30 21:43:58 localhost kernel: Line6 device 1: BassPODxt Live:1
Oct 30 21:43:58 localhost kernel: Line6 device 2: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 3: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 4: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 5: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 6: (not used)
Oct 30 21:43:58 localhost kernel: Line6 device 7: (not used)
Not sure what to try next.
Michael