4 wire resistive touchscreen HW emulator
While the TSC is on its way, I couldn't just move on with tinkering the ADC drivers without knowing if I've accidentally broken the TSC ones.So here comes the hardware 4 wire touchscreen...
View ArticlePull requests
Took a while to get git up and running the way i wanted.It can have a steep learning curve!And we have pull requestshttps://github.com/beagleboard/kernel/pull/48 for the 3.8...
View ArticleUboot tftpboot notes
https://gist.github.com/17twenty/2718613 Good stuff on automating tftp boot.uenv to boot from the kernel on my laptopoptargs=quiet drm.debug=7ipaddr=192.168.0.250 serverip=192.168.0.1#run tftpboot...
View ArticleRing Buffer issues
Access to the ADC using the /dev/iio entries is supported on the kernel side by implementing buffers.. /dev/iio is basically used for continuous sampling.One-shot sampling is implemented via the sysfs...
View ArticleContinuous sampling mode for ADC driver for BBB. Kernel 3.10!
EDIT. THIS IS AN OLD POST.READ THIS FOR UPDATED INFORMATIONhttp://beagleboard-gsoc13.blogspot.com/2013/07/sampling-analogue-signals-using-adc-on.htmlFinally got it to work!That was a rather large pain....
View ArticleProject video
A bit late. but better late than never :)I liked the idea of two narrating robotic voices from a youtube video once. the cooler software xtranormal is being shutdown. But this goanimate website is cool...
View ArticleUpstream effort part 1
I'm not expecting the mainline to welcome all the patches with open arms :pBut let the bashing begin. :) Upstreaming continuous support for the ADC drivers for the...
View ArticleUpstream effort 2
After greg kh pointed out some really newbie mistakes, I redid the patches.1 - messed up authorship. patches seemed as if I authored them.Corrected with. git commit --author "orig author 2- code...
View ArticleFixes accepted and upstreamed. Continuous mode Upstream effort Round 3
The fixes I sent upstream were accepted! :)So now the adc driver will have correct one-shot adc reading since 3.11-rc3.Greg KH has a way with patches. This space is wrong. Fix.And he'll stop reviewing...
View ArticleSampling analogue signals using the ADC on the Beaglebone Black
NOTE: THIS CODE IS OLD. TRIGGER HAS NOT BEEN IMPLEMENTED IN THE IIO DRIVER ANYMORE. FOR RUNNING THE LATEST IIO DRIVER, you have to modify generic_buffer.c and remove trigger checks.06-Jun-20147...
View ArticleTriggering the IIO ADC driver using a GPIO survey
In continuous mode, the ADC driver can be triggered using a GPIO.(For details on continuous mode: http://beagleboard-gsoc13.blogspot.co.uk/2013/07/sampling-analogue-signals-using-adc-on.html)GPIO...
View ArticleBUGGGGGGGGS
I have noticed three(lol. Update. 6 now) bugs in the TSC ADC driver.Subtle ones. Quite possible won't occur in use cases at all.Bug 1. (resolved)When I am waiting for a trigger, the touchscreen stops...
View ArticleAnd fixes
lots of tiny fixes here n thereIt turned into a chain of fixes. I'd fix one and then find another in the process.Fixes would become bugs and then fixes for that lol ;) Lets see.HW preempt...
View ArticleRound 4
More patchesssssSmall fix to MFD herehttp://thread.gmane.org/gmane.linux.kernel/1543722TSC fixes and Continuous mode here.http://thread.gmane.org/gmane.linux.kernel.input/31427I left out a fix for rc1...
View ArticleIIO list feedback Update + Short Hiatus
Feedback from the IIO lists has been great.https://lkml.org/lkml/2013/8/13/553andhttps://lkml.org/lkml/2013/8/13/666I use the IIO ABI in a slightly non-standard way to get things done.The trigger in...
View ArticleRound 6. Continuous mode the way iio wants
IIO didn't like my usage of their trigger oscilloscope style. Messed their ABI.Soo. there is an internal trigger in the driver that occurs for every threshold.After the changes and some cleanup.I'm...
View ArticleRound 6 list feedback
Some serious stuff going on the lists.. The Linux Kernel really is scrutinized awesomely.http://thread.gmane.org/gmane.linux.kernel.iio/8861Highlights:- Quirks in error handling paths for freeing the...
View ArticleRound 7! continuous mode
This is getting really tiring now.Send patches. wait for feedback that messes with your head.Do it all over again. No wonder the world works on automated test scripts etc.my testing is slow i think....
View Articlestumbling blocks
Exchanged an email with Jonathan..I missed the window for submitting the patches for 3.12. He said that they'll go for 3.13 now.I don't think they'll be reviewing the patches during the merge window..I...
View ArticleRework. Again.
This is getting quirky.http://thread.gmane.org/gmane.linux.kernel.input/31730Feedback from IIO thankfully. Now I don't have to sit idle.But I'm in new territory now.basically IIO wanted me to implement...
View ArticleRound 9! Continuous Sampling support
Finally put another couple of rounds of energy into the IIO driver..It should get accepted now. *hopefully*3.12-rc1 has started!any ways.I have restructured the driver the way Jonathan wanted....
View ArticleRound 10. quick update
I misunderstood the new devm interfaces.Dmitry and Jonathan were kind and explained it to me.I updated and resent the series.http://thread.gmane.org/gmane.linux.kernel.input/31993
View ArticleFinally. So close yet so far.
IIO likes the driver except for one tiny bit.Using a 32 bit buffer to store 12 bit adc data.Except for that minor change jonathan stated 'Very very nearly there' :)I'll make the changes and test the...
View ArticleRound 11. 2 steps forward. 1 step backward
The devm usage initially guided by iio was incorrect as pointed out by Dmitry.reverted the change. Go forward. Go backward. But like Koen pointed out once. Any feedback is good feedback. MIA is the...
View ArticleSuccess at last :)
Finally. Patches for continuous sampling got accepted in IIO.http://thread.gmane.org/gmane.linux.kernel.input/32024All the hard work paid of in the end. Achievement unlocked.:) A hiccup n warning here...
View Article