Re: Web Browser

Just bought my 8" infocast from the BB sale and figured I would give the browser a spin. So, I extract the files from the 1st page of this thread on the root of a usb drive and reboot the unit and the browser loads to about 1/2 the screen and the touch screen is unresponsive. I can not do anything on the browser page. Not to tech savvy so any pre-built files I can load on the usb would be appreciated.

Re: Web Browser

akashk wrote:

Just bought my 8" infocast from the BB sale and figured I would give the browser a spin. So, I extract the files from the 1st page of this thread on the root of a usb drive and reboot the unit and the browser loads to about 1/2 the screen and the touch screen is unresponsive. I can not do anything on the browser page. Not to tech savvy so any pre-built files I can load on the usb would be appreciated.

I'm having the exact same issue.  The browser is functional as I can use the keyboard shortcuts to load a webpage unfortunately, the alt key doesn't seem to work so I can't maximize the browser.

I also notice that its either the browser or the control panal but not both.  Is there a way to make the browser one of my widgets?  What I want to do is use my infocast to monitor my solar power generator and whole house electricity monitoring device.  Each has a seperate website to log into.  Ideally I'd like to be able to scroll between the weather widget, my current solar generation and my current house electricity use.

Paul

78

Re: Web Browser

kupermanp wrote:

I also notice that its either the browser or the control panal but not both.  Is there a way to make the browser one of my widgets?

It is possible, but you'd have to write your own control panel to accomplish that.

I'll look into the touch screen issue tomorrow as I've finally received a unit that may be exhibiting the same problem.

We're doing some very interesting things with the browser, so stay tuned... not much I can talk about at the moment wink

Re: Web Browser

kupermanp wrote:

I'm having the exact same issue.  The browser is functional as I can use the keyboard shortcuts to load a webpage unfortunately, the alt key doesn't seem to work so I can't maximize the browser.
Paul

F11?

Re: Web Browser

I don't really have the skills to compile my control panel (unless its really, really, easy), but I figure I can just set weather up in a tab of the browser.

Good to hear there is more going on with the browser.  These 8" devices lend themselves to more interactive web experiences.

damage- I haven't tried the F11 key.  I wasn't aware that that would maximize the browser.  I'll check it out tonight

Re: Web Browser

Ken, good to hear you are working on this. smile

82

Re: Web Browser

To those of you having the touch screen problem:

I've been unable to reproduce the issue on any of my units.  The only real clue I have as to what may be going wrong is that the calibration screen isn't appearing for units where the touch screen isn't working.  This means ts_calibrate is failing for some reason.  It's possible that the binary either doesn't exist (didn't get synched to the USB drive properly), or is failing to access some dependency (/dev nodes, or some files in the loop mounted).

Can someone experiencing the touch screen issue on an Infocast 8" do the following and report back?

1. extract the contents of the Silvermoon USB image to the root of a USB drive.
2. boot your device (without the drive inserted)
3. enable SSH (click APPS, click the insignia logo on the upper left -> click the Pi icon in the About Device screen, click SSHD)
4. insert the USB drive
5. SSH into your device, run the following manually (just cut/paste) and post the results here:

stop_control_panel
ls -l /mnt/usb/ /mnt/usb/bin/
rmmod silvermoon_tsb
insmod /mnt/usb/silvermoon-tsb.ko scaled_touchscreen=1
switch_fb.sh 0
mount
cat /mnt/storage/browser_etc/pointercal

if [ ! -e /mnt/storage/browser_etc ]; then
    cp -rP /etc /mnt/storage/browser_etc
fi
mount -t loop -o bind /mnt/storage/browser_etc /etc

mkdir -p /mnt/usb/root
mount -t loop -o bind /mnt/usb/root /root

export TSLIB_CONFFILE=/mnt/usb/etc/ts.conf
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_TSDEVICE=/dev/input/by-id/soc-noserial-event-ts
export QWS_MOUSE_PROTO=Tslib

if [ ! -e /etc/pointercal ]; then
    /mnt/usb/bin/ts_calibrate
    sync
fi
echo done

83 (edited by chumbyfly 2010-12-15 13:52:29)

Re: Web Browser

