ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] Problem while running Dillo2 browser on latest CVS LTIB code


From: Hamilton Vera
Subject: Re: [Ltib] Problem while running Dillo2 browser on latest CVS LTIB code + IMX27 ADS board.
Date: Mon, 4 Jan 2010 12:15:44 -0200

Hi Rajesh,

try to build the touchscreen as a module mxc_ts. Another thing that
you must check is your xorg-server-1.4.2 package, look for the file
./hw/kdrive/src/kmode.c and add these lines:

     *
     * Modeline "240x320"
     */
    {   240,    320,    64,     16256,
                    17,     12,     32,     KdSyncNegative,
                    1,      11,     14,     KdSyncNegative,
    },

[]'s

Hamilton Vera



On Thu, Dec 31, 2009 at 10:07 AM, Rajesh Marathe <address@hidden> wrote:
> Hi Hamilton,
>
> I tried the commands that you have mentioned below. X tries to start up
> but then it starts looking out for 'keyboard' and says 'xkbcomp' not
> found and other errors. It also crashes out with segmentation fault.
> How to disable X from looking to 'keyboard' ? If not, how do I get
> xkbcomp in LTIB ?
>
> thanks and regards,
> Rajesh Marathe.
>
>
> On Mon, 2009-12-28 at 17:24 -0200, Hamilton Vera wrote:
>> Here is what we use to startx :
>>
>> #!/bin/sh
>>
>> module=`lsmod | grep mxc_ts`
>> if [ ! "$module" ]; then
>>         modprobe mxc_ts;
>> fi
>>
>> module=`lsmod | grep ehci_hcd`
>> if [ ! "$module" ]; then
>>         modprobe ehci_hcd;
>> fi
>>
>> export TSLIB_CONSOLEDEVICE=none
>> export TSLIB_TSDEVICE=/dev/input/event1
>>
>> echo "nameserver 208.67.220.220" > /etc/resolv.conf
>>
>> if [ ! -e /dev/tty0 ]; then ln -s /dev/vc/0 /dev/tty0; fi
>> if [ ! -e /dev/tty1 ]; then ln -s /dev/vc/1 /dev/tty1; fi
>> if [ ! -e /dev/tty2 ]; then ln -s /dev/vc/2 /dev/tty2; fi
>>
>> Xfbdev -screen 240x320x60  -mouse tslib,,device=/dev/input/event1 &
>> sleep 3
>>
>> # Start woosh internet browser.
>> #DISPLAY=:0 /usr/bin/woosh
>>
>> # Start dillo internet browser.
>> DISPLAY=:0 /usr/bin/dillo
>> # Stops the X.
>> #killall Xfbdev
>>
>>
>> []'s
>>
>> Hamilton Vera
>>
>>
>>
>> On Mon, Dec 28, 2009 at 11:31 AM, Stuart Hughes <address@hidden> wrote:
>> > Hi Rajesh,
>> >
>> > If you have the latest Savannah CVS startx should be in the path (on the
>> > host): rootfs/usr/bin/startx, this contains:
>> >
>> > #!/bin/sh
>> >
>> > Xfbdev -ac -mouse mouse -keybd keyboard &
>> > sleep 3
>> > DISPLAY=:0 twm
>> > killall Xfbdev
>> >
>> > Regards, Stuart
>> >
>> > Rajesh Marathe wrote:
>> >>
>> >> Stuart,
>> >>
>> >> Thanks. I think I did not start X server earlier. I had compiled LTIB
>> >> with X Server option but did not find "startx" under rootfs on the
>> >> device. How to get the X started on the device ?
>> >>
>> >> regards,
>> >> Rajesh Marathe.
>> >>
>> >> On Mon, 2009-12-28 at 10:54 +0000, Stuart Hughes wrote:
>> >>>
>> >>> Hi Rajesh,
>> >>>
>> >>> I don't have that board so can't look.  However, make sure you have
>> >>> started the X server (with startx) first.  Also make sure you have the
>> >>> framebuffer enabled in the kernel (it should be I think).
>> >>>
>> >>> Regards, Stuart
>> >>>
>> >>> Rajesh Marathe wrote:
>> >>>>
>> >>>> Hi,
>> >>>>
>> >>>> We are working on IMX27 ADS board and have taken latest CVS based LTIB
>> >>>> code. I have included 'Dillo2' and 'fltk' packages as my objective would
>> >>>> be to run the browser dillo on the imx27 system.
>> >>>>
>> >>>> After the Linux boots up, I go to the console and try to run the
>> >>>> browser. But, I get the following error:
>> >>>>
>> >>>> ----------------------------------------------------------------------
>> >>>> mx27#
>> >>>>         mx27#
>> >>>>             mx27# ./dillo
>> >>>>                 paths: Cannot open file
>> >>>> '//.dillo/dillorc'                                      paths:
>> >>>> Using /usr/etc/dillo/dillorc
>> >>>> paths: Cannot open file
>> >>>> '//.dillo/keysrc'                                       paths:
>> >>>> Using /usr/etc/dillo/keysrc
>> >>>>  dillo_dns_init: Here we go!
>> >>>> (threaded)                                          Disabling
>> >>>> cookies.
>> >>>>  Can't open display
>> >>>> ":0.0"                                                       mx27#
>> >>>> ----------------------------------------------------------------------
>> >>>>
>> >>>> I did try to debug and found out that the function fltk::open_display
>> >>>> returns the above display error.
>> >>>>
>> >>>> How do I set the display correctly so that the browser's opening page
>> >>>> gets displayed on the LCD panel connected to IMX27 board ?
>> >>>>
>> >>>> regards,
>> >>>> Rajesh Marathe.
>> >>>>
>> >>>>
>> >>>>
>> >>>> _______________________________________________
>> >>>> LTIB home page: http://ltib.org
>> >>>>
>> >>>> Ltib mailing list
>> >>>> address@hidden
>> >>>> http://lists.nongnu.org/mailman/listinfo/ltib
>> >>>>
>> >>
>> >>
>> >
>> >
>> > _______________________________________________
>> > LTIB home page: http://ltib.org
>> >
>> > Ltib mailing list
>> > address@hidden
>> > http://lists.nongnu.org/mailman/listinfo/ltib
>> >
>>
>>
>>
>
>



-- 
Hamilton Vera
int Administrator (char Network[],char ComputationalSystems[])
http://hvera.wordpress.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]