前陣子從 debian multimedia 抓下新版的 xvidcap 1.1.7-0.4 發現超級不正常的,錄影會出現綠色畫面。
結果還是得從 xvidcap 的網站直接抓 svn 來使用,方法如下。
$svn export https://xvidcap.svn.sourceforge.net/svnroot/xvidcap/trunk xvidcap
$cd xvidcap
$sudo apt-get build-dep xvidcap
$sudo apt-get install docbook2x
$./autogen.sh
$debuild
$cd ..
$sudo dpkg -i xvidcap_1.1.7_*.deb
之後就可以錄音加錄影了
補充:
/etc/apt/sources.list 的來源
deb http://www.debian-multimedia.org testing main
deb-src http://www.debian-multimedia.org testing main
2009年8月3日 星期一
2009年7月24日 星期五
2009年7月23日 星期四
筆記:洋特(詹氏)法則
2009年7月1日 星期三
新版 lxmusic 需要您的幫忙

新版 0.3 的 lxmusic 已經上傳到 debian mentors, 需要 sid 內的套件才可以使用
加入至 /etc/apt/sources.lixt
---
deb http://mirror.nttu.edu.tw/debian/ unstable main contrib non-free
---
需要自行編譯
下載網址
http://mentors.debian.net/debian/pool/main/l/lxmusic/
編譯前請確定
你現在使用的 xmms 版本為 0.6DrMattDestruction-1 ,
0.3 和舊版 0.2 並不相容
Debian 編譯流程如下
---
$dget http://mentors.debian.net/debian/pool/main/l/lxmusic/lxmusic_0.3.0-1.dsc
$sudo apt-get install libxmmsclient-dev libxmmsclient-glib-dev libxmmsclient-glib1 libxmmsclient5 xmms2-dev intltool libgtk2.0-dev pkg-config automake python debhelper autotools-dev
$dpkg-souce -x lxmusic_0.3.0-1.dsc
$cd lxmusic-0.3.0 && debuild
---
如果發現沒聲音的話,請檢查是否安裝了
xmms2-plugin-alsa (音源輸出)
xmms2-plugin-* (此為你需要的解碼, 如 flac ,mpg123 )
2009年3月2日 星期一
2009年2月20日 星期五
twemu.no-ip.org AMD64/I386 套件庫復活
最近剛整理完,如果官方套件版本追過,就不會更新,使用上請注意一下。
以下是設定的 script
現有:
* 更新過
a amd64
i i386
p 暫時不更新
2009/03/15 第三次更新
以下是設定的 script
給 Debian AMD64/I386 使用, Ubuntu 使用者建議下載原始碼回去自己編譯。(可直接安裝,但不保證穩定性)$wget http://twemu.no-ip.org/apt/public.pgp
#sudo -s
#apt-key add public.pgp
#echo 'deb http://twemu.no-ip.org/apt/ ./' >> /etc/apt/sources.list
#echo 'deb-src http://twemu.no-ip.org/apt/ ./' >> /etc/apt/sources.list
現有:
- amule - eMule 類的 P2P 軟體 (svn r9505) *
- lxmusic (LXDE 計畫內的) - 簡易型音樂播放軟體 a/i
- python-zhpy - 用中文寫 python 程式
- stellarium - 天文軟體 p
- stepmania 4 - 跳舞機遊戲 a
- compiz - 3D 動態桌面 a/i
* 更新過
a amd64
i i386
p 暫時不更新
2009/03/15 第三次更新
2009年2月4日 星期三
ASUS W7SG
Installing Debian Lenny on ASUS W7SG
Last updated: 2009/02/18
General Hardware Specifications of ASUS W7SG :
| Hardware Components | Status under Linux | Notes |
| Intel Core 2 Duo (T8300) | Works | No special procedure required during installation. |
| 13.3" WXGA Display | Works | Select Generic LCD Display in Installer |
| nVIDIA GeForce 9300M G; VRAM : 256MB | Works | Download nVIDIA Linux driver. |
| 2 GB, SDRAM, 2DIMMs | Works | No special procedure required during installation |
| 250 GB SATA HD | Works | No special procedure required during installation |
| Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller | Works | No special procedure required during installation |
| Internal 56k Modem | Wasn't tested | Wasn't tested |
| 52x DVD-RW/CD-RW (LightScribe) | Works | No special procedure required during installation |
| Intel Corporation PRO/Wireless 4965 AGN [Kedron] Network Connection | Works | Work on Kernel 2.6.24 (iwl4965) and 2.6.28 (iwlagn) |
| Trusted Platform Module | Wasn't tested | Wasn't tested |
| 4 cells Lithium-Ion Battery | Works | No special procedure required during installation |
| HDA Intel SoundCard | Works | No special procedure required if using Kernel 2.6.x |
| R5C832 IEEE 1394 Controller (FireWire) | Wasn't tested | Wasn't tested |
| 4 in 1 Memory Card reader (SD/MMC/MS/MS PRO) | Wasn't tested | Wasn't tested |
| Synaptics Touchpad | Works | Works with default |
| PCMCIA Express | Works | No special procedure required during installation |
| Included Asus Bluetooth mouse | Works | No special procedure required during installation. |
| Keyboard | Works | No special procedure required during installation. |
| 1.3 M Pixles Integrated WebCam | Works | Works with Linux uvc |
| 3 x USB 2.0 | Works | No special procedure required during installation. |
This laptop is operating under Kernel version 2.6.28-1-amd64 and 2.6.24-1-amd64
Basic Installation of Debian Lenny:
- Why to use Debian Lenny : Stable, Safe, and Simple .
- Obtaining Debian Lenny : Debian Offical Website
- Installing : Please follow the instruction.
- Post-Install modifications/tweaks :
1. Linux Kernel : 2.6.28 (fix crash when enable 802.11n support)
$sudo -s
#echo 'deb http://kernel-archive.buildserver.net/debian-kernel trunk main' >> /etc/apt/sources.list
#wget http://kernel-archive.buildserver.net/key-2009 -O-|apt-key add -
#apt-get update && apt-get install linux-image-2.6.28-1-amd64 linux-headers-2.6.28-1-all-amd64 linux-kbuild-2.6.28 linux-libc-dev
2. Webcam
$sudo -s
#m-a a-i linux-uvc
#modprobe uvcvideo
3. nVidia offical driver
#wget http://us.download.nvidia.com/XFree86/Linux-x86_64/180.29/NVIDIA-Linux-x86_64-180.29-pkg2.run -O /tmp/nvidia.run
Logout X, press to CTRL+ALT+F1tty1, and login.
$sudo /etc/init.d/gdm stop (or sudo /etc/init.d/kdm stop)
$sudo -s
#CC=gcc-4.1 sh /tmp/nvidia.run
choise 'Compile Kernel' and edit /etc/X11/xorg.conf
3.Wireless
$sudo -s
#apt-get install firmware-iwlwifi
#modprobe -r iwlagn && modprobe iwlagn 11n_disable=1
#echo 'options iwlagn 11n_disable=1' >> /etc/modprobe.d/options
Setting up additional features for Debian Lenny
- use aptitude and nvidia-setting to configure ACPI, TwinView, Notebook Support ...
Configuration Files
- /etc/X11/xorg.conf :
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder62) Wed Apr 2 08:22:13 PST 2008
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics Touchpad" "synaptics"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
Load "synaptics"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "SHMConfig" "on"
Option "HorizScrollDelta" "0"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "9"
Option "Emulate3Buttons" "no"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
More Specific Information. Specific stuff such as:
- lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 9300M G (rev a1)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
06:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
09:03.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
09:03.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
09:03.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
09:03.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
09:03.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
- lspci
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 174f:5a35 Syntek 1.3MPixel Web Cam - Asus G1s
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0b05:1712 ASUSTek Computer, Inc. BT-183 Bluetooth 2.0+EDR adapter
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Links:
訂閱:
文章 (Atom)
