キーがまともについていてフルWindowsなものでは最軽量クラス。
EtchのだとNICが見えないので、2.6.23 USBインストーラ+netinstで。
$ 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
# 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
タブレットモードではうまくデバイスとしてファイル化できないので、BIOSでタッチパッドモードにしたらevent1およびjs0として見えるようになった。元のevent1以降は1つズレ
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)
gitの使ってもだめだな。
pnpacpi=offを付ける必要がある。8139cpをblacklist化する必要がある