2009-12-31

Slitaz -- webatm


EZ-100PU driver -- Linux(Supprot libusb and libhal)
[http://www.casauto.com.tw/db/pictures/modules/PDT/PDT060207001/200910202021270555.gz]

WebATM plug-in (for Windows & Ubuntu) 1.0.4.2
[https://addons.mozilla.org/zh-TW/firefox/addon/12324]

libpcsclite1-1.4.102-1.tazpkg
libccid-1.3.8-1.tazpkg
libpcsc-perl-1.4.4-1.tazpkg
pcsc-tools-1.4.14-1.tazpkg
pcscd-1.4.102-1.tazpkg

root@slitaz:~# uname -a
Linux slitaz 2.6.30.6-slitaz #1 SMP Mon Nov 30 14:16:13 CET 2009 i686 unknown
root@slitaz:~# tazpkg list | grep firefox
firefox 3.5.5 network
root@slitaz:~# pcscd -f
00000000 pcscdaemon.c:280:main() pcscd set to foreground with debug send to stderr
00000876 pcscdaemon.c:498:main() pcsc-lite 1.4.102 daemon ready.
00066965 hotplug_libhal.c:342:HPAddDevice() Adding USB device: usb_device_ca6_10_noserial_if0
01001739 readerfactory.c:1082:RFInitializeReader() Attempting startup of CASTLES EZ100PU 00 00 using /usr/lib/pcsc/drivers/ezusb.bundle/Contents/Linux/ezusb.so
00001208 readerfactory.c:949:RFBindFunctions() Loading IFD Handler 3.0

....

root@slitaz:~# ps ax | grep pcsc
4777 root pcscd -f
4790 root grep pcsc
root@slitaz:~# pcsc_scan
PC/SC device scanner
V 1.4.14 (c) 2001-2008, Ludovic Rousseau
Compiled with PC/SC lite version: 1.4.101
Scanning present readers
0: CASTLES EZ100PU 00 00

Thu Dec 31 15:46:11 2009
Reader 0: CASTLES EZ100PU 00 00
Card state: Card inserted,
ATR: 3B F7 11 00 00 xx xx xx xx xx xx xx xx xx xx xx xx xx

ATR: 3B F7 11 00 00 xx xx xx xx xx xx xx xx xx xx xx xx xx
+ TS = 3B --> Direct Convention
+ T0 = F7, Y(1): 1111, K: 7 (historical bytes)
TA(1) = 11 --> Fi=372, Di=1, 372 cycles/ETU (9600 bits/s at 3.57 MHz)
TB(1) = 00 --> VPP is not electrically connected
TC(1) = 00 --> Extra guard time: 0
TD(1) = 81 --> Y(i+1) = 1000, Protocol T = 1
-----
TD(2) = 71 --> Y(i+1) = 0111, Protocol T = 1
-----
TA(3) = FE --> IFSC: 254
TB(3) = 42 --> Block Waiting Integer: 4 - Character Waiting Integer: 2
TC(3) = 00 --> Error detection code: LRC
+ Historical bytes: 00 63 95 01 01 90 00
Category indicator byte: 00 (compact TLV data object)
Tag: 6, len: 3 (pre-issuing data)
Data: 95 01
Mandatory status indicator (3 last bytes)
LCS (life card cycle): 01 (Creation state)
SW: 9000 (Normal processing.)
+ TCK = CC (correct checksum)
....
.

2009-12-29

Slitaz -- lshw

root@slitaz:~# lshw
slitaz
description: Space-saving Computer
product: ValueStar
vendor: NEC
serial: 123456789
width: 32 bits
capabilities: smbios-2.4 dmi-2.4 smp-1.4 smp
configuration: boot=normal chassis=space-saving cpus=2
*-core
description: Motherboard
product: MS-7428VH
vendor: NEC
physical id: 2
version: VH
*-firmware
description: BIOS
vendor: NEC
physical id: 0
version: 0001/466A0002 (11/17/2008)
size: 64KiB
capacity: 960KiB
capabilities: isa pci pnp apm upgrade shadowing escd cdboot bootselect edd int13floppytoshiba int13floppy720 int5printscreen int9keyboard int10video acpi usb biosbootspecification netboot
*-cpu:0
description: CPU
product: Pentium(R) Dual-Core CPU E6300 @ 2.80GHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: 6.7.10
serial: 0001-067A-0000-0000-0000-0000
slot: SOCKET775 M/B
size: 2800MHz
capacity: 2800MHz
width: 64 bits
clock: 267MHz
capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe x86-64 constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm tpr_shadow vnmi flexpriority
configuration: id=0
...
*-cpu:1
physical id: 1
bus info: cpu@1
version: 6.7.10
serial: 0001-067A-0000-0000-0000-0000
size: 2800MHz
capabilities: vmx ht
configuration: id=0
.....
=======
EVEREST Ultimate Edition

版本 EVEREST v5.02.1789 Beta/tw
效能測試模組 2.4.258.0

.....
BIOS 內容:
供應商 NEC
版本 0001/466A0002
發行日期 11/17/2008
大小 1024 KB
開機裝置 Floppy Disk, Hard Disk, CD-ROM
能力 Flash BIOS, Shadow BIOS, Selectable Boot, EDD, BBS
支援的標準 DMI, APM, ACPI, ESCD, PnP
擴充能力 ISA, PCI, USB

ACPI

[ APIC: Multiple APIC Description Table ]

ACPI 表內容:
ACPI 簽署 APIC
表描述 Multiple APIC Description Table
記憶體位址 CDD90390h
表長度 108 位元組
OEM ID NEC
OEM Table ID DT000028
OEM Revision 00000200h
Creator ID MSFT
Creator Revision 0100000Eh
Local APIC Address FEE00000h

[DSDT: Differentiated System Description Table]

ACPI 表內容:
ACPI 簽署 DSDT
表描述 Differentiated System Description Table
記憶體位址 CDD905C0h
表長度 24106 位元組
OEM ID NEC
OEM Table ID DT000028
OEM Revision 00000200h
Creator ID INTL
Creator Revision 20051117h

[ FACP: Fixed ACPI Description Table ]

ACPI 表內容:
ACPI 簽署 FACP
表描述 Fixed ACPI Description Table
記憶體位址 CDD90200h
表長度 132 位元組
OEM ID NEC
OEM Table ID DT000028
OEM Revision 00000200h
Creator ID MSFT
Creator Revision 0100000Eh
SMI Command Port 000000B2h
PM Timer 00000808h

[ FACS: Firmware ACPI Control Structure ]

ACPI 表內容:
ACPI 簽署 FACS
表描述 Firmware ACPI Control Structure
記憶體位址 CDD9E000h
表長度 64 位元組

[ GSCI: Intel GMCH SCI Table ]

ACPI 表內容:
ACPI 簽署 GSCI
表描述 Intel GMCH SCI Table
記憶體位址 CDD9E0C0h
表長度 8228 位元組
OEM ID NEC
OEM Table ID DT000028
OEM Revision 00000200h
Creator ID MSFT
Creator Revision 0100000Eh

[ HPET: IA-PC High Precision Event Timer Table ]

ACPI 表內容:
ACPI 簽署 HPET
表描述 IA-PC High Precision Event Timer Table
記憶體位址 CDD9A5C0h
表長度 56 位元組
OEM ID NEC
OEM Table ID DT000028
OEM Revision 00000200h
Creator ID MSFT
Creator Revision 0100000Eh

[ MCFG: Memory Mapped Configuration Space Base Address Description Table ]

ACPI 表內容:
ACPI 簽署 MCFG
表描述 Memory Mapped Configuration Space Base Address Description Table
記憶體位址 CDD90400h
表長度 60 位元組
OEM ID NEC
OEM Table ID DT000028
OEM Revision 00000200h
Creator ID MSFT
Creator Revision 0100000Eh

[ RSD PTR: Root System Description Pointer ]

ACPI 表內容:
ACPI 簽署 RSD PTR
表描述 Root System Description Pointer
記憶體位址 000F9860h
表長度 36 位元組
OEM ID ACPIAM

[ RSDT: Root System Description Table ]

ACPI 表內容:
ACPI 簽署 RSDT
表描述 Root System Description Table
記憶體位址 CDD90000h
表長度 64 位元組
OEM ID NEC
OEM Table ID DT000028
OEM Revision 00000200h
Creator ID MSFT
Creator Revision 0100000Eh

[ SLIC: Software Licensing Description Table ]

ACPI 表內容:
ACPI 簽署 SLIC
表描述 Software Licensing Description Table
記憶體位址 CDD90440h
表長度 374 位元組
OEM ID NEC
OEM Table ID DT000028
OEM Revision 00000200h
Creator ID MSFT
Creator Revision 0100000Eh

[ SSDT: Secondary System Description Table ]

ACPI 表內容:
ACPI 簽署 SSDT
表描述 Secondary System Description Table
記憶體位址 CDDA00F0h
表長度 1202 位元組
OEM ID PmRef
OEM Table ID P001Cst
OEM Revision 00003001h
Creator ID INTL
Creator Revision 20051117h

[ SSDT: Secondary System Description Table ]

ACPI 表內容:
ACPI 簽署 SSDT
表描述 Secondary System Description Table
記憶體位址 CDDA05B0h
表長度 133 位元組
OEM ID PmRef
OEM Table ID P002Cst
OEM Revision 00003000h
Creator ID INTL
Creator Revision 20051117h

[ SSDT: Secondary System Description Table ]

ACPI 表內容:
ACPI 簽署 SSDT
表描述 Secondary System Description Table
記憶體位址 CDDA0640h
表長度 2684 位元組
OEM ID DpgPmm
OEM Table ID CpuPm
OEM Revision 00000012h
Creator ID INTL
Creator Revision 20051117h
.

2009-12-25

Slitaz -- cat

slitaz-xorg.iso

Welcome to your box.
SliTaz boot time: 10s

SliTaz GNU/Linux Kernel 2.6.30.6-slitaz tty1

slitaz login: tux

(ø- { Documentation in /usr/share/doc. Use 'less -EM' to read files,
//\ become root with 'su' and edit using 'nano'.
v_/_ Type 'startx' to start a X window session. }

SliTaz GNU/Linux is distributed in the hope that it will be useful, but
with ABSOLUTELY NO WARRANTY.


tux@slitaz:~$ tail -n 11 /var/log/Xorg.0.log
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 26 01:08:29 2009
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 26 of section Module in file /etc/X11/xorg.conf
"Identifier" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
tux@slitaz:~$ tail /var/log/slim.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 26 01:08:29 2009
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 26 of section Module in file /etc/X11/xorg.conf
"Identifier" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
tux@slitaz:~$ ls -l /var/log
-rw-r--r-- 1 root root 1243 Dec 26 01:08 Xorg.0.log
-rw-r--r-- 1 root root 3856 Dec 26 01:08 Xorg.0.log.old
-rw-r--r-- 1 root root 3 Dec 26 01:08 boot-time
-rw-r--r-- 1 root root 11072 Dec 26 01:08 boot.log
-rw-r--r-- 1 root root 15412 Dec 26 01:08 dmesg.log
-rw------- 1 root root 30320 Dec 26 01:08 messages
-rw-r--r-- 1 root root 1185 Dec 26 01:08 slim.log
-rw-r--r-- 1 root root 3072 Dec 26 01:08 wtmp
tux@slitaz:~$ head -n 28 /etc/X11/xorg.conf | tail -n 11
Section "Module"
Load "dri"
Load "extmod"
Load "dbe"
Load "glx"
Load "freetype"
EndSection

Identifier "Keyboard0" <=====
Driver "kbd"
EndSection

tux@slitaz:~$ ls -l /etc/X11/xorg*
-rw-r--r-- 1 root root 1983 Dec 26 01:08 /etc/X11/xorg.conf
-rw-r--r-- 1 root root 2005 Dec 26 01:08 /etc/X11/xorg.conf.orig
tux@slitaz:~$ diff /etc/X11/xorg.conf /etc/X11/xorg.conf.orig
--- /etc/X11/xorg.conf Sat Dec 26 01:08:28 2009
+++ /etc/X11/xorg.conf.orig Sat Dec 26 01:08:28 2009
@@ -23,6 +23,7 @@
Load "freetype"
EndSection

+Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

tux@slitaz:~$ cat /var/log/boot-time
10
tux@slitaz:~$ cat /var/log/boot.log


Welcome to your box.
SliTaz boot time: 10s



Taking a Screen Shot in a Console
....
For example, if the target console is the first virtual console (which you would see by typing [ALT]-[F1]), the device to cat is `/dev/vcs1'.

* To take a screen shot of the fourth virtual console, and save it to a file called `screenshot', type:

$ cat /dev/vcs4 > screenshot [RET]

NOTE: You must have superuser privileges to access these files (see Administrative Issues).
....

Slitaz -- cooking-snow / xorg




slitaz-xorg.iso
24-Dec-2009 21:43 25M
http://mirror.switch.ch/ftp/mirror/slitaz/iso/cooking-snow/slitaz-xorg.iso

root@slitaz:~# ps ax | grep Xorg
2731 root /usr/bin/Xorg -auth /var/run/slim.auth vt07
root@slitaz:~# uname -a
Linux slitaz 2.6.30.6-slitaz #1 SMP Mon Nov 30 14:16:13 CET 2009 i686 unknown
root@slitaz:~# date
Fri Dec 25 17:47:53 UTC 2009
root@slitaz:~# dmesg | tail
mtrr: no MTRR for d0000000,1ff0000 found
mtrr: base(0xd0000000) is not aligned on a size(0x1ff0000) boundary
nsgtk[1914]: segfault at f5 ip 08099b8b sp bfab3400 error 6 in nsgtk[8048000+96000]
nsgtk[2597]: segfault at f5 ip 08099b8b sp bfa94460 error 6 in nsgtk[8048000+96000]
nsgtk[2599]: segfault at f5 ip 08099b8b sp bfabb870 error 6 in nsgtk[8048000+96000]
nsgtk[2713]: segfault at f5 ip 08099b8b sp bfa9f760 error 6 in nsgtk[8048000+96000]
nsgtk[2717]: segfault at f5 ip 08099b8b sp bfbd0720 error 6 in nsgtk[8048000+96000]
nsgtk[2719]: segfault at f5 ip 08099b8b sp bfe27810 error 6 in nsgtk[8048000+96000]
mtrr: no MTRR for d0000000,1ff0000 found
mtrr: base(0xd0000000) is not aligned on a size(0x1ff0000) boundary
root@slitaz:~#

2009-12-21

HAL -- acpi / apic

E6300 VS Plll Xeon



HAL:Hardware Abstraction Layer
ACPI:Advanced Configuration and Power Interface
APIC:Advanced Programmable Interrupt Controllers

硬體抽象層(HAL, Hardware Abstraction Layer),是抽象層的一種,是實作於硬體和執行於該電腦的軟體之間的一種特殊軟體。它的功用是將硬體方面的不同,隱藏並抽離於作業系統的核心之中。

===========
進階組態與電源介面(Advanced Configuration and Power Interface)
....
全域狀態(Global System States)

ACPI規範定義了一台相容ACPI的電腦系統可以有以下七個狀態(所謂的全域狀態):

* G0(S0)正常工作狀態:電腦的正常工作狀態-作業系統和應用程式都在執行。
* G1 睡眠 細分為從S1到S4這四種狀態。。
o S1:最耗電的睡眠模式。
o S2:一個比S1更深的睡眠狀態,不過已經不給CPU供電了;
o S3 :在BIOS中叫做"掛到內部記憶體" (Suspend to RAM/STR),在Windows XP以後的Windows版本和一些Linux發行版中叫做"待機(Standby)", 在Windows Vista和Mac OS X則叫做"睡眠(Sleep)"
o S4: 在Windows中叫休眠, 在Mac OS X中叫作安全睡眠,也稱為掛到硬碟,雖然ACPI規範中只提到了一個術語S4(main article:Hibernate(OS feature))。
* G2(S5)Soft Off--G2,S5,和Soft Off都是相同的叫法。
* G3 Mechanical Off
....

===========
ACPI和APIC有什麼關係?

APIC (高級可編程中斷控制器)對計算機來講有兩個作用,
一是管理IRQ的分配,可以把傳統的16個IRQ擴展到24個(傳統的管理方式叫PIC),以適應更多的設備。
二是管理多CPU。
....
linux acpi=off noapic
....

============
http://support.microsoft.com/kb/299340/
如何在 Windows XP 的升級或安裝期間強制進入硬體抽象層
....
HAL 為 Windows XP 中的電腦程式碼,可讓 Windows XP 在各種不同的電腦類型上執行。HAL 會直接操控電腦硬體。在 Windows XP 的升級或安裝期間,您可以 按下F5鍵,強制進入 HAL ,然後從可用的電腦類型中進行選取。
....
強制進入系統 HAL
如果要防止 Windows XP 在升級或安裝期間自動判定系統 HAL,您可以用手動方式強制進入系統 HAL。如果要在 Windows XP 的升級或安裝期間強制進入系統的硬體抽象層 (HAL),請遵循下列步驟:
在安裝程式的文字模式階段期間,當您從畫面底端收到下列訊息時,請按 F5
Press F6 if you have to install a third-party SCSI or RAID driver. (如果您需要安裝協力廠商的 SCSI 或 RAID 驅動程式,請按下 F6。)
注意 如果按下 F7,則會載入標準 PC HAL,並略過 ACPI 相容性檢查。
您會收到下列電腦類型的清單。在此將簡短描述各個 HAL:
ACPI 多處理器 PC
適用於多處理器的 ACPI 電腦。
ACPI 單一處理器 PC
適用於安裝單一處理器的 ACPI 多處理器主機板。
Advanced Configuration and Power Interface (ACPI) PC
適用於只有單一處理器的單一處理器主機板。
Compaq SystemPro 多處理器或 100% 相容的處理器
適用於 Compaq SystemPro 電腦。
MPS 單一處理器 PC
適用於安裝單一處理器的非 ACPI 電腦雙處理器主機板。
MPS 多處理器 PC
適用於非 ACPI 電腦,且電腦上正在執行雙處理器。
標準 PC
適用於任何標準 PC、非 ACPI 或非 MPS。CPU 可以是 386、486、Pentium、Pentium II 或 Pentium III。
具有 C-Step i486 的標準 PC
其他
注意 此畫面一次只會顯示兩個電腦類型。如果要上下捲動以檢視完整清單,請使用方向鍵。

===========
http://support.microsoft.com/kb/314088/zh-tw
本文將告訴您 Windows 啟用和安裝「進階組態與電源介面」(Advanced Configuration and Power Interface,ACPI) 功能所採用的程序。
....
Txtsetup.sif 檔案
Txtsetup.sif 檔案包含了在執行文字模式的安裝程式期間用來偵測與安裝裝置的資訊。如果這個檔案沒有裝置的任何項目,則該裝置便不是在執行 Windows 安裝之文字模式的安裝程式期間安裝的。

下列 Txtsetup.sif 檔案的區段可以用來進行 ACPI 的偵測與安裝:

* [ACPIOptions]
* [GoodACPIBios]

BIOS 中的 ACPI 組態
ACPI 系統包含一系列 10 個表格。這 10 個表格會定義系統中有哪些裝置,以及那些裝置在組態和電源管理方面的功能為何。

這些表格是在啟動時由系統 BIOS 所建立的。當電腦啟動時,系統 BIOS 會在這些表格的其中兩個表格中尋找特定項目 (Fixed ACPI Description Table [FACP] 和 Root System Description Table [RSDT]),以判斷系統是否與 ACPI 相容。
....
ACPIBiosDate 和 ACPIEnable 這兩個項目會出現在 [ACPIOptions] 區段中。

ACPIBiosDate 項目會提供 BIOS 被視為正確後的日期。這個項目的預設設定為 1999 年 1 月 1 日。ACPIBiosDate 項目對於強制安裝 ACPI 沒有多大幫助。

ACPIEnable 項目的三個可能值會決定 ACPI 偵測與安裝行為:

* 0:無論系統 BIOS 如何,安裝時會停用 ACPI。
* 1:如果 ACPI BIOS 存在的話,安裝時會啟用 ACPI。
* 2:根據 GoodACPIBios 清單和 ACPIBiosDate 啟用 ACPI。

預設設定為 2。

如果要覆寫預設值,並強制安裝 ACPI,請編輯 Windows XP 安裝光碟中的 Txtsetup.sif 檔案,將 ACPIEnable 值變更為 1。儲存檔案,然後重新啟動安裝。
....
=======
EVEREST Ultimate Edition

版本 EVEREST v5.02.1789 Beta/tw
效能測試模組 2.4.258.0

.....
BIOS 內容:
供應商 NEC
版本 0001/466A0002
發行日期 11/17/2008
大小 1024 KB
開機裝置 Floppy Disk, Hard Disk, CD-ROM
能力 Flash BIOS, Shadow BIOS, Selectable Boot, EDD, BBS
支援的標準 DMI, APM, ACPI, ESCD, PnP
擴充能力 ISA, PCI, USB

ACPI

[ APIC: Multiple APIC Description Table ]

ACPI 表內容:
ACPI 簽署 APIC
表描述 Multiple APIC Description Table
記憶體位址 CDD90390h
表長度 108 位元組
OEM ID NEC
OEM Table ID DT000028
OEM Revision 00000200h
Creator ID MSFT
Creator Revision 0100000Eh
Local APIC Address FEE00000h
....
[ FACP: Fixed ACPI Description Table ]

ACPI 表內容:
ACPI 簽署 FACP
表描述 Fixed ACPI Description Table
記憶體位址 CDD90200h
表長度 132 位元組
OEM ID NEC
OEM Table ID DT000028
OEM Revision 00000200h
Creator ID MSFT
Creator Revision 0100000Eh
SMI Command Port 000000B2h
PM Timer 00000808h
....

[ RSDT: Root System Description Table ]

ACPI 表內容:
ACPI 簽署 RSDT
表描述 Root System Description Table
記憶體位址 CDD90000h
表長度 64 位元組
OEM ID NEC
OEM Table ID DT000028
OEM Revision 00000200h
Creator ID MSFT
Creator Revision 0100000Eh

=======
309283 HAL Options After Windows XP or Windows Server 2003 Setup
....

注意
當將錯誤的影像部署至電腦時,常會在重新啟動時發生 Sysprep 影像停止回應,或報告下列錯誤訊息:
Stop 0x0000007b (停止 0x0000007b)
.....
Microsoft 建議只有在疑難排解或解決硬體問題時才交換 HAL。
當您建立 Sysprep 影像時,影像必須包含目標電腦的正確 HAL 類型。下列清單說明您可以依照來源電腦中的 HAL 類型,部署特定 Sysprep 影像的目標電腦:
您可以將在使用 Standard PC, Non-ACPI PIC HAL (Hal.dll) 之電腦上所建立的 Sysprep 影像,部署到使用下列 HAL 類型的電腦:
Standard PC, Non-ACPI PIC HAL (Hal.dll)

您可以將在使用 Advanced Configuration and Power Interface (ACPI) PC, ACPI PIC HAL (Halacpi.dll) 之電腦上建立的 Sysprep 影像,部署至使用下列 HAL 類型的電腦:
Advanced Configuration and Power Interface (ACPI) PC, ACPI PIC HAL (Halacpi.dll)

您可以將在使用 MPS Uniprocessor PC, Non-ACPI APIC UP HAL (Halapic.dll) 之電腦上建立的 Sysprep 影像,部署至使用下列 HAL 類型的電腦:
MPS Uniprocessor PC, Non-ACPI APIC UP HAL (Halapic.dll)
MPS Multiprocessor PC, Non-ACPI APIC MP HAL (Halmps.dll)

您可以將在使用 MPS Multiprocessor PC, Non-ACPI APIC MP HAL (Halmps.dll) 之電腦上建立的 Sysprep 影像,部署至使用下列 HAL 類型的電腦:
MPS Multiprocessor PC, Non-ACPI APIC MP HAL (Halmps.dll)
MPS Uniprocessor PC, Non-ACPI APIC UP HAL (Halapic.dll)

您可以將在使用 ACPI Uniprocessor PC, ACPI APIC UP HAL (Halaacpi.dll) 之電腦上建立的 Sysprep 影像,部署至使用下列 HAL 類型的電腦:
ACPI Uniprocessor PC, ACPI APIC UP HAL (Halaacpi.dll)
ACPI Multiprocessor PC, ACPI APIC MP HAL (Halmacpi.dll)

您可以將在使用 ACPI Multiprocessor PC, ACPI APIC MP HAL (Halmacpi.dll) 之電腦上建立的 Sysprep 影像,部署至使用下列 HAL 類型的電腦:
ACPI Multiprocessor PC, ACPI APIC MP HAL (Halmacpi.dll)
ACPI Uniprocessor PC, ACPI APIC UP HAL (Halaacpi.dll)

============
http://blog.yam.com/linjahau/article/11111383
重灌xp免移機用ghost
linjahau 在天空部落發表於06:34:49 | 電腦教學
....
準備2個檔案MergeIDE.bat 及 MergeIDE.reg 放在一起
微軟也可以查到MergeIDE的文件,此法將很徹底的將一些硬體驅動全部解除,包含IDE控制器,USB驅動,顯卡,音效卡...等 全部解除,所以換到另一台電腦後,所有硬體會全部重抓,所以一定要先準備好另一台電腦上硬體的driver
.....
1.先安裝完所有軟體
2.將 "裝置管理員" 內的 "電腦" 改成 "標準PC"
3.執行MERGEIDE.BAT
4.關機
5.製作GHOST
6.復原GHOST映像檔到新電腦上
7.開機完抓完所有新硬體後重開機(有驅動程式抓不到的話請自行安裝)
8.將 "裝置管理員" 內的 "電腦" 內的第1個 "標準PC",改成你這台電腦對應的規格,一般是"ACPI Multiprocessor PC"
(改完後會重新開機,硬體設定檔也有可能會再全部重抓)
9.等電腦開機完成後,把 "裝置管理員" 內的 "電腦" 內的第2個 "標準PC" 移除掉就可以了,然後裝新硬體的驅動就OK了
附註:如果要確定所有驅動程式都正常的話,請在第9項完成以後,把主機板,顯示卡,音效卡等等週邊附的驅動程式再安裝一遍是最好的


=========
http://www.threesecond.info/v2/modules/xhnewbb/viewtopic.php?topic_id=1300&viewmode=flat&order=ASC
[轉錄] "開機" 萬言書
作者:吳翠鳳 (Linda Wu)
http://www.msservermag.com.tw/technicwords/020919.aspx
http://www.msservermag.com.tw/technicwords/020926.aspx
http://www.msservermag.com.tw/technicwords/021003.aspx
http://www.msservermag.com.tw/technicwords/021010.aspx
從電源開啟後的 POST,到 Windows 開機完成的詳細過程,包含圖解,
中文文章裡很少看到這麼完整精彩的資料。
適用於 Win2000/XP/2003。


.

2009-12-14

Slitaz -- WebATM

https://netbank.esunbank.com.tw/webatm/Q&A_016.htm

在Linux上使用玉山WebATM服務的基本需求?

1.Linux 作業系統:Ubuntu 8.04 以上版本之32bits Linux 作業系統。
2.瀏覽器:Mozilla Firefox 3.0 以上版本。
3.讀卡機:有提供Linux 讀卡機驅動程式之PC/SC IC 讀卡機。
4.需先安裝pcscd 套件,並確認已正常啟動。
5.讀卡機驅動程式需預先安裝好,並且用 pcsc_scan 指令確認讀卡機運作正常。
6.安裝玉山銀行Linux專用版 WebATM plugin

pcscd : libccid、libpcsc-perl、pcscd、pcsc-tools

EZ-100PU:libUSB編譯的pcscd

https://netbank.esunbank.com.tw/webatm/cabs/pcscd_for_LibUSB.tar.gz
http://www.casauto.com.tw/in-download-02.aspx?cid=C_00000001&id=P_00000001

https://addons.mozilla.org/zh-TW/firefox/addon/12324
玉山銀行 WebATM plug-in 元件(for Windows & Ubuntu) 1.0.4.2
作者: nyson chao
安裝這個元件後,可以讓你在Windows 以及 Linux(目前支援 ubuntu 8.04,8.10,9.04,9.10) 32/64 bits 平台上,使用玉山銀行的WebATM服務。

Windows目前只支援32bits 瀏覽器。
Linux 新增支援64bits 瀏覽器。

版本資訊

版本 1.0.4.2 — 2009 年 11 月 12 日 — 305 KB
支援64bits 的Linux platform,已經在Ubuntu 9.10 x86_64 測試過。
.....
開發者留言
1.虹堡的讀卡機驅動程式(如EZ100系列)目前已經支援以 LibHAL 編譯的pcsclite套件,使用ubuntu 8.10以上版本的人,可以直接到該公司網站下載安裝

========

http://cgi.blog.roodo.com/trackback/9410001
[網播][podcast]Born to MISrepresent 第十二集:不只是IE,不只是MS - 玉山銀行WebATM支援Firefox、Google Chrome、Opera等非IE瀏覽器及支援Linux作業系統

====
20100428

http://www.casauto.com.tw/in-download-02.aspx?cid=C_00000006&id=P_00000009&ccid=C_00000001&cccid=P_00000001
[..]
1. 版本:EZ100PU
2. 描述:EZ100PU
3. 下載:Windows7 x32.x64 | Vista x32 | Vista x64. XP x64. 2003 x64 | WinXP. 2000. 2003 | Win98. ME. NT | Linux(Supprot libusb and libhal) | WinCE(Intel XScale for ARM) | WinCE(x86) | 台新版 | MAC(10.4/10.5/10.6)
[..]


http://www.ittec.com.tw/download.htm
[..]
晶片讀卡機驅動程式下載區(EZ100PU幸運草, EZ100PU, Pisces310)
作業系統 下載位置 使用說明
Window 7 32 位元
64 位元

 

pc995

異機備援功能特色:
異機鏡像:可設定將本機所有系統及資料做異機鏡像備份,可將電腦上的系統、程式及資料完整備份到另壹台硬碟或儲存設備,也可建立開機光碟
排程提醒:具備固定時間做異機備份的排程提醒功能
救援光碟:可製作包含鏡像檔的Recovery CD

大小:41.8 MB



大小:19.8 MB



.

2009-12-08

Slitaz -- scrot

How to take screenshots with Scrot

scrot -d 5 -q 95 -t 30 screenshot.jpeg -b -s && gwenview screenshot.jpeg

If you wish to specify a window or part of a screen (use your mouse to draw out a selected area) then just append -s thus:

scrot desktop.png -s

and then use your cursor to draw out the area for your screenshot.

scrot '%Y-%m-%d_$wx$h_scrot.png' -e 'mv $f ~/images/shots/'

root@slitaz:~# cat /usr/share/applications/scrot.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Scrot screenshot
Name[fr]=Capture d'écran
Exec=scrot
Icon=/usr/share/icons/Tango/16x16/devices/camera-video.png
Type=Application
Terminal=false
Categories=Application;Graphics;
root@slitaz:~#

root@slitaz:~# cat /usr/bin/shot
#!/bin/sh

/usr/bin/scrot -d 6 `date +%Y%m%d%H%M%S`.jpg -s

root@slitaz:~# cat /usr/bin/shots
#!/bin/sh

/usr/bin/scrot -b -d 1 `date +%Y%m%d%H%M%S`.jpg
root@slitaz:~#
root@slitaz:~# date +%Y%m%d%H%M%S
20091208192942
root@slitaz:~# date
Tue Dec 8 19:29:47 UTC 2009

root@slitaz:~# scrot --help
Usage : scrot [OPTIONS]... [FILE]
Where FILE is the target file for the screenshot.
If FILE is not specified, a date-stamped file will be dropped in the
current directory.
See man scrot for more details
-h, --help display this help and exit
-v, --version output version information and exit
-b, --border When selecting a window, grab wm border too
-c, --count show a countdown before taking the shot
-d, --delay NUM wait NUM seconds before taking a shot
-e, --exec APP run APP on the resulting screenshot
-q, --quality NUM Image quality (1-100) high value means
high size, low compression. Default: 75.
For lossless compression formats, like png,
low quality means high compression.
-m, --multidisp For multiple heads, grab shot from each
and join them together.
-s, --select interactively choose a window or rectnagle
with the mouse
-t, --thumb NUM generate thumbnail too. NUM is the percentage
of the original size for the thumbnail to be,
or the geometry in percent, e.g. 50x60 or 80x20.

SPECIAL STRINGS
Both the --exec and filename parameters can take format specifiers
that are expanded by scrot when encountered.
There are two types of format specifier. Characters preceded by a '%'
are interpretted by strftime(2).
See man strftime for examples.
These options may be used to refer to the current date and time.
The second kind are internal to scrot and are prefixed by '$'
The following specifiers are recognised:
$f image path/filename (ignored when used in the filename)
$m thumbnail path/filename
$n image name (ignored when used in the filename)
$s image size (bytes) (ignored when used in the filename)
$p image pixel size
$w image width
$h image height
$t image format
$$ prints a literal '$'
\n prints a newline (ignored when used in the filename)
Example:
scrot '%Y-%m-%d_$wx$h_scrot.png' -e 'mv $f ~/images/shots/'
Creates a file called something like 2000-10-30_2560x1024_scrot.png
and moves it to your images directory.

This program is free software see the file COPYING for licensing info.
Copyright Tom Gilbert 2000
Email bugs to
root@slitaz:~#

Extract From
http://aaron0117.blogspot.com/2008/08/strftime.html

時間格式化函數 strftime

strftime() 函數將時間格式化
......
函數strftime()的操作有些類似於sprintf():識別以百分號(%)開始的格式命令集合,格式化輸出結果放在一個字符串中。格式化命令說明串 strDest中各種日期和時間信息的確切表示方法。格式串中的其他字符原樣放進串中。格式命令列在下面,它們是區分大小寫的。
%a 星期幾的簡寫
%A 星期幾的全稱
%b 月分的簡寫
%B 月份的全稱
%c 標準的日期的時間串
%C 年份的後兩位數字
%d 十進製表示的每月的第幾天
%D 月/天/年
%e 在兩字符域中,十進製表示的每月的第幾天
%F 年-月-日
%g 年份的後兩位數字,使用基於周的年
%G 年分,使用基於周的年
%h 簡寫的月份名
%H 24小時制的小時
%I 12小時制的小時
%j 十進製表示的每年的第幾天
%m 十進製表示的月份
%M 十時製表示的分鐘數
%n 新行符
%p 本地的AM或PM的等價顯示
%r 12小時的時間
%R 顯示小時和分鐘:hh:mm
%S 十進制的秒數
%t 水平製表符
%T 顯示時分秒:hh:mm:ss
%u 每週的第幾天,星期一為第一天 (值從0到6,星期一為0)
%U 第年的第幾周,把星期日做為第一天(值從0到53)
%V 每年的第幾周,使用基於周的年
%w 十進製表示的星期幾(值從0到6,星期天為0)
%W 每年的第幾周,把星期一做為第一天(值從0到53)
%x 標準的日期串
%X 標準的時間串
%y 不帶世紀的十進制年份(值從0到99)
%Y 帶世紀部分的十制年份
%z,%Z 時區名稱,如果不能得到時區名稱則返回空字符。
%% 百分號

.......

2009-12-07

Slitaz -- cat

Part A: arramagong-livedvd-2.0.3-Final.iso.0 (1.9 GB) (md5sum)
Part B: arramagong-livedvd-2.0.3-Final.iso.1 (1.8 GB) (md5sum)

# recombine
cat arramagong-livedvd-2.0.3-Final.iso.0 \
arramagong-livedvd-2.0.3-Final.iso.1 \
> arramagong-livedvd-2.0.3-Final.iso

MS-Windows (cmd.exe)
copy /B image.iso.1 + image.iso.2 image.iso

Extract from
http://download.osgeo.org/livedvd/
.....
Arramagong GISVM

A 2.0 version has been developed for the FOSS4G 2009 conference. See the Quick Start page for guidance on downloading and running.
Arramagong GISVM and LiveDVD - 2.0.3 Final

30 September 2009
ISO Image (to be burned onto a DVD then run):

Torrent file now available, please remember to leave it open when you are done to help others.
Don't know what a torrent is or how to use one? See this: How to Torrent.

Torrent: arramagong-livedvd-2.0.3-Final.iso.torrent (final download 3.6 GB)
OR download the image directly from the OSGeo download server. Due to its size it has been split into two parts (.0 and .1) which will need to be put back together again. On a Mac or other UNIX this can be done using the cat utility from the Terminal prompt, as follows:
# recombine
cat arramagong-livedvd-2.0.3-Final.iso.0 \
arramagong-livedvd-2.0.3-Final.iso.1 \
> arramagong-livedvd-2.0.3-Final.iso

# check image integrity
md5sum arramagong-livedvd-2.0.3-Final.iso
MS-Windows users should see the Quick Start guide above for instructions.
Part A: arramagong-livedvd-2.0.3-Final.iso.0 (1.9 GB) (md5sum)
Part B: arramagong-livedvd-2.0.3-Final.iso.1 (1.8 GB) (md5sum)

Reconstituted ISO md5sum: arramagong-livedvd-2.0.3-Final.iso.md5
If the download is stopped for some reason part way through, continue without restarting from the beginning by making sure the filename is unaltered (rename if needed) and running "wget -c {URL}" from the directory that the partially downloaded file is in.

Virtual Machine

arramagong-gisvm-2.0.3-final.7z (1.9GB) (md5sum)

Notes about the Virtual Image. See Quick Start for more details.
Extracted image is 6.4GB
20 GB Disk, disk will grow as you add files up to this amount.
1 GB Ram, You can adjust this before booting the image, min recommended 512MB
1 Processor
NAT network connection, host computer acts as a router
800x600 Resolution Does not have VM Ware or Virtual Box Tools, you will need to install these for your respective tool in order to get higher resolutions.
Log Files

Package build logs
Image build_iso.log
.

2009-12-06

Slitaz -- pcmanfm-0.5.2





root@slitaz:/home/slitaz/wok# tazwok cook pcmanfm
.......
make[2]: Leaving directory `/home/slitaz/wok/pcmanfm/pcmanfm-0.5.2'
make[1]: Leaving directory `/home/slitaz/wok/pcmanfm/pcmanfm-0.5.2'
================================================================================
pcmanfm compiled on : 20091206 00:03:57


Building pcmanfm with the receipt...
================================================================================
Executing strip on all files... [ OK ]
Copying the receipt... [ OK ]
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... 1047 blocks
================================================================================
Package pcmanfm (0.5.2) generated.
Size : 184.0k /home/slitaz/packages/pcmanfm-0.5.2.tazpkg

root@slitaz:/home/slitaz/wok# ls -l ../packages/pcmanfm*
-rw-r--r-- 1 root root 183768 Dec 5 23:08 ../packages/pcmanfm-0.5.2-orig.tazpkg
-rw-r--r-- 1 root root 183988 Dec 6 00:03 ../packages/pcmanfm-0.5.2.tazpkg
root@slitaz:/home/slitaz/wok#

root@slitaz:/home/slitaz/wok# ls -l pcmanfm/stuff
drwxr-xr-x 2 root root 4096 Dec 2 09:17 applications
-r-xr-xr-x 1 root root 652 Dec 5 23:57 archiver-tazpkg-7z-rar.patch
-rw-r--r-- 1 root root 517 Dec 2 09:17 archiver-tazpkg-support.patch-orig
-rw-r--r-- 1 root root 270 Dec 2 09:17 ca.patch
-rw-r--r-- 1 root root 40854 Dec 2 09:17 fr.po
-rw-r--r-- 1 root root 1599 Dec 2 09:17 pcmanfm.png
root@slitaz:/home/slitaz/wok#

root@slitaz:/home/slitaz/wok# cat pcmanfm/stuff/archiver-tazpkg-support.patch-orig
--- src/ptk/ptk-file-archiver.c Sun May 25 14:59:12 2008
+++ src/ptk/ptk-file-archiver.c Thu Jun 25 23:28:10 2009
@@ -10,6 +10,8 @@
*
*/

+/* 06-25-2009 Erjo: Add support for tazpkg */
+
#include
#include

@@ -61,6 +63,12 @@
"tar -xvf",
".tar", TRUE
},
+ {
+ "application/x-tazpkg",
+ "tazpkg pack",
+ "tazpkg extract",
+ ".tazpkg", FALSE
+ }
/*
{
"application/x-rar",
root@slitaz:/home/slitaz/wok#

root@slitaz:/home/slitaz/wok# cat pcmanfm/stuff/archiver-tazpkg-7z-rar.patch
--- src/ptk/ptk-file-archiver.c Sun Jun 7 11:42:37 2009
+++ src/ptk/ptk-file-archiver.c Sat Dec 5 23:47:44 2009
@@ -61,14 +61,24 @@
"tar -xvf",
".tar", TRUE
},
- /*
+ {
+ "application/x-tazpkg",
+ "tazpkg pack",
+ "tazpkg extract",
+ ".tazpkg", FALSE
+ },
{
+ "application/x-7z-compressed",
+ "7zr a -bd -y",
+ "7zr x -bd -y",
+ ".7z", TRUE
+ },
+ {
"application/x-rar",
NULL,
"unrar -o- e",
".rar", TRUE
}
- */
};


root@slitaz:/home/slitaz/wok#


root@slitaz:/home/slitaz/wok# cat pcmanfm/pcmanfm-0.5.2/src/ptk/ptk-file-archiver.c | head -n 83 | tail -n 53

const ArchiveHandler handlers[]=
{
{
"application/x-bzip-compressed-tar",
"tar --bzip2 -cvf",
"tar --bzip2 -xvf",
".tar.bz2", TRUE
},
{
"application/x-compressed-tar",
"tar -czvf",
"tar -xzvf",
".tar.gz", TRUE
},
{
"application/x-gzip",
"gzip",
"gunzip",
".gz", TRUE
},
{
"application/zip",
"zip -r",
"unzip",
".zip", TRUE
},
{
"application/x-tar",
"tar -cvf",
"tar -xvf",
".tar", TRUE
},
{
"application/x-tazpkg",
"tazpkg pack",
"tazpkg extract",
".tazpkg", FALSE
},
{
"application/x-7z-compressed",
"7zr a -bd -y",
"7zr x -bd -y",
".7z", TRUE
},
{
"application/x-rar",
NULL,
"unrar -o- e",
".rar", TRUE
}
};

root@slitaz:/home/slitaz/wok# cat /var/lib/tazpkg/installed/pcmanfm


# SliTaz package receipt.

PACKED_SIZE="192.0k"
UNPACKED_SIZE="624.0k"
PACKAGE="pcmanfm"
VERSION="0.5.2"
CATEGORY="system-tools"
SHORT_DESC="Light and easy to use file manager."
MAINTAINER="pankso@slitaz.org"
DEPENDS="glibc-base glib libgio util-linux-ng-uuid libxcb xcb-util expat \
zlib fontconfig freetype gtk+ atk cairo pango pixman libpng gamin \
startup-notification dbus dbus-glib hal xorg-libICE xorg-libSM xorg-libX11 \
xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
BUILD_DEPENDS="gtk+-dev gamin-dev gamin shared-mime-info intltool hal-dev \
dbus-glib-dev dbus-dev startup-notification-dev libxcb-dev xcb-util-dev"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://pcmanfm.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
cd $src
for i in ../stuff/*.patch
do
if [ -f done.$(basename $i) ]; then
continue
else
patch -p0 < $i && touch done.$(basename $i) || exit 1
fi
done

cp ../stuff/fr.po $src/po

./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-hal \
$CONFIGURE_ARGS &&
make &&
make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
mkdir -p $fs/usr/share
cp -a $_pkg/usr/bin $fs/usr
cp -a $_pkg/usr/share/mime $fs/usr/share
cp -a $_pkg/usr/share/pcmanfm $fs/usr/share
rm -rf $fs/usr/share/pcmanfm/icons
}

post_install()
{
# update mime-cache
echo "Updating mime-types database"
update-mime-database $1/usr/share/mime
}

2009-12-03

Slitaz -- xf86-video-intel

http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/

xf86-video-intel-2.7.0/README
....
What is xf86-video-intel
------------------------
The xf86-video-intel module is an open-source 2D graphics driver for
the X Window System as implemented by X.org. It supports a variety of
Intel graphics chipsets including:

i810/i810e/i810-dc100,i815,
i830M,845G,852GM,855GM,865G,
915G/GM,945G/GM/GME,946GZ
G/GM/GME/Q965,
G/Q33,G/Q35,G41,G/Q43,G/GM/Q45

tazwok cook xorg-server
tazwok cook xorg-xf86-video-intel

xf86-video-intel-2.7.0 : configure
xf86-video-intel-2.7.1 : autogen.sh ---> configure
xf86-video-intel2.7.99.902 : Requested 'xorg-server >= 1.6'

autogen.sh

2009-12-03 14:12:24 - Installed - autoconf (2.63) - 9ef50f8247c03357f582d8a640592179
2009-12-03 14:15:10 - Installed - automake (1.11) - 60de160f50dffe51557a56a586c622ac
2009-12-03 14:16:17 - Installed - m4 (1.4.13) - 04508f2cfa7e9b8471ed66e7f134973d
2009-12-03 14:51:20 - Installed - xorg-x11-util-macros (1.1.6-2.fc10) - b821c4b0e161530a1b43f7f4d37d782f
2009-12-03 14:53:00 - Installed - libtool (2.2.2) - 2de86f535b6c8be3735fc0e4fe019cb7

.

2009-12-02

Slitaz -- init

Slitaz -- foxitreader & Terminal




root@slitaz:~# tazpkg info foxitreader

Tazpkg information
================================================================================
Package : foxitreader
Version : 1.0
Category : office
Short desc : FoxitReader是一款Win32下精巧的PDF阅读器,现在终于有了Linux版本了。
Maintainer : lufeng369@gmail.com
Depends : gtk+ zlib
Web site : http://www.foxitsoftware.com/
================================================================================

root@slitaz:~# fc-list
Fixed:style=SemiCondensed
micro.pcf:style=Regular
WenQuanYi Bitmap Song:style=Regular
cursor.pcf:style=Regular
DejaVu Sans:style=Bold
DejaVu Sans:style=Book
DejaVu Sans Mono:style=Book
root@slitaz:~# fc-list :lang=zh
WenQuanYi Bitmap Song:style=Regular
root@slitaz:~#

root@slitaz:~# Terminal -v
Terminal 0.2.8.3 (Xfce 4.4.3)

Copyright (c) 2003-2007
os-cillation e.K. All rights reserved.

Written by Benedikt Meurer .

Built with Gtk+-2.14.7, running with Gtk+-2.14.7.

Please report bugs to .
root@slitaz:~# tazpkg info Terminal

Tazpkg information
================================================================================
Package : Terminal
Version : 0.2.8.3
Category : x-window
Short desc : Terminal emunaltor for Xfce Desktop Environment
Maintainer : erjo@slitaz.org
Depends : libexo vte startup-notification dbus ncurses xorg-libXdamage
Build deps : libexo-dev vte-dev dbus-dev startup-notification-dev
Web site : http://www.xfce.org/
================================================================================

root@slitaz:~#

.

2009-12-01

Slitaz -- G45 / ACPI

Boot failed!

root@slitaz:/home/tmp# cat /proc/cmdline
root=/dev/sda1 acpi=off

root@slitaz:/home/tmp# cp /proc/config.gz .
root@slitaz:/home/tmp# gzip -d config.gz
root@slitaz:/home/tmp# ls -l
-r--r--r-- 1 root root 65397 Dec 2 11:46 config
root@slitaz:/home/tmp#

root@slitaz:/home/tmp# cat config | grep ACPI
CONFIG_ACPI=y
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_PROCFS_POWER=y
CONFIG_ACPI_SYSFS_POWER=y
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_DOCK=y
# CONFIG_ACPI_BAY is not set
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_WMI=m
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_CUSTOM_DSDT is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_ACPI_CONTAINER is not set
CONFIG_ACPI_SBS=m
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_POWERNOW_K7_ACPI=y
CONFIG_X86_POWERNOW_K8_ACPI=y
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
CONFIG_PNPACPI=y
CONFIG_THINKPAD_ACPI=m
# CONFIG_THINKPAD_ACPI_DEBUG is not set
CONFIG_THINKPAD_ACPI_BAY=y
CONFIG_THINKPAD_ACPI_VIDEO=y
CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
# CONFIG_BLK_DEV_IDEACPI is not set
CONFIG_ATA_ACPI=y
# CONFIG_PATA_ACPI is not set
root@slitaz:/home/tmp#

Slitaz -- Terminal

Terminal.desktop

Icon=Terminal ---> Icon=terminal

root@slitaz:~# tazpkg list-files Terminal

Installed files with : Terminal
================================================================================
/usr/bin/Terminal
/usr/bin/terminal
/usr/share/applications/Terminal.desktop
/usr/share/locale/fr/LC_MESSAGES/Terminal.mo
/usr/share/pixmaps/terminal.xpm
================================================================================
5 files installed with Terminal.

root@slitaz:~# cat /usr/share/applications/Terminal.desktop | tail
GenericName[zh_CN]=终端模拟器
GenericName[zh_TW]=終端機程式
Exec=Terminal
#Icon=Terminal
Icon=terminal
Terminal=false
Type=Application
Categories=System;TerminalEmulator;Utility;
StartupNotify=true

# vi:set encoding=UTF-8:

Slitaz -- G45 / MS-7594 / MS-7428VH



root@slitaz:~# uname -a
Linux slitaz 2.6.25.5-slitaz #1 SMP Mon Aug 31 19:01:58 CEST 2009 i686 unknown
root@slitaz:~# lshw | head -n 30
slitaz
description: Space-saving Computer
product: ValueStar
vendor: NEC
serial: 123456789
width: 32 bits
capabilities: smbios-2.4 dmi-2.4 smp-1.4 smp
configuration: boot=normal chassis=space-saving cpus=2
*-core
description: Motherboard
product: MS-7428VH
vendor: NEC
physical id: 0
version: VH
*-firmware
description: BIOS
vendor: NEC
physical id: 0
version: 0001/466A0002 (11/17/2008)
size: 64KiB
capacity: 960KiB
capabilities: isa pci pnp apm upgrade shadowing escd cdboot bootselect edd int13floppytoshiba int13floppy720 int5printscreen int9keyboard int10video acpi usb biosbootspecification netboot
*-cpu:0
description: CPU
product: Pentium(R) Dual-Core CPU E6300 @ 2.80GHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: 6.7.10
serial: 0001-067A-0000-0000-0000-0000
root@slitaz:~#

root@slitaz:~# lspci -v | head -n 40 | tail

00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
Subsystem: NEC Corporation Device 88f0
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at feaf4000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Mask- 64bit+ Count=1/1 Enable-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
root@slitaz:~#

root@slitaz:~# lspci -v | tail -n 12
02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10)
Subsystem: NEC Corporation Device 88f3
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at febf0000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [48] Power Management version 3
Capabilities: [40] Vital Product Data
Capabilities: [60] Vendor Specific Information
Capabilities: [50] MSI: Mask- 64bit+ Count=1/1 Enable-
Capabilities: [cc] Express Endpoint, MSI 00
Kernel driver in use: tg3
Kernel modules: tg3

root@slitaz:~#

.

2009-11-29

Slitaz -- G45


Intel GMA X4500HD



SMSC-SCH5617c-NS


Slitaz Boot failed ??

.......
TCP: reno registered
Unpacking initramfs ...... <3> unexpacted EOF
Kernel panic - not syncing : junk in compressed archive.

.

2009-11-28

Slitaz -- tazusb LiveUSB

tazusb LiveUSB : Boot failed

Could not find kernel image: /boot/isolinux/ifmem.32

ISO image : packages-2.0.iso
OS : Slitaz-2.0

Copy ISO file to SliTaz LiveUSB media
===============================================================================

Mounting packages-2.0.iso...
Installing a new MBR to: /dev/sda [ OK ]
Mounting USB target device...
Copying needed files from cdrom... [ OK ]
Installing bootloader: extlinux
/media/flash/boot/extlinux is device /dev/sda1
===============================================================================

Do you want to exit Tazusb or reboot system (Exit/reboot) ?

root@slitaz:~#

root@slitaz:~# cat /media/TazUSB/boot/extlinux/extlinux.conf
display extlinux.msg
label slitaz
kernel /boot/isolinux/ifmem.c32 <========
append 160768 core loram home=686436ec-4e8f-4934-bd64-8b4551cd264c

label core
kernel /boot/bzImage
append initrd=/boot/rootfs.gz rw config=LABEL=packages-2.0,install.sh root=/dev/null vga=normal autologin home=686436ec-4e8f-4934-bd64-8b4551cd264c

label loram
kernel /boot/bzImage
append initrd=/boot/loram.gz rw config=LABEL=packages-2.0,install.sh root=/dev/null vga=normal autologin home=686436ec-4e8f-4934-bd64-8b4551cd264c

include common.cfg

root@slitaz:~#

2009-11-20

Slitaz -- module-diff



root@slitaz:~# ls /sys/module > module
root@slitaz:~# cat /proc/modules > modules

root@slitaz:~# cat modules0.diff
--- module-2 Sat Nov 21 07:46:57 2009
+++ module Sat Nov 21 06:40:33 2009
@@ -1,16 +1,42 @@
+8250
+acpi
agpgart
+ahci
cfg80211
crc_itu_t
+e1000e
+ehci_hcd
+hid_apple
hwmon
i2c_core
+i8042
+ide_cd_mod
+ide_gd_mod
+ide_pci_generic
input_polldev
+it821x
k8temp
+kernel
+keyboard
led_class
+libata
+lockd
mac80211
+mousedev
+natsemi
+nfs
nvidia
+printk
+processor
+psmouse
rt2x00lib
rt2x00usb
rt73usb
+sata_nv
+sata_sil
+scsi_mod
+sg
+sis900
snd
snd_hda_codec
snd_hda_codec_realtek
@@ -19,3 +45,13 @@
snd_pcm
snd_timer
soundcore
+spurious
+sr_mod
+sunrpc
+tcp_cubic
+thermal
+uhci_hcd
+usbcore
+usbhid
+usb_storage
+vt
root@slitaz:~#

2009-11-19

Slitaz -- openoffice-3.1.1



root@slitaz:~# time ./get-OpenOffice311
Downloading OppenOffice.org tarball (it's time to have a break)...
--2009-11-20 07:42:50-- http://ftp.isu.edu.tw/pub/OpenOffice/localized/zh-tw/3.1.1/OOo_3.1.1_LinuxIntel_install_zh-TW.tar.gz
Resolving ftp.isu.edu.tw (ftp.isu.edu.tw)... 140.127.177.17
Connecting to ftp.isu.edu.tw (ftp.isu.edu.tw)|140.127.177.17|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 154272741 (147M) [application/x-gzip]
Saving to: `/tmp/src.1038/OOo_3.1.1_LinuxIntel_install_zh-TW.tar.gz'

100%[======================================>] 154,272,741 729K/s in 3m 43s

2009-11-20 07:46:33 (674 KB/s) - `/tmp/src.1038/OOo_3.1.1_LinuxIntel_install_zh-TW.tar.gz' saved [154272741/154272741]

[ OK ]
Extract files from archive... [ OK ]

Packing : OpenOffice3-3.1.1
================================================================================
Creating the list of files... [ OK ]
Creating md5sum of files... [ OK ]
Compressing the fs... [ OK ]
Undating receipt sizes... [ OK ]
Creating full cpio archive... [ OK ]
Restoring original package tree... 725042 blocks
[ OK ]
================================================================================
Package OpenOffice3-3.1.1 compressed successfully.
Size : 147.7M OpenOffice3-3.1.1.tazpkg


Installation of : OpenOffice3-3.1.1
================================================================================
Copying OpenOffice3-3.1.1... [ OK ]
Extracting OpenOffice3-3.1.1... 302087 blocks
Extracting the pseudo fs... 725042 blocks
Installing OpenOffice3... [ OK ]
Removing all tmp files... [ OK ]
================================================================================
OpenOffice3 (3.1.1) is installed.

real 7m 25.77s
user 3m 13.63s
sys 0m 22.56s
root@slitaz:~#
root@slitaz:~# tazpkg info OpenOffice3

Tazpkg information
================================================================================
Package : OpenOffice3
Version : 3.1.1
Category : office
Short desc : Productivity suite.
Maintainer :
Web site : http://www.openoffice.org
================================================================================

root@slitaz:~# ps ax | tail
1011 root -sh
1019 root abiword
1029 root leafpad
1037 root time ./get-OpenOffice311
1038 root /bin/sh ./get-OpenOffice311
1048 root wget -c http://ftp.isu.edu.tw/pub/OpenOffice/localized/zh-tw/3.1.1/OOo_3.1.1_LinuxIntel_install_zh-TW.tar.gz -O /tmp/src.1038/OOo_3.1.1_LinuxIntel_install_zh-TW.tar.gz
1050 root xterm -ls
1051 root -sh
1058 root ps ax
1059 root tail
root@slitaz:~#


get-OpenOffice3
root@slitaz:~# ps ax | tail -n 11
1717 root /bin/sh /usr/bin/get-OpenOffice3
1718 root /bin/sh /usr/bin/get-OpenOffice3
1719 root /bin/sh /usr/bin/get-OpenOffice3
1720 root wget -O - http://openofficeorg.secsup.org/stable/
1721 root grep href="[0-9]
1722 root tail -1
1723 root sed s/.*href=\"\(.*\)\".*/\1/
1731 root xterm -ls
1732 root -sh
1744 root ps ax
1745 root tail -n 11
root@slitaz:~#

2009-11-17

Slitaz -- googleearth



root@slitaz:~# tazpkg list | grep google-earth
get-google-earth 1.00 non-free
google-earth 5.1.3509.4636 non-free
root@slitaz:~# ls -l /tmp/get-google-earth-2338-19811
drwxr-xr-x 3 root root 4096 Nov 17 16:39 google-earth-5.1.3509.4636
-rwxrwxrwx 1 root root 26733068 Nov 17 16:39 google-earth-5.1.3509.4636.tazpkg
-rwxrwxrwx 1 root root 25988326 Nov 17 15:40 GoogleEarthLinux.bin
root@slitaz:~#

root@slitaz:~# /usr/local/google-earth/libQtCore.so.4
This is the QtCore library version 4.5.2
Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
Contact: Nokia Corporation (qt-info@nokia.com)

Build key: i386 linux g++-4 full-config no-stl
Installation prefix: /usr/local/Trolltech/Qt-4.5.2
Library path: /usr/local/Trolltech/Qt-4.5.2/lib
Include path: /usr/local/Trolltech/Qt-4.5.2/include

root@slitaz:~# /usr/lib/libQtCore.so.4.5.0
This is the QtCore library version 4.5.0
Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
Contact: Qt Software Information (qt-info@nokia.com)
javascript:void(0)
Build key: i386 linux g++-4 full-config
Installation prefix: /usr
Library path: /usr/lib
Include path: /usr/include
root@slitaz:~#

http://www.google.com/support/forum/p/earth/thread?tid=656ef9a98bc427dd&hl=en

2009-11-06

slitaz -- nvidia-190.42




root@slitaz:~# uname -a
Linux slitaz 2.6.30.6-slitaz #1 SMP Fri Sep 25 23:24:33 CEST 2009 i686 unknown
root@slitaz:~# date
Fri Nov 6 17:03:48 UTC 2009
root@slitaz:~# lsmod |grep nvidia
nvidia 8862484 28
agpgart 25980 1 nvidia
i2c_core 17468 1 nvidia
root@slitaz:~# modinfo nvidia
filename: /lib/modules/2.6.30.6-slitaz/kernel/drivers/video/nvidia.ko
license: NVIDIA
vermagic: 2.6.30.6-slitaz SMP mod_unload 386
root@slitaz:~# dmesg | tail
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
Linux agpgart interface v0.103
nvidia: module license 'NVIDIA' taints kernel.
Disabling lock debugging due to kernel taint
ACPI: PCI Interrupt Link [LNEC] enabled at IRQ 10
nvidia 0000:00:05.0: PCI INT A -> Link[LNEC] -> GSI 10 (level, low) -> IRQ 10
nvidia 0000:00:05.0: setting latency timer to 64
NVRM: loading NVIDIA UNIX x86 Kernel Module 190.42 Tue Oct 20 20:18:32 PDT 2009

2009-11-04

Slitaz -- New Cooking 20091104

http://www.slitaz.org/en/

# 4 November 2009 - New Cooking 20091104

SliTaz contributors are proud to announce the availability of a new Cooking ISO image based on over 2100 packages available in the SliTaz repository. The full system has been rebuilt with a new toolchain using Glibc 2.10.1 and GCC 4.4.1. This new Cooking uses the Linux kernel 2.6.30.6 with better hardware support and more built-in modules. The boot process has been further improved and the boot time is now faster than ever. Major packages found on the LiveCD such as Firefox have been updated to the current stable version. Home-made GUI boxes have been enhanced. Tazpkg packages manager supports new features including the conversion of deb/rpm/arch/slackware/ipk packages to Slitaz native format. The ISO image includes a new Openbox, GTK and icons theme for an elegant and more beautiful desktop. We have also removed ePDFview and switched to an online PDF viewer. This ISO image, however, is a bit bigger than 30 Mb (31.5) due to a bigger Kernel and many new dependencies.

We would also like to announce that SliTaz project has a new support forum and a new community platform where everyone is welcome to share and to get involved! This new Cooking ISO is as always downloadable from the website download section: Get SliTaz Cooking

2009-11-01

Slitaz -- rt73usb

Slitaz 2.0

Add
/lib/modules/2.6.25.5-slitaz/kernel/net/rfkill/rfkill.ko.gz
/lib/modules/2.6.25.5-slitaz/kernel/lib/crc-itu-t.ko.gz
root@slitaz:~# ls -l /lib/firmware
-r-xr-xr-x 1 root root 2048 Apr 2 2009 rt73.bin

root@slitaz:~# lsmod
Module Size Used by Tainted: P
arc4 2688 2
ecb 3456 2
rt73usb 19456 0
rt2x00usb 8576 1 rt73usb
rt2x00lib 20864 2 rt73usb,rt2x00usb
rfkill 5780 1 rt2x00lib
crc_itu_t 2688 1 rt73usb
nvidia 8930608 26
agpgart 25268 1 nvidia
firmware_class 7296 1 rt2x00lib
mac80211 136224 2 rt2x00usb,rt2x00lib
cfg80211 23688 2 rt2x00lib,mac80211

----------
root@slitaz:~# modprobe rt73usb
insmod: cannot insert '/lib/modules/2.6.25.5-slitaz/kernel/lib/crc-itu-t.ko.gz': Cannot allocate memory
insmod: cannot insert '/lib/modules/2.6.25.5-slitaz/kernel/net/rfkill/rfkill.ko.gz': Cannot allocate memory
insmod: cannot insert '/lib/modules/2.6.25.5-slitaz/extra/drivers/net/wireless/rt2x00/rt2x00lib.ko.gz': unknown symbol in module
insmod: cannot insert '/lib/modules/2.6.25.5-slitaz/extra/drivers/net/wireless/rt2x00/rt2x00usb.ko.gz': unknown symbol in module
insmod: cannot insert '/lib/modules/2.6.25.5-slitaz/extra/drivers/net/wireless/rt2x00/rt73usb.ko.gz': unknown symbol in module
modprobe: failed to load module rt73usb: No such file or directory
root@slitaz:~# dmesg
.......
rt2x00lib: Unknown symbol rfkill_unregister <=========
rt2x00lib: Unknown symbol rfkill_free
rt2x00lib: Unknown symbol rfkill_allocate
rt2x00lib: Unknown symbol rfkill_register
rt2x00usb: Unknown symbol rt2x00lib_suspend
rt2x00usb: Unknown symbol rt2x00lib_probe_dev
rt2x00usb: Unknown symbol rt2x00lib_rxdone
rt2x00usb: Unknown symbol rt2x00lib_remove_dev
rt2x00usb: Unknown symbol rt2x00lib_txdone
rt2x00usb: Unknown symbol rt2x00queue_get_queue
rt2x00usb: Unknown symbol rt2x00lib_resume
rt73usb: Unknown symbol rt2x00mac_add_interface
rt73usb: Unknown symbol crc_itu_t_table <==========
rt73usb: Unknown symbol rt2x00mac_get_stats
.....

2009-10-22

Slitaz -- ttf-droid




root@slitaz:~# fc-list :lang=zh
Droid Sans Fallback:style=Regular

root@slitaz:~# fc-list
Droid Sans:style=Regular
Droid Serif:style=Bold
Droid Sans Fallback:style=Regular
Droid Sans:style=Bold
Droid Sans Mono:style=Regular
Fixed:style=SemiCondensed
micro.pcf:style=Regular
Droid Serif:style=Italic
Droid Serif:style=Bold Italic
Ahem:style=Regular
Droid Serif:style=Regular
cursor.pcf:style=Regular
DejaVu Sans:style=Bold
DejaVu Sans:style=Book
DejaVu Sans Mono:style=Book
root@slitaz:~#

ttf-droid-20090405.tar.gz

http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts;hb=HEAD

2009-10-09

轉載

http://slitaz-cn.5d6d.com/thread-23-1-1.html
lufeng369 發表於 2009-5-29 20:38

手動漢化Firefox界面
下載並安裝此Firefox語言包
http://releases.mozilla.org/pub/ ... -i686/xpi/zh-CN.xpi

裝完後修改以下文件。
/usr/lib/firefox-3.0.10/defaults/pref/firefox-l10n.js
把相關內容修改為:
pref("general.useragent.locale", "zh-CN");

之後保存,並重啟Firefox,就變成中文菜單了。

或者你可以安裝我打包的Firefox簡體中文語言包 For Slitaz

....
天使界主 發表於 2009-5-29 22:25

我以前的locale-zh_CN包也弄過
不過我是用往firefox/chrome 添加zh_CN.jar,再改firefox-l10n.js的方法

2009-10-01

Slitaz - unfs3

root@slitaz:~# showmount -e 192.168.1.31
Export list for 192.168.1.31:
/mnt/iso
/tmp 192.168.1.0/24
root@slitaz:~# netstat -nltu
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
netstat: /proc/net/tcp6: No such file or directory
udp 0 0 0.0.0.0:2049 0.0.0.0:*
udp 0 0 0.0.0.0:800 0.0.0.0:*
udp 0 0 0.0.0.0:38067 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
netstat: /proc/net/udp6: No such file or directory
root@slitaz:~#

2009-09-29

Slitaz / W3V - SDHC

root@slitaz:~# dmesg | grep sdhci
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci: SDHCI controller found at 0000:03:01.2 [1180:0822] (rev 17)
sdhci: module is already loaded

root@slitaz:~# dmesg | grep mmc
mmc0: SDHCI at 0xfbffb800 irq 18 DMA
ricoh-mmc: Ricoh MMC Controller disabling driver
ricoh-mmc: Copyright(c) Philip Langdale
mmc0: new SDHC card at address b368
mmcblk0: mmc0:b368 SDC 7830016KiB
mmcblk0: p1
mmc_core: module is already loaded

root@slitaz:~# fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 8017 MB, 8017936384 bytes
202 heads, 59 sectors/track, 1313 cylinders
Units = cylinders of 11918 * 512 = 6102016 bytes

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 1 1314 7825920 b Win95 FAT32

root@slitaz:~# mount /dev/mmcblk0p1 /mnt/mmc
root@slitaz:~# ls -l /mnt/mmc
drwxr-xr-x 3 root root 32768 Jun 22 07:40 dcim
drwxr-xr-x 2 root root 32768 Sep 3 21:03 misc

root@slitaz:~# ls -l /dev/mmc*
brw-rw---- 1 root root 179, 0 Oct 3 10:58 /dev/mmcblk0
brw-rw---- 1 root root 179, 1 Oct 3 10:58 /dev/mmcblk0p1
brw-rw---- 1 root root 179, 8 Jan 13 2009 /dev/mmcblk1
brw-rw---- 1 root root 179, 9 Jan 13 2009 /dev/mmcblk1p1

===========

Reproduced

http://www.antifart.com/2007/12/31/panasonic-sdhc-driver.html

Panasonic SDHC Driver
December 31st, 2007

Here is the driver for the Panasonic CF-51 laptop SD Host Controller. This will allow the built-in SD card reader to work with SDHC flash cards. These are the bare drivers and require you to manually update them from the Device Manager. If you want the full installation file, then you can download it here.

I found this driver when I was working on a similar problem with my Dell Vostro 1000. It appears that both these laptops have the same Ricoh R5C8xx controller.

Use these drivers at your own risk. Here is my original post.

-------

D:\tools\w3v\sdhc\SD 的目錄

2006/12/21 下午 09:38 8,070 risdptsk.cat
2006/12/19 下午 10:27 2,773 Risdptsk.inf
2006/12/19 下午 10:26 38,912 risdptsk.sys
3 個檔案 49,755 位元組

2009-09-02

Slitaz - virtualbox

virtualbox-3.0.4

http://mirror.switch.ch/ftp/mirror/slitaz/packages/cooking/get-virtualbox-1.00.tazpkg

get-virtualbox-1.00.tazpkg 31-Aug-2009 20:02 2.5K

Package virtualbox-3.0.4-50677 compressed successfully.
Size : 48.6M virtualbox-3.0.4-50677.tazpkg

Installation of : virtualbox-3.0.4-50677
================================================================================
Copying virtualbox-3.0.4-50677... [ OK ]
Extracting virtualbox-3.0.4-50677... 99407 blocks
Extracting the pseudo fs... 200284 blocks
Installing virtualbox... [ OK ]
Removing all tmp files... [ OK ]
================================================================================
virtualbox (3.0.4-50677_2.6.25.5) is installed.

root@slitaz:~# ps ax | grep Virtual
4924 root /usr/share/VirtualBox/VirtualBox
4942 root /usr/share/VirtualBox/VBoxXPCOMIPCD
4955 root /usr/share/VirtualBox/VBoxSVC --automate
4975 root grep Virtual

root@slitaz:~# lsmod | grep vbox
vboxnetadp 68528 0
vboxnetflt 74200 0
vboxdrv 104136 1 vboxnetflt

root@slitaz:~# ls -l /dev/vboxdrv
crw------- 1 root vboxuser 10, 60 Sep 2 22:11 /dev/vboxdrv

2009-08-06

Slitaz - make xconfig




packages: libqt3-headers libqt3-compat-headers libqt3-mt libqt3-mt-dev qt3-dev-tools libaudio2

libqt3-headers_3.3.8b-5+b1_i386.deb
libqt3-compat-headers_3.3.8b-5+b1_i386.deb
libqt3-mt_3.3.8b-5+b1_i386.deb
libqt3-mt-dev_3.3.8b-5+b1_i386.deb
qt3-dev-tools_3.3.8b-5+b1_i386.deb
libaudio2_1.9.1-5_i386.deb

slitaz-2.0
root@slitaz:~# ls -l *.tazpkg
-rw-r--r-- 1 root root 80584 Aug 7 09:10 libaudio2-1.9.1-5.tazpkg
-rw-r--r-- 1 root root 83380 Aug 7 08:24 libqt3-compat-headers-3.3.8b-5+b1.tazpkg
-rw-r--r-- 1 root root 386320 Aug 7 08:24 libqt3-headers-3.3.8b-5+b1.tazpkg
-rw-r--r-- 1 root root 3255876 Aug 7 08:25 libqt3-mt-3.3.8b-5+b1.tazpkg
-rw-r--r-- 1 root root 48228 Aug 7 08:25 libqt3-mt-dev-3.3.8b-5+b1.tazpkg
-rw-r--r-- 1 root root 1348296 Aug 7 08:34 qt3-dev-tools-3.3.8b-5+b1.tazpkg
root@slitaz:~#


root@slitaz:/usr/src/linux-2.6.25.5-slitaz# make xconfig
HOSTLD scripts/kconfig/qconf
scripts/kconfig/qconf arch/x86/Kconfig

2009-08-04

Slitaz - make gconfig




slitaz-2.0
# pkg-config-0.21.tazpkg
# gtk+-dev-2.14.7.tazpkg
# glib-dev-2.18.3.tazpkg
# libglade-dev-2.6.2.tazpkg
# libxml2-dev-2.7.2.tazpkg

root@slitaz:~# pkg-config --libs gtk+-2.0
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
root@slitaz:~# pkg-config --libs glib-2.0
-lglib-2.0
root@slitaz:~# pkg-config --libs libglade-2.0
-lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0

root@slitaz:~# cd /usr/src/linux
root@slitaz:/usr/src/linux-2.6.25.5-slitaz# make gconfig
HOSTCC scripts/kconfig/gconf.o
In file included from /usr/include/gtk-2.0/gtk/gtk.h:224,
from scripts/kconfig/gconf.c:17:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isnât a prototype
scripts/kconfig/images.c:6: warning: â defined but not used
scripts/kconfig/images.c:36: warning: â defined but not used
scripts/kconfig/images.c:66: warning: â defined but not used
scripts/kconfig/images.c:175: warning: â defined but not used
scripts/kconfig/images.c:192: warning: â defined but not used
scripts/kconfig/images.c:209: warning: â defined but not used
scripts/kconfig/images.c:226: warning: â defined but not used
scripts/kconfig/images.c:243: warning: â defined but not used
scripts/kconfig/images.c:277: warning: â defined but not used
scripts/kconfig/images.c:294: warning: â defined but not used
scripts/kconfig/gconf.c:959: warning: â defined but not used
HOSTLD scripts/kconfig/gconf
scripts/kconfig/gconf arch/x86/Kconfig
....

Reprinted
http://r40eubuntu.blogspot.com/2008/08/gtk2.html

pkg-config and PKG_CONFIG_PATH
作GTK+2.0 練習時,follow instruction 安裝了 libgtk+2.0-dev

之後 run

$pkg-config --libs gtk+-2.0

卻出現 message 說找不到:

Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found

所以 找一下 gtk+-2.0.pc:

$sudo find /usr | grep gtk+-2.0.pc

找到在 /usr/lib/pkgconfig。
所以加入..

$export PKG_CONFIG_PATH=/usr/lib/pkgconfig

重新login 後再run pkg-config --libs gtk+-2.0,變成出現:

Perhaps you should add the directory containing `pthread-stubs.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pthread-stubs', required by 'XCB', not found

所以....又要再找 pthread-stubs.pc 了...結果在 /usr/share/pkgconfig,所以 改成:

export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig

重新login 後,就OK了...

$ pkg-config --libs gtk+-2.0
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0

這樣順便解決了一個問題... kernel build - make gconfig 結果一直說我沒有install gtk+-2.0,但是我明明有install。

http://wiki.linux.org.hk/w/Compile_Linux_kernel