I have a different problem with the Infocast 8" (Silvermoon) browser with the full screen browser binary posted on this site:
After using the browser to browse for a while, it will automatically reload and bring me back to the www.chumby.com home page with all bookmarks and history erased as if the browser was just booted from USB.  For example, I login to my gmail, read some messages, and in the process of replying, the screen just refresh/reload and I got the default chumby home page and there is no back button/history to go back to the webpage where I was replying.  I tried adding a few bookmarks just so I can use bookmarks to go back, but after the sudden refresh, I lost all bookmarks and history again and back to the chumby default home page.  Did anyone else get this issue?

BTW, I have no issue with the touch screen because I did not use a USB mouse, I have a USB flash drive on USB port 1 and I have a USB keyboard on USB port 2.  I use the touch screen as mouse.  I got the calibration screen when I first booted from USB.  The sudden browser reload/refresh does not take me back to the calibration screen, it only restarted the browser with all history and bookmark erased.

Thanks in advance.

Re: Web Browser

Ok, sorry for the last post, I forgot to plug the flash drive in, here's my output:

chumby:~# stop_control_panel
*** stopping control panel
ls -l /mnt/usb/ /mnt/usb/bin/
rmmod silvermoon_tsb
insmod /mnt/usb/silvermoon-tsb.ko scaled_touchscreen=1
switch_fb.sh 0
mount
cat /mnt/storage/browser_etc/pointercal

if [ ! -e /mnt/storage/browser_etc ]; then
    cp -rP /etc /mnt/storage/browser_etc
*** killing registered flashplayer pid: 1028
fi
mount -t loop -o bind /mnt/storage/browser_etc /etc

mkdir -p /mnt/usb/root
mount -t loop -o bind /mnt/usb/root /root

export TSLIB_CONFFILE=/mnt/usb/etc/ts.conf
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_TSDEVICE=/dev/input/by-id/soc-noserial-event-ts
export QWS_MOUSE_PROTO=Tslib

if [ ! -e /etc/pointercal ]; then
    /mnt/usb/bin/ts_calibrate
    sync
fi
echo doneAdobe FlashLite 3.1.7 Release (Version 9,1,122,0)- Chumby Industries (version 9 build 78-3015 [GCC 4.3.2])
Portions copyright (C) 2005-2010 Chumby Industries, Inc.
Built for: silvermoon; Features: Video ALSA ARM-optimizations
Build time: Wed 07Apr2010 1632
chumbyflashplayer.x: sending signal 15 (SIGTERM) to running instance 1028
chumbyflashplayer.x: registered instance 1028 appears to have terminated
btplay client v1.4.1.38.41
Connected to btplayd instance 1027
Got response: OK 1001 flashplayer exit
Ignoring mismatched response 1001, expected 100
Got response: OK 100 quit
Matched request 100
Waiting 500ms for process to terminate
Continuing...
*** killing btplayd (SIGTERM): 1805
*** killing btplayd (SIGTERM): 1027
*** killing btplayd (SIGKILL): 1805
*** killing btplayd (SIGKILL): 1027
chumby:~# ls -l /mnt/usb/ /mnt/usb/bin/
/mnt/usb/:
total 34
drwxr-xr-x    2 root     root          2048 Sep  2 15:32 bin
-rwxr-xr-x    1 root     root           672 Sep  2 15:34 debugchumby
drwxr-xr-x    3 root     root          2048 Sep  2 15:32 demos
drwxr-xr-x    2 root     root          2048 Sep  2 15:32 etc
drwxr-xr-x    5 root     root          2048 Sep  2 16:21 lib
drwxr-xr-x    6 root     root          2048 Sep  2 15:32 plugins
drwxr-xr-x    2 root     root          2048 Dec 15 15:42 root
-rwxr-xr-x    1 root     root         16647 Sep  2 15:32 silvermoon-tsb.ko
drwxr-xr-x    5 root     root          2048 Sep  2 15:52 ssl

