Sunday, March 8, 2009

CeBIT 2009 : 宏碁两款改版 easyStore NAS 亲眼看

CeBIT 2009 : 宏碁两款改版 easyStore NAS 亲眼看

很象我计划中的 NAS. 就差几点:

* 再多个 5 寸仓位装DVD-RW driver
* OS 改 Linux, 不过这不是大问题, 自己能搞定
* 价格?

Labels:

Wednesday, January 7, 2009

Ubuntu IEs4Linux Installation

IEs4Linux is good. I used to access OWA(outlook web access) with Firefox, but OWA provides a very poor UI for browsers other than IE. I tried to provide a faked Agent field, but the page is incompatible with Firefox.

So, I tried IEs4Linux, and got IE 6 works with Ubuntu and OWA now. But I did found some issues during the installation.

* Corrupted DCOM98.EXE. Solution:

./ies4linux --no-gui

* swflash.cab: no valid cabinets found. Solution: download http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 manually, place the file in ~/.ies4linux/downloads, and install it again.

Update: Beautifying Chinese fonts for Wine.

Labels: , ,

Saturday, January 3, 2009

Multiple Keys Wireless Mouse for X Windows

I bought a Rapoo 7100 wireless mouse weeks ago. It works with Ubuntu without changes of settings. But the multiple keys at left side act as right key and middle key. I tried ZAxisMapping of xorg.conf and xmodmap but it doesn't help. So, I found evdev.

Following are some configuration files I used:

/etc/hal/fdi/policy/10-x11-input.fdi for enabling hal for evdev:


<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<!-- FIXME: Support tablets too. -->
<match key="info.capabilities" contains="input.mouse">
<merge key="input.x11_driver" type="string">mouse</merge>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<merge key="input.x11_driver" type="string">evdev</merge>
</match>
</match>

<match key="info.capabilities" contains="input.keys">
<!-- If we're using Linux, we use evdev by default (falling back to
keyboard otherwise). -->
<merge key="input.x11_driver" type="string">keyboard</merge>
<match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
string="Linux">
<merge key="input.x11_driver" type="string">evdev</merge>
</match>
</match>
</device>
</deviceinfo>


Disable other input devices for xorg in xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder26) Thu Feb 14 18:13:41 PST 2008

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder26) Wed Sep 12 14:29:53 PDT 2007
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by failsafeDexconf, using
# values from the debconf database and some overrides to use vesa mode.
#
# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
# InputDevice "Generic Keyboard"
# InputDevice "Configured Mouse"
# InputDevice "Synaptics Touchpad"
Option "AutoAddDevices" "off"
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
Load "v4l"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

#Section "InputDevice"
# Identifier "Generic Keyboard"
# Driver "kbd"
# Option "CoreKeyboard"
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "us"
#EndSection

#Section "InputDevice"
# Identifier "Configured Mouse"
# Driver "mouse"
# Option "CorePointer"
# Option "Device" "/dev/input/mice"
# Option "Protocol" "ImPS/2"
# Option "ZAxisMapping" "4 5"

# Option "ZAxisMapping" "6 7"
# Option "Buttons" "7"
# Option "ButtonMapping" "1 2 3 6 7 8 9 10 11"

# Option "Emulate3Buttons" "true"
#EndSection

#Section "InputDevice"
# Identifier "Synaptics Touchpad"
# Driver "synaptics"
# Option "SendCoreEvents" "true"
# Option "Device" "/dev/psaux"
# Option "Protocol" "auto-dev"
# Option "HorizScrollDelta" "0"
#EndSection

Section "Monitor"
Identifier "Failsafe Monitor"
VendorName "Generic LCD Display"
ModelName "LCD Panel 1280x800"
HorizSync 31.5 - 50.0
VertRefresh 56.0 - 65.0
Gamma 1
ModeLine "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
ModeLine "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
ModeLine "1280x768@60" 80.1 1280 1344 1480 1680 768 769 772 795 -hsync +vsync
ModeLine "1280x720@60" 74.5 1280 1336 1472 1664 720 721 724 746 -hsync +vsync
ModeLine "1280x800@60" 83.5 1280 1344 1480 1680 800 801 804 828 -hsync +vsync
EndSection

Section "Monitor"

#
Identifier "monitor1"
VendorName "Plug 'n' Play"
ModelName "Plug 'n' Play"
Gamma 1
ModeLine "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Seiko"
HorizSync 30.0 - 75.0
VertRefresh 60.0
EndSection

Section "Device"
Identifier "Failsafe Device"
Driver "nvidia"
BoardName "vesa"
Option "NoLogo" "true"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Device"

#
Identifier "device1"
Driver "nvidia"
BoardName "vesa"
Option "NoLogo" "true"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro NVS 135M"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Failsafe Device"
Monitor "Failsafe Monitor"
DefaultDepth 24
SubSection "Display"
Virtual 1280 800
Depth 24
Modes "1280x800@60" "1280x720@60" "1280x768@60" "800x600@60" "800x600@56"
EndSubSection
EndSection

Section "Screen"

#
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "640x480@60"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1280x800_60 +0+0; 800x600@60 +0+0"
Option "NoLogo" "true"
Option "RenderAccel" "True"
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 24
Modes "nvidia-auto-select"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

Labels: , ,