#!/bin/bash # # t100ta_touchscreen_brightness_ctl-debian_stretch.sh # # This script is intended to be used with the ASUS T100TA. This script # uses xrandr to progressively reduce the brightness of the screen each # time it is invoked. Once a minimum value is reached the brightness is # resetted to the original value. # # Copyright 2016 Francesco De Vita # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # implied. See the License for the specific language governing # permissions and limitations under the License.
# Xrandr output for the screen. # If there is no external screen attached, the following command returns # the correct value to use: # # xrandr | grep -w connected | cut -d" " -f1 # XRANDROUT=DSI-1
#!/bin/bash # # t100ta_touchscreen_rotation_auto-debian_stretch.sh # # This script is intended to be used with the ASUS T100TA. This script # checks the accelerometers every three seconds and it accordingly # rotates the screen, adjusting the touchscreen and the touchpad inputs. # # Copyright 2016 Francesco De Vita # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # implied. See the License for the specific language governing # permissions and limitations under the License.
# Xrandr output for the screen. XRANDROUT=`xrandr | grep -w connected | head -1 | cut -d" " -f1`
# IDs of the input devices that have to be rotated. # The correct input devices are those listed by the command # "xinput --list" under the "Virtual core pointer" section as in the # following example: # # 竡。 Virtual core pointer id=2 # 竡・ 竊ウ Virtual core XTEST pointer id=4 # 竡・ 竊ウ ASUSTek COMPUTER INC. ASUS Base Station(T100) id=10 # 竡・ 竊ウ ASUSTek COMPUTER INC. ASUS Base Station(T100) id=11 <-- # 竡・ 竊ウ ATML1000:00 03EB:8C0E id=12 <-- # # Note that the "ASUS Base Station" entry appears two times but only # the last one is required. INDEVS=`xinput --list | grep ATML1000 | \ sed 's/.*id=\([0-9]*\).*/\1/'; \ xinput --list | grep SIS | \ sed 's/.*id=\([0-9]*\).*/\1/'; \ xinput --list | grep "ASUS.*Base.*pointer" | tail -1 | sed 's/.*id=\([0-9]*\).*/\1/'`
if [ "$NEW_ROT" != "$CUR_ROT" ] then xrandr --output $XRANDROUT --rotate $NEW_ROT for input in ${INDEVS[@]}; do xinput set-prop $input 'Coordinate Transformation Matrix' \ $CTM done fi
su apt install flashplugin-nonfree update-flashplugin-nonfree --install
firefoxで艦これも遊べます。
●Kernel4.8の残った課題 後はカメラとハイバネ位ですかね?すごく驚きです。
With Linux kernel 4.8:
battery status information is available shutdown correctly works reboot correctly works suspend to RAM doesn't work hibernation doesn't work screen power management doesn't work
if loadfont $prefix/font.pf2 ; then set gfxmode=800x600 insmod efi_gop insmod efi_uga insmod video_bochs insmod video_cirrus insmod gfxterm insmod png terminal_output gfxterm fi
if background_image /isolinux/splash.png; then set color_normal=light-gray/black set color_highlight=white/black else set menu_color_normal=cyan/blue set menu_color_highlight=white/blue fi
insmod play play 480 440 1 set theme=/boot/grub/theme/1 menuentry --hotkey=i 'Install' { set background_color=black linux /install.386/vmlinuz vga=788 --- quiet initrd /install.386/initrd.gz } menuentry --hotkey=6 '64 bit install' { set background_color=black linux /install.amd/vmlinuz vga=788 --- quiet initrd /install.amd/initrd.gz } menuentry --hotkey=g 'Graphical install' { set background_color=black linux /install.386/vmlinuz vga=788 --- quiet initrd /install.386/gtk/initrd.gz } menuentry '64 bit graphical install' { set background_color=black linux /install.amd/vmlinuz vga=788 --- quiet initrd /install.amd/gtk/initrd.gz } submenu 'Advanced options ...' { set menu_color_normal=cyan/blue set menu_color_highlight=white/blue set theme=/boot/grub/theme/1-1 menuentry --hotkey=e '... Expert install' { set background_color=black linux /install.386/vmlinuz priority=low vga=788 --- initrd /install.386/initrd.gz } menuentry --hotkey=r '... Rescue mode' { set background_color=black linux /install.386/vmlinuz vga=788 rescue/enable=true --- quiet initrd /install.386/initrd.gz } menuentry --hotkey=a '... Automated install' { set background_color=black linux /install.386/vmlinuz auto=true priority=critical vga=788 --- quiet initrd /install.386/initrd.gz } menuentry '... 64 bit expert install' { set background_color=black linux /install.amd/vmlinuz priority=low vga=788 --- initrd /install.amd/initrd.gz } menuentry '... 64 bit rescue mode' { set background_color=black linux /install.amd/vmlinuz vga=788 rescue/enable=true --- quiet initrd /install.amd/initrd.gz } menuentry '... 64 bit automated install' { set background_color=black linux /install.amd/vmlinuz auto=true priority=critical vga=788 --- quiet initrd /install.amd/initrd.gz } menuentry '... Graphical expert install' { set background_color=black linux /install.386/vmlinuz priority=low vga=788 --- initrd /install.386/gtk/initrd.gz } menuentry '... Graphical rescue mode' { set background_color=black linux /install.386/vmlinuz vga=788 rescue/enable=true --- quiet initrd /install.386/gtk/initrd.gz } menuentry '... Graphical automated install' { set background_color=black linux /install.386/vmlinuz auto=true priority=critical vga=788 --- quiet initrd /install.386/gtk/initrd.gz } menuentry '... 64 bit graphical expert install' { set background_color=black linux /install.amd/vmlinuz priority=low vga=788 --- initrd /install.amd/gtk/initrd.gz } menuentry '... 64 bit graphical rescue mode' { set background_color=black linux /install.amd/vmlinuz vga=788 rescue/enable=true --- quiet initrd /install.amd/gtk/initrd.gz } menuentry '... 64 bit graphical automated install' { set background_color=black linux /install.amd/vmlinuz auto=true priority=critical vga=788 --- quiet initrd /install.amd/gtk/initrd.gz } } menuentry --hotkey=s 'Install with speech synthesis' { set background_color=black linux /install.386/vmlinuz vga=788 speakup.synth=soft --- quiet initrd /install.386/gtk/initrd.gz } menuentry '64 bit speech install' { set background_color=black linux /install.amd/vmlinuz vga=788 speakup.synth=soft --- quiet initrd /install.amd/gtk/initrd.gz }