/mnt/usb/bin/:
total 9838
-rwxr-xr-x    1 root     root          3646 Sep  2 15:32 c_rehash
-rwxr-xr-x    1 root     root          4872 Sep  2 15:32 fipsld
-rwxr-xr-x    1 root     root       1492484 Sep  2 15:32 lrelease
-rwxr-xr-x    1 root     root        957036 Sep  2 15:32 moc
-rwxr-xr-x    1 root     root       1469809 Sep  2 15:32 openssl
-rwxr-xr-x    1 root     root       3644574 Sep  2 15:32 qmake
-rwxr-xr-x    1 root     root       1017456 Sep  2 15:32 rcc
-rwxr-xr-x    1 root     root         31250 Sep  2 15:32 ts_calibrate
-rwxr-xr-x    1 root     root         26227 Sep  2 15:32 ts_harvest
-rwxr-xr-x    1 root     root          6336 Sep  2 15:32 ts_print
-rwxr-xr-x    1 root     root          6348 Sep  2 15:32 ts_print_raw
-rwxr-xr-x    1 root     root         21092 Sep  2 15:32 ts_test
-rwxr-xr-x    1 root     root       1378928 Sep  2 15:32 uic
chumby:~# rmmod silvermoon_tsb
chumby:~# insmod /mnt/usb/silvermoon-tsb.ko scaled_touchscreen=1
chumby:~# switch_fb.sh 0
switching to fb0
cat: write error: No space left on device
chumby:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (ro,data=ordered)
tmpfs on /tmp type tmpfs (rw,mode=755)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
none on /var type tmpfs (rw,size=32768k)
none on /mnt type tmpfs (rw,size=32768k)
/dev/mmcblk0p4 on /mnt/storage type ext3 (rw,errors=continue,data=ordered)
none on /dev type tmpfs (rw,size=32768k)
none on /dev/pts type devpts (rw,mode=600)
none on /proc/bus/usb type usbfs (rw)
/dev/sdb1 on /mnt/usb-4C7C-1287 type vfat (rw,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,utf8)
chumby:~# cat /mnt/storage/browser_etc/pointercal
cat: can't open '/mnt/storage/browser_etc/pointercal': No such file or directory
chumby:~#
chumby:~# if [ ! -e /mnt/storage/browser_etc ]; then
>     cp -rP /etc /mnt/storage/browser_etc
> fi
chumby:~# mount -t loop -o bind /mnt/storage/browser_etc /etc
chumby:~#
chumby:~# mkdir -p /mnt/usb/root
chumby:~# mount -t loop -o bind /mnt/usb/root /root
chumby:~#
chumby:~# export TSLIB_CONFFILE=/mnt/usb/etc/ts.conf
chumby:~# export TSLIB_CALIBFILE=/etc/pointercal
chumby:~# export TSLIB_TSDEVICE=/dev/input/by-id/soc-noserial-event-ts
chumby:~# export QWS_MOUSE_PROTO=Tslib
chumby:~#
chumby:~# if [ ! -e /etc/pointercal ]; then
>     /mnt/usb/bin/ts_calibrate
>     sync
> fi
ts_open: No such file or directory

85

Re: Web Browser

chumbyfly wrote:

After using the browser to browse for a while, it will automatically reload and bring me back to the www.chumby.com home page with all bookmarks and history erased as if the browser was just booted from USB.

Looks like something caused the browser to crash.  Since the execution of the browser is wrapped in a while loop, the browser will simply be restarted upon crashing.  The bookmarks not being correctly saved has been reported previously; likely a bug in the Qt demo browser code.

I'm not sure what caused your crash, but the web browser is using an older Qt library...  Some of these problems may go away if someone was to build a version of the browser that uses the newer Qt 4.7.1 libs by following the Web Browser build instructions and substituting the latest version of Qt. smile

86

Re: Web Browser

JeepGoesBeep,

Can you try running the same code, but adding the following to the end?

strace /mnt/usb/bin/ts_calibrate

The resulting output will be fairly large, so please send it directly to me instead of posting it to the forum.

Re: Web Browser

chumby:~# stop_control_panel
*** stopping control panel
ls -l /mnt/usb/ /mnt/usb/bin/
*** killing registered flashplayer pid: 1031
rmmod silvermoon_tsb
insmod /mnt/usb/silvermoon-tsb.ko scaled_touchscreen=1
switch_fb.sh 0
mount
cat /mnt/storage/browser_etc/pointercal

if [ ! -e /mnt/storage/browser_etc ]; then
    cp -rP /etc /mnt/storage/browser_etc
fi
mount -t loop -o bind /mnt/storage/browser_etc /etc

Adobe FlashLite 3.1.7 Release (Version 9,1,122,0)- Chumby Industries (version 9 build 78-3015 [GCC 4.3.2])
Portions copyright (C) 2005-2010 Chumby Industries, Inc.
mkdir -p /mnt/usb/root
Built for: silvermoon; Features: Video ALSA ARM-optimizations
Build time: Wed 07Apr2010 1632
mount -t loop -o bind /mnt/usb/root /root

