The GPIO pin for switching the power of the LCD7 cape has changed
on rev A2. Select the right pin depending on the hardware revision
read from the eeprom
<matth...@kaehlcke.net> wrote:
> The GPIO pin for switching the power of the LCD7 cape has changed
> on rev A2. Select the right pin depending on the hardware revision
> read from the eeprom
I wanted to thank you for your patch. Finally, my beaglebone is showing Android. And, I'm glad to hear it will get incorporated.
One problem I have after applying is that my x coordinates for touch seem to be reversed. You touch the right side, and touch is detected on the left side. Y is accurate.
Both the TI SDK and the Angstrom Distro work, so I know it is S/W. Was wondering if you ran into this at all?
On Wednesday, July 11, 2012 2:08:57 PM UTC-5, Matthias Kaehlcke wrote:
> The GPIO pin for switching the power of the LCD7 cape has changed > on rev A2. Select the right pin depending on the hardware revision > read from the eeprom
El Thu, Jul 19, 2012 at 11:13:47AM -0700 ron.birk...@gmail.com ha dit:
> One problem I have after applying is that my x coordinates for touch seem
> to be reversed. You touch the right side, and touch is detected on the
> left side. Y is accurate.
> Both the TI SDK and the Angstrom Distro work, so I know it is S/W. Was
> wondering if you ran into this at all?
indeed, i also ran into that problem. i have a couple of patches which
should solve this (can't validate it right now as i don't have the
board at hand), which i will send out separately. the first one is for
the kernel, the other one needs to be applied to the frameworks-base
repository
cheers
-- Matthias Kaehlcke
Embedded Linux Developer
Amsterdam
Si deseas mantener tu libertad, debes estar preparado para defenderla
(Richard Stallman)
.''`.
using free software / Debian GNU/Linux | http://debian.org : :' :
`. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
The TI touchscreen driver implements some hacks to get the am335x evm
touchscreen working. This causes the Beaglebone touchscreen to not work
properly. Remove the hacks and properly report the xmin, xmax, ymin, ymax
values to the Android input framework via the EVIOCGABS ioctl.
Remove an hack in the InputReader for the Beaglebone's touchscreen.
The correct x.min, x.max, y.min and y.max raw values are now retrieved
from the touchscreen driver.
Small clarification..
1. Actually we have two reference design with respect to am335x : am335xevm
and beaglebone.
Both are sharing the same board file but when it comes to touch screen,
calibration parameters defers. You patch will perfectly work for beaglebone
but functionality will gets broke for am335xevm.
Either we need to keep the patch as it is or else beaglbone identification
should brought to board file and pass the pdata accordingly...
I hope you got my point.
BR,
satish
On Fri, Jul 20, 2012 at 1:45 AM, Matthias Kaehlcke <matth...@kaehlcke.net>wrote:
> Remove an hack in the InputReader for the Beaglebone's touchscreen.
> The correct x.min, x.max, y.min and y.max raw values are now retrieved
> from the touchscreen driver.
> --
> You received this message because you are subscribed to the Google Groups
> "rowboat" group.
> To post to this group, send email to rowboat@googlegroups.com.
> To unsubscribe from this group, send email to
> rowboat+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rowboat?hl=en.
El Fri, Jul 20, 2012 at 09:30:03AM +0530 Satish Patel ha dit:
> Small clarification..
> 1. Actually we have two reference design with respect to am335x :
> am335xevm and beaglebone.
> Both are sharing the same board file but when it comes to touch screen,
> calibration parameters defers. You patch will perfectly work for
> beaglebone but functionality will gets broke for am335xevm.
> Either we need to keep the patch as it is or else beaglbone identification
> should brought to board file and pass the pdata accordingly...
I understand the problem. I think the right thing to do is to pass the
platform data depending on the board. There are (or will be) other lcd
capes for the beaglebone like the lcd3 or lcd4 cape, the code should
be prepared to deal at runtime with these capes based on their eeprom
ids
Next week I'll be travelling and won't find time, when I'm back I'll
have another look at this
> On Fri, Jul 20, 2012 at 1:45 AM, Matthias Kaehlcke
> <[1]matth...@kaehlcke.net> wrote:
> Remove an hack in the InputReader for the Beaglebone's touchscreen.
> The correct x.min, x.max, y.min and y.max raw values are now retrieved
> from the touchscreen driver.
-- Matthias Kaehlcke
Embedded Linux Developer
Amsterdam
I am incapable of conceiving infinity, and yet I do not accept finity
(Simone de Beauvoir)
.''`.
using free software / Debian GNU/Linux | http://debian.org : :' :
`. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
> El Fri, Jul 20, 2012 at 09:30:03AM +0530 Satish Patel ha dit:
> > Small clarification..
> > 1. Actually we have two reference design with respect to am335x :
> > am335xevm and beaglebone.
> > Both are sharing the same board file but when it comes to touch
> screen,
> > calibration parameters defers. You patch will perfectly work for
> > beaglebone but functionality will gets broke for am335xevm.
> > Either we need to keep the patch as it is or else beaglbone
> identification
> > should brought to board file and pass the pdata accordingly...
> I understand the problem. I think the right thing to do is to pass the
> platform data depending on the board. There are (or will be) other lcd
> capes for the beaglebone like the lcd3 or lcd4 cape, the code should
> be prepared to deal at runtime with these capes based on their eeprom
> ids
> Next week I'll be travelling and won't find time, when I'm back I'll
> have another look at this
> Kind regards
> Matthias
> > On Fri, Jul 20, 2012 at 1:45 AM, Matthias Kaehlcke
> > <[1]matth...@kaehlcke.net> wrote:
> > Remove an hack in the InputReader for the Beaglebone's touchscreen.
> > The correct x.min, x.max, y.min and y.max raw values are now
> retrieved
> > from the touchscreen driver.
> I am incapable of conceiving infinity, and yet I do not accept finity
> (Simone de Beauvoir)
> .''`.
> using free software / Debian GNU/Linux | http://debian.org : :' :
> `. `'`
> gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
> --
> You received this message because you are subscribed to the Google Groups
> "rowboat" group.
> To post to this group, send email to rowboat@googlegroups.com.
> To unsubscribe from this group, send email to
> rowboat+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rowboat?hl=en.
On Wednesday, July 11, 2012 3:08:57 PM UTC-4, Matthias Kaehlcke wrote:
> The GPIO pin for switching the power of the LCD7 cape has changed > on rev A2. Select the right pin depending on the hardware revision > read from the eeprom
> On Wednesday, July 11, 2012 3:08:57 PM UTC-4, Matthias Kaehlcke wrote:
> The GPIO pin for switching the power of the LCD7 cape has changed
> on rev A2. Select the right pin depending on the hardware revision
> read from the eeprom
On Jul 29, 2012, at 1:25 PM, Matthias Kaehlcke <matth...@kaehlcke.net> wrote:
> Hi Georgi,
> El Sat, Jul 28, 2012 at 06:02:23PM -0700 Georgi Todorov ha dit:
>> Looks like this patch is for ics-2.6
> what makes you think that?
Because the line numbers were way off in the am335xevm.c file of the TI-Android-ICS-4.0.3-DevKit-3.0.1.xml manifest, which I thought was using 2.6 kernel. But I switched my repo to manifest rowboat-ics-am335x.xml and now it applied cleanly.
>> Have you tried it on rowboat-am335x-3.2?
> the patch is based on rowboat-am335x-kernel-3.2, which contains the
> current branch for am335x
On Sun, Jul 29, 2012 at 11:21 PM, Georgi Todorov <ter...@gmail.com> wrote:
> Matthias,
> On Jul 29, 2012, at 1:25 PM, Matthias Kaehlcke <matth...@kaehlcke.net> wrote:
>> Hi Georgi,
>> El Sat, Jul 28, 2012 at 06:02:23PM -0700 Georgi Todorov ha dit:
>>> Looks like this patch is for ics-2.6
>> what makes you think that?
> Because the line numbers were way off in the am335xevm.c file of the TI-Android-ICS-4.0.3-DevKit-3.0.1.xml manifest, which I thought was using 2.6 kernel. But I switched my repo to manifest rowboat-ics-am335x.xml and now it applied cleanly.
>>> Have you tried it on rowboat-am335x-3.2?
>> the patch is based on rowboat-am335x-kernel-3.2, which contains the
>> current branch for am335x
Hi Matthias, Would it be possible to put this update in a repository? I am not sure how to go about editing my version downloaded off rowboat and changing the drivers. I have managed to find the file you edited but do not understand enough about the format of the edited file to manually edit the driver.
On Wednesday, 11 July 2012 20:08:57 UTC+1, Matthias Kaehlcke wrote:
> The GPIO pin for switching the power of the LCD7 cape has changed > on rev A2. Select the right pin depending on the hardware revision > read from the eeprom
On Monday, August 13, 2012 5:45:49 PM UTC+5:30, Platinumphoenix wrote:
> Hi Matthias, > Would it be possible to put this update in a repository? I am not sure how > to go about editing my version downloaded off rowboat and changing the > drivers. > I have managed to find the file you edited but do not understand enough > about the format of the edited file to manually edit the driver.
> Thanks > Platinumx
> On Wednesday, 11 July 2012 20:08:57 UTC+1, Matthias Kaehlcke wrote:
>> The GPIO pin for switching the power of the LCD7 cape has changed >> on rev A2. Select the right pin depending on the hardware revision >> read from the eeprom
> The LCD7 cape support patches are now pushed to rowboat. You can sync > up the kernel sources to get them.
> -Vishveshwar
> On Monday, August 13, 2012 5:45:49 PM UTC+5:30, Platinumphoenix wrote:
> Hi Matthias,
> Would it be possible to put this update in a repository? I am not
> sure how to go about editing my version downloaded off rowboat and
> changing the drivers.
> I have managed to find the file you edited but do not understand
> enough about the format of the edited file to manually edit the
> driver.
> Thanks
> Platinumx
> On Wednesday, 11 July 2012 20:08:57 UTC+1, Matthias Kaehlcke wrote:
> The GPIO pin for switching the power of the LCD7 cape has changed
> on rev A2. Select the right pin depending on the hardware
> revision
> read from the eeprom
> -- > You received this message because you are subscribed to the Google > Groups "rowboat" group.
> To view this discussion on the web visit > https://groups.google.com/d/msg/rowboat/-/1A1YRqNTwiIJ.
> To post to this group, send email to rowboat@googlegroups.com.
> To unsubscribe from this group, send email to > rowboat+unsubscribe@googlegroups.com.
> For more options, visit this group at > http://groups.google.com/group/rowboat?hl=en.
> Can you clarify which rowboat repository I should be syncing?
> Cheers
> Platinumx
> On 08/13/2012 02:10 PM, Vishveshwar wrote:
>> The LCD7 cape support patches are now pushed to rowboat. You can sync >> up the kernel sources to get them.
>> -Vishveshwar
>> On Monday, August 13, 2012 5:45:49 PM UTC+5:30, Platinumphoenix wrote:
>> Hi Matthias,
>> Would it be possible to put this update in a repository? I am not
>> sure how to go about editing my version downloaded off rowboat
>> and changing the drivers.
>> I have managed to find the file you edited but do not understand
>> enough about the format of the edited file to manually edit the
>> driver.
>> Thanks
>> Platinumx
>> On Wednesday, 11 July 2012 20:08:57 UTC+1, Matthias Kaehlcke wrote:
>> The GPIO pin for switching the power of the LCD7 cape has
>> changed
>> on rev A2. Select the right pin depending on the hardware
>> revision
>> read from the eeprom
>> -- >> You received this message because you are subscribed to the Google >> Groups "rowboat" group.
>> To view this discussion on the web visit >> https://groups.google.com/d/msg/rowboat/-/1A1YRqNTwiIJ.
>> To post to this group, send email to rowboat@googlegroups.com.
>> To unsubscribe from this group, send email to >> rowboat+unsubscribe@googlegroups.com.
>> For more options, visit this group at >> http://groups.google.com/group/rowboat?hl=en.
> -- > You received this message because you are subscribed to the Google > Groups "rowboat" group.
> To post to this group, send email to rowboat@googlegroups.com.
> To unsubscribe from this group, send email to > rowboat+unsubscribe@googlegroups.com.
> For more options, visit this group at > http://groups.google.com/group/rowboat?hl=en.
david.lind...@cirrusresearch.co.uk> wrote:
> Scrap last comment found it :).
> Any updates on getting the inverted touch screen sorted?
> On 08/13/2012 03:25 PM, David Lindley wrote:
> Can you clarify which rowboat repository I should be syncing?
> Cheers
> Platinumx
> On 08/13/2012 02:10 PM, Vishveshwar wrote:
> The LCD7 cape support patches are now pushed to rowboat. You can sync up
> the kernel sources to get them.
> -Vishveshwar
> On Monday, August 13, 2012 5:45:49 PM UTC+5:30, Platinumphoenix wrote:
>> Hi Matthias,
>> Would it be possible to put this update in a repository? I am not sure
>> how to go about editing my version downloaded off rowboat and changing the
>> drivers.
>> I have managed to find the file you edited but do not understand enough
>> about the format of the edited file to manually edit the driver.
>> Thanks
>> Platinumx
>> On Wednesday, 11 July 2012 20:08:57 UTC+1, Matthias Kaehlcke wrote:
>>> The GPIO pin for switching the power of the LCD7 cape has changed
>>> on rev A2. Select the right pin depending on the hardware revision
>>> read from the eeprom
>>> --
> You received this message because you are subscribed to the Google Groups
> "rowboat" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rowboat/-/1A1YRqNTwiIJ.
> To post to this group, send email to rowboat@googlegroups.com.
> To unsubscribe from this group, send email to
> rowboat+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rowboat?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "rowboat" group.
> To post to this group, send email to rowboat@googlegroups.com.
> To unsubscribe from this group, send email to
> rowboat+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rowboat?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "rowboat" group.
> To post to this group, send email to rowboat@googlegroups.com.
> To unsubscribe from this group, send email to
> rowboat+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rowboat?hl=en.
On Monday, August 13, 2012 8:56:31 PM UTC+5:30, David Lindley wrote:
> Scrap last comment found it :). > Any updates on getting the inverted touch screen sorted?
> On 08/13/2012 03:25 PM, David Lindley wrote:
> Can you clarify which rowboat repository I should be syncing? > Cheers > Platinumx
> On 08/13/2012 02:10 PM, Vishveshwar wrote:
> The LCD7 cape support patches are now pushed to rowboat. You can sync up > the kernel sources to get them.
> -Vishveshwar
> On Monday, August 13, 2012 5:45:49 PM UTC+5:30, Platinumphoenix wrote:
>> Hi Matthias, >> Would it be possible to put this update in a repository? I am not sure >> how to go about editing my version downloaded off rowboat and changing the >> drivers. >> I have managed to find the file you edited but do not understand enough >> about the format of the edited file to manually edit the driver.
>> Thanks >> Platinumx
>> On Wednesday, 11 July 2012 20:08:57 UTC+1, Matthias Kaehlcke wrote:
>>> The GPIO pin for switching the power of the LCD7 cape has changed >>> on rev A2. Select the right pin depending on the hardware revision >>> read from the eeprom
>>> -- > You received this message because you are subscribed to the Google Groups > "rowboat" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rowboat/-/1A1YRqNTwiIJ. > To post to this group, send email to row...@googlegroups.com <javascript:> > . > To unsubscribe from this group, send email to > rowboat+u...@googlegroups.com <javascript:>. > For more options, visit this group at > http://groups.google.com/group/rowboat?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "rowboat" group. > To post to this group, send email to row...@googlegroups.com <javascript:> > . > To unsubscribe from this group, send email to > rowboat+u...@googlegroups.com <javascript:>. > For more options, visit this group at > http://groups.google.com/group/rowboat?hl=en.
Hi again, Having got the LCDcape working with the updated kernel I have a similar question:
I am attempting to reassign the buttons on the top of the cape to act in different ways (reassign home, back, menu ect for the android filesystem).
I am assuming the section in "board-am335xevm.c" entitled "/* Keys mapping */" (line 880) is where these things are defined? Could someone help me assign a custom GPIO pin to say the "HOME" button in the android filesystem?
On Tuesday, 14 August 2012 06:11:22 UTC+1, Vishveshwar wrote:
> We are currently working on tslib integration with rowboat. Expect to see > some updates soon..
> -Vishveshwar
> On Monday, August 13, 2012 8:56:31 PM UTC+5:30, David Lindley wrote:
>> Scrap last comment found it :). >> Any updates on getting the inverted touch screen sorted?
>> On 08/13/2012 03:25 PM, David Lindley wrote:
>> Can you clarify which rowboat repository I should be syncing? >> Cheers >> Platinumx
>> On 08/13/2012 02:10 PM, Vishveshwar wrote:
>> The LCD7 cape support patches are now pushed to rowboat. You can sync up >> the kernel sources to get them.
>> -Vishveshwar
>> On Monday, August 13, 2012 5:45:49 PM UTC+5:30, Platinumphoenix wrote:
>>> Hi Matthias, >>> Would it be possible to put this update in a repository? I am not sure >>> how to go about editing my version downloaded off rowboat and changing the >>> drivers. >>> I have managed to find the file you edited but do not understand enough >>> about the format of the edited file to manually edit the driver.
>>> Thanks >>> Platinumx
>>> On Wednesday, 11 July 2012 20:08:57 UTC+1, Matthias Kaehlcke wrote:
>>>> The GPIO pin for switching the power of the LCD7 cape has changed >>>> on rev A2. Select the right pin depending on the hardware revision >>>> read from the eeprom
>>>> -- >> You received this message because you are subscribed to the Google Groups >> "rowboat" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/rowboat/-/1A1YRqNTwiIJ. >> To post to this group, send email to row...@googlegroups.com. >> To unsubscribe from this group, send email to >> rowboat+u...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/rowboat?hl=en.
>> -- >> You received this message because you are subscribed to the Google Groups >> "rowboat" group. >> To post to this group, send email to row...@googlegroups.com. >> To unsubscribe from this group, send email to >> rowboat+u...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/rowboat?hl=en.
On Tue, Aug 28, 2012 at 2:53 PM, <david.lind...@cirrusresearch.co.uk> wrote:
> Hi again,
> Having got the LCDcape working with the updated kernel I have a similar
> question:
> I am attempting to reassign the buttons on the top of the cape to act in
> different ways (reassign home, back, menu ect for the android filesystem).
> I am assuming the section in "board-am335xevm.c" entitled "/* Keys mapping
> */" (line 880) is where these things are defined?
> Could someone help me assign a custom GPIO pin to say the "HOME" button in
> the android filesystem?
> Thanks
> David
> On Tuesday, 14 August 2012 06:11:22 UTC+1, Vishveshwar wrote:
>> We are currently working on tslib integration with rowboat. Expect to see
>> some updates soon..
>> -Vishveshwar
>> On Monday, August 13, 2012 8:56:31 PM UTC+5:30, David Lindley wrote:
>>> Scrap last comment found it :).
>>> Any updates on getting the inverted touch screen sorted?
>>> On 08/13/2012 03:25 PM, David Lindley wrote:
>>> Can you clarify which rowboat repository I should be syncing?
>>> Cheers
>>> Platinumx
>>> On 08/13/2012 02:10 PM, Vishveshwar wrote:
>>> The LCD7 cape support patches are now pushed to rowboat. You can sync up
>>> the kernel sources to get them.
>>> -Vishveshwar
>>> On Monday, August 13, 2012 5:45:49 PM UTC+5:30, Platinumphoenix wrote:
>>>> Hi Matthias,
>>>> Would it be possible to put this update in a repository? I am not sure
>>>> how to go about editing my version downloaded off rowboat and changing the
>>>> drivers.
>>>> I have managed to find the file you edited but do not understand enough
>>>> about the format of the edited file to manually edit the driver.
>>>> Thanks
>>>> Platinumx
>>>> On Wednesday, 11 July 2012 20:08:57 UTC+1, Matthias Kaehlcke wrote:
>>>>> The GPIO pin for switching the power of the LCD7 cape has changed
>>>>> on rev A2. Select the right pin depending on the hardware revision
>>>>> read from the eeprom
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "rowboat" group.
>>> To post to this group, send email to row...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> rowboat+u...@googlegroups.com.
>>> For more options, visit this group at http://groups.google.com/** >>> group/rowboat?hl=en <http://groups.google.com/group/rowboat?hl=en>.
>>> --
> You received this message because you are subscribed to the Google Groups
> "rowboat" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rowboat/-/ZMeTam7ZyN0J.
> To post to this group, send email to rowboat@googlegroups.com.
> To unsubscribe from this group, send email to
> rowboat+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rowboat?hl=en.
The current version of rowboat source has the support for Beaglebone LCD7 cap Rev A1 and A2 with the 5-keys GPIO keypad support.
The usual format followed with the rowboat source code is:
- In kernel register the keys to the functionality, as labelled side to the button. This is carried out in the "board-am335xevm.c" file. - In Android currently we have mapped those 5 buttons to Android functionality, such as: BACK, HOME, MENU, SEARCH, POWER. And this is done in the file: "device/ti/beaglebone/gpio-keys.kl".
So, if you haven't taken the latest source code, then execute the "getevent"
And a sample output can be:
root@android:/ # getevent could not get driver version for /dev/input/mice, Not a typewriter add device 1: /dev/input/event1 name: "gpio-keys" add device 2: /dev/input/event0 name: "ti-tsc-adcc" could not get driver version for /dev/input/mouse0, Not a typewriter /dev/input/event1: 0001 006a 00000001 /dev/input/event1: 0000 0000 00000000 /dev/input/event1: 0001 006a 00000000 /dev/input/event1: 0000 0000 00000000
Here 6A is the keycode in Hex, sent by the linux to Android. Now in gpio-keys.kl file, add teh following entry:
# Beaglebone LCD Cape GPIO KEYPAD keylayout key 106 HOME WAKE
On Tuesday, 28 August 2012 14:53:44 UTC+5:30, (unknown) wrote:
> Hi again, > Having got the LCDcape working with the updated kernel I have a similar > question:
> I am attempting to reassign the buttons on the top of the cape to act in > different ways (reassign home, back, menu ect for the android filesystem).
> I am assuming the section in "board-am335xevm.c" entitled "/* Keys mapping > */" (line 880) is where these things are defined? > Could someone help me assign a custom GPIO pin to say the "HOME" button in > the android filesystem?
> Thanks > David
> On Tuesday, 14 August 2012 06:11:22 UTC+1, Vishveshwar wrote:
>> We are currently working on tslib integration with rowboat. Expect to see >> some updates soon..
>> -Vishveshwar
>> On Monday, August 13, 2012 8:56:31 PM UTC+5:30, David Lindley wrote:
>>> Scrap last comment found it :). >>> Any updates on getting the inverted touch screen sorted?
>>> On 08/13/2012 03:25 PM, David Lindley wrote:
>>> Can you clarify which rowboat repository I should be syncing? >>> Cheers >>> Platinumx
>>> On 08/13/2012 02:10 PM, Vishveshwar wrote:
>>> The LCD7 cape support patches are now pushed to rowboat. You can sync up >>> the kernel sources to get them.
>>> -Vishveshwar
>>> On Monday, August 13, 2012 5:45:49 PM UTC+5:30, Platinumphoenix wrote:
>>>> Hi Matthias, >>>> Would it be possible to put this update in a repository? I am not sure >>>> how to go about editing my version downloaded off rowboat and changing the >>>> drivers. >>>> I have managed to find the file you edited but do not understand enough >>>> about the format of the edited file to manually edit the driver.
>>>> Thanks >>>> Platinumx
>>>> On Wednesday, 11 July 2012 20:08:57 UTC+1, Matthias Kaehlcke wrote:
>>>>> The GPIO pin for switching the power of the LCD7 cape has changed >>>>> on rev A2. Select the right pin depending on the hardware revision >>>>> read from the eeprom
>>>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "rowboat" group. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msg/rowboat/-/1A1YRqNTwiIJ. >>> To post to this group, send email to row...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> rowboat+u...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/rowboat?hl=en.
>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "rowboat" group. >>> To post to this group, send email to row...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> rowboat+u...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/rowboat?hl=en.
Cheers guys, Thats really helpful. Looking through the source code can I assume that this will work if I don't have an LCD7 Cape? As in could I just simply add a switch to the GPIO pins of the beaglebone (bypass the cape completely?).
It is ultimately my aim to be able to add some custom buttons in, and not have the LCD7 cape attached at all.
On Tuesday, 28 August 2012 10:50:07 UTC+1, Umakanta Patro wrote:
> Hi David,
> The current version of rowboat source has the support for Beaglebone LCD7 > cap Rev A1 and A2 with the 5-keys GPIO keypad support.
> The usual format followed with the rowboat source code is:
> - In kernel register the keys to the functionality, as labelled side to > the button. This is carried out in the "board-am335xevm.c" file. > - In Android currently we have mapped those 5 buttons to Android > functionality, such as: BACK, HOME, MENU, SEARCH, POWER. And this is done > in the file: "device/ti/beaglebone/gpio-keys.kl".
> So, if you haven't taken the latest source code, then execute the > "getevent"
> And a sample output can be:
> root@android:/ # getevent > could not get driver version for /dev/input/mice, Not a typewriter > add device 1: /dev/input/event1 > name: "gpio-keys" > add device 2: /dev/input/event0 > name: "ti-tsc-adcc" > could not get driver version for /dev/input/mouse0, Not a typewriter > /dev/input/event1: 0001 006a 00000001 > /dev/input/event1: 0000 0000 00000000 > /dev/input/event1: 0001 006a 00000000 > /dev/input/event1: 0000 0000 00000000
> Here 6A is the keycode in Hex, sent by the linux to Android. Now in > gpio-keys.kl file, add teh following entry:
> # Beaglebone LCD Cape GPIO KEYPAD keylayout > key 106 HOME WAKE
> Here 106 is the decimal equivalent of 0x6A.
> Hope this helps.
> Regards, > Umakanta Patro
> On Tuesday, 28 August 2012 14:53:44 UTC+5:30, (unknown) wrote:
>> Hi again, >> Having got the LCDcape working with the updated kernel I have a similar >> question:
>> I am attempting to reassign the buttons on the top of the cape to act in >> different ways (reassign home, back, menu ect for the android filesystem).
>> I am assuming the section in "board-am335xevm.c" entitled "/* Keys >> mapping */" (line 880) is where these things are defined? >> Could someone help me assign a custom GPIO pin to say the "HOME" button >> in the android filesystem?
>> Thanks >> David
>> On Tuesday, 14 August 2012 06:11:22 UTC+1, Vishveshwar wrote:
>>> We are currently working on tslib integration with rowboat. Expect to >>> see some updates soon..
>>> -Vishveshwar
>>> On Monday, August 13, 2012 8:56:31 PM UTC+5:30, David Lindley wrote:
>>>> Scrap last comment found it :). >>>> Any updates on getting the inverted touch screen sorted?
>>>> On 08/13/2012 03:25 PM, David Lindley wrote:
>>>> Can you clarify which rowboat repository I should be syncing? >>>> Cheers >>>> Platinumx
>>>> On 08/13/2012 02:10 PM, Vishveshwar wrote:
>>>> The LCD7 cape support patches are now pushed to rowboat. You can sync >>>> up the kernel sources to get them.
>>>> -Vishveshwar
>>>> On Monday, August 13, 2012 5:45:49 PM UTC+5:30, Platinumphoenix wrote:
>>>>> Hi Matthias, >>>>> Would it be possible to put this update in a repository? I am not sure >>>>> how to go about editing my version downloaded off rowboat and changing the >>>>> drivers. >>>>> I have managed to find the file you edited but do not understand >>>>> enough about the format of the edited file to manually edit the driver.
>>>>> Thanks >>>>> Platinumx
>>>>> On Wednesday, 11 July 2012 20:08:57 UTC+1, Matthias Kaehlcke wrote:
>>>>>> The GPIO pin for switching the power of the LCD7 cape has changed >>>>>> on rev A2. Select the right pin depending on the hardware revision >>>>>> read from the eeprom
>>>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "rowboat" group. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msg/rowboat/-/1A1YRqNTwiIJ. >>>> To post to this group, send email to row...@googlegroups.com. >>>> To unsubscribe from this group, send email to >>>> rowboat+u...@googlegroups.com. >>>> For more options, visit this group at >>>> http://groups.google.com/group/rowboat?hl=en.
>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "rowboat" group. >>>> To post to this group, send email to row...@googlegroups.com. >>>> To unsubscribe from this group, send email to >>>> rowboat+u...@googlegroups.com. >>>> For more options, visit this group at >>>> http://groups.google.com/group/rowboat?hl=en.