Edit History:Diff
Changes of Loox since 2007/12/17 20:57:44 JST
- + added lines
- - deleted lines
Return to the edit history
* 富士通LOOX U
** ファーストインプレッション
キーがまともについていてフルWindowsなものでは最軽量クラス。
- キーボードはタイプ自体はそれほどひどくはないが、Tabと-のキーマップが良くない。もう1列増やしてこれらを入れてほしかった。
- タップペンよりも機器左右のマウスを使うほうが楽。ThinkPadっぽい。
- Genuine Intel 800MHz
- 82801G ICH7
- CF: O2Micro OZ711MP1/MS1 MemoryCardBus controller
- SD: O2Micro Integrated MMC/SD controller
- メモリ1G: Windows起動時で586Mくらい
- 指紋認証 AuthenTec Inc, AES2501A
- 1-seg Module VT901-P1
- Realtek High Definition Audio
- TOSHIBA MK4009GAL ATA
+ -- ZIF接続
+ -- 5.0±0.35H × 54.0±0.2W ×71.0±0.3D、48g
- Mobile Intel 945GM Express 1024x600
- 無線: Atheros AR5006EXS
- 有線: Realtek RTL8139/810x Family Fast Ethernet NIC
- FLC USB Pen Tablet
- Alps Pointing Device
- Fujitsu Button Device
- アレ、ワンセグ見えんな。別にどうでもいいとはいえ、ちょっと気になる
-- Corel Mobile TVの再インストールで動作するようになった。Windows Updateで壊されてた?
* Debianの設定
** インストール
EtchのだとNICが見えないので、2.6.23 USBインストーラ+netinstで。
- USBブートはBIOSで切ってあるので、有効に調整。
- ネットブートもできるみたい。
- /dev/hda - 40GB
-- 1 16.8MB: 謎領域
-- 2 1.1GB: 謎領域
-- 3 27.9GB: NTFS システム(C:)
-- 4 11.0GB: NTFS バックアップ領域(D:)
- 全部基本パーティションで困る…。Vista上でC:を削り、D:を削除。
- 論理パーティション5に/、6にswapを置いてみた。これでもGRUBでブート可能。
** ハードウェア対応作業
- CFはPCMCIAドライバで普通に動く
-- AirEdgeカード動作。
- 有線は普通に動く。着脱も可能
- 無線はmodule-assitantでmadwifiモジュールを作成
-- ハイバネートすると無線が二度と使えなくなる?
- SDも動いてるっぽい?
- USBは普通に動く
- EtchのX.orgでは800x600になる。unstableのもので1024x600に。GNOMEまたはxrandrで回転させることも可能。
- GL動作も悪くないので、compiz-fusionを使える
- uswsuspによるディスクハイバネーションは可能。ACPIサスペンドは戻ってきてしまうようだ
- ホットキーもそのままでだいたい動作
-- 音量調整・ミュートもOK
-- 画面の明るさ切り替えがおかしい。明るいのから2段階しかできない。ACPIレベルではもっと見えている。なんかGNOME上でHAL経由で更新すると、100と85の間をうろうろすることになるようだ。ちょっと待ってからまた更新すればOK。一時しのぎ技:
{{{
$ cat /etc/acpi/video_brightnessup.sh
#!/bin/bash
#. /usr/share/acpi-support/key-constants
LEVEL=$(perl -e '@v=(0,15,29,43,57,71,85,100); $c=<STDIN>; chomp($c); for ($i=0; $i < @v; $i++) { if ($c == $v[$i]) { if ($i == @v - 1) { $i = @v - 2; } print $v[++$i]; last; } }' < /sys/class/backlight/acpi_video0/actual_brightness)
if [ "x$LEVEL" != "x" ]; then
echo $LEVEL > /sys/class/backlight/acpi_video0/brightness
sleep 1
echo $LEVEL > /sys/class/backlight/acpi_video0/brightness
fi
#acpi_fakekey $KEY_BRIGHTNESSUP
$ cat /etc/acpi/video_brightnessdown.sh
#!/bin/bash
. /usr/share/acpi-support/key-constants
LEVEL=$(perl -e '@v=(0,15,29,43,57,71,85,100); $c=<STDIN>; chomp($c); for ($i=0; $i < @v; $i++) { if ($c == $v[$i]) { if ($i == 0) { $i = 1; } print $v[--$i]; last; } }' < /sys/class/backlight/acpi_video0/actual_brightness)
if [ "x$LEVEL" != "x" ]; then
echo $LEVEL > /sys/class/backlight/acpi_video0/brightness
sleep 1
echo $LEVEL > /sys/class/backlight/acpi_video0/brightness
fi
#acpi_fakekey $KEY_BRIGHTNESSDOWN
}}}
-- 右上Fnキーはまだ不明
-- 画面の3つのボタンも不明
- 指紋認証
-- aes2501-wyで画像自体は取れるが、だからどうしたと…
-- http://www.reactivated.net/fprint/ のfprintを使って、文字ベースでのPAM認証に成功はしている。ただGUIだとどうにもならんのがナニ。scannerグループにユーザを登録しておく必要がある。認識速度は実用に足る
+ -- Debianパッケージ:[http://kmuto.jp/debian/mtu/pool/main/libf/libfprint/ libfprint], [http://kmuto.jp/debian/mtu/pool/main/f/fprintdemo/ fprintdemo], [http://kmuto.jp/debian/mtu/pool/main/p/pamfprint/ pamfprint]
- -- Debianパッケージ:[http://kmuto.jp/debian/mtu/pool/main/libf/libfprint/ libfprint], [http://kmuto.jp/debian/mtu/pool/main/f/fprintdemo/ fprintdemo], [http://kmuto.jp/debian/mtu/pool/main/pamfprint/ pamfprint]
{{{
# lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Ethernet controller: Atheros Communications, Inc. Unknown device 001c (rev 01)
08:03.0 CardBus bridge: O2 Micro, Inc. OZ711MP1/MS1 MemoryCardBus Controller (rev 20)
08:03.2 Generic system peripheral [0805]: O2 Micro, Inc. Integrated MMC/SD Controller
08:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
# lsusb
Bus 005 Device 001: ID 0000:0000
Bus 002 Device 002: ID 0430:0530 Sun Microsystems, Inc.
Bus 002 Device 003: ID 1ac8:0001
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 08ff:2580 AuthenTec, Inc.
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
}}}
キーマップを変更。変換キー→BSに。BS→-に。全角半角→Tabに。
{{{
keysym Henkan_Mode = BackSpace
keysym BackSpace = minus
keysym Zenkaku_Hankaku = Tab
}}}
** Debianでの課題
*** ボタン
- /dev/input/event0: kbd AT Translated Set 2 Keyboard
- /dev/input/event1: noserial PowerButton (FF)
- /dev/input/event2: noserial Lid Switch
- /dev/input/event3: noserial PowerButton (CM)
- /dev/input/event4: noserial Video Bus
- /dev/input/event5: mouse PS/2 Generic Mouse
- /dev/input/event6: spkr PC Speaker
- /dev/ts0: i8042 AUX3 port
*** タッチパッドモード
タブレットモードではうまくデバイスとしてファイル化できないので、BIOSでタッチパッドモードにしたらevent1およびjs0として見えるようになった。元のevent1以降は1つズレ
- /dev/input/js0を使うjoytouchで動いた!
-- Debianパッケージ:[http://kmuto.jp/debian/mtu/pool/main/j/joytouch/ joytouch]
-- 「./joytouch 'cal=529.708,0.0173775,7.30058e-05,286.698,-0.00024295,0.0096783'」
- evtouchで設定してみたがなんかマッピングが変、キャリブレーションもうまくできない
- CF-30でも同じものが積まれてるっぽい?
- http://www.linuxquestions.org/questions/linux-laptop-and-handheld-25/panasonic-toughbook-cf-29-touch-screen-485053/ にスクリプトっぽいのが
- http://www.linuxquestions.org/questions/linux-laptop-and-handheld-25/panasonic-toughbook-cf-29-touch-screen-485053/page2.html
{{{
I: Bus=0003 Vendor=0430 Product=0501 Version=0100
N: Name="Fujitsu Component USB Touch Panel"
P: Phys=usb-0000:00:1d.1-1/input0
S: Sysfs=/class/input/input1
U: Uniq=
H: Handlers=js0 event1
B: EV=b
B: KEY=70000 0 0 0 0 0 0 0 0
B: ABS=3
% sudo udevinfo -q all --name=input/event1
P: /class/input/input1/event1
N: input/event1
S: input/by-id/usb-Fujitsu_Component_USB_Touch_Panel-event-joystick
S: input/by-path/pci-0000:00:1d.1-usb-0:1:1.0-event-joystick
E: ID_VENDOR=Fujitsu_Component
E: ID_MODEL=USB_Touch_Panel
E: ID_REVISION=5001
E: ID_SERIAL=Fujitsu_Component_USB_Touch_Panel
E: ID_TYPE=hid
E: ID_BUS=usb
E: ID_CLASS=joystick
E: ID_PATH=pci-0000:00:1d.1-usb-0:1:1.0
% sudo lsusb -v
Bus 002 Device 002: ID 0430:0501 Sun Microsystems, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0430 Sun Microsystems, Inc.
idProduct 0x0501
bcdDevice 50.01
iManufacturer 1 Fujitsu Component
iProduct 2 USB Touch Panel
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 20mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 58
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
}}}
*** タブレット
USBのはずだが…
hiddev96: USB HID v1.00 Device [Fujitsu Component USB Touch Panel] on usb-0000:00:1d.1-1
/dev/input/hiddev0をcatするといじってるのが見える。これをXに伝えるには?
{{{
Bus 002 Device 002: ID 0430:0530 Sun Microsystems, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0430 Sun Microsystems, Inc.
idProduct 0x0530
bcdDevice 50.01
iManufacturer 1 Fujitsu Component
iProduct 2 USB Touch Panel
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 20mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 1 Boot Interface Subclass
bInterfaceProtocol 2 Mouse
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 68
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
}}}
*** ワンセグ…はしょうがないかな
*** Bluetooth: 試してない。Wiiでもつないでみる?
+
+ *** 標準バッテリ
+ - コンソール + USBメモリのみ: 8.5W 2.5時間見積り
+ - hdparm -tT /dev/sda→Cache reads: 464.91MB、buffered disk reads: 15.21MB
+
+ *** 8139too
+ gitの使ってもだめだな。
+
+ - make -C /lib/modules/2.6.26-1-686/build M=`pwd` drivers/net/8139too.ko
+
+ pnpacpi=offを付ける必要がある。8139cpをblacklist化する必要がある
+
+