Installation MAGEIA Asus [Réglé]
ASUS T100TA
Système et matériels / Installation et configuration

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Reprise du message précédent
Je vais remasteriser le script... Peux tu me donner aussi le résultat des commandes :$ xrandr --verbose > ~/scripts/xrandrVerbose
$ xrandr > ~/scripts/xrandr
C'est juste pour faire des précisions au script.
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Guygoye :
Du coup ça balance la blinde données. J'ai essayé de faire le plus court une rotation à 90° et un retour à 0.
J'espère que ça n'en fait pas de trop.
Code BASH :
xinput list + pointers='⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Asus TouchPad id=11 [slave pointer (2)] ⎜ ↳ SIS0817:00 0457:1071 id=13 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Asus Wireless Radio Control id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Sleep Button id=8 [slave keyboard (3)] ↳ Asus Keyboard id=9 [slave keyboard (3)] ↳ Asus Keyboard id=10 [slave keyboard (3)] ↳ bytcr-rt5640 Headset id=12 [slave keyboard (3)] ↳ Asus WMI hotkeys id=14 [slave keyboard (3)] ↳ gpio-keys id=15 [slave keyboard (3)]' + xinputs=(4 12 11) + true ++ xrandr + xrandrout='Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767 DSI1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 223mm x 125mm 1366x768 60.19*+ 1280x720 59.74 1152x768 68.35 1024x768 98.16 74.81 60.00 60.00 1024x576 60.00 59.90 59.82 832x624 74.18 960x540 60.00 59.63 59.82 800x600 186.01 94.87 60.32 56.25 768x576 99.99 79.37 864x486 60.00 59.92 59.57 640x480 116.65 59.94 720x405 59.51 60.00 58.99 680x384 60.00 640x360 59.84 59.32 60.00 DP1 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis)' ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=91 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=14254 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-8322 + rotate=0 + '[' 91 -le 0 ']' + '[' 91 -ge 0 ']' + case $x in + '[' 0 = 0 ']' + case $y in ++ grep 'left (' ++ echo Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767 DSI1 connected primary 1366x768+0+0 '(normal' left inverted right x axis y 'axis)' 223mm x 125mm 1366x768 '60.19*+' 1280x720 59.74 1152x768 68.35 1024x768 98.16 74.81 60.00 60.00 1024x576 60.00 59.90 59.82 832x624 74.18 960x540 60.00 59.63 59.82 800x600 186.01 94.87 60.32 56.25 768x576 99.99 79.37 864x486 60.00 59.92 59.57 640x480 116.65 59.94 720x405 59.51 60.00 58.99 680x384 60.00 640x360 59.84 59.32 60.00 DP1 disconnected '(normal' left inverted right x axis y 'axis)' HDMI1 disconnected '(normal' left inverted right x axis y 'axis)' VIRTUAL1 disconnected '(normal' left inverted right x axis y 'axis)' + lrotate= ++ grep 'right (' ++ echo Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767 DSI1 connected primary 1366x768+0+0 '(normal' left inverted right x axis y 'axis)' 223mm x 125mm 1366x768 '60.19*+' 1280x720 59.74 1152x768 68.35 1024x768 98.16 74.81 60.00 60.00 1024x576 60.00 59.90 59.82 832x624 74.18 960x540 60.00 59.63 59.82 800x600 186.01 94.87 60.32 56.25 768x576 99.99 79.37 864x486 60.00 59.92 59.57 640x480 116.65 59.94 720x405 59.51 60.00 58.99 680x384 60.00 640x360 59.84 59.32 60.00 DP1 disconnected '(normal' left inverted right x axis y 'axis)' HDMI1 disconnected '(normal' left inverted right x axis y 'axis)' VIRTUAL1 disconnected '(normal' left inverted right x axis y 'axis)' + rrotate= ++ grep 'inverted (' ++ echo Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767 DSI1 connected primary 1366x768+0+0 '(normal' left inverted right x axis y 'axis)' 223mm x 125mm 1366x768 '60.19*+' 1280x720 59.74 1152x768 68.35 1024x768 98.16 74.81 60.00 60.00 1024x576 60.00 59.90 59.82 832x624 74.18 960x540 60.00 59.63 59.82 800x600 186.01 94.87 60.32 56.25 768x576 99.99 79.37 864x486 60.00 59.92 59.57 640x480 116.65 59.94 720x405 59.51 60.00 58.99 680x384 60.00 640x360 59.84 59.32 60.00 DP1 disconnected '(normal' left inverted right x axis y 'axis)' HDMI1 disconnected '(normal' left inverted right x axis y 'axis)' VIRTUAL1 disconnected '(normal' left inverted right x axis y 'axis)' + irotate= + '[' '' '!=' '' ']' + '[' '' '!=' '' ']' + '[' '' '!=' '' ']' + crotate=0 + '[' 0 '!=' 0 ']' + sleep 1 + true ++ xrandr + xrandrout='Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767 DSI1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 223mm x 125mm 1366x768 60.19*+ 1280x720 59.74 1152x768 68.35 1024x768 98.16 74.81 60.00 60.00 1024x576 60.00 59.90 59.82 832x624 74.18 960x540 60.00 59.63 59.82 800x600 186.01 94.87 60.32 56.25 768x576 99.99 79.37 864x486 60.00 59.92 59.57 640x480 116.65 59.94 720x405 59.51 60.00 58.99 680x384 60.00 640x360 59.84 59.32 60.00 DP1 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis)' ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=16372 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=-564 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-2206 + rotate=0 + '[' 16372 -le 0 ']' + '[' 16372 -ge 0 ']' + case $x in + rotate=1 + '[' 1 = 0 ']' ++ grep 'left (' ++ echo Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767 DSI1 connected primary 1366x768+0+0 '(normal' left inverted right x axis y 'axis)' 223mm x 125mm 1366x768 '60.19*+' 1280x720 59.74 1152x768 68.35 1024x768 98.16 74.81 60.00 60.00 1024x576 60.00 59.90 59.82 832x624 74.18 960x540 60.00 59.63 59.82 800x600 186.01 94.87 60.32 56.25 768x576 99.99 79.37 864x486 60.00 59.92 59.57 640x480 116.65 59.94 720x405 59.51 60.00 58.99 680x384 60.00 640x360 59.84 59.32 60.00 DP1 disconnected '(normal' left inverted right x axis y 'axis)' HDMI1 disconnected '(normal' left inverted right x axis y 'axis)' VIRTUAL1 disconnected '(normal' left inverted right x axis y 'axis)' + lrotate= ++ grep 'right (' ++ echo Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767 DSI1 connected primary 1366x768+0+0 '(normal' left inverted right x axis y 'axis)' 223mm x 125mm 1366x768 '60.19*+' 1280x720 59.74 1152x768 68.35 1024x768 98.16 74.81 60.00 60.00 1024x576 60.00 59.90 59.82 832x624 74.18 960x540 60.00 59.63 59.82 800x600 186.01 94.87 60.32 56.25 768x576 99.99 79.37 864x486 60.00 59.92 59.57 640x480 116.65 59.94 720x405 59.51 60.00 58.99 680x384 60.00 640x360 59.84 59.32 60.00 DP1 disconnected '(normal' left inverted right x axis y 'axis)' HDMI1 disconnected '(normal' left inverted right x axis y 'axis)' VIRTUAL1 disconnected '(normal' left inverted right x axis y 'axis)' + rrotate= ++ grep 'inverted (' ++ echo Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767 DSI1 connected primary 1366x768+0+0 '(normal' left inverted right x axis y 'axis)' 223mm x 125mm 1366x768 '60.19*+' 1280x720 59.74 1152x768 68.35 1024x768 98.16 74.81 60.00 60.00 1024x576 60.00 59.90 59.82 832x624 74.18 960x540 60.00 59.63 59.82 800x600 186.01 94.87 60.32 56.25 768x576 99.99 79.37 864x486 60.00 59.92 59.57 640x480 116.65 59.94 720x405 59.51 60.00 58.99 680x384 60.00 640x360 59.84 59.32 60.00 DP1 disconnected '(normal' left inverted right x axis y 'axis)' HDMI1 disconnected '(normal' left inverted right x axis y 'axis)' VIRTUAL1 disconnected '(normal' left inverted right x axis y 'axis)' + irotate= + '[' '' '!=' '' ']' + '[' '' '!=' '' ']' + '[' '' '!=' '' ']' + crotate=0 + '[' 0 '!=' 1 ']' + xrandr -o 1 + for input in ${xinputs[@]} + case $rotate in + xinput set-prop 4 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1 + for input in ${xinputs[@]} + case $rotate in + xinput set-prop 12 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1 X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 57 () Serial number of failed request: 20 Current serial number in output stream: 21 + for input in ${xinputs[@]} + case $rotate in + xinput set-prop 11 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1 + sleep 1 + true ++ xrandr + xrandrout='Screen 0: minimum 8 x 8, current 768 x 1366, maximum 32767 x 32767 DSI1 connected primary 768x1366+0+0 left (normal left inverted right x axis y axis) 223mm x 125mm 1366x768 60.19*+ 1280x720 59.74 1152x768 68.35 1024x768 98.16 74.81 60.00 60.00 1024x576 60.00 59.90 59.82 832x624 74.18 960x540 60.00 59.63 59.82 800x600 186.01 94.87 60.32 56.25 768x576 99.99 79.37 864x486 60.00 59.92 59.57 640x480 116.65 59.94 720x405 59.51 60.00 58.99 680x384 60.00 640x360 59.84 59.32 60.00 DP1 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis)' ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=1395 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=14343 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-7202 + rotate=0 + '[' 1395 -le 0 ']' + '[' 1395 -ge 0 ']' + case $x in + rotate=0 + '[' 0 = 0 ']' + case $y in ++ grep 'left (' ++ echo Screen 0: minimum 8 x 8, current 768 x 1366, maximum 32767 x 32767 DSI1 connected primary 768x1366+0+0 left '(normal' left inverted right x axis y 'axis)' 223mm x 125mm 1366x768 '60.19*+' 1280x720 59.74 1152x768 68.35 1024x768 98.16 74.81 60.00 60.00 1024x576 60.00 59.90 59.82 832x624 74.18 960x540 60.00 59.63 59.82 800x600 186.01 94.87 60.32 56.25 768x576 99.99 79.37 864x486 60.00 59.92 59.57 640x480 116.65 59.94 720x405 59.51 60.00 58.99 680x384 60.00 640x360 59.84 59.32 60.00 DP1 disconnected '(normal' left inverted right x axis y 'axis)' HDMI1 disconnected '(normal' left inverted right x axis y 'axis)' VIRTUAL1 disconnected '(normal' left inverted right x axis y 'axis)' + lrotate='Screen 0: minimum 8 x 8, current 768 x 1366, maximum 32767 x 32767 DSI1 connected primary 768x1366+0+0 left (normal left inverted right x axis y axis) 223mm x 125mm 1366x768 60.19*+ 1280x720 59.74 1152x768 68.35 1024x768 98.16 74.81 60.00 60.00 1024x576 60.00 59.90 59.82 832x624 74.18 960x540 60.00 59.63 59.82 800x600 186.01 94.87 60.32 56.25 768x576 99.99 79.37 864x486 60.00 59.92 59.57 640x480 116.65 59.94 720x405 59.51 60.00 58.99 680x384 60.00 640x360 59.84 59.32 60.00 DP1 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis)' ++ grep 'right (' ++ echo Screen 0: minimum 8 x 8, current 768 x 1366, maximum 32767 x 32767 DSI1 connected primary 768x1366+0+0 left '(normal' left inverted right x axis y 'axis)' 223mm x 125mm 1366x768 '60.19*+' 1280x720 59.74 1152x768 68.35 1024x768 98.16 74.81 60.00 60.00 1024x576 60.00 59.90 59.82 832x624 74.18 960x540 60.00 59.63 59.82 800x600 186.01 94.87 60.32 56.25 768x576 99.99 79.37 864x486 60.00 59.92 59.57 640x480 116.65 59.94 720x405 59.51 60.00 58.99 680x384 60.00 640x360 59.84 59.32 60.00 DP1 disconnected '(normal' left inverted right x axis y 'axis)' HDMI1 disconnected '(normal' left inverted right x axis y 'axis)' VIRTUAL1 disconnected '(normal' left inverted right x axis y 'axis)' + rrotate= ++ grep 'inverted (' ++ echo Screen 0: minimum 8 x 8, current 768 x 1366, maximum 32767 x 32767 DSI1 connected primary 768x1366+0+0 left '(normal' left inverted right x axis y 'axis)' 223mm x 125mm 1366x768 '60.19*+' 1280x720 59.74 1152x768 68.35 1024x768 98.16 74.81 60.00 60.00 1024x576 60.00 59.90 59.82 832x624 74.18 960x540 60.00 59.63 59.82 800x600 186.01 94.87 60.32 56.25 768x576 99.99 79.37 864x486 60.00 59.92 59.57 640x480 116.65 59.94 720x405 59.51 60.00 58.99 680x384 60.00 640x360 59.84 59.32 60.00 DP1 disconnected '(normal' left inverted right x axis y 'axis)' HDMI1 disconnected '(normal' left inverted right x axis)' VIRTUAL1 disconnected '(normal' left inverted right x axis y 'a + irotate= + '[' 'Screen 0: minimum 8 x 8, current 768 x 1366, maximum 32767 x 31 connected primary 768x1366+0+0 left (normal left inverted right x ais) 223mm x 125mm 1366x768 60.19*+ 1280x720 59.74 1152x768 68.35 102416 74.81 60.00 60.00 1024x576 60.00 59.90 59.82 832x624 74.18 960x5409.63 59.82 800x600 186.01 94.87 60.32 56.25 768x576 99.99 79.37 864x4 59.92 59.57 640x480 116.65 59.94 720x405 59.51 60.00 58.99 680x384 6x360 59.84 59.32 60.00 DP1 disconnected (normal left inverted right xaxis) HDMI1 disconnected (normal left inverted right x axis y axis) Vdisconnected (normal left inverted right x axis y axis)' '!=' '' ']' + crotate=1 + '[' 1 '!=' 0 ']' + xrandr -o 0 + for input in ${xinputs[@]} + case $rotate in + xinput set-prop 4 'Coordinate Transformation Matrix' 1 0 0 0 1 0 0 ^Z [4]+ Stoppé ./rotate.sh ++ history -a +++ [[ /home/guillaume/scripts =~ ^/home/guillaume(/|$) ]] +++ echo '~/scripts' ++ echo -ne '�33]0;guillaume@localhost:~/scripts�07'
Du coup ça balance la blinde données. J'ai essayé de faire le plus court une rotation à 90° et un retour à 0.
J'espère que ça n'en fait pas de trop.
C'est parfait !
Merci je regarde ça.
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

Guygoye Membre non connecté
-
- Voir le profil du membre Guygoye
- Inscrit le : 25/10/2018
- Groupes :
-
Modérateur
-
Forgeron
Code BASH :
xrandr > ~/scripts/xrandr + xrandr ++ history -a +++ [[ /home/guillaume/scripts =~ ^/home/guillaume(/|$) ]] +++ echo '~/scripts' ++ echo -ne '\033]0;guillaume@localhost:~/scripts\007'
Code BASH :
xrandr --verbose > ~/scripts/xrandrVerbose + xrandr --verbose ++ history -a +++ [[ /home/guillaume/scripts =~ ^/home/guillaume(/|$) ]] +++ echo '~/scripts' ++ echo -ne '\033]0;guillaume@localhost:~/scripts\007'
Tu m'expliqueras quelles précisions tu as fait sur le code je ne vois pas du tout ce ques ces 2 commandes font ^^

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Sinon, tu devrais voir dans /home/guillaume/scripts deux fichiers, c'est le contenu de ces fichiers que j'attendais

Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Citation :
+ xinput set-prop 12 'Coordinate Transformation Matrix' 0 -1 1 1 0 0 0 0 1
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 131 (XInputExtension)
Minor opcode of failed request: 57 ()
Serial number of failed request: 20
Current serial number in output stream: 21
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 131 (XInputExtension)
Minor opcode of failed request: 57 ()
Serial number of failed request: 20
Current serial number in output stream: 21
Voilà, c'est le numéro 12 qui ne fonctionne pas.
le 12 c'est :
↳ bytcr-rt5640 Headset id=12 [slave keyboard (3)]
Va savoir pourquoi... J'approfondirais ça demain.
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

Guygoye Membre non connecté
-
- Voir le profil du membre Guygoye
- Inscrit le : 25/10/2018
- Groupes :
-
Modérateur
-
Forgeron
Je te met ça demain.
La suite au prochain numéro !

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Je ne sais pas (encore) la matrice de transformation qu'il faut, je n'ai pas envie de la recalculer pour vérifier.
Cependant, je sais comment vérifier le périphérique ! Peux tu me donner ce résultat :
$ xinput list-props 12
Je modifie déjà le script pour qu'il soit plus clair.
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
https://bugzilla.kernel.org/show_bug.cgi?id=199043
Citation :
roman 2018-03-07 11:28:44 UTC
[...]
> [ 744.276011] input: SIS0817:00 0457:1071 as
> /devices/platform/80860F41:05/i2c-5/i2c-SIS0817:00/0018:0457:1071.0004/input/input8
[...]
After this error the touchscreen stays unusable.
[...]
> [ 744.276011] input: SIS0817:00 0457:1071 as
> /devices/platform/80860F41:05/i2c-5/i2c-SIS0817:00/0018:0457:1071.0004/input/input8
[...]
After this error the touchscreen stays unusable.
je conclue que "SIS0817:00 0457:1071" avec l'identifiant "13" est la surface tactile de l'écran.
Si l'écran fait une rotation, par exemple à 180°, je crois d'après le script, que tu dois appuyer en haut à droite pour cliquer sur le menu qui s'affiche en bas à gauche.
Ce périphérique n'est pas dans la liste (le numéro 13), et je ne comprends pas pourquoi le 12 (qui est un casque apparemment, ou une sortie audio, où la gauche reste à gauche) devrait être inversé.
Je crois, que c'est ce que je n'aime pas dans son script, ces "magic numbers".
Un "magic number" est une valeur qui apparait dans un code, au beau milieu, sans explication, sans nom, sans rien.
(j'ai oublié de posté le message... Le script à bien changé...)
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Code BASH :
#!/bin/bash -x # Review 2019-04-19 by Jean-Baptiste Biernacki ## Review 2016-01-03 by John Wells ## https://github.com/jfwells/linux-asus-t100ta/blob/master/support-scripts/rotate.sh ### Based 2010-10-26 on an original by Maxwell Pray (synthead), from ### https://bbs.archlinux.org/viewtopic.php?id=107167 #For information : #xinput list #⎡ Virtual core pointer id=2 [master pointer (3)] #⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] #⎜ ↳ Asus TouchPad id=11 [slave pointer (2)] #⎜ ↳ SIS0817:00 0457:1071 id=13 [slave pointer (2)] #⎣ Virtual core keyboard id=3 [master keyboard (2)] # ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] # ↳ Asus Wireless Radio Control id=6 [slave keyboard (3)] # ↳ Video Bus id=7 [slave keyboard (3)] # ↳ Sleep Button id=8 [slave keyboard (3)] # ↳ Asus Keyboard id=9 [slave keyboard (3)] # ↳ Asus Keyboard id=10 [slave keyboard (3)] # ↳ bytcr-rt5640 Headset id=12 [slave keyboard (3)] # ↳ Asus WMI hotkeys id=14 [slave keyboard (3)] # ↳ gpio-keys id=15 [slave keyboard (3)] #Check dependencies : xinput if [ ${?} -ne 0 ]; then echo "Install xinput first." exit fi xrandr if [ ${?} -ne 0 ]; then echo "Install xrandr first." exit fi grep -a $0 /proc/sched_debug 2>/dev/null if [ ${?} -eq 0 ]; then echo "The script is already running!" exit fi #Normal transformation matrix # 1 0 0 # 0 1 0 # 0 0 1 T_Matrix_normal=" 1 0 0 0 1 0 0 0 1" #Left transformation matrix # 0 -1 1 # 1 0 0 # 0 0 1 T_Matrix_left=" 0 -1 1 1 0 0 0 0 1" #Inverted transformation matrix #-1 0 1 # 0 -1 1 # 0 0 1 T_Matrix_inverte="-1 0 1 0 -1 1 0 0 1" #Right transformation matrix # 0 1 0 #-1 0 1 # 0 0 1 T_Matrix_right=" 0 1 0 -1 0 1 0 0 1" #variables sNormal="normal" sLeft="left" sRight="right" sInverted="interved" vNormal=0 vLeft=1 vRight=3 vInverted=2 #Change s[[:alpha:]] to v[[:alpha:]] for switching from string to value : normal=${sNormal} left=${sLeft} right=${sRight} inverted=${sInverted} #List of input devices to rotate : #For the full available list, type : $ xinput list device1="Virtual core XTEST pointer" device2="Asus TouchPad" device3="SIS0817:00 0457:1071" #device4="bytcr-rt5640 Headset" #device5="" #The screen to rotate : #To know which screen is to rotate, type : $ xrandr | grep " connected" | sed "s/^\([[:alnum:]]*\)[[:space:]].*/\1/" screen="DSI1" #Time between two loops period=1 pointers="$(xinput list)" xinputs="" xinputs="${xinputs} $(echo ${pointers} | grep ${device1} | sed 's/.*id=\([[:digit:]]*\).*/\1/g')" xinputs="${xinputs} $(echo ${pointers} | grep ${device2} | sed 's/.*id=\([[:digit:]]*\).*/\1/g')" xinputs="${xinputs} $(echo ${pointers} | grep ${device3} | sed 's/.*id=\([[:digit:]]*\).*/\1/g')" #xinputs="${xinputs} $(echo ${pointers} | grep ${device4} | sed 's/.*id=\([[:digit:]]*\).*/\1/g')" #Set default setting for locked orientation: #Not implemented. #lockFile="/tmp/lockedOrientation" #echo "0" > ${lockFile} while true; do #Check if rotation is locked. #Not implemented. locked=0 #locked=$(cat ${lockFile}) if [ ${locked} -eq 0 ]; then #Get current orientation set currentOrientation=$(xrandr --verbose | grep ${screen} | sed -e "s/.*) \([[:alpha:]]*\) (.*/\1/") case ${currentOrientation} in ${sNormal} ) ${currentOrientation}=${normal} ;; ${sLeft} ) ${currentOrientation}=${left} ;; ${sInverted} ) ${currentOrientation}=${inverted};; ${sRight} ) ${currentOrientation}=${right} ;; * ) echo "bug.";; esac #Get data from accelerometer x=$(cat /sys/bus/iio/devices/iio\:device0/in_accel_x_raw) y=$(cat /sys/bus/iio/devices/iio\:device0/in_accel_y_raw) z=$(cat /sys/bus/iio/devices/iio\:device0/in_accel_z_raw) nextRotation=${normal} if [ $x -le 0 ]; then case $x in -???? ) nextRotation=${normal};; -????? ) nextRotation=${right};; esac fi if [ $x -ge 0 ]; then case $x in ???? ) nextRotation=${normal};; ????? ) nextRotation=${left};; esac fi if [ ${nextRotation} = ${normal} ]; then case $y in -????? ) nextRotation=${inverted};; esac fi #re-orientation if [ ${nextRotation} != ${currentOrientation} ]; then xrandr -o ${nextRotation} for input in ${xinputs[@]}; do case ${nextRotation}} in ${normal} ) xinput set-prop $input "Coordinate Transformation Matrix" ${T_Matrix_normal} ;; ${left} ) xinput set-prop $input "Coordinate Transformation Matrix" ${T_Matrix_left} ;; ${inverted} ) xinput set-prop $input "Coordinate Transformation Matrix" ${T_Matrix_inverte};; ${right} ) xinput set-prop $input "Coordinate Transformation Matrix" ${T_Matrix_right} ;; * ) echo "Bug." ;; esac done fi fi sleep ${period} done
Voilou.
Démarres le, dit moi ce qu'il se passe, et donne moi le résultat sur le terminal.
Édité par Jybz Le 18/04/2019 à 19h03
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
(autre mémoire : https://wiki.debian.org/InstallingDebianOn/Asus/T100TA?action=AttachFile&do=view&target=t100ta_screen_rotation_manual d'ailleurs, ça me fait plaisir de voir que des "pros" ont déjà un script qui est fort ressemblant au mien ! Je progresse pas mal, je découvre des méthodes, des applications, comme hash ^^)
(autre mémoire encore : https://github.com/jfwells/linux-asus-t100ta )
(autre mémoire... : https://www.bleepingcomputer.com/forums/t/619370/computer-cant-find-webcam-tried-everything-help/ )
Mémoire intéressante : https://cateee.net/lkddb/web-lkddb/INTEL_ATOMISP.html
https://elixir.bootlin.com/linux/v4.17.19/source/drivers/staging/media/atomisp
D'après le fichier /Drivers/Camera/camera.inf de https://www.asus.com/us/supportonly/T100TA/HelpDesk_Download/
[camera.AddInterfaceIMX175]
AddReg=camera.AddRegIMX175
[camera.AddInterfaceOV5693]
AddReg=camera.AddRegOV5693
[camera.AddInterfaceOV2720]
AddReg=camera.AddRegOV2720
[camera.AddInterfaceOV2720Rear]
AddReg=camera.AddRegOV2720Rear
[camera.AddInterfaceOV2722]
AddReg=camera.AddRegOV2722
[camera.AddInterfaceOV2722Rear]
AddReg=camera.AddRegOV2722Rear
[camera.AddInterfaceMT9M114]
AddReg=camera.AddRegMT9M114
Et ça : https://www.intel.com/content/dam/www/public/us/en/documents/guides/atom-3800-isp-driver-user-guide.pdf
Et malheureusement ça :
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.1-rc5&id=51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654
Citation :
The atomisp driver has a long list of todo items and little has been done
to address these lately while more has been added. The driver is also not
functional. In other words, the driver would not be getting out of staging
in the foreseeable future. At the same time it consumes developer
resources in order to maintain the flaky code base. Remove it.
to address these lately while more has been added. The driver is also not
functional. In other words, the driver would not be getting out of staging
in the foreseeable future. At the same time it consumes developer
resources in order to maintain the flaky code base. Remove it.
D'après ce que j'ai compris, le projet Linux a décider d'abandonner le pilote.
Édité par Jybz Le 18/04/2019 à 11h10
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

Guygoye Membre non connecté
-
- Voir le profil du membre Guygoye
- Inscrit le : 25/10/2018
- Groupes :
-
Modérateur
-
Forgeron
Je suis au b***ot... Du coup je viens de lire tes messages un peu en diagonale. A propos de la webcam c'est un peu ce dont je me doutais même si certains m'ont dit sur le forum FEDORA qu'elle devait être prise en charge avec les derniers Kernel... Mais personne n'a su m'aider à diagnostiquer le pourquoi du comment. J'ai cherché par moi même mais je n'ai pas réussi à trouver autant de sources que toi...
En même temps à part google je ne savais pas trop ou chercher.
De toute façon ce n'est pas trop grave j'en avais fait mon deuil et je ne m'en servais pas !
Je n'avais trouvé que ce liens: https://github.com/jfwells/linux-asus-t100ta => le même que toi et de ce que j'en ai compris c'est un kernel recompilé avec le driver fait maison. Cela reviendrais à downgrader l'actuel pour celui-là et on ne sait pas les conséquences que cela peut avoir.
J'ai bon sur l'interprétation?
Bon on va se concentrer sur ce qui peut potentiellement marcher!
Ton scripts est bien plus clair et moins brouillon que l'original (enfin de ce que j'en comprends

Je ne comprends pas trop auxquels de mes matériels font références ses 2 liens?
(autre mémoire encore : https://github.com/jfwells/linux-asus-t100ta )
(autre mémoire... : https://www.bleepingcomputer.com/forums/t/619370/computer-cant-find-webcam-tried-everything-help/ )
Y en a un peu partout j'ai du mal à comprendre
@tout'

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Guygoye :
Je ne comprends pas trop auxquels de mes matériels font références ses 2 liens?
(autre mémoire encore : https://github.com/jfwells/linux-asus-t100ta )
(autre mémoire... : https://www.bleepingcomputer.com/forums/t/619370/computer-cant-find-webcam-tried-everything-help/ )
Y en a un peu partout j'ai du mal à comprendre
Je ne comprends pas trop auxquels de mes matériels font références ses 2 liens?
(autre mémoire encore : https://github.com/jfwells/linux-asus-t100ta )
(autre mémoire... : https://www.bleepingcomputer.com/forums/t/619370/computer-cant-find-webcam-tried-everything-help/ )
Y en a un peu partout j'ai du mal à comprendre
Oui, ce sont des références, des sites que j'ai trouvé, que je trouve intéressant.
Pour le premier lien, c'est le git du site du gars qui touche un peu son PC.
Le second, c'est certes pour windows, mais ça m'a permis d'avoir PID et VID (produit ID et vendor ID) de la caméra, et de fil en aiguille, trouvé le nom du pilote, etc etc etc. Au début, le poste, je ne l'ai fait qu'avec un lien, puis j'ai édité pour en rajouter un second, etc etc etc
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

Guygoye Membre non connecté
-
- Voir le profil du membre Guygoye
- Inscrit le : 25/10/2018
- Groupes :
-
Modérateur
-
Forgeron
Il y a un truc par contre qui ne marche pas et ce dans les 2 codes c'est le sens du pad qui ne suit pas le sens de l'écran. Que ce soit au niveau du pad qu'en déplaçant la souris au doigt directement à l'écran.
Code BASH :
+ xinput ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Asus TouchPad id=11 [slave pointer (2)] ⎜ ↳ SIS0817:00 0457:1071 id=13 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Asus Wireless Radio Control id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Sleep Button id=8 [slave keyboard (3)] ↳ Asus Keyboard id=9 [slave keyboard (3)] ↳ Asus Keyboard id=10 [slave keyboard (3)] ↳ bytcr-rt5640 Headset id=12 [slave keyboard (3)] ↳ Asus WMI hotkeys id=14 [slave keyboard (3)] ↳ gpio-keys id=15 [slave keyboard (3)] + '[' 0 -ne 0 ']' + xrandr Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767 DSI1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 223mm x 125mm 1366x768 60.19*+ 1280x720 59.74 1152x768 68.35 1024x768 98.16 74.81 60.00 60.00 1024x576 60.00 59.90 59.82 832x624 74.18 960x540 60.00 59.63 59.82 800x600 186.01 94.87 60.32 56.25 768x576 99.99 79.37 864x486 60.00 59.92 59.57 640x480 116.65 59.94 720x405 59.51 60.00 58.99 680x384 60.00 640x360 59.84 59.32 60.00 DP1 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) + '[' 0 -ne 0 ']' + grep -a ./rotate-2.sh /proc/sched_debug + '[' 1 -eq 0 ']' + T_Matrix_normal=' 1 0 0 0 1 0 0 0 1' + T_Matrix_left=' 0 -1 1 1 0 0 0 0 1' + T_Matrix_inverte='-1 0 1 0 -1 1 0 0 1' + T_Matrix_right=' 0 1 0 -1 0 1 0 0 1' + sNormal=normal + sLeft=left + sRight=right + sInverted=interved + vNormal=0 + vLeft=1 + vRight=3 + vInverted=2 + normal=normal + left=left + right=right + inverted=interved + device1='Virtual core XTEST pointer' + device2='Asus TouchPad' + device3='SIS0817:00 0457:1071' + screen=DSI1 + period=1 ++ xinput list + pointers='⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Asus TouchPad id=11 [slave pointer (2)] ⎜ ↳ SIS0817:00 0457:1071 id=13 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Asus Wireless Radio Control id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Sleep Button id=8 [slave keyboard (3)] ↳ Asus Keyboard id=9 [slave keyboard (3)] ↳ Asus Keyboard id=10 [slave keyboard (3)] ↳ bytcr-rt5640 Headset id=12 [slave keyboard (3)] ↳ Asus WMI hotkeys id=14 [slave keyboard (3)] ↳ gpio-keys id=15 [slave keyboard (3)]' + xinputs= ++ grep Virtual core XTEST pointer ++ sed 's/.*id=\([[:digit:]]*\).*/\1/g' ++ echo ⎡ Virtual core pointer id=2 '[master' pointer '(3)]' ⎜ ↳ Virtual core XTEST pointer id=4 '[slave' pointer '(2)]' ⎜ ↳ Asus TouchPad id=11 '[slave' pointer '(2)]' ⎜ ↳ SIS0817:00 0457:1071 id=13 '[slave' pointer '(2)]' ⎣ Virtual core keyboard id=3 '[master' keyboard '(2)]' ↳ Virtual core XTEST keyboard id=5 '[slave' keyboard '(3)]' ↳ Asus Wireless Radio Control id=6 '[slave' keyboard '(3)]' ↳ Video Bus id=7 '[slave' keyboard '(3)]' ↳ Sleep Button id=8 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=9 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=10 '[slave' keyboard '(3)]' ↳ bytcr-rt5640 Headset id=12 '[slave' keyboard '(3)]' ↳ Asus WMI hotkeys id=14 '[slave' keyboard '(3)]' ↳ gpio-keys id=15 '[slave' keyboard '(3)]' grep: core: Aucun fichier ou dossier de ce type grep: XTEST: Aucun fichier ou dossier de ce type grep: pointer: Aucun fichier ou dossier de ce type + xinputs=' ' ++ grep Asus TouchPad ++ sed 's/.*id=\([[:digit:]]*\).*/\1/g' ++ echo ⎡ Virtual core pointer id=2 '[master' pointer '(3)]' ⎜ ↳ Virtual core XTEST pointer id=4 '[slave' pointer '(2)]' ⎜ ↳ Asus TouchPad id=11 '[slave' pointer '(2)]' ⎜ ↳ SIS0817:00 0457:1071 id=13 '[slave' pointer '(2)]' ⎣ Virtual core keyboard id=3 '[master' keyboard '(2)]' ↳ Virtual core XTEST keyboard id=5 '[slave' keyboard '(3)]' ↳ Asus Wireless Radio Control id=6 '[slave' keyboard '(3)]' ↳ Video Bus id=7 '[slave' keyboard '(3)]' ↳ Sleep Button id=8 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=9 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=10 '[slave' keyboard '(3)]' ↳ bytcr-rt5640 Headset id=12 '[slave' keyboard '(3)]' ↳ Asus WMI hotkeys id=14 '[slave' keyboard '(3)]' ↳ gpio-keys id=15 '[slave' keyboard '(3)]' grep: TouchPad: Aucun fichier ou dossier de ce type + xinputs=' ' ++ grep SIS0817:00 0457:1071 ++ sed 's/.*id=\([[:digit:]]*\).*/\1/g' ++ echo ⎡ Virtual core pointer id=2 '[master' pointer '(3)]' ⎜ ↳ Virtual core XTEST pointer id=4 '[slave' pointer '(2)]' ⎜ ↳ Asus TouchPad id=11 '[slave' pointer '(2)]' ⎜ ↳ SIS0817:00 0457:1071 id=13 '[slave' pointer '(2)]' ⎣ Virtual core keyboard id=3 '[master' keyboard '(2)]' ↳ Virtual core XTEST keyboard id=5 '[slave' keyboard '(3)]' ↳ Asus Wireless Radio Control id=6 '[slave' keyboard '(3)]' ↳ Video Bus id=7 '[slave' keyboard '(3)]' ↳ Sleep Button id=8 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=9 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=10 '[slave' keyboard '(3)]' ↳ bytcr-rt5640 Headset id=12 '[slave' keyboard '(3)]' ↳ Asus WMI hotkeys id=14 '[slave' keyboard '(3)]' ↳ gpio-keys id=15 '[slave' keyboard '(3)]' grep: 0457:1071: Aucun fichier ou dossier de ce type + xinputs=' ' + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ grep DSI1 ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' + currentOrientation=normal + case ${currentOrientation} in + normal=normal ./rotate-2.sh: ligne 117: normal=normal : commande introuvable ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=-284 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=14539 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-8265 + nextRotation=normal + '[' -284 -le 0 ']' + case $x in + '[' -284 -ge 0 ']' + '[' normal = normal ']' + case $y in + '[' normal '!=' normal ']' + sleep 1 + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ grep DSI1 ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' + currentOrientation=normal + case ${currentOrientation} in + normal=normal ./rotate-2.sh: ligne 117: normal=normal : commande introuvable ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=6521 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=7487 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-4367 + nextRotation=normal + '[' 6521 -le 0 ']' + '[' 6521 -ge 0 ']' + case $x in + nextRotation=normal + '[' normal = normal ']' + case $y in + '[' normal '!=' normal ']' + sleep 1 + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ grep DSI1 ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' + currentOrientation=normal + case ${currentOrientation} in + normal=normal ./rotate-2.sh: ligne 117: normal=normal : commande introuvable ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=16276 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=-1578 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-3171 + nextRotation=normal + '[' 16276 -le 0 ']' + '[' 16276 -ge 0 ']' + case $x in + nextRotation=left + '[' left = normal ']' + '[' left '!=' normal ']' + xrandr -o left + sleep 1 + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' ++ grep DSI1 + currentOrientation=left + case ${currentOrientation} in + left=left ./rotate-2.sh: ligne 118: left=left : commande introuvable ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=16143 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=-1345 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-2773 + nextRotation=normal + '[' 16143 -le 0 ']' + '[' 16143 -ge 0 ']' + case $x in + nextRotation=left + '[' left = normal ']' + '[' left '!=' left ']' + sleep 1 + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ grep DSI1 ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' + currentOrientation=left + case ${currentOrientation} in + left=left ./rotate-2.sh: ligne 118: left=left : commande introuvable ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=-228 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=16069 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-5677 + nextRotation=normal + '[' -228 -le 0 ']' + case $x in + '[' -228 -ge 0 ']' + '[' normal = normal ']' + case $y in + '[' normal '!=' left ']' + xrandr -o normal + sleep 1 + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ grep DSI1 ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' + currentOrientation=normal + case ${currentOrientation} in + normal=normal ./rotate-2.sh: ligne 117: normal=normal : commande introuvable ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw

Guygoye Membre non connecté
-
- Voir le profil du membre Guygoye
- Inscrit le : 25/10/2018
- Groupes :
-
Modérateur
-
Forgeron
Citation :
Guygoye :
Je ne comprends pas trop auxquels de mes matériels font références ses 2 liens?
(autre mémoire encore : https://github.com/jfwells/linux-asus-t100ta )
(autre mémoire... : https://www.bleepingcomputer.com/forums/t/619370/computer-cant-find-webcam-tried-everything-help/ )
Y en a un peu partout j'ai du mal à comprendre
Je ne comprends pas trop auxquels de mes matériels font références ses 2 liens?
(autre mémoire encore : https://github.com/jfwells/linux-asus-t100ta )
(autre mémoire... : https://www.bleepingcomputer.com/forums/t/619370/computer-cant-find-webcam-tried-everything-help/ )
Y en a un peu partout j'ai du mal à comprendre
Je voulais parler de ces 2 liens: Mémoire intéressante : https://cateee.net/lkddb/web-lkddb/INTEL_ATOMISP.html
https://elixir.bootlin.com/linux/v4.17.19/source/drivers/staging/media/atomisp

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Guygoye :
Jybz: ton code a l'air de très bien marcher!
Non, justement ! xD
Citation :
++ grep Virtual core XTEST pointer
++ sed 's/.*id=([[:digit
]*).*/1/g'
++ echo ⎡ Virtual core pointer id=2 '[master' pointer '(3)]' ⎜ ↳ Virtual core XTEST pointer id=4 '[slave' pointer '(2)]' ⎜ ↳ Asus TouchPad id=11 '[slave' pointer '(2)]' ⎜ ↳ SIS0817:00 0457:1071 id=13 '[slave' pointer '(2)]' ⎣ Virtual core keyboard id=3 '[master' keyboard '(2)]' ↳ Virtual core XTEST keyboard id=5 '[slave' keyboard '(3)]' ↳ Asus Wireless Radio Control id=6 '[slave' keyboard '(3)]' ↳ Video Bus id=7 '[slave' keyboard '(3)]' ↳ Sleep Button id=8 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=9 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=10 '[slave' keyboard '(3)]' ↳ bytcr-rt5640 Headset id=12 '[slave' keyboard '(3)]' ↳ Asus WMI hotkeys id=14 '[slave' keyboard '(3)]' ↳ gpio-keys id=15 '[slave' keyboard '(3)]'
grep: core: Aucun fichier ou dossier de ce type
grep: XTEST: Aucun fichier ou dossier de ce type
grep: pointer: Aucun fichier ou dossier de ce type
+ xinputs=' '
++ grep Asus TouchPad
++ sed 's/.*id=([[:digit
]*).*/1/g'
++ echo ⎡ Virtual core pointer id=2 '[master' pointer '(3)]' ⎜ ↳ Virtual core XTEST pointer id=4 '[slave' pointer '(2)]' ⎜ ↳ Asus TouchPad id=11 '[slave' pointer '(2)]' ⎜ ↳ SIS0817:00 0457:1071 id=13 '[slave' pointer '(2)]' ⎣ Virtual core keyboard id=3 '[master' keyboard '(2)]' ↳ Virtual core XTEST keyboard id=5 '[slave' keyboard '(3)]' ↳ Asus Wireless Radio Control id=6 '[slave' keyboard '(3)]' ↳ Video Bus id=7 '[slave' keyboard '(3)]' ↳ Sleep Button id=8 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=9 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=10 '[slave' keyboard '(3)]' ↳ bytcr-rt5640 Headset id=12 '[slave' keyboard '(3)]' ↳ Asus WMI hotkeys id=14 '[slave' keyboard '(3)]' ↳ gpio-keys id=15 '[slave' keyboard '(3)]'
grep: TouchPad: Aucun fichier ou dossier de ce type
+ xinputs=' '
++ grep SIS0817:00 0457:1071
++ sed 's/.*id=([[:digit
]*).*/1/g'
++ echo ⎡ Virtual core pointer id=2 '[master' pointer '(3)]' ⎜ ↳ Virtual core XTEST pointer id=4 '[slave' pointer '(2)]' ⎜ ↳ Asus TouchPad id=11 '[slave' pointer '(2)]' ⎜ ↳ SIS0817:00 0457:1071 id=13 '[slave' pointer '(2)]' ⎣ Virtual core keyboard id=3 '[master' keyboard '(2)]' ↳ Virtual core XTEST keyboard id=5 '[slave' keyboard '(3)]' ↳ Asus Wireless Radio Control id=6 '[slave' keyboard '(3)]' ↳ Video Bus id=7 '[slave' keyboard '(3)]' ↳ Sleep Button id=8 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=9 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=10 '[slave' keyboard '(3)]' ↳ bytcr-rt5640 Headset id=12 '[slave' keyboard '(3)]' ↳ Asus WMI hotkeys id=14 '[slave' keyboard '(3)]' ↳ gpio-keys id=15 '[slave' keyboard '(3)]'
grep: 0457:1071: Aucun fichier ou dossier de ce type
+ xinputs=' '
+ true
+ locked=0
+ '[' 0 -eq 0 ']'
++ xrandr --verbose
++ grep DSI1
++ sed -e 's/.*) ([[:alpha
]*) (.*/1/'
+ currentOrientation=normal
+ case ${currentOrientation} in
+ normal=normal
./rotate-2.sh: ligne 117: normal=normal : commande introuvable
++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw
+ x=-284
++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw
+ y=14539
++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw
+ z=-8265
+ nextRotation=normal
+ '[' -284 -le 0 ']'
+ case $x in
+ '[' -284 -ge 0 ']'
+ '[' normal = normal ']'
+ case $y in
+ '[' normal '!=' normal ']'
+ sleep 1
+ true
+ locked=0
+ '[' 0 -eq 0 ']'
++ xrandr --verbose
++ grep DSI1
++ sed -e 's/.*) ([[:alpha
]*) (.*/1/'
+ currentOrientation=normal
+ case ${currentOrientation} in
+ normal=normal
./rotate-2.sh: ligne 117: normal=normal : commande introuvable
++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw
+ x=6521
++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw
+ y=7487
++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw
+ z=-4367
+ nextRotation=normal
+ '[' 6521 -le 0 ']'
+ '[' 6521 -ge 0 ']'
+ case $x in
+ nextRotation=normal
+ '[' normal = normal ']'
+ case $y in
+ '[' normal '!=' normal ']'
+ sleep 1
+ true
+ locked=0
+ '[' 0 -eq 0 ']'
++ xrandr --verbose
++ grep DSI1
++ sed -e 's/.*) ([[:alpha
]*) (.*/1/'
+ currentOrientation=normal
+ case ${currentOrientation} in
+ normal=normal
./rotate-2.sh: ligne 117: normal=normal : commande introuvable
++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw
+ x=16276
++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw
+ y=-1578
++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw
+ z=-3171
+ nextRotation=normal
+ '[' 16276 -le 0 ']'
+ '[' 16276 -ge 0 ']'
+ case $x in
+ nextRotation=left
+ '[' left = normal ']'
+ '[' left '!=' normal ']'
+ xrandr -o left
+ sleep 1
+ true
+ locked=0
+ '[' 0 -eq 0 ']'
++ xrandr --verbose
++ sed -e 's/.*) ([[:alpha
]*) (.*/1/'
++ grep DSI1
+ currentOrientation=left
+ case ${currentOrientation} in
+ left=left
./rotate-2.sh: ligne 118: left=left : commande introuvable
++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw
+ x=16143
++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw
+ y=-1345
++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw
+ z=-2773
+ nextRotation=normal
+ '[' 16143 -le 0 ']'
+ '[' 16143 -ge 0 ']'
+ case $x in
+ nextRotation=left
+ '[' left = normal ']'
+ '[' left '!=' left ']'
+ sleep 1
+ true
+ locked=0
+ '[' 0 -eq 0 ']'
++ xrandr --verbose
++ grep DSI1
++ sed -e 's/.*) ([[:alpha
]*) (.*/1/'
+ currentOrientation=left
+ case ${currentOrientation} in
+ left=left
./rotate-2.sh: ligne 118: left=left : commande introuvable
++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw
+ x=-228
++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw
+ y=16069
++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw
+ z=-5677
+ nextRotation=normal
+ '[' -228 -le 0 ']'
+ case $x in
+ '[' -228 -ge 0 ']'
+ '[' normal = normal ']'
+ case $y in
+ '[' normal '!=' left ']'
+ xrandr -o normal
+ sleep 1
+ true
+ locked=0
+ '[' 0 -eq 0 ']'
++ xrandr --verbose
++ grep DSI1
++ sed -e 's/.*) ([[:alpha
]*) (.*/1/'
+ currentOrientation=normal
+ case ${currentOrientation} in
+ normal=normal
./rotate-2.sh: ligne 117: normal=normal : commande introuvable
++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw
++ grep Virtual core XTEST pointer
++ sed 's/.*id=([[:digit
![:]](/images/smileys/8.gif)
++ echo ⎡ Virtual core pointer id=2 '[master' pointer '(3)]' ⎜ ↳ Virtual core XTEST pointer id=4 '[slave' pointer '(2)]' ⎜ ↳ Asus TouchPad id=11 '[slave' pointer '(2)]' ⎜ ↳ SIS0817:00 0457:1071 id=13 '[slave' pointer '(2)]' ⎣ Virtual core keyboard id=3 '[master' keyboard '(2)]' ↳ Virtual core XTEST keyboard id=5 '[slave' keyboard '(3)]' ↳ Asus Wireless Radio Control id=6 '[slave' keyboard '(3)]' ↳ Video Bus id=7 '[slave' keyboard '(3)]' ↳ Sleep Button id=8 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=9 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=10 '[slave' keyboard '(3)]' ↳ bytcr-rt5640 Headset id=12 '[slave' keyboard '(3)]' ↳ Asus WMI hotkeys id=14 '[slave' keyboard '(3)]' ↳ gpio-keys id=15 '[slave' keyboard '(3)]'
grep: core: Aucun fichier ou dossier de ce type
grep: XTEST: Aucun fichier ou dossier de ce type
grep: pointer: Aucun fichier ou dossier de ce type
+ xinputs=' '
++ grep Asus TouchPad
++ sed 's/.*id=([[:digit
![:]](/images/smileys/8.gif)
++ echo ⎡ Virtual core pointer id=2 '[master' pointer '(3)]' ⎜ ↳ Virtual core XTEST pointer id=4 '[slave' pointer '(2)]' ⎜ ↳ Asus TouchPad id=11 '[slave' pointer '(2)]' ⎜ ↳ SIS0817:00 0457:1071 id=13 '[slave' pointer '(2)]' ⎣ Virtual core keyboard id=3 '[master' keyboard '(2)]' ↳ Virtual core XTEST keyboard id=5 '[slave' keyboard '(3)]' ↳ Asus Wireless Radio Control id=6 '[slave' keyboard '(3)]' ↳ Video Bus id=7 '[slave' keyboard '(3)]' ↳ Sleep Button id=8 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=9 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=10 '[slave' keyboard '(3)]' ↳ bytcr-rt5640 Headset id=12 '[slave' keyboard '(3)]' ↳ Asus WMI hotkeys id=14 '[slave' keyboard '(3)]' ↳ gpio-keys id=15 '[slave' keyboard '(3)]'
grep: TouchPad: Aucun fichier ou dossier de ce type
+ xinputs=' '
++ grep SIS0817:00 0457:1071
++ sed 's/.*id=([[:digit
![:]](/images/smileys/8.gif)
++ echo ⎡ Virtual core pointer id=2 '[master' pointer '(3)]' ⎜ ↳ Virtual core XTEST pointer id=4 '[slave' pointer '(2)]' ⎜ ↳ Asus TouchPad id=11 '[slave' pointer '(2)]' ⎜ ↳ SIS0817:00 0457:1071 id=13 '[slave' pointer '(2)]' ⎣ Virtual core keyboard id=3 '[master' keyboard '(2)]' ↳ Virtual core XTEST keyboard id=5 '[slave' keyboard '(3)]' ↳ Asus Wireless Radio Control id=6 '[slave' keyboard '(3)]' ↳ Video Bus id=7 '[slave' keyboard '(3)]' ↳ Sleep Button id=8 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=9 '[slave' keyboard '(3)]' ↳ Asus Keyboard id=10 '[slave' keyboard '(3)]' ↳ bytcr-rt5640 Headset id=12 '[slave' keyboard '(3)]' ↳ Asus WMI hotkeys id=14 '[slave' keyboard '(3)]' ↳ gpio-keys id=15 '[slave' keyboard '(3)]'
grep: 0457:1071: Aucun fichier ou dossier de ce type
+ xinputs=' '
+ true
+ locked=0
+ '[' 0 -eq 0 ']'
++ xrandr --verbose
++ grep DSI1
++ sed -e 's/.*) ([[:alpha
![:]](/images/smileys/8.gif)
+ currentOrientation=normal
+ case ${currentOrientation} in
+ normal=normal
./rotate-2.sh: ligne 117: normal=normal : commande introuvable
++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw
+ x=-284
++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw
+ y=14539
++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw
+ z=-8265
+ nextRotation=normal
+ '[' -284 -le 0 ']'
+ case $x in
+ '[' -284 -ge 0 ']'
+ '[' normal = normal ']'
+ case $y in
+ '[' normal '!=' normal ']'
+ sleep 1
+ true
+ locked=0
+ '[' 0 -eq 0 ']'
++ xrandr --verbose
++ grep DSI1
++ sed -e 's/.*) ([[:alpha
![:]](/images/smileys/8.gif)
+ currentOrientation=normal
+ case ${currentOrientation} in
+ normal=normal
./rotate-2.sh: ligne 117: normal=normal : commande introuvable
++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw
+ x=6521
++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw
+ y=7487
++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw
+ z=-4367
+ nextRotation=normal
+ '[' 6521 -le 0 ']'
+ '[' 6521 -ge 0 ']'
+ case $x in
+ nextRotation=normal
+ '[' normal = normal ']'
+ case $y in
+ '[' normal '!=' normal ']'
+ sleep 1
+ true
+ locked=0
+ '[' 0 -eq 0 ']'
++ xrandr --verbose
++ grep DSI1
++ sed -e 's/.*) ([[:alpha
![:]](/images/smileys/8.gif)
+ currentOrientation=normal
+ case ${currentOrientation} in
+ normal=normal
./rotate-2.sh: ligne 117: normal=normal : commande introuvable
++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw
+ x=16276
++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw
+ y=-1578
++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw
+ z=-3171
+ nextRotation=normal
+ '[' 16276 -le 0 ']'
+ '[' 16276 -ge 0 ']'
+ case $x in
+ nextRotation=left
+ '[' left = normal ']'
+ '[' left '!=' normal ']'
+ xrandr -o left
+ sleep 1
+ true
+ locked=0
+ '[' 0 -eq 0 ']'
++ xrandr --verbose
++ sed -e 's/.*) ([[:alpha
![:]](/images/smileys/8.gif)
++ grep DSI1
+ currentOrientation=left
+ case ${currentOrientation} in
+ left=left
./rotate-2.sh: ligne 118: left=left : commande introuvable
++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw
+ x=16143
++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw
+ y=-1345
++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw
+ z=-2773
+ nextRotation=normal
+ '[' 16143 -le 0 ']'
+ '[' 16143 -ge 0 ']'
+ case $x in
+ nextRotation=left
+ '[' left = normal ']'
+ '[' left '!=' left ']'
+ sleep 1
+ true
+ locked=0
+ '[' 0 -eq 0 ']'
++ xrandr --verbose
++ grep DSI1
++ sed -e 's/.*) ([[:alpha
![:]](/images/smileys/8.gif)
+ currentOrientation=left
+ case ${currentOrientation} in
+ left=left
./rotate-2.sh: ligne 118: left=left : commande introuvable
++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw
+ x=-228
++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw
+ y=16069
++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw
+ z=-5677
+ nextRotation=normal
+ '[' -228 -le 0 ']'
+ case $x in
+ '[' -228 -ge 0 ']'
+ '[' normal = normal ']'
+ case $y in
+ '[' normal '!=' left ']'
+ xrandr -o normal
+ sleep 1
+ true
+ locked=0
+ '[' 0 -eq 0 ']'
++ xrandr --verbose
++ grep DSI1
++ sed -e 's/.*) ([[:alpha
![:]](/images/smileys/8.gif)
+ currentOrientation=normal
+ case ${currentOrientation} in
+ normal=normal
./rotate-2.sh: ligne 117: normal=normal : commande introuvable
++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw
Laisse moi faire quelques changements.
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Code BASH :
#!/bin/bash -x # Review 2019-04-19 by Jean-Baptiste Biernacki ## Review 2016-01-03 by John Wells ## https://github.com/jfwells/linux-asus-t100ta/blob/master/support-scripts/rotate.sh ### Based 2010-10-26 on an original by Maxwell Pray (synthead), from ### https://bbs.archlinux.org/viewtopic.php?id=107167 #For information : #xinput list #⎡ Virtual core pointer id=2 [master pointer (3)] #⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] #⎜ ↳ Asus TouchPad id=11 [slave pointer (2)] #⎜ ↳ SIS0817:00 0457:1071 id=13 [slave pointer (2)] #⎣ Virtual core keyboard id=3 [master keyboard (2)] # ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] # ↳ Asus Wireless Radio Control id=6 [slave keyboard (3)] # ↳ Video Bus id=7 [slave keyboard (3)] # ↳ Sleep Button id=8 [slave keyboard (3)] # ↳ Asus Keyboard id=9 [slave keyboard (3)] # ↳ Asus Keyboard id=10 [slave keyboard (3)] # ↳ bytcr-rt5640 Headset id=12 [slave keyboard (3)] # ↳ Asus WMI hotkeys id=14 [slave keyboard (3)] # ↳ gpio-keys id=15 [slave keyboard (3)] #Check dependencies : xinput if [ ${?} -ne 0 ]; then echo "Install xinput first." exit fi xrandr if [ ${?} -ne 0 ]; then echo "Install xrandr first." exit fi grep -a $0 /proc/sched_debug 2>/dev/null if [ ${?} -eq 0 ]; then echo "The script is already running!" exit fi #Normal transformation matrix # 1 0 0 # 0 1 0 # 0 0 1 T_Matrix_normal=" 1 0 0 0 1 0 0 0 1" #Left transformation matrix # 0 -1 1 # 1 0 0 # 0 0 1 T_Matrix_left=" 0 -1 1 1 0 0 0 0 1" #Inverted transformation matrix #-1 0 1 # 0 -1 1 # 0 0 1 T_Matrix_inverte="-1 0 1 0 -1 1 0 0 1" #Right transformation matrix # 0 1 0 #-1 0 1 # 0 0 1 T_Matrix_right=" 0 1 0 -1 0 1 0 0 1" #variables sNormal="normal" sLeft="left" sRight="right" sInverted="interved" vNormal=0 vLeft=1 vRight=3 vInverted=2 #Change s[[:alpha:]] to v[[:alpha:]] for switching from string to value : normal=${sNormal} left=${sLeft} right=${sRight} inverted=${sInverted} #List of input devices to rotate : #For the full available list, type : $ xinput list device1="Virtual core XTEST pointer" device2="Asus TouchPad" device3="SIS0817:00 0457:1071" #device4="bytcr-rt5640 Headset" #device5="" #The screen to rotate : #To know which screen is to rotate, type : $ xrandr | grep " connected" | sed "s/^\([[:alnum:]]*\)[[:space:]].*/\1/" screen="DSI1" #Time between two loops period=1 pointers="$(xinput list)" xinputs="" xinputs="${xinputs} $(echo ${pointers} | grep '${device1}' | sed 's/.*id=\([[:digit:]]*\).*/\1/g')" xinputs="${xinputs} $(echo ${pointers} | grep '${device2}' | sed 's/.*id=\([[:digit:]]*\).*/\1/g')" xinputs="${xinputs} $(echo ${pointers} | grep '${device3}' | sed 's/.*id=\([[:digit:]]*\).*/\1/g')" #xinputs="${xinputs} $(echo ${pointers} | grep '${device4}' | sed 's/.*id=\([[:digit:]]*\).*/\1/g')" #Set default setting for locked orientation: #Not implemented. #lockFile="/tmp/lockedOrientation" #echo "0" > ${lockFile} while true; do #Check if rotation is locked. #Not implemented. locked=0 #locked=$(cat ${lockFile}) if [ ${locked} -eq 0 ]; then #Get current orientation set currentOrientation=$(xrandr --verbose | grep ${screen} | sed -e "s/.*) \([[:alpha:]]*\) (.*/\1/") case ${currentOrientation} in ${sNormal} ) currentOrientation="${normal}" ;; ${sLeft} ) currentOrientation="${left}" ;; ${sInverted} ) currentOrientation="${inverted}";; ${sRight} ) currentOrientation="${right}" ;; * ) echo "bug.";; esac #Get data from accelerometer x=$(cat /sys/bus/iio/devices/iio\:device0/in_accel_x_raw) y=$(cat /sys/bus/iio/devices/iio\:device0/in_accel_y_raw) z=$(cat /sys/bus/iio/devices/iio\:device0/in_accel_z_raw) nextRotation="${normal}" if [ $x -le 0 ]; then case $x in -???? ) nextRotation="${normal}";; -????? ) nextRotation="${right}";; esac fi if [ $x -ge 0 ]; then case $x in ???? ) nextRotation="${normal}";; ????? ) nextRotation="${left}";; esac fi if [ ${nextRotation} = ${normal} ]; then case $y in -????? ) nextRotation="${inverted}";; esac fi #re-orientation if [ ${nextRotation} != ${currentOrientation} ]; then xrandr -o ${nextRotation} for input in ${xinputs[@]}; do case ${nextRotation}} in ${normal} ) xinput set-prop $input "Coordinate Transformation Matrix" ${T_Matrix_normal} ;; ${left} ) xinput set-prop $input "Coordinate Transformation Matrix" ${T_Matrix_left} ;; ${inverted} ) xinput set-prop $input "Coordinate Transformation Matrix" ${T_Matrix_inverte};; ${right} ) xinput set-prop $input "Coordinate Transformation Matrix" ${T_Matrix_right} ;; * ) echo "Bug." ;; esac done fi fi sleep ${period} done
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie