RE: BBB touch screen and ADC interactions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Michael,

> -----Original Message-----
> From: Michael Welling [mailto:mwelling79@xxxxxxxxx] On Behalf 
> Of mwelling@xxxxxxxx
> Sent: Tuesday, May 19, 2015 5:14 PM
> To: Greg Wilson-Lindberg
> Cc: linux-iio@xxxxxxxxxxxxxxx
> Subject: RE: BBB touch screen and ADC interactions
> 
> 
> 
> On May 19, 2015 6:56:37 PM CDT, Greg Wilson-Lindberg 
> <GWilson@xxxxxxxxxxxx> wrote:
> >Hi Michael,
> >
> >> -----Original Message-----
> >> From: Michael Welling [mailto:mwelling79@xxxxxxxxx] On Behalf Of 
> >> Michael Welling
> >> Sent: Tuesday, May 19, 2015 4:30 PM
> >> To: Greg Wilson-Lindberg
> >> Cc: linux-iio@xxxxxxxxxxxxxxx
> >> Subject: Re: BBB touch screen and ADC interactions
> >> 
> >> On Thu, May 14, 2015 at 10:00:14AM -0700, Greg 
> Wilson-Lindberg wrote:
> >> > 
> >> > I'll try out a new (4.0 - 4.1) kernel, but we are using QT
> >> to generate a GUI and I don't know if the graphics that we 
> need have 
> >> been ported to the mainline yet.  I guess I'll find out 
> the hard way.
> >> >
> >> 
> >> Have you had any luck getting the new kernel to work?
> >> 
> >> I would like to know if you are experiencing the unexpected 
> >> release events that I experienced with the touchscreen.
> >> 
> >
> >I just got  the 4.1 kernel working today. Our application is running
> >just fine, so all of the QT stuff is working.
> >
> >I found that when running my IIO ADC read program on the 4.1 kernel,
> >not only do I lose the touch screen, but mouse clicks stop 
> working, and
> >the cursor periodically jumps.
> 
> This seems to be the same issue that I was experiencing.
> 
> I can forward the workaround patch when I get back to my PC.
> 
> >
> >I also figured out that I wasn't disabling the channels when my ADC
> >program exited. When I got it to properly exit and disable 
> the IIO ADC
> >channels, the mouse started working again.
> >
> >I then booted back to a 3.14 kernel and while the touch screen stops
> >working while I am reading the ADC channels, the mouse still works
> >normally, and the touch screen starts working again when the IIO
> >program exits.
> >
> >It appears, for me at least, that the 4.1 kernel is not an 
> improvement.
> >
> >I don't need fast reads on the ADC, I may be able to get away with
> >enabling the ADC channels, reading some values, and disabling them
> >again every once in a while.  I guess I'll have to try that.
> 
> I have been working on a qt demo that reads the adc and 
> displays a graph while the touchscreen is enabled. The 
> workaround patch must be necessary. 
> 
> Would you like to the workaround patch?

I would be happy to test the patch, better than what I was going to try.

-Greg
> 
> We can make a formal patch if it works for you.
> 
> >
> >- Greg
> >
> >> -Michael
> >>  
> >> > Thanks for the information,
> >> > 
> >> > Greg
> >> 
> 
> -- 
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> --
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux