2013-05-20

Slitaz -- Razor-qt



Razor-qt
Advanced, easy-to-use, and fast desktop environment based on Qt technologies.

1.
tux@slitaz:~$ uname -a
Linux slitaz 3.2-slitaz #4 SMP Thu May 16 21:05:53 CEST 2013 i686 GNU/Linux


2.
tux@slitaz:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/bzImage initrd=/boot/rootfs4.gz,/boot/rootfs3.gz,/boot/rootfs2.gz,/boot/rootfs1.gz rw root=/dev/null autologin acpi=off vga=795 lang=en_US kmap=us

3.
Razor Desktop Toolbox - Technical Info
Version
0.5.2
Qt
4.8.4
Debug Build
No
System Configuration
/etc
Share Directory
/usr/share/razor/
Translations
/usr/share/librazorqt
User Directories
Xdg Data Home
/home/tux/.local/share
Xdg Config Home
/home/tux/.config
Xdg Data Dirs
/usr/local/share/:/usr/share/
Xdg Cache Home
/home/tux/.cache
Xdg Runtime Home

Xdg Autostart Dirs
/etc/xdg/autostart
Xdg Autostart Home
/home/tux/.config/autostart




2013-04-27

Slitaz -- ed2k/magnet


firefox add ed2k and magnet links support

1.
tux@slitaz:~$ sudo tazpkg -gi amule
tux@slitaz:~$ sudo tazpkg -gi ctorrent-dnh

2. edit mimeTypes.rdf
tux@slitaz:~$ leafpad ~/.mozilla/firefox/ytsl1hel.default/mimeTypes.rdf
before the last line (</RDF:RDF>) insert

<!-- magnet -->
<RDF:Description RDF:about="urn:scheme:magnet"
NC:value="magnet">
<NC:handlerProp RDF:resource="urn:scheme:handler:magnet"/>
<RDF:Description RDF:about="urn:scheme:externalApplication:magnet"
NC:prettyName="ctorrent"
NC:path="/usr/bin/ctorrent" />
<RDF:Description RDF:about="urn:mimetypes">
<NC:MIME-types RDF:resource="urn:mimetypes:root"/>
<RDF:Description RDF:about="urn:schemes">
<NC:Protocol-Schemes RDF:resource="urn:schemes:root"/>
<RDF:Description RDF:about="urn:root"
NC:zh-TW_defaultHandlersVersion="3" />
<RDF:Description RDF:about="urn:scheme:handler:magnet"
NC:alwaysAsk="false">
<NC:externalApplication RDF:resource="urn:scheme:externalApplication:magnet"/>
<NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/ctorrent"/>
<RDF:Description RDF:about="urn:handler:local:/usr/bin/ctorrent"
NC:prettyName="ctorrent"
NC:path="/usr/bin/ctorrent" />
</RDF:Description>
<!-- ed2k -->
<RDF:Description RDF:about="urn:scheme:ed2k"
NC:value="ed2k">
<NC:handlerProp RDF:resource="urn:scheme:handler:ed2k"/>
<RDF:Description RDF:about="urn:scheme:externalApplication:ed2k"
NC:prettyName="amule"
NC:path="/usr/bin/amule" />
<RDF:Description RDF:about="urn:mimetypes">
<NC:MIME-types RDF:resource="urn:mimetypes:root"/>
<RDF:Description RDF:about="urn:schemes">
<NC:Protocol-Schemes RDF:resource="urn:schemes:root"/>
<RDF:Description RDF:about="urn:root"
NC:zh-TW_defaultHandlersVersion="3" />
<RDF:Description RDF:about="urn:scheme:handler:ed2k"
NC:alwaysAsk="false">
<NC:externalApplication RDF:resource="urn:scheme:externalApplication:ed2k"/>
<NC:possibleApplication RDF:resource="urn:handler:local:/usr/bin/amule"/>
<RDF:Description RDF:about="urn:handler:local:/usr/bin/amule"
NC:prettyName="amule"
NC:path="/usr/bin/amule" />
</RDF:Description>
<RDF:Seq RDF:about="urn:schemes:root">
<RDF:li RDF:resource="urn:scheme:ed2k"/>
<RDF:li RDF:resource="urn:scheme:magnet"/>
</RDF:Seq>

3.
restart firefox

4.
tux@slitaz:~$ pgrep -fl ed2k
2623 /usr/bin/amule ed2k://|file|wheezy_qt5_20130310.tar|1637990400|3E8E082EC8B0B8DB4ACC62CB1943975A|/
tux@slitaz:~$

2013-03-20

Slitaz armhf -- Floating-Point Exceptions

IEEE 754 - This standard defines five types of floating-point exception that must be signaled when detected:
  • Invalid operation
  • Division by zero
  • Overflow
  • Underflow
  • Inexact calculation
When one of these exceptions occurs in a user process, it is signaled either by setting a flag or taking a trap. By default, the system sets a status flag in the Floating-Point Status and Control registers (FPSCR), indicating the exception has occurred. Once the status flags are set by an exception, they are cleared only when the process clears them explicitly or when the process ends. The operating system provides subroutines to query, set, or clear these flags.

The system can also cause the floating-point exception signal (SIGFPE) to be raised if a floating-point exception occurs. Because this is not the default behavior, the operating system provides subroutines to change the state of the process so the signal is enabled. When a floating-point exception raises the SIGFPE signal, the process terminates and produces a core file if no signal-handler subroutine is present in the process. Otherwise, the process calls the signal-handler subroutine.

Slitaz armhf -- rootfs

root=/dev/mmcblk0p2 rootfstype=ext4

README.1st
[..]
RPi_Easy_SD_Card_Setup
===============================
Manually resizing the SD card partitions (Optional)
http://elinux.org/RPi_Easy_SD_Card_Setup


1. /dev/mmcblk0 : raspiberry pi running..
root@slitaz:~# fdisk -l
Disk /dev/mmcblk0: 16.0 GB, 16005464064 bytes
255 heads, 63 sectors/track, 1945 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 1 3 24066 6 FAT16
/dev/mmcblk0p2 4 122 955867+ 83 Linux
/dev/mmcblk0p3 384 1946 12553216 83 Linux

root@slitaz:~# parted -l
Model: SD SD16G (sd/mmc)
Disk /dev/mmcblk0: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 32.3kB 24.7MB 24.6MB primary fat16
2 24.7MB 1003MB 979MB primary ext4
3 3151MB 16.0GB 12.9GB primary


2. rootfstype=ext4
root@slitaz:~# dmesg | grep mmcblk
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1680 bcm2708_fb.fbheight=1050 bcm2708.boardrev=0x2 bcm2708.serial=0x7b32f4ce smsc95xx.macaddr=B8:27:EB:32:F4:CE sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0xc000000 vc_mem.mem_size=0x10000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait devtmpfs.mount=0
[ 1.492961] Waiting for root device /dev/mmcblk0p2...
[ 1.532386] mmcblk0: mmc0:0007 SD16G 14.9 GiB
[ 1.545521] mmcblk0: p1 p2 p3
[ 2.367369] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 4.105091] EXT4-fs (mmcblk0p2): re-mounted. Opts: user_xattr,acl,barrier=1,data=ordered
[ 4.253133] EXT4-fs (mmcblk0p2): re-mounted. Opts: user_xattr,acl,barrier=1,data=ordered


3. kernel command line setting
root@slitaz:~# cat /boot/cmdline.txt
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait devtmpfs.mount=0


4. gparted : slitaz-4.0/cooking (x86)
Applications --> System Tools --> Gparted Partition Editor
/dev/sdXX
.

2013-03-17

Slitaz -- tazpkg rdepends

tazpkg rdepends: syntax error

