Re: [Kernel-discuss] Detect LCD of Aximx50 and Aximx50(v) series

From: Paul Sokolovsky <pmiscml_at_gmail.com>
Date: Fri, 6 Jul 2007 21:14:15 +0300

Hello Matt,

Friday, July 6, 2007, 8:41:59 PM, you wrote:

> On 7/6/07, Patrick Steiner <patrick.steiner_at_a1.net> wrote:
>> hi,
>>
>> has anyone a idea how we can detect if its a vga or qvga axim on kernel base?
>> perhaps there is any GPIO?
>>
>> So we can build one Kernel for the device.

> How about looking to see how the bootloader configured the LCD registers?

This solution is with a catch - in the end there should be "linux"
bootloader and we can't be sure how it will do that. So, if no
robust way to detect resolution it is found, it's better to just register
separate machine ID for another model, and test for it. In the end it will
still need to be provided by bootloader, but at least it's clean
interface for doing that.

> Matt

-- 
Best regards,
 Paul                            mailto:pmiscml_at_gmail.com
Received on Fri Jul 06 2007 - 14:14:30 EDT

This archive was generated by hypermail 2.2.0 : Fri Jul 06 2007 - 14:14:46 EDT