export TSLIB_CONFFILE=/mnt/usb/etc/ts.conf
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_TSDEVICE=/dev/input/by-id/soc-noserial-event-ts
export QWS_MOUSE_PROTO=Tslib

if [ ! -e /etc/pointercal ]; then
chumbyflashplayer.x: sending signal 15 (SIGTERM) to running instance 1031
    /mnt/usb/bin/ts_calibrate
    sync
fi
echo done
strace /mnt/usb/bin/ts_calibratechumbyflashplayer.x: registered instance 1031 appears to have terminated
btplay client v1.4.1.38.41
Connected to btplayd instance 1030
Got response: OK 1001 flashplayer exit
Ignoring mismatched response 1001, expected 100
Got response: OK 100 quit
Matched request 100
Waiting 500ms for process to terminate
Continuing...
*** killing btplayd (SIGTERM): 1711
*** killing btplayd (SIGTERM): 1030
*** killing btplayd (SIGKILL): 1711
*** killing btplayd (SIGKILL): 1030
chumby:~# ls -l /mnt/usb/ /mnt/usb/bin/
/mnt/usb/:
total 160
drwxr-xr-x    2 root     root         16384 Sep  2 15:32 bin
-rwxr-xr-x    1 root     root           672 Sep  2 15:34 debugchumby
drwxr-xr-x    3 root     root         16384 Sep  2 15:32 demos
drwxr-xr-x    2 root     root         16384 Sep  2 15:32 etc
drwxr-xr-x    5 root     root         16384 Sep  2 16:21 lib
drwxr-xr-x    6 root     root         16384 Sep  2 15:32 plugins
drwxr-xr-x    2 root     root         16384 Dec 15 16:04 root
-rwxr-xr-x    1 root     root         16647 Sep  2 15:32 silvermoon-tsb.ko
drwxr-xr-x    5 root     root         16384 Sep  2 15:52 ssl