-    for (i = 1, n = split(deps[pkg], mydeps, " "); i <= n; i++) {
+    for (i = 1; i <= split(deps[pkg], mydeps, " "); i++) {


Env: slitaz-4.0-firefox hd install.
tux@slitaz:~$ uname -a
Linux slitaz 2.6.37-slitaz #2 SMP Wed Mar 7 10:36:39 CET 2012 i686 GNU/Linux


1.
tux@slitaz:~$ tazpkg rdepends binutils
awk: cmd. line:7:     for (i = 1, n = split(deps[pkg], mydeps, " "); i <= n; i++) {
awk: cmd. line:7:               ^ syntax error
awk: cmd. line:7:     for (i = 1, n = split(deps[pkg], mydeps, " "); i <= n; i++) {
awk: cmd. line:7:                                                               ^ syntax error


2.
tux@slitaz:~$ tazpkg list | grep awk
gawk                    3.1.8             development


3.
tazpkg: gawk do not like rdepend (thanks tkoun)
http://hg.slitaz.org/tazpkg/rev/889e293abdc7
tazpkg changeset 623:889e293abdc7
tazpkg: gawk do not like rdepend (thanks tkoun)
author     Pascal Bellard <pascal.bellard@slitaz.org>
date     Fri Jan 18 14:56:42 2013 +0100 (8 weeks ago ago)
parents     bf40947983cf
children     38be19551677
files     tazpkg
line diff

     1.1 --- a/tazpkg    Mon Jan 07 17:12:03 2013 +0000
     1.2 +++ b/tazpkg    Fri Jan 18 14:56:42 2013 +0100
     1.3 @@ -1008,7 +1008,7 @@
     1.4      DEPENDS=""
     1.5      . $i/receipt
     1.6      echo "$i $(echo $DEPENDS)"
     1.7 -done | awk -v search=$SEARCH '
     1.8 +done | busybox awk -v search=$SEARCH '
     1.9  function show_deps(deps, all_deps, pkg, space)
    1.10  {
    1.11      if (all_deps[pkg] == 1) return


4.
Env:slitaz-4.0-firefox tazpkg-4.9.2
--- tazpkg-orig
+++ tazpkg
@@ -1028,7 +1028,7 @@
     if (all_deps[pkg] == 1) return
     all_deps[pkg] = 1
     if (space != "") printf "%s %s\n",space,pkg
-    for (i = 1, n = split(deps[pkg], mydeps, " "); i <= n; i++) {
+    for (i = 1; i <= split(deps[pkg], mydeps, " "); i++) {
         show_deps(deps, all_deps, mydeps[i],"==" space)
     }
 }

.

2013-03-15

Slitaz armhf -- vcgencmd


vcgencmd

Currently C header files and libraries for many of the Broadcom APIs are located in /opt/vc/include and /opt/vc/lib respectively, or available from GitHub within the same directory structure.

1.
tux@slitaz:~$ vcgencmd version
Oct 25 2012 16:37:21
Copyright (c) 2012 Broadcom
version 346337 (release)


2.
tux@slitaz:~$ vcgencmd measure_temp
temp=48.2'C

tux@slitaz:~$ cat /sys/class/thermal/thermal_zone0/temp
47615


3.
tux@slitaz:~$ dmesg | grep vchiq
[ 0.821732] vcos: [1]: vchiq_init_state: slot_zero = 0xffd80000, is_master = 0
[ 0.822159] vcos: [1]: vchiq_init_state: called
[ 0.823157] vcos: [1]: vchiq: initialised - version 2 (min 2), device 251.0

tux@slitaz:~$ ls -l /dev/vchiq
crw-rw---T 1 root video 251, 0 Dec 23 12:00 /dev/vchiq


4.
tux@slitaz:~$ ls /opt/vc/*bin
/opt/vc/bin:
edidparser tvservice vcdbg vcgencmd vchiq_test

/opt/vc/sbin:
install_vmcs vcfiled
tux@slitaz:~$


5.
tux@slitaz:~$ \
> for src in arm core h264 isp v3d uart pwm emmc pixel vec hdmi dpi ; do \
> echo -e "$src:\t$(vcgencmd measure_clock $src)" ; \
> done
arm: frequency(45)=700000000
core: frequency(1)=250000000
h264: frequency(28)=0
isp: frequency(42)=0
v3d: frequency(43)=0
uart: frequency(22)=3000000
pwm: frequency(25)=0
emmc: frequency(47)=100000000
pixel: frequency(29)=119000000
vec: frequency(10)=0
hdmi: frequency(9)=163683000
dpi: frequency(4)=0


6.
tux@slitaz:~$ \
> for id in core sdram_c sdram_i sdram_p ; do \
> echo -e "$id:\t$(vcgencmd measure_volts $id)" ; \
> done
core: volt=1.20V
sdram_c: volt=1.20V
sdram_i: volt=1.20V
sdram_p: volt=1.23V


7.
tux@slitaz:~$ \
> for codec in H264 MPG2 WVC1 ; do \
> echo -e "$codec:\t$(vcgencmd codec_enabled $codec)" ; \
> done
H264: H264=enabled
MPG2: MPG2=disabled
WVC1: WVC1=disabled
tux@slitaz:~$

Slitaz armhf -- VideoCore IV GPU




Broadcom VideoCore IV GPU

2.
tux@slitaz:~$ sudo vcgencmd version
Oct 25 2012 16:37:21
Copyright (c) 2012 Broadcom
version 346337 (release)


README.1st

Changelog

2012-12-14
- update kernel-3.2.27
- update firmware-2012-10-25 17c8799375
- adding support for the 512MB Model B

tree:17c8799375
https://github.com/raspberrypi/firmware/tree/17c8799375415f33681becc15a96458c75308773


RPi VideoCore APIs

The Raspberry Pi contains a Broadcom VideoCore IV GPU providing OpenGL ES 1.1, OpenGL ES 2.0, hardware-accelerated OpenVG 1.1, Open EGL, OpenMAX and 1080p30 H.264 high-profile decode.
[..]
Currently C header files and libraries for many of the Broadcom APIs are located in /opt/vc/include and /opt/vc/lib respectively, or available from GitHub within the same directory structure.


https://github.com/raspberrypi/firmware

This repository contains pre-compiled binaries of the current Raspberry Pi kernel and modules, userspace libraries, and bootloader/GPU firmware.
[..]
* ./opt/vc: includes userspace libraries for the VideCoreIV (EGL/GLES/OpenVG etc).

2013-03-11

Android-x86 JDQ39


Android-x86-about

Nexus7-about


The test build 20130228 is based on the latest Android 4.2.2 release (JB-MR1.1 branch).

1.
Source code tags and builds
Build     Tag     Notes
JDQ39     android-4.2.2_r1     latest Jelly Bean version, Galaxy Nexus, Nexus 7, Nexus 4, Nexus 10
http://source.android.com/source/build-numbers.html

2.
Factory Images "nakasig" for Nexus 7 (GSM/HSPA+)
Version     Download     MD5 Checksum     SHA-1 Checksum
4.2.2 (JDQ39)     Link     ee8db1ed6ff1c007fe12136d4bc65cd8     0798439d363beb145d9223a42ed9edf3de1a30f4
https://dl.google.com/dl/android/aosp/nakasig-jdq39-factory-0798439d.tgz
.

Android-x86 -2

debug mode


1.
# uname -a
Linux localhost 3.8.0-android-x86+ #1 SMP PREEMPT Thu Feb 28 01:43:45 CST 2013 i686 GNU/Linux

2.
# dmesg | head -11
<6>[    0.000000] Initializing cgroup subsys cpu
<5>[    0.000000] Linux version 3.8.0-android-x86+ (cwhuang@fw.cwhuang.info) (gcc version 4.7.2 20120921 (Red Hat 4.7.2-2) (GCC) ) #1 SMP PREEMPT Thu Feb 28 01:43:45 CST 2013
<6>[    0.000000] KERNEL supported cpus:
<6>[    0.000000]   Intel GenuineIntel
<6>[    0.000000]   AMD AuthenticAMD
<6>[    0.000000]   NSC Geode by NSC
<6>[    0.000000]   Cyrix CyrixInstead
<6>[    0.000000]   Centaur CentaurHauls
<6>[    0.000000]   Transmeta GenuineTMx86
<6>[    0.000000]   Transmeta TransmetaCPU
<6>[    0.000000]   UMC UMC UMC UMC

3.
# free
             total         used         free       shared      buffers
Mem:       1031488       395000       636448            0         6232
-/+ buffers:             388768       642720
Swap:            0            0            0

4.
# cat /proc/cmdline
quiet root=/dev/ram0 androidboot.hardware=android_x86 video=-16 SRC=/android-4.2-test

5.
# cat /proc/cpuinfo
processor    : 0
vendor_id    : GenuineIntel
cpu family    : 6
model        : 23
model name    : Pentium(R) Dual-Core  CPU      E6300  @ 2.80GHz
stepping    : 10
cpu MHz        : 2780.036
cache size    : 6144 KB
fdiv_bug    : no
hlt_bug        : no
f00f_bug    : no
coma_bug    : no
fpu        : yes
fpu_exception    : yes
cpuid level    : 5
wp        : yes
flags        : fpu vme de pse tsc msr mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 constant_tsc pni monitor ssse3
bogomips    : 5560.07
clflush size    : 64
cache_alignment    : 64
address sizes    : 36 bits physical, 48 bits virtual
power management:

Android-x86 4.2.2





android-x86-4.2-20130228.iso   197 MB

Key Features
http://www.android-x86.org/releases/build-20130228
The test build 20130228 is based on the latest Android 4.2.2 release (JB-MR1.1 branch). We have fixed and added x86 specified code to let the system runs smoothly on most x86 platforms, especially for tablets and netbooks. The key features in this release are

  •     Use the latest kernel 3.8.0 to support more drivers.
  •     OpenGL ES hardware acceleration for AMD Radeon and Intel chipsets (not included chips with PVR). You may disable it by adding HWACCEL=0 to the cmdline if you have trouble to use it.
  •     Support Multi-touch, Wifi, Audio, G-sensor, Camera and Backlight control.
  •     Simulate SDCard by internal storage.
  •     Auto mount usb driver and sdcard on plugging.
  •     Multi-user support (max 8).
  •     Support Ethernet (DHCP only).
  •     Support VM like Virtual Box.

2013-03-08

Slitaz -- TeamViewer/get-teamviewer -2




/etc/init.d/teamviewerd: No such file or directory

http://hg.slitaz.org/wok/file/7ae80fa5a40a/get-teamviewer/stuff/get-teamviewer
http://hg.slitaz.org/wok/diff/7ae80fa5a40a/get-teamviewer/stuff/get-teamviewer


1.
tux@slitaz:~$ sudo teamviewer --daemon start

/etc/init.d/teamviewerd start
/opt/teamviewer8/tv_bin/script/tvw_daemon: line 185: /etc/init.d/teamviewerd: No such file or directory
fail


2.
tux@slitaz:~$ ls -l /etc/init.d/team*
ls: /etc/init.d/team*: No such file or directory

tux@slitaz:~$ grep teamviewerd /var/lib/tazpkg/installed/teamviewer/files.list
/opt/teamviewer8/tv_bin/script/teamviewerd.service
/opt/teamviewer8/tv_bin/script/teamviewerdMint.conf
/opt/teamviewer8/tv_bin/script/teamviewerd.sysv
/opt/teamviewer8/tv_bin/script/teamviewerd.conf
/opt/teamviewer8/tv_bin/teamviewerd


3.
tux@slitaz:~$ sudo /opt/teamviewer8/tv_bin/script/teamviewerd.sysv start
Starting teamviewerd...

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 192.168.0.100:37282     server15002.teamviewer.com:5938 ESTABLISHED -
tcp        0      0 192.168.0.100:60123     server1600.teamviewer.com:5938 TIME_WAIT   -
netstat: /proc/net/tcp6: No such file or directory

tux@slitaz:~$ ps ax | tail -6
 3117 ?        Sl     0:00 /opt/teamviewer8/tv_bin/teamviewerd -d
 3133 ?        Sl     0:00 c:\TeamViewer\TeamViewer.exe
 3156 ?        Ss     0:00 /opt/teamviewer8/tv_bin/wine/bin/wineserver
 3162 ?        Sl     0:00 C:\windows\system32\services.exe
 3180 pts/2    R+     0:00 ps ax
 3181 pts/2    S+     0:00 tail -6


4.
Applications -> Internet -> TeamViewe 8

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 192.168.0.100:37282     server15002.teamviewer.com:5938 ESTABLISHED -
tcp        0      0 localhost:38060         localhost:60014         ESTABLISHED 3133/c:\TeamViewer\
tcp        0      0 localhost:49201         localhost:5939          ESTABLISHED 3133/c:\TeamViewer\
tcp        0      0 localhost:60014         localhost:38060         ESTABLISHED 3133/c:\TeamViewer\
tcp        0      0 localhost:5939          localhost:49201         ESTABLISHED -
netstat: /proc/net/tcp6: No such file or directory
tux@slitaz:~$


5.
http://hg.slitaz.org/wok/raw-rev/7ae80fa5a40a

diff -r 990f8bfa7b6d -r 7ae80fa5a40a get-teamviewer/stuff/get-teamviewer
--- a/get-teamviewer/stuff/get-teamviewer    Fri Mar 08 09:22:27 2013 +0100
+++ b/get-teamviewer/stuff/get-teamviewer    Fri Mar 08 11:32:57 2013 +0100
@@ -48,11 +48,12 @@
 mv $PACKAGE $PACKAGE-$VERSION

 cd $PACKAGE-$VERSION/fs
-ln -s $(cd usr/bin ; ls $PACKAGE*) usr/bin/$PACKAGE
+ln -s $(cd usr/bin ; ls $PACKAGE*) usr/bin/$PACKAGE 2> /dev/null || true
 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) \
+    < $(find opt | grep -E '(desktop.template|\.desktop$)') \
     > usr/share/applications/$PACKAGE.desktop
+sed -i 's/readlink -e/readlink $0 || echo /' $(find opt | grep /$PACKAGE$)
 cd ../..

 cat > $PACKAGE-$VERSION/receipt <<EOT

2013-03-01

Slitaz -- udev

<30>udevd[706]: renamed network interface eth0 to eth1

ifconfig: SIOCGIFFLAGS: No such device
Starting udhcpc client on: eth1...
udhcpc: SIOCGIFINDEX: No such device


1.
tux@slitaz:~$ grep -e ifconfig -e udhcpc /var/log/boot.log
ifconfig: SIOCGIFFLAGS: No such device
Starting udhcpc client on: eth1...
udhcpc: SIOCGIFINDEX: No such device
tux@slitaz:~$

2.
tux@slitaz:~$ dmesg | grep eth
tg3 0000:02:00.0: eth0: Tigon3 [partno(BCM95784m) rev 5784100] (PCI Express) MAC address 00:21:85:xx:xx:7b
tg3 0000:02:00.0: eth0: attached PHY is 5784 (10/100/1000Base-T Ethernet) (WireSpeed[1])
tg3 0000:02:00.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
tg3 0000:02:00.0: eth0: dma_rwctrl[76180000] dma_mask[64-bit]
<30>udevd[706]: renamed network interface eth0 to eth1

3.
tux@slitaz:~$ ps ax | grep udevd
  643 ?        Ss     0:00 /sbin/udevd --daemon
 1089 ?        S      0:00 /sbin/udevd --daemon
 1090 ?        S      0:00 /sbin/udevd --daemon
 1495 pts/1    S+     0:00 grep udevd
tux@slitaz:~$

4.
tux@slitaz:~$ ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:21:85:xx:xx:7B 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17
tux@slitaz:~$

5.
tux@slitaz:~$ cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x14e4:0x1698 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:21:85:xx:xx:91", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x14e4:0x1698 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:21:85:xx:xx:7b", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# USB device 0x0b05:0x1786 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c8:60:00:xx:xx:22", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# PCI device 0x11ab:0x4380 (sky2)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:30:1b:xx:xx:fe", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

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

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:~#

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:~$

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

2012-12-28

SliTaz armhf -- LXDE



root@slitaz:~# uname -a
Linux slitaz 3.2.27-slitaz #1 PREEMPT Fri Dec 14 15:01:17 CST 2012 armv6l GNU/Linux
root@slitaz:~# dmesg | grep Machine
[ 0.000000] Machine: BCM2708
root@slitaz:~# ps | tail -23
13367 root 0:04 /usr/bin/slim -d
13373 root 1:48 /usr/bin/Xorg -nolisten tcp -auth /var/run/slim.auth vt07
13378 tux 0:05 /usr/bin/openbox --startup /usr/lib/openbox/openbox-autostart OPENBOX
13397 tux 0:00 xterm
13405 tux 0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
13406 tux 0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
13408 tux 0:00 sh
13414 tux 0:23 lxpanel
13416 tux 0:00 /usr/lib/menu-cache/menu-cached
13422 tux 0:06 obconf
13425 tux 0:05 leafpad /home/tux/.config/openbox/menu.xml
13427 tux 0:00 {bootlog} /bin/sh /usr/bin/bootlog box
13430 tux 0:07 yad --text-info --title=Boot Log --window-icon=text-plain --width=600 --height=400 --button=gtk-close:0
13434 tux 4:59 gtk-demo
13439 tux 0:03 mtpaint
13739 root 0:00 pure-ftpd (SERVER)
13784 tux 0:03 lxappearance
13812 root 0:00 [kworker/0:1]
13832 root 0:00 /usr/sbin/dropbear -b /etc/dropbear/banner
13855 root 0:01 /usr/sbin/dropbear -b /etc/dropbear/banner
13856 root 0:00 -sh
13887 root 0:00 ps
13888 root 0:00 tail -23
root@slitaz:~#

2012-12-23

SliTaz armhf -- Xorg


root@slitaz:~# uname -a
Linux slitaz 3.2.27-slitaz #1 PREEMPT Fri Dec 14 15:01:17 CST 2012 armv6l GNU/Linux

root@slitaz:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 433.0M 83.7M 326.9M 20% /
tmpfs 92.3M 136.0K 92.2M 0% /run
devtmpfs 92.2M 0 92.2M 0% /dev
tmpfs 92.3M 0 92.3M 0% /dev/shm

root@slitaz:~# X -version

X.Org X Server 1.12.1
Release Date: 2012-04-13
X Protocol Version 11, Revision 0
Build Operating System: SliTaz-ARM GNU/Linux
Current Operating System: Linux slitaz 3.2.27-slitaz #1 PREEMPT Fri Dec 14 15:01:17 CST 2012 armv6l
Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1680 bcm2708_fb.fbheight=1050 bcm2708.boardrev=0x2 bcm2708.serial=0x7b32f4ce smsc95xx.macaddr=B8:27:EB:32:F4:CE sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0xc000000 vc_mem.mem_size=0x10000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait devtmpfs.mount=0
Build Date: 19 December 2012 10:40:53AM

Current version of pixman: 0.26.0
Before reporting problems, check http://www.slitaz.org/
to make sure that you have the latest version.

root@slitaz:~# ps | tail -25
124 root 0:00 [bcm2708_spi.0]
179 root 0:00 udevd --daemon
215 root 0:00 [kworker/0:2]
221 root 0:00 /sbin/udhcpc -b -T 1 -A 12 -i eth0 -p /var/run/udhcpc.eth0.pid
231 messageb 0:00 /usr/bin/dbus-daemon --system
244 haldaemo 0:00 /usr/sbin/hald --daemon=yes
245 root 0:00 hald-runner
249 root 0:00 {hald-addon-inpu} hald-addon-input: Listening on /dev/input/event1 /dev/input/event0
269 root 0:03 /usr/bin/slim -d
276 root 0:01 /usr/bin/Xorg -nolisten tcp -auth /var/run/slim.auth vt07
285 root 0:00 /usr/sbin/dropbear -b /etc/dropbear/banner
297 root 0:00 -sh
298 root 0:00 /sbin/getty 38400 tty2
299 root 0:00 /sbin/getty 38400 tty3
300 tux 0:00 /usr/bin/openbox --startup /usr/lib/openbox/openbox-autostart OPENBOX
316 tux 0:00 xterm
334 tux 0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
335 tux 0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
338 tux 0:00 sh
363 root 0:00 [kworker/0:0]
374 root 0:00 udevd --daemon
375 root 0:00 /usr/sbin/dropbear -b /etc/dropbear/banner
376 root 0:00 -sh
392 root 0:00 ps
393 root 0:00 tail -25
root@slitaz:~#

2012-12-15

SliTaz armhf -- 20121214


slitaz-armhf-mini-2012-12-14.zip 46M

Changelog
2012-12-14
- update kernel-3.2.27
- update firmware-2012-10-25 17c8799375
- adding support for the 512MB Model B

SliTaz armhf: 46MB Linux Distribution for Raspberry Pi

root@slitaz:~# zcat /proc/config.gz | grep TMPFS
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
root@slitaz:~# cat /proc/cmdline
dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1680 bcm2708_fb.fbheight=1050 bcm2708.boardrev=0x2 bcm2708.serial=0x7b32f4ce smsc95xx.macaddr=B8:27:EB:32:F4:CE sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0xf000000 vc_mem.mem_size=0x10000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait devtmpfs.mount=0

root@slitaz:~# tail -5 /boot/config.txt
# Amount of memory to use for the GPU
gpu_mem=32

# for more options see http://elinux.org/RPi_config.txt


2012-12-04

SliTaz armhf







Update 20121214
slitaz-armhf-mini-2012-12-14.zip 46M

SliTaz armhf

SliTaz armhf is based on SliTaz Linux, which uses the hard-float ABI for the Raspberry Pi.

Given the preponderance of hardfp performance over its register ignorant peers,
this will be useful in eking every last drop of performance out of the hardware. -- QtonPi wiki

Default login Username: root Password: root


RPi_Easy_SD_Card_Setup
===============================================================================
Manually resizing the SD card partitions (Optional)
http://elinux.org/RPi_Easy_SD_Card_Setup


/etc/init.d/README for SliTaz init boot scripts.
===============================================================================
SliTaz doesn't use runlevels; inittab starts /etc/init.d/rcS, which uses the
config file /etc/rcS.conf to run all scripts specified with $RUN_SCRIPTS, and
then starts all daemons specified with $RUN_DAEMONS. The idea is to centralize
the main system boot initialization in one configuration file. Init scripts can
use the rc.functions file (part of the base-files) to call for the status
function. Daemons can use /etc/daemons.conf to call for default options; in
this way users/admins don't need to edit the daemon init script located
in the /etc/init.d directory.
===============================================================================
http://www.slitaz.org/


# /etc/network.conf: SliTaz system wide networking configuration.
# Config file used by: /etc/init.d/network.sh
#


Tazpkg - Tiny autonomous zone packages manager.
===============================================================================
#!/bin/sh
# Tazpkg - Tiny autonomous zone packages manager.
#
# This is a lightwight packages manager for *.tazpkg files written in
# SHell script. It works well with Busybox ash shell and bash. Tazpkg lets you
# list, install, remove, download or get information about a package. You can
# use 'tazpkg usage' to get a list of commands with short descriptions. Tazpkg
# also resolves dependencies and can upgrade packages from a mirror. I18n is
# done using gettext and eval_gettext, ex:
# gettext "displayed text"; echo
# eval_gettext "display \$VARIABLE"; echo
#
# (C) 2007-2012 SliTaz - GNU General Public License v3.
#
# Authors : See AUTHORS files


Mirror

This site provides SliTaz GNU/Linux official and community documentation.

Raspberry Pi wiki