2013-02-27
Slitaz armhf -- Qt5 - qmake / qtfm
Qt5 - qmake / qtfm
qtFM is a small, lightweight file manager for Linux desktops based on pure Qt
and works great with minimal desktop environments like Openbox.
http://www.qtfm.org/
1.
root@slitaz:/tmp/qtfm-5.5# dmesg | grep Machine
[ 0.000000] Machine: BCM2708
root@slitaz:/tmp/qtfm-5.5# ls
CHANGELOG README images qtfm.pro src
COPYING build qtfm.desktop resources.qrc translations
2.
root@slitaz:/tmp/qtfm-5.5# qmake qtfm.pro
3.
root@slitaz:/tmp/qtfm-5.5# ls -l Makefile
-rw-r--r-- 1 root root 232653 Jan 13 03:57 Makefile
root@slitaz:/tmp/qtfm-5.5# head -21 Makefile
#############################################################################
# Makefile for building: qtfm
# Generated by qmake (3.0) (Qt 5.0.0) on: Sun Jan 13 03:57:53 2013
# Project: qtfm.pro
# Template: app
# Command: /usr/bin/qmake -o Makefile qtfm.pro
#############################################################################
MAKEFILE = Makefile
####### Compiler, tools and options
CC = gcc
CXX = g++
DEFINES = -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB
CFLAGS = -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -O2 -D_REENTRANT -w -fPIE $(DEFINES)
CXXFLAGS = -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -O2 -D_REENTRANT -w -fPIE $(DEFINES)
INCPATH = -I/usr/share/qt5/mkspecs/devices/linux-rasp-pi-g++ -I. -I. -Isrc -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -Ibuild -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads
LINK = g++
LFLAGS = -Wl,-rpath-link,/opt/vc/lib -Wl,-O1
LIBS = $(SUBLIBS) -L/opt/vc/lib -lmagic -lpthread -lQt5Network -lQt5Gui -lQt5Core -lGLESv2
root@slitaz:/tmp/qtfm-5.5#
4.
root@slitaz:/tmp/qtfm-5.5# ls -l /usr/share/qt5/mkspecs/devices/linux-rasp-pi-g\+\+/
total 15
-rw-r--r-- 1 root root 10245 Dec 21 10:58 qeglfshooks_pi.cpp
-rw-r--r-- 1 root root 1320 Dec 21 10:58 qmake.conf
-rw-r--r-- 1 root root 2009 Dec 21 10:58 qplatformdefs.h
root@slitaz:/tmp/qtfm-5.5#
5.
root@slitaz:/tmp/qtfm-5.5# cat /usr/share/qt5/mkspecs/devices/linux-rasp-pi-g\+\+/qmake.conf
#
# qmake configuration for Broadcom's Raspberry PI
# http://wiki.qt-project.org/Devices/RaspberryPi
include(../common/linux_device_pre.conf)
QT_QPA_DEFAULT_PLATFORM = wayland
QMAKE_LFLAGS += -Wl,-rpath-link,$$[QT_SYSROOT]/opt/vc/lib
QMAKE_LIBDIR_OPENGL_ES2 = $$[QT_SYSROOT]/opt/vc/lib
QMAKE_LIBDIR_EGL = $$QMAKE_LIBDIR_OPENGL_ES2
QMAKE_INCDIR_EGL = $$[QT_SYSROOT]/opt/vc/include $$[QT_SYSROOT]/opt/vc/include/interface/vcos/pthreads
QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL}
QMAKE_LIBS_EGL = -lEGL -lGLESv2
contains(DISTRO, squeeze) {
#Debian Squeeze: Legacy everything
QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 -lEGL
QT_QPA_DEFAULT_PLATFORM = eglfs
} else:contains(DISTRO, arch) {
#On principle: no wizardry required
} else {
#This is not strictly necessary
DISTRO_OPTS += deb-multi-arch
DISTRO_OPTS += hard-float
}
QMAKE_CFLAGS += \
-marm \
-mfpu=vfp \
-mtune=arm1176jzf-s \
-march=armv6zk \
-mabi=aapcs-linux
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
EGLFS_PLATFORM_HOOKS_SOURCES = $$PWD/qeglfshooks_pi.cpp
EGLFS_PLATFORM_HOOKS_LIBS = -lbcm_host
include(../common/linux_device_post.conf)
load(qt_config)
root@slitaz:/tmp/qtfm-5.5#
Slitaz armhf -- TightVNC / Qt5
TightVNC / Qt5
1.
tux@slitaz:~$ uname -a
Linux slitaz 3.2.27-slitaz #1 PREEMPT Fri Dec 14 15:01:17 CST 2012 armv6l GNU/Linux
tux@slitaz:~$ date
Fri Jan 11 04:31:49 UTC 2013
2.
tux@slitaz:~$ sudo vcgencmd version
Oct 25 2012 16:37:21
Copyright (c) 2012 Broadcom
version 346337 (release)
3.
tux@slitaz:~$ fc-list
Fixed:style=SemiCondensed
micro.pcf:style=Regular
cursor.pcf:style=Regular
DejaVu Sans:style=Bold
DejaVu Sans:style=Book
DejaVu Sans Mono:style=Book
4.
tux@slitaz:~$ free -m
total used free shared buffers
Mem: 184 105 79 0 4
-/+ buffers: 100 84
Swap: 127 0 127
tux@slitaz:~$
5.
tux@slitaz:~$ tazpkg list | grep qt
libqt5 5.0.0-0rpi1 misc
libqt5-compositor 5.0.0~29-0rpi1 misc
libqt5-declarative 5.0.0-0rpi1 misc
libqt5-declarative-bin 5.0.0-0rpi1 misc
libqt5-dev-bin 5.0.0-0rpi1 misc
libqt5-graphicaleffects 5.0.0-0rpi1 misc
libqt5-multimedia 5.0.0-0rpi1 misc
libqt5-script 5.0.0-0rpi1 misc
libqt5-svg 5.0.0-0rpi1 misc
libqt5-tools 5.0.0-0rpi1 misc
libqt5-tools-bin 5.0.0-0rpi1 misc
libqt5-v8 5.0.0-0rpi1 misc
libqt5-xmlpatterns 5.0.0-0rpi1 misc
libqtwebkit5 5.0.0-0rpi1 misc
libqtwebkit5-bin 5.0.0-0rpi1 misc
qt5-demos-base 5 misc
qt5-demos-compositor 5.0.0~29-0rpi1 misc
qt5-qmake 5.0.0-0rpi1 misc
6.tux@slitaz:~$ spk-ls qt5-demos-base | tail
/usr/lib/qt5/examples/widgets/widgets/windowflags/windowflags
/usr/lib/qt5/examples/widgets/widgets/mousebuttons/buttontester
/usr/lib/qt5/examples/widgets/widgets/scribble/scribble
/usr/lib/qt5/examples/widgets/widgets/groupbox/groupbox
/usr/lib/qt5/examples/widgets/widgets/calculator/calculator
/usr/share/doc/qt5-demos-base/changelog.gz
/usr/share/doc/qt5-demos-base/copyright
================================================================================
Installed files by qt5-demos-base: 32
tux@slitaz:~$ sudo /usr/lib/qt5/examples/widgets/widgets/calculator/calculator
This plugin does not support propagateSizeHints()
^Ctux@slitaz:~$
tux@slitaz:~$
SliTaz armhf: 46MB Linux Distribution for Raspberry Pi
SliTaz armhf: 46MB Linux Distribution for Raspberry Pi
http://www.cnx-software.com/2012/12/15/slitaz-armhf-46mb-linux-distribution-for-raspberry-pi
CNXSoft – Embedded Software Development
Software development cycle, linux programming, hardware development…
http://www.cnx-software.com/
http://www.cnx-software.com/2012/12/15/slitaz-armhf-46mb-linux-distribution-for-raspberry-pi
SliTaz armhf is a minimal Linux distribution based on SliTaz Linux, that uses the hard-float ABI for the Raspberry Pi. The compressed SD card image is 46M, the rootfs 18.6 MB, and Slitaz uses just about 7 MB RAM after boot.
...
CNXSoft – Embedded Software Development
Software development cycle, linux programming, hardware development…
http://www.cnx-software.com/
2013-02-24
Slitaz -- slitaz-rolling.iso
Env:
slitaz-rolling.iso 2013-Feb-22 21:51:05 41.0M
# sed -i 's/Exec=pcmanfm %F/Exec=dbus-launch pcmanfm/' /usr/share/applications/pcmanfm.desktop
1.
tux@slitaz:~$ uname -a
Linux slitaz 3.2-slitaz #4 SMP Fri Feb 22 20:21:20 CET 2013 i686 GNU/Linux
2.
tux@slitaz:~$ tazpkg info pcmanfm
Tazpkg information
================================================================================
Package : pcmanfm
Version : 1.1.0
Category : system-tools
Short desc : Light and easy to use file manager.
Maintainer : pankso@slitaz.org
Depends : glibc-base glib libgio util-linux-uuid libxcb xcb-util expat zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm gvfs
Build deps : gtk+-dev shared-mime-info intltool dbus-glib-dev dbus-dev startup-notification-dev libxcb-dev xcb-util-dev libfm-dev menu-cache-dev expat-dev
Web site : http://pcmanfm.sourceforge.net/
================================================================================
3.
tux@slitaz:~$ mount
rootfs on / type rootfs (rw)
tmpfs on /run type tmpfs (rw,relatime)
tmpfs on / type tmpfs (rw,relatime,size=2645304k)
proc on /proc type proc (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=1450768k,nr_inodes=210150,mode=755)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,relatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
gvfs-fuse-daemon on /home/tux/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
/dev/sda9 on /run/media/tux/data-ln type ext3 (rw,nosuid,nodev,relatime,errors=continue,barrier=1,data=ordered)
/dev/sda3 on /run/media/tux/tank type ext3 (rw,nosuid,nodev,relatime,errors=continue,barrier=1,data=ordered)
/dev/sda1 on /run/media/tux/WINXP type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,errors=remount-ro)
/dev/sda5 on /run/media/tux/DATA type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,errors=remount-ro)
/dev/sda7 on /run/media/tux/slitaz-ff type ext3 (rw,nosuid,nodev,relatime,errors=continue,barrier=1,data=ordered)
/dev/sda8 on /run/media/tux/slitaz type ext3 (rw,nosuid,nodev,relatime,errors=continue,barrier=1,data=ordered)
/dev/sda2 on /run/media/tux/XPE type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,errors=remount-ro)
/dev/hdb on /media/cdrom type iso9660 (ro,nosuid,nodev,noexec,relatime)
tux@slitaz:~$
2013-02-21
Slitaz -- TeamViewer/get-teamviewer
ln: usr/bin/teamviewer: File exists
root@slitaz:~# get-teamviewer
Connecting to www.teamviewer.com (46.163.100.220:80)
teamviewer_linux.deb 100% |*******************************| 17820k 00:00:00 ETA
ln: usr/bin/teamviewer: File exists
root@slitaz:~#
1.
tux@slitaz:~$ sudo get-teamviewer
Connecting to www.teamviewer.com (46.163.100.220:80)
teamviewer_linux.deb 100% |*******************************| 17820k 00:00:00 ETA
Packing : teamviewer-8.0.17147
================================================================================
Creating the list of files... [ OK ]
Creating md5sum of files... [ OK ]
Compressing the fs... [ OK ]
Updating receipt sizes... [ OK ]
Creating full cpio archive... [ OK ]
Restoring original package tree... [ OK ]
================================================================================
Package teamviewer-8.0.17147 compressed successfully.
Size : 11.9M teamviewer-8.0.17147.tazpkg
Installation of : teamviewer
================================================================================
Copying teamviewer... [ OK ]
Extracting teamviewer... [ OK ]
Extracting the pseudo fs... (lzma) [ OK ]
Installing teamviewer... [ OK ]
Removing all tmp files... [ OK ]
To start teamviewerd server you can run :
/etc/init.d/teamviewerd start
Or add teamviewerd to RUN_DAEMONS in /etc/rcS.conf
Web viewer (needs flash): https://go.teamviewer.com/v8/
================================================================================
teamviewer (8.0.17147) is installed.
tux@slitaz:~$
2.
tux@slitaz:~$ cat get-teamviewer.diff
--- get-teamviewer-orig
+++ get-teamviewer
@@ -3,7 +3,7 @@
PACKAGE="teamviewer"
WEB_SITE="http://www.$PACKAGE.com/"
URL=${WEB_SITE}download/${PACKAGE}_linux.deb
-DEPENDS="bash alsa-lib zlib xorg-libXext"
+DEPENDS="bash alsa-lib zlib xorg-libXext coreutils-file-special"
ROOT="$1"
[ -d "$ROOT" ] || ROOT=""
@@ -48,11 +48,10 @@
mv $PACKAGE $PACKAGE-$VERSION
cd $PACKAGE-$VERSION/fs
-ln -s $(cd usr/bin ; ls $PACKAGE*) usr/bin/$PACKAGE
-mkdir -p usr/share/applications
-sed "s|EXEC|/usr/bin/$PACKAGE|g;s!ICON!/$(find opt | grep $PACKAGE.png)!g" \
- < $(find opt | grep desktop.template) \
- > usr/share/applications/$PACKAGE.desktop
+mkdir -p usr/share/applications usr/share/pixmaps etc/init.d
+cp -a opt/teamviewer8/tv_bin/desktop/*.png usr/share/pixmaps
+cp -a opt/teamviewer8/tv_bin/desktop/*.desktop usr/share/applications
+cp -a opt/teamviewer8/tv_bin/script/teamviewerd.sysv etc/init.d/teamviewerd
cd ../..
cat > $PACKAGE-$VERSION/receipt <<EOT
@@ -69,10 +68,16 @@
post_install()
{
cat <<EOF
+
+To start ${PACKAGE}d server you can run :
+/etc/init.d/${PACKAGE}d start
+Or add ${PACKAGE}d to RUN_DAEMONS in /etc/rcS.conf
+
Web viewer (needs flash): https://go.teamviewer.com/v${VERSION%%.*}/
EOF
}
EOT
+
# Pack
tazpkg pack $PACKAGE-$VERSION
tux@slitaz:~$
3.
tux@slitaz:~$ tail /var/lib/tazpkg/installed/teamviewer/files.list
/usr/share/applications/teamviewer-teamviewer8.desktop
/usr/share/pixmaps/teamviewer.png
/etc/init.d/teamviewerd
/opt/teamviewer8/tv_bin/TeamViewer
/opt/teamviewer8/tv_bin/wine/lib/libwine.so
/opt/teamviewer8/tv_bin/wine/lib/libwine.so.1
/opt/teamviewer8/tv_bin/TeamViewer_Desktop
/usr/bin/teamviewer
/var/log/teamviewer
/etc/teamviewer
tux@slitaz:~$
2013-02-20
Slitaz -- TeamViewer
TeamViewer (Remote Control Application)
1.
tux@slitaz:~$ sudo tazpkg -i teamviewer-8.0.17147.tazpkg
Installation of : teamviewer
================================================================================
Copying teamviewer... [ OK ]
Extracting teamviewer... [ OK ]
Extracting the pseudo fs... (lzma) [ OK ]
Installing teamviewer... [ OK ]
Removing all tmp files... [ OK ]
To start teamviewerd server you can run :
/etc/init.d/teamviewerd start
Or add teamviewerd to RUN_DAEMONS in /etc/rcS.conf
Web viewer (needs flash): https://go.teamviewer.com/v8/
================================================================================
teamviewer (8.0.17147) is installed.
2.
tux@slitaz:~$ ps | tail -6
1757 root 0:00 /opt/teamviewer8/tv_bin/teamviewerd -d
1765 tux 0:03 c:\TeamViewer\TeamViewer.exe
1788 tux 0:03 /opt/teamviewer8/tv_bin/wine/bin/wineserver
1794 tux 0:00 C:\windows\system32\services.exe
1843 tux 0:00 ps
1844 tux 0:00 tail -6
3.
tux@slitaz:~$ netstat -tp
netstat: showing only processes with your user ID
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:39258 localhost:52129 ESTABLISHED 1765/c:\TeamViewer\
tcp 0 0 localhost:5939 localhost:40171 ESTABLISHED -
tcp 0 0 localhost:52129 localhost:39258 ESTABLISHED 1765/c:\TeamViewer\
tcp 0 0 192.168.0.100:55898 server6201.teamviewer.com:5938 ESTABLISHED -
tcp 0 0 localhost:40171 localhost:5939 ESTABLISHED 1765/c:\TeamViewer\
netstat: /proc/net/tcp6: No such file or directory
tux@slitaz:~$
4.
root@slitaz:~# get-teamviewer
Connecting to www.teamviewer.com (46.163.100.220:80)
teamviewer_linux.deb 100% |*******************************| 17820k 00:00:00 ETA
ln: usr/bin/teamviewer: File exists
root@slitaz:~#
/usr/bin/get-teamviewer
#no.50
cd $PACKAGE-$VERSION/fs
ln -s $(cd usr/bin ; ls $PACKAGE*) usr/bin/$PACKAGE
mkdir -p usr/share/applications
sed "s|EXEC|/usr/bin/$PACKAGE|g;s!ICON!/$(find opt | grep $PACKAGE.png)!g" \
< $(find opt | grep desktop.template) \ > usr/share/applications/$PACKAGE.desktop
cd ../..
2013-02-19
Slitaz -- SG41/intel-i915
LOAD_MODULES="i915 snd_hda_intel sky2"
Driver "intel"
Env:
slitaz-4.0-firefox.iso
1.
# tazpkg -gi sudo
# tazpkg -gi xarchive
# tazpkg -gi xorg-xf86-video-intel
# tazpkg -gi sakura
# tazpkg -gi wqy-microhei
2.
root@slitaz:~# visudo
tux ALL=NOPASSWD: ALL
3.
root@slitaz:~# sed -i s/vesa/intel/ /etc/X11/xorg.conf.d/60-Device.conf
root@slitaz:~# grep Driver /etc/X11/xorg.conf.d/60-Device.conf
### Available Driver options are:-
Driver "intel"
root@slitaz:~# nano /etc/X11/xorg.conf.d/70-Screen.conf
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
EndSection
4.
root@slitaz:~# nano /etc/rcS.conf
LOAD_MODULES="i915 snd_hda_intel sky2"
RUN_DAEMONS="dbus hald slim firewall httpd dropbear"
5.
root@slitaz:~# dmesg | grep -e intel -e i915
intel_rng: FWH not detected
agpgart-intel 0000:00:00.0: Intel G41 Chipset
agpgart-intel 0000:00:00.0: detected gtt size: 524288K total, 262144K mappable
agpgart-intel 0000:00:00.0: detected 131072K stolen memory, trimming to 32768K
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
i915 0000:00:02.0: setting latency timer to 64
fb0: inteldrmfb frame buffer device
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
root@slitaz:~#
root@slitaz:~# grep -e intel_ -e G41 -e GLX /var/log/Xorg.0.log
[ 11.677] (==) AIGLX enabled
[ 11.677] (II) Loading extension GLX
[ 11.719] (II) Loading /usr/lib/X11/modules/drivers/intel_drv.so
4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
[ 11.782] (II) intel(0): Integrated Graphics Chipset: Intel(R) G41
[ 11.782] (--) intel(0): Chipset: "G41"
[ 12.126] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 12.126] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 12.126] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 12.126] (II) AIGLX: enabled GLX_SGI_make_current_read
[ 12.126] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 12.126] (II) AIGLX: Loaded and initialized /usr/lib/dri/i965_dri.so
[ 12.126] (II) GLX: Initialized DRI2 GL provider for screen 0
root@slitaz:~#
6.
root@slitaz:~# cat /var/log/tazpkg.log | cut -d ' ' -f 6-7
sudo (1.8.4)
xarchive (0.2.8-6)
xorg-libXv (1.0.6)
xorg-libXvMC (1.0.6)
mesa (7.10.2)
mesa-dri (7.10.2)
libdrm-intel (2.4.25)
mesa-dri-intel (7.10.2)
xorg-xf86-video-intel (2.15.0)
vte (0.28.2)
sakura (2.3.8)
wqy-microhei (0.2.0-beta)
root@slitaz:~#
Driver "intel"
Env:
slitaz-4.0-firefox.iso
1.
# tazpkg -gi sudo
# tazpkg -gi xarchive
# tazpkg -gi xorg-xf86-video-intel
# tazpkg -gi sakura
# tazpkg -gi wqy-microhei
2.
root@slitaz:~# visudo
tux ALL=NOPASSWD: ALL
3.
root@slitaz:~# sed -i s/vesa/intel/ /etc/X11/xorg.conf.d/60-Device.conf
root@slitaz:~# grep Driver /etc/X11/xorg.conf.d/60-Device.conf
### Available Driver options are:-
Driver "intel"
root@slitaz:~# nano /etc/X11/xorg.conf.d/70-Screen.conf
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
EndSection
4.
root@slitaz:~# nano /etc/rcS.conf
LOAD_MODULES="i915 snd_hda_intel sky2"
RUN_DAEMONS="dbus hald slim firewall httpd dropbear"
5.
root@slitaz:~# dmesg | grep -e intel -e i915
intel_rng: FWH not detected
agpgart-intel 0000:00:00.0: Intel G41 Chipset
agpgart-intel 0000:00:00.0: detected gtt size: 524288K total, 262144K mappable
agpgart-intel 0000:00:00.0: detected 131072K stolen memory, trimming to 32768K
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
i915 0000:00:02.0: setting latency timer to 64
fb0: inteldrmfb frame buffer device
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
root@slitaz:~#
root@slitaz:~# grep -e intel_ -e G41 -e GLX /var/log/Xorg.0.log
[ 11.677] (==) AIGLX enabled
[ 11.677] (II) Loading extension GLX
[ 11.719] (II) Loading /usr/lib/X11/modules/drivers/intel_drv.so
4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
[ 11.782] (II) intel(0): Integrated Graphics Chipset: Intel(R) G41
[ 11.782] (--) intel(0): Chipset: "G41"
[ 12.126] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 12.126] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 12.126] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 12.126] (II) AIGLX: enabled GLX_SGI_make_current_read
[ 12.126] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 12.126] (II) AIGLX: Loaded and initialized /usr/lib/dri/i965_dri.so
[ 12.126] (II) GLX: Initialized DRI2 GL provider for screen 0
root@slitaz:~#
6.
root@slitaz:~# cat /var/log/tazpkg.log | cut -d ' ' -f 6-7
sudo (1.8.4)
xarchive (0.2.8-6)
xorg-libXv (1.0.6)
xorg-libXvMC (1.0.6)
mesa (7.10.2)
mesa-dri (7.10.2)
libdrm-intel (2.4.25)
mesa-dri-intel (7.10.2)
xorg-xf86-video-intel (2.15.0)
vte (0.28.2)
sakura (2.3.8)
wqy-microhei (0.2.0-beta)
root@slitaz:~#
2013-02-18
Slitaz -- SG41/glx
vblank_mode=0 glxgears
-Display-
Resolution : 1280x1024 pixels
OpenGL Renderer : Mesa DRI Intel(R) G41 x86/MMX/SSE2
1.
tux@slitaz:~$ glxinfo | grep -e render -e version
direct rendering: Yes
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL renderer string: Mesa DRI Intel(R) G41 x86/MMX/SSE2
OpenGL version string: 2.1 Mesa 7.10.2
OpenGL shading language version string: 1.20
2.
tux@slitaz:~$ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
303 frames in 5.0 seconds = 60.429 FPS
301 frames in 5.0 seconds = 60.028 FPS
3.
tux@slitaz:~$ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
6263 frames in 5.0 seconds = 1252.534 FPS
6294 frames in 5.0 seconds = 1258.668 FPS
6293 frames in 5.0 seconds = 1258.560 FPS
6294 frames in 5.0 seconds = 1258.775 FPS
tux@slitaz:~$
-Display-
Resolution : 1280x1024 pixels
OpenGL Renderer : Mesa DRI Intel(R) G41 x86/MMX/SSE2
1.
tux@slitaz:~$ glxinfo | grep -e render -e version
direct rendering: Yes
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL renderer string: Mesa DRI Intel(R) G41 x86/MMX/SSE2
OpenGL version string: 2.1 Mesa 7.10.2
OpenGL shading language version string: 1.20
2.
tux@slitaz:~$ glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
303 frames in 5.0 seconds = 60.429 FPS
301 frames in 5.0 seconds = 60.028 FPS
3.
tux@slitaz:~$ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
6263 frames in 5.0 seconds = 1252.534 FPS
6294 frames in 5.0 seconds = 1258.668 FPS
6293 frames in 5.0 seconds = 1258.560 FPS
6294 frames in 5.0 seconds = 1258.775 FPS
tux@slitaz:~$
Slitaz -- SG41/IT8758E
-Cooling Fans-
fan1 : 915RPM
fan2 : 0RPM
fan3 : 0RPM
-Temperatures-
temp1 : 34.00°C
temp2 : 39.00°C
temp3 : -8.00°C
temp1 : 34.00°C
temp1 : 34.00°C
-Voltage Values-
in0 : 3.060V
in1 : 2.880V
in2 : 2.232V
in3 : 2.760V
in4 : 1.176V
in5 : 1.548V
in6 : 2.916V
in7 : 3.288V
in8 : 3.264V
1.
General informations
http://cateee.net/lkddb/web-lkddb/SENSORS_IT87.html
[..]
If you say yes here you get support for ITE IT8705F, IT8712F, IT8716F, IT8718F, IT8720F, IT8721F, IT8726F, IT8728F, IT8758E, IT8782F, and IT8783E/F sensor chips, and the SiS950 clone.
This driver can also be built as a module. If so, the module will be called it87.
2.
tux@slitaz:~$ zcat /proc/config.gz | grep IT87
# CONFIG_GPIO_IT8761E is not set
CONFIG_SENSORS_IT87=m
# CONFIG_IT8712F_WDT is not set
# CONFIG_IT87_WDT is not set
tux@slitaz:~$
3.
tux@slitaz:~$ sudo tazpkg -gi linux-hwmon
tux@slitaz:~$ sudo modprobe it87
tux@slitaz:~$ sudo modprobe coretemp
tux@slitaz:~$ lsmod
Module Size Used by Not tainted
coretemp 3874 0
it87 15720 0
hwmon_vid 1492 1 it87
hwmon 993 2 coretemp,it87
sky2 32696 0
snd_hda_codec_idt 36872 1
snd_hda_intel 15886 1
snd_hda_codec 45027 2 snd_hda_codec_idt,snd_hda_intel
snd_hwdep 3808 1 snd_hda_codec
snd_pcm 43737 2 snd_hda_intel,snd_hda_codec
snd_timer 12515 1 snd_pcm
snd 33394 8 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore 3357 1 snd
snd_page_alloc 4853 2 snd_hda_intel,snd_pcm
i915 254040 2
drm_kms_helper 18798 1 i915
drm 111992 3 i915,drm_kms_helper
i2c_algo_bit 3479 1 i915
button 3602 1 i915
i2c_core 12192 4 i915,drm_kms_helper,drm,i2c_algo_bit
video 9783 1 i915
output 1144 1 video
intel_agp 7908 1 i915
intel_gtt 9214 3 i915,intel_agp
agpgart 18221 3 drm,intel_agp,intel_gtt
tux@slitaz:~$
4.
-Computer-
Processor : 2x Pentium(R) Dual-Core CPU E6500 @ 2.93GHz
Memory : 2981MB (230MB used)
Operating System : Slitaz GNU/Linux 4.0
User Name : tux (Linux User)
Date/Time : Tue 19 Feb 2013 11:07:53 AM UTC
-Display-
Resolution : 1280x1024 pixels
OpenGL Renderer : Mesa DRI Intel(R) G41 x86/MMX/SSE2
X11 Vendor : (null)
-Multimedia-
Audio Adapter : HDA-Intel - HDA Intel
-Input Devices-
PC Speaker
Logitech USB Receiver
Logitech USB Receiver
Power Button
Power Button
-Printers-
No suitable CUPS library found
-IDE Disks-
Maxtor 6Y080L0
-Version-
Kernel : Linux 2.6.37-slitaz (i686)
Compiled : #2 SMP Wed Mar 7 10:36:39 CET 2012
C Library : GNU C Library version 2.13 (stable)
Default C Compiler : Unknown
Distribution : Slitaz GNU/Linux 4.0
-Current Session-
Computer Name : slitaz
User Name : tux (Linux User)
Home Directory : /home/tux
Desktop Environment : Unknown (Window Manager: Openbox)
-Misc-
Uptime : 1 hour, 46 minutes
Load Average : 0.00, 0.01, 0.05
-BIOS-
Date : 10/06/2011
Vendor : American Megatrends Inc. (www.ami.com)
Version : 080015
-Board-
Name : FG41
Vendor : Shuttle Inc
http://global.shuttle.com/main/productsSpec?productId=1383