/mnt/usb/bin/:
total 9952
-rwxr-xr-x    1 root     root          3646 Sep  2 15:32 c_rehash
-rwxr-xr-x    1 root     root          4872 Sep  2 15:32 fipsld
-rwxr-xr-x    1 root     root       1492484 Sep  2 15:32 lrelease
-rwxr-xr-x    1 root     root        957036 Sep  2 15:32 moc
-rwxr-xr-x    1 root     root       1469809 Sep  2 15:32 openssl
-rwxr-xr-x    1 root     root       3644574 Sep  2 15:32 qmake
-rwxr-xr-x    1 root     root       1017456 Sep  2 15:32 rcc
-rwxr-xr-x    1 root     root         31250 Sep  2 15:32 ts_calibrate
-rwxr-xr-x    1 root     root         26227 Sep  2 15:32 ts_harvest
-rwxr-xr-x    1 root     root          6336 Sep  2 15:32 ts_print
-rwxr-xr-x    1 root     root          6348 Sep  2 15:32 ts_print_raw
-rwxr-xr-x    1 root     root         21092 Sep  2 15:32 ts_test
-rwxr-xr-x    1 root     root       1378928 Sep  2 15:32 uic
chumby:~# rmmod silvermoon_tsb
chumby:~# insmod /mnt/usb/silvermoon-tsb.ko scaled_touchscreen=1
chumby:~# switch_fb.sh 0
switching to fb0
cat: write error: No space left on device
chumby:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (ro,data=ordered)
tmpfs on /tmp type tmpfs (rw,mode=755)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
none on /var type tmpfs (rw,size=32768k)
none on /mnt type tmpfs (rw,size=32768k)
/dev/mmcblk0p4 on /mnt/storage type ext3 (rw,errors=continue,data=ordered)
none on /dev type tmpfs (rw,size=32768k)
none on /dev/pts type devpts (rw,mode=600)
none on /proc/bus/usb type usbfs (rw)
/dev/sdb1 on /mnt/usb-F4AE-E4D2 type vfat (rw,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,utf8)
chumby:~# cat /mnt/storage/browser_etc/pointercal
cat: can't open '/mnt/storage/browser_etc/pointercal': No such file or directory
chumby:~#
chumby:~# if [ ! -e /mnt/storage/browser_etc ]; then
>     cp -rP /etc /mnt/storage/browser_etc
> fi
chumby:~# mount -t loop -o bind /mnt/storage/browser_etc /etc
chumby:~#
chumby:~# mkdir -p /mnt/usb/root
chumby:~# mount -t loop -o bind /mnt/usb/root /root
chumby:~#
chumby:~# export TSLIB_CONFFILE=/mnt/usb/etc/ts.conf
chumby:~# export TSLIB_CALIBFILE=/etc/pointercal
chumby:~# export TSLIB_TSDEVICE=/dev/input/by-id/soc-noserial-event-ts
chumby:~# export QWS_MOUSE_PROTO=Tslib
chumby:~#
chumby:~# if [ ! -e /etc/pointercal ]; then
>     /mnt/usb/bin/ts_calibrate
>     sync
> fi
ts_open: No such file or directory
chumby:~# echo done
done
chumby:~# strace /mnt/usb/bin/ts_calibrate
execve("/mnt/usb/bin/ts_calibrate", ["/mnt/usb/bin/ts_calibrate"], [/* 34 vars */]) = 0
brk(0)                                  = 0x1e000
uname({sys="Linux", node="chumby-18-17-67", ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001d000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/mnt/usb/lib/tls/v5l/fast-mult/half/libts-0.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/mnt/usb/lib/tls/v5l/fast-mult/half", 0xbeb540c8) = -1 ENOENT (No such file or directory)
open("/mnt/usb/lib/tls/v5l/fast-mult/libts-0.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/mnt/usb/lib/tls/v5l/fast-mult", 0xbeb540c8) = -1 ENOENT (No such file or directory)
open("/mnt/usb/lib/tls/v5l/half/libts-0.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/mnt/usb/lib/tls/v5l/half", 0xbeb540c8) = -1 ENOENT (No such file or directory)
open("/mnt/usb/lib/tls/v5l/libts-0.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/mnt/usb/lib/tls/v5l", 0xbeb540c8) = -1 ENOENT (No such file or directory)
open("/mnt/usb/lib/tls/fast-mult/half/libts-0.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/mnt/usb/lib/tls/fast-mult/half", 0xbeb540c8) = -1 ENOENT (No such file or directory)
open("/mnt/usb/lib/tls/fast-mult/libts-0.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/mnt/usb/lib/tls/fast-mult", 0xbeb540c8) = -1 ENOENT (No such file or directory)
open("/mnt/usb/lib/tls/half/libts-0.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/mnt/usb/lib/tls/half", 0xbeb540c8) = -1 ENOENT (No such file or directory)
open("/mnt/usb/lib/tls/libts-0.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/mnt/usb/lib/tls", 0xbeb540c8)  = -1 ENOENT (No such file or directory)
open("/mnt/usb/lib/v5l/fast-mult/half/libts-0.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/mnt/usb/lib/v5l/fast-mult/half", 0xbeb540c8) = -1 ENOENT (No such file or directory)
open("/mnt/usb/lib/v5l/fast-mult/libts-0.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/mnt/usb/lib/v5l/fast-mult", 0xbeb540c8) = -1 ENOENT (No such file or directory)
open("/mnt/usb/lib/v5l/half/libts-0.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/mnt/usb/lib/v5l/half", 0xbeb540c8) = -1 ENOENT (No such file or directory)
open("/mnt/usb/lib/v5l/libts-0.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/mnt/usb/lib/v5l", 0xbeb540c8)  = -1 ENOENT (No such file or directory)
open("/mnt/usb/lib/fast-mult/half/libts-0.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/mnt/usb/lib/fast-mult/half", 0xbeb540c8) = -1 ENOENT (No such file or directory)
open("/mnt/usb/lib/fast-mult/libts-0.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/mnt/usb/lib/fast-mult", 0xbeb540c8) = -1 ENOENT (No such file or directory)
open("/mnt/usb/lib/half/libts-0.0.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/mnt/usb/lib/half", 0xbeb540c8) = -1 ENOENT (No such file or directory)
open("/mnt/usb/lib/libts-0.0.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\240\t\0\0004\0\0\0\360"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=10178, ...}) = 0
mmap2(NULL, 38988, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40026000
mprotect(0x40028000, 28672, PROT_NONE)  = 0
mmap2(0x4002f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x4002f000
close(3)                                = 0
open("/mnt/usb/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/v5l/fast-mult/half/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v5l/fast-mult/half", 0xbeb540b0) = -1 ENOENT (No such file or directory)
open("/lib/tls/v5l/fast-mult/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v5l/fast-mult", 0xbeb540b0) = -1 ENOENT (No such file or directory)
open("/lib/tls/v5l/half/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v5l/half", 0xbeb540b0) = -1 ENOENT (No such file or directory)
open("/lib/tls/v5l/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v5l", 0xbeb540b0)      = -1 ENOENT (No such file or directory)
open("/lib/tls/fast-mult/half/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/fast-mult/half", 0xbeb540b0) = -1 ENOENT (No such file or directory)
open("/lib/tls/fast-mult/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/fast-mult", 0xbeb540b0) = -1 ENOENT (No such file or directory)
open("/lib/tls/half/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/half", 0xbeb540b0)     = -1 ENOENT (No such file or directory)
open("/lib/tls/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0xbeb540b0)          = -1 ENOENT (No such file or directory)
open("/lib/v5l/fast-mult/half/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v5l/fast-mult/half", 0xbeb540b0) = -1 ENOENT (No such file or directory)
open("/lib/v5l/fast-mult/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v5l/fast-mult", 0xbeb540b0) = -1 ENOENT (No such file or directory)
open("/lib/v5l/half/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/v5l/half", 0xbeb540b0)     = -1 ENOENT (No such file or directory)
open("/lib/v5l/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
stat64("/lib/v5l", 0xbeb540b0)          = -1 ENOENT (No such file or directory)
open("/lib/fast-mult/half/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/fast-mult/half", 0xbeb540b0) = -1 ENOENT (No such file or directory)
open("/lib/fast-mult/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/fast-mult", 0xbeb540b0)    = -1 ENOENT (No such file or directory)
open("/lib/half/libdl.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)
stat64("/lib/half", 0xbeb540b0)         = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\374\10\0\0004\0\0\0\230"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=15096, ...}) = 0
mmap2(NULL, 41136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40030000
mprotect(0x40032000, 28672, PROT_NONE)  = 0
mmap2(0x40039000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x40039000
close(3)                                = 0
open("/mnt/usb/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\300Q\1\0004\0\0\0\234"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1553002, ...}) = 0
mmap2(NULL, 1212984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4003b000
mprotect(0x40156000, 32768, PROT_NONE)  = 0
mmap2(0x4015e000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11b) = 0x4015e000
mmap2(0x40161000, 8760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40161000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001e000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
syscall_5(0x4001e8d0, 0x1000, 0x4002567c, 0x4001efa8, 0x40025050, 0x40025000, 0, 0xf0005, 0x50, 0x1, 0xffff5118, 0xbeb54814, 0, 0xbeb54690, 0x4001544c, 0x40001f78, 0x20000010, 0x4001e8d0, 0, 0, 0, 0, 0x101ec, 0, 0, 0, 0, 0, 0, 0, 0, 0) = 0
mprotect(0x4015e000, 8192, PROT_READ)   = 0
mprotect(0x40039000, 4096, PROT_READ)   = 0
mprotect(0x40024000, 4096, PROT_READ)   = 0
rt_sigaction(SIGSEGV, {0x9628, [SEGV], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x9628, [INT], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x9628, [TERM], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
brk(0)                                  = 0x1e000
brk(0x3f000)                            = 0x3f000
open("/dev/input/by-id/soc-noserial-event-ts", O_RDONLY) = -1 ENOENT (No such file or directory)
dup(2)                                  = 3
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40020000
_llseek(3, 0, 0xbeb546f0, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
write(3, "ts_open: No such file or director"..., 35ts_open: No such file or directory
) = 35
close(3)                                = 0
munmap(0x40020000, 4096)                = 0
exit_group(1)                           = ?

88

Re: Web Browser

JeepGoesBeep,

Interesting that /dev/input/by-id/soc-noserial-event-ts doesn't exist.

Please post back the results of:

find /dev/input
lsmod

Re: Web Browser

this is after running the above script then running the find and lsmod commands:

chumby:~# find /dev/input
/dev/input
/dev/input/event0
/dev/input/mouse0
/dev/input/mice
chumby:~# lsmod
Module                  Size  Used by
silvermoon_tsb         12024  0
chumby_sense1           4288  0
chumby_timer            4092  0
snd_soc_silvermoon      3108  0
snd_soc_pxa3xx          4320  1 snd_soc_silvermoon
snd_soc_pxa3xx_ssp      5504  1 snd_soc_silvermoon
i2c_dev                 6148  0
snd_soc_wm8961         16076  1 snd_soc_silvermoon
snd_soc_core           29032  3 snd_soc_silvermoon,snd_soc_pxa3xx,snd_soc_wm8961
snd_pcm                65092  3 snd_soc_pxa3xx,snd_soc_pxa3xx_ssp,snd_soc_core
snd_timer              19364  1 snd_pcm
snd_page_alloc          6440  1 snd_pcm
chumby_silvermoon_bl     2276  0
backlight               4228  1 chumby_silvermoon_bl
sd8xxx                138630  1
i2c_pxa                 6880  0
i2c_core               20720  3 i2c_dev,snd_soc_wm8961,i2c_pxa
bmm                     5608  0

90

Re: Web Browser

OK, as a temporary workaround for the touch screen issue, you should be able to simply replace this line in the debugchumby script:

export TSLIB_TSDEVICE=/dev/input/by-id/soc-noserial-event-ts

with this:

export TSLIB_TSDEVICE=/dev/input/event0

Note that if you do this, a USB keyboard will only work if you insert it after the browser has loaded.  The point of the soc-noserial-event-ts symlink is to allow us to dynamically choose the correct touch screen device node, regardless of which input devices have been inserted (mouse, keyboard, joystick, etc.).

I'll see if I can figure out why the by-id/* symlinks aren't getting created for some people...

91

Re: Web Browser

JeepGoesBeep - what firmware version are you running?

chumby_version -s
chumby_version -f
chumby_version -h

Re: Web Browser

You're tha man! That works:)

Re: Web Browser

chumby:/mnt/usb-F4AE-E4D2#
login as: root
chumby:~# chumby_version -s
1.0.1
chumby:~# chumby_version -f
1.0.3015
chumby:~# chumby_version -h
9.7
chumby:~#

94

Re: Web Browser

JeepGoesBeep wrote:

chumby:~# chumby_version -s
1.0.1

Ah, that explains it - you're running a old version of the firmware.  If you install the update to the latest firmware (1.0.4), the touch screen issue should go away without needing to modify the debugchumby script.  Note, however, that OTA updates are currently suspended until v1.0.5 is available, which should also be coming out very soon (waiting on approval from Best Buy).

Re: Web Browser

I just bought it a day or so ago so it probably didnt get the update before they were disabled, this will get me going until an update though! Thanks again!

Re: Web Browser

I know most folks wouldnt want to, but I'm using my infocast as a touchscreen front end to a home automation system...I have no need for a mouse or keyboard so is there a way to remove the mouse pointer?

Re: Web Browser

JeepGoesBeep wrote:

I know most folks wouldnt want to, but I'm using my infocast as a touchscreen front end to a home automation system...I have no need for a mouse or keyboard so is there a way to remove the mouse pointer?

Hey Jeep...what home automation are you using? Vera by any chance? If so, are you just using the web interface or do you have a flash-lite widget?

98 (edited by JeepGoesBeep 2010-12-17 10:56:49)

Re: Web Browser

No I'm using homeseer with a package that you can build a very custom web interface with. It's jon00 control or something like that.

I've been looking into compiling my own binary and found that theres actually a blank cursor shape that you can use so I might give that a shot over the holidays....

99 (edited by nolanjurgens 2010-12-17 13:04:20)

Re: Web Browser

Ken wrote:
JeepGoesBeep wrote:

chumby:~# chumby_version -s
1.0.1

Ah, that explains it - you're running a old version of the firmware.  If you install the update to the latest firmware (1.0.4), the touch screen issue should go away without needing to modify the debugchumby script.  Note, however, that OTA updates are currently suspended until v1.0.5 is available, which should also be coming out very soon (waiting on approval from Best Buy).

I had the touchscreen issue w/ 1.0.1. Just got the 1.0.5 update and now it's fixed.

Re: Web Browser

Works pretty well here!  Even bought a tiny little keyboard for it, now if my darn fingers were a little smaller I'd be all set.