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: Rajesh Marathe
Subject: Re: [Ltib] Problem while running Dillo2 browser on latest CVS LTIB code + IMX27 ADS board.
Date: Tue, 29 Dec 2009 10:40:50 +0530

Hamilton,

Firstly, thanks for getting me started with this. I still do have some
issues which I have mentioned below.

1. I cannot find device 'mxc_ts' so lsmod fails for this. I think I have
to set the configuration under 'drivers' to have the touch screen module
included to get this working. Please let me know if I am correct here.

2. Despite the above failure, I assume that I should still have the
basic browser page displayed on the imx27ADS LCD panel. Hence, I
commented the first 4 lines and ran the rest of the script. I run from
console connected to the board via UART. I get the  error message which
complains that xf86OpenConsole cannot find a free VT.
--------------------------------------------------------------------
mx27#                                                                           
mx27#                                                                           
mx27# ./run.sh                                                                  
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host
Controller                     
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number
1              
fsl-ehci fsl-ehci.0: irq 54, io mem
0x10024200                                  
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec
2004             
usb usb1: configuration #1 chosen from 1
choice                                 
hub 1-0:1.0: USB hub
found                                                      
hub 1-0:1.0: 1 port
detected                                                    
isp1301
Detected                                                                
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host
Controller                     
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number
2              
fsl-ehci fsl-ehci.1: irq 56, io mem
0x10024000                                  
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00, driver 10 Dec
2004             
usb usb2: configuration #1 chosen from 1
choice                                 
hub 2-0:1.0: USB hub
found                                                      
hub 2-0:1.0: 1 port
detected                                                    
                                                                                
Fatal server
error:                                                             
xf86OpenConsole: Cannot find a
free<<==================================ERROR HERE
VT                                          
                                                                                
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)                                          
                                                                                
GBM:
Rajesh                                                                     
GBM: a_Mime_init done Disabling
cookies.                                        
Can't open display<<==================================ERROR HERE
":0"                                                         
mx27#
--------------------------------------------------------------------

Please help with this.

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
> >
> 
> 
> 





reply via email to

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