Re: [Line6linux-devel] UX2 - sysinfo
Status: Pre-Alpha
Brought to you by:
mgrabner
From: Stefan H. <ste...@gm...> - 2011-12-09 06:25:30
|
On Fri, Dec 9, 2011 at 1:36 AM, Markus Grabner <gr...@ic...> wrote: > On Thursday 08 December 2011 20:48:02 Stefan Hajnoczi wrote: >> On Thu, Dec 8, 2011 at 4:44 PM, Petter S. Storvik >> >> <pet...@gm...> wrote: >> > One more thing is; I cant start up computer if device is plugged in. Some >> > sort of error and it goes to text-mode, and then I have to restart >> > without the device. But all seems right if I plug it in after startup. >> >> This sounds like a kernel panic which can happen if an unexpected >> error occurs when the driver is running. There is typically a lot of >> text on the screen and it can contain information that allows >> developers to fix the bug that caused the panic. If you have a camera >> on your phone or digital camera, would you be able to capture the >> error screen? >> >> I'm guessing that the kernel panic has nothing to do with recording >> not working, they are probably different issues but there's a chance >> they are related. > Yes, indeed, someone recently moved the buffer allocation from > line6_pcm_start() to snd_line6_[capture|playback]_hw_params :-) However, when > a TonePort device is plugged in, the driver launches a PCM capture and > playback stream to provide a software monitor. This is not related to ALSA and > therefore bypasses ALSA initialization, thus trying to access a buffer via a > pointer which is still null, resulting in the kernel panic. My bad, sorry for the breakage. Stefan |