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
Ah ! il faut activer les dépots 32bits !Code TEXT :
[jybz@localhost ~]$ urpmf normal.mod$ grub2-efi:/usr/lib/grub/x86_64-efi/normal.mod grub2:/usr/lib/grub/i386-pc/normal.mod http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/7/i586/media/core/release/media_info/20190524-131737-files.xml.lzma grub2-efi:/usr/lib/grub/i386-efi/normal.mod grub2:/usr/lib/grub/i386-pc/normal.mod
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
La nouvelle consigne sur Mageia est de désactiver les dépots 32b sur les architectures 64b. C'est ton cas !
Ça c'est fait via une mise à jour (ah tiens, tu viens de l'avoir faite hier !).
La mise à jour a désactivé les dépots 32b, il ne restait plus que les dépots 64b.
Il a donc proposer de mettre à jour grub en version 64b, sauf que celui-ci entre en conflit avec le paquet 32b, donc il l'a désinstallé.
Tu dois veiller à ce que le dépots 32b reste sans cesse activé, jusqu'à ce qu'une solution se trouve du coté des empaqueteurs.
As tu fais beaucoup de modification sur Mageia depuis l'installation ?
est-ce qu'on gagnerai pas du temps, au lieu de réparer, de réinstaller Mageia ?
Maintenant, on peut tjr réparer hein ^^
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
Bon j'ai plié' de question mais fait que je manip avant de les poser.

Guygoye Membre non connecté
-
- Voir le profil du membre Guygoye
- Inscrit le : 25/10/2018
- Groupes :
-
Modérateur
-
Forgeron
J'avais bien vu que les paquets 32 n'étaient pas activés mais je n'ai pas percuté avec le GRUB vus que je suis en 64... Mais j'ai oublié l'uefi en 32...
Je réinstalle donc!
Edit: C'est reinstallé, j'ai vérifié deux fois les sources

Je crois les doigts wait & see...
Edit2: Ca y est c'est bon, ça marche j'ai le nouvel écran d'acueil et de grub

Bon on fait une pause et on boit un coup!
On fait rapport de bug?
Édité par Guygoye Le 24/05/2019 à 20h11

teutates Membre non connecté
-
- Voir le profil du membre teutates
- Inscrit le : 24/09/2011
- Site internet
- Groupes :
A noter qu'il est aussi possible de bloquer (empêcher) la mise à jour d'un paquetage (ex: pilote NVidia). La procédure est la suivante (sous droits root) :
1) Prendre les droits root :
$ su -
2) Éditer le fichier /etc/urpmi/skip.list
# nano /etc/urpmi/skip.list
3) Ajouter le paquetage
/^dkms-nvidia-current/
ou :
/^grub/
Adapter ici le nom du paquetage à ne plus mettre à jour

4) Sauvegarder
Édité par teutates Le 24/05/2019 à 22h30
Toco y se gausos !
Asus P8Z68-V/GEN3 + Intel Core i2700k + RAM G-Skill 4x4Go PC 12800 + Gainward Geforce GTX 560 - 2 Go + Western Digital Velociraptor 300 Go (Mageia Cauldron / Fedora / Debian / Manjaro / Windows 10) + Seagate Barracuda 7200t/mn - 2 To - Sata 3 (data) + SSD Samsung 64 Go - Sata 3 (Mageia stable)
Asus P8Z68-V/GEN3 + Intel Core i2700k + RAM G-Skill 4x4Go PC 12800 + Gainward Geforce GTX 560 - 2 Go + Western Digital Velociraptor 300 Go (Mageia Cauldron / Fedora / Debian / Manjaro / Windows 10) + Seagate Barracuda 7200t/mn - 2 To - Sata 3 (data) + SSD Samsung 64 Go - Sata 3 (Mageia stable)

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Guygoye :
Bon on fait une pause et on boit un coup!
On fait rapport de bug?
On fait rapport de bug?
Malheureusement, pour avoir la réponse, ça les a réveillé !
Ce cadre cache du contenu réservé aux membres.
Regarde les réponses

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
J'ai testé à nouveau le script de rotation. J'ai bien fait attention de repartir du de la dernière version. Il ne marche plus :'( .
Je te met rapidement les messages affichés.

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
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
désolé pour l'attente j'ai eu un petit soucis et je n'ai pas pu m'y remettre avant maintenant!
Code BASH :
+ hash xinput + '[' 0 -ne 0 ']' + hash xrandr + '[' 0 -ne 0 ']' + grep -a ./rotate.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 + shopt -s extglob + 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)] ⎜ ↳ xwayland-pointer:16 id=6 [slave pointer (2)] ⎜ ↳ xwayland-relative-pointer:16 id=7 [slave pointer (2)] ⎜ ↳ xwayland-touch:16 id=9 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ xwayland-keyboard:16 id=8 [slave keyboard (3)]' + xinputs= ++ echo '⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ xwayland-pointer:16 id=6 [slave pointer (2)] ⎜ ↳ xwayland-relative-pointer:16 id=7 [slave pointer (2)] ⎜ ↳ xwayland-touch:16 id=9 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ xwayland-keyboard:16 id=8 [slave keyboard (3)]' ++ grep 'Virtual core XTEST pointer' ++ sed 's/.*id=\([[:digit:]]*\).*/\1/' ++ tr '\n' ' ' + xinputs=' 4 ' ++ echo '⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ xwayland-pointer:16 id=6 [slave pointer (2)] ⎜ ↳ xwayland-relative-pointer:16 id=7 [slave pointer (2)] ⎜ ↳ xwayland-touch:16 id=9 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ xwayland-keyboard:16 id=8 [slave keyboard (3)]' ++ grep 'Asus TouchPad' ++ tr '\n' ' ' ++ sed 's/.*id=\([[:digit:]]*\).*/\1/' + xinputs=' 4 ' ++ echo '⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ xwayland-pointer:16 id=6 [slave pointer (2)] ⎜ ↳ xwayland-relative-pointer:16 id=7 [slave pointer (2)] ⎜ ↳ xwayland-touch:16 id=9 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ xwayland-keyboard:16 id=8 [slave keyboard (3)]' ++ grep 'SIS0817:00 0457:1071' ++ sed 's/.*id=\([[:digit:]]*\).*/\1/' ++ tr '\n' ' ' + xinputs=' 4 ' + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' ++ grep DSI1 + currentOrientation= + case ${currentOrientation} in + echo bug. bug. ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=367 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=14328 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-7789 + nextRotation=normal + '[' 367 -le 0 ']' + '[' 367 -ge 0 ']' + case $x in + '[' normal = normal ']' + case $y in + '[' normal '!=' ']' ./rotate.sh: ligne 152 : [: normal : opérateur unaire attendu + sleep 1 + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ grep DSI1 ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' + currentOrientation= + case ${currentOrientation} in + echo bug. bug. ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=10741 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=9469 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-4022 + nextRotation=normal + '[' 10741 -le 0 ']' + '[' 10741 -ge 0 ']' + case $x in + nextRotation=left + '[' left = normal ']' + '[' left '!=' ']' ./rotate.sh: ligne 152 : [: left : opérateur unaire attendu + sleep 1 + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ grep DSI1 ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' + currentOrientation= + case ${currentOrientation} in + echo bug. bug. ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=12863 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=12287 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-2472 + nextRotation=normal + '[' 12863 -le 0 ']' + '[' 12863 -ge 0 ']' + case $x in + nextRotation=left + '[' left = normal ']' + '[' left '!=' ']' ./rotate.sh: ligne 152 : [: left : opérateur unaire attendu + sleep 1 + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ grep DSI1 ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' + currentOrientation= + case ${currentOrientation} in + echo bug. bug. ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=387 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=15724 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-3954 + nextRotation=normal + '[' 387 -le 0 ']' + '[' 387 -ge 0 ']' + case $x in + '[' normal = normal ']' + case $y in + '[' normal '!=' ']' ./rotate.sh: ligne 152 : [: normal : opérateur unaire attendu + sleep 1 + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ grep DSI1 ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' + currentOrientation= + case ${currentOrientation} in + echo bug. bug. ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=539 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=14131 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-7878 + nextRotation=normal + '[' 539 -le 0 ']' + '[' 539 -ge 0 ']' + case $x in + '[' normal = normal ']' + case $y in + '[' normal '!=' ']' ./rotate.sh: ligne 152 : [: normal : opérateur unaire attendu + sleep 1
J'ai l'impression que ça marche car la position est bien pris en compte. Est ce que ça vient du passage de KDE à GNOME et que l'affichage n'est pas géré pareil?
Édité par Guygoye Le 26/05/2019 à 15h59

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
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://www.mageialinux-online.org/forum/topic-26032-9+installation-mageia-asus.php#m251359
Et je regarde mes if.
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
Les outils ne sont plus les mêmes, les noms données aux périphériques non plus.
Même si c'est X, peux tu donner le résultat de
$ xrandr --verbose
?
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
Désolé je te fait refaire le boulot.
Sinon le ton rendu, tu as réussi à le finir dans les temps?
Code BASH :
xrandr --verbose Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192 XWAYLAND0 connected 1366x768+0+0 (0x22) normal (normal left inverted right x axis y axis) 223mm x 125mm Identifier: 0x21 Timestamp: 37649 Subpixel: horizontal rgb Gamma: 1.0:1.0:1.0 Brightness: 0.0 Clones: CRTC: 0 CRTCs: 0 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: non-desktop: 0 supported: 0, 1 1366x768 (0x22) 85.000MHz -HSync +VSync *current +preferred h: width 1366 start 1431 end 1567 total 1776 skew 0 clock 47.86KHz v: height 768 start 771 end 781 total 798 clock 59.98Hz

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 : hash xinput 2>/dev/null if [ ${?} -ne 0 ]; then echo "Install xinput first." exit fi hash xrandr 2>/dev/null 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_inverted="-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" #Set default matrix T_Matrix=${T_Matrix_normal} #variables sNormal="normal" sLeft="left" sRight="right" sInverted="inverted" 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} shopt -s extglob #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" screen="$(xrandr | grep -m 1 "connected" | cut -d ' ' -f 1)" #Time between two loops period=1 pointers="$(xinput list)" xinputs="" xinputs="${xinputs} $(echo "${pointers}" | grep "${device1}" | sed 's/.*id=\([[:digit:]]*\).*/\1/' | tr '\n' ' ')" xinputs="${xinputs} $(echo "${pointers}" | grep "${device2}" | sed 's/.*id=\([[:digit:]]*\).*/\1/' | tr '\n' ' ')" xinputs="${xinputs} $(echo "${pointers}" | grep "${device3}" | sed 's/.*id=\([[:digit:]]*\).*/\1/' | tr '\n' ' ')" #xinputs="${xinputs} $(echo ${pointers} | grep "${device4}" | sed 's/.*id=\([[:digit:]]*\).*/\1/g' | tr '\n' ' ')" #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 #Get the right rotation matrix case ${nextRotation} in ${normal} ) T_Matrix=${T_Matrix_normal} ;; ${left} ) T_Matrix=${T_Matrix_left} ;; ${inverted} ) T_Matrix=${T_Matrix_inverted} ;; ${right} ) T_Matrix=${T_Matrix_right} ;; * ) echo "Bug. nextRotation=${nextRotation}" ;; esac xrandr -o ${nextRotation} for input in ${xinputs[@]}; do xinput set-prop ${input} "Coordinate Transformation Matrix" ${T_Matrix} done fi fi sleep ${period} done
Regarde la ligne avec "screen", avant c'était DSI1, maintenant c'est XWAYLAND0. Donc j'ai modifié le script, maintenant, normalement, on est indépendant du nom, que ce soit sur xorg ou wayland.
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
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

L'écran ne bouge pas et je ne vois pas le wayland0 dans le corps du script.
Code BASH :
+ hash xinput + '[' 0 -ne 0 ']' + hash xrandr + '[' 0 -ne 0 ']' + grep -a ./rotate.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_inverted='-1 0 1 0 -1 1 0 0 1' + T_Matrix_right=' 0 1 0 -1 0 1 0 0 1' + T_Matrix=' 1 0 0 0 1 0 0 0 1' + sNormal=normal + sLeft=left + sRight=right + sInverted=inverted + vNormal=0 + vLeft=1 + vRight=3 + vInverted=2 + normal=normal + left=left + right=right + inverted=inverted + shopt -s extglob + device1='Virtual core XTEST pointer' + device2='Asus TouchPad' + device3='SIS0817:00 0457:1071' ++ xrandr ++ grep -m 1 connected ++ cut -d ' ' -f 1 + screen=XWAYLAND0 + period=1 ++ xinput list + pointers='⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ xwayland-touch:16 id=9 [slave pointer (2)] ⎜ ↳ xwayland-pointer:16 id=6 [slave pointer (2)] ⎜ ↳ xwayland-relative-pointer:16 id=7 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ xwayland-keyboard:16 id=8 [slave keyboard (3)]' + xinputs= ++ echo '⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ xwayland-touch:16 id=9 [slave pointer (2)] ⎜ ↳ xwayland-pointer:16 id=6 [slave pointer (2)] ⎜ ↳ xwayland-relative-pointer:16 id=7 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ xwayland-keyboard:16 id=8 [slave keyboard (3)]' ++ grep 'Virtual core XTEST pointer' ++ sed 's/.*id=\([[:digit:]]*\).*/\1/' ++ tr '\n' ' ' + xinputs=' 4 ' ++ echo '⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ xwayland-touch:16 id=9 [slave pointer (2)] ⎜ ↳ xwayland-pointer:16 id=6 [slave pointer (2)] ⎜ ↳ xwayland-relative-pointer:16 id=7 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ xwayland-keyboard:16 id=8 [slave keyboard (3)]' ++ sed 's/.*id=\([[:digit:]]*\).*/\1/' ++ tr '\n' ' ' ++ grep 'Asus TouchPad' + xinputs=' 4 ' ++ echo '⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ xwayland-touch:16 id=9 [slave pointer (2)] ⎜ ↳ xwayland-pointer:16 id=6 [slave pointer (2)] ⎜ ↳ xwayland-relative-pointer:16 id=7 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ++ grep 'SIS0817:00 0457:1071' ↳ xwayland-keyboard:16 id=8 [slave keyboard (3)]' ++ sed 's/.*id=\([[:digit:]]*\).*/\1/' ++ tr '\n' ' ' + xinputs=' 4 ' + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' ++ grep XWAYLAND0 + currentOrientation='XWAYLAND0 connected (normal left inverted right x axis y axis)' + case ${currentOrientation} in + echo bug. bug. ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=635 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=13555 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-8643 + nextRotation=normal + '[' 635 -le 0 ']' + '[' 635 -ge 0 ']' + case $x in + '[' normal = normal ']' + case $y in + '[' normal '!=' XWAYLAND0 connected '(normal' left inverted right x axis y 'axis)' ']' ./rotate.sh: ligne 154 : [: trop d'arguments + sleep 1 + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ grep XWAYLAND0 ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' + currentOrientation='XWAYLAND0 connected (normal left inverted right x axis y axis)' + case ${currentOrientation} in + echo bug. bug. ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=904 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=13856 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-8247 + nextRotation=normal + '[' 904 -le 0 ']' + '[' 904 -ge 0 ']' + case $x in + '[' normal = normal ']' + case $y in + '[' normal '!=' XWAYLAND0 connected '(normal' left inverted right x axis y 'axis)' ']' ./rotate.sh: ligne 154 : [: trop d'arguments + sleep 1 + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ grep XWAYLAND0 ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' + currentOrientation='XWAYLAND0 connected (normal left inverted right x axis y axis)' + case ${currentOrientation} in + echo bug. bug. ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=16709 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=280 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-3462 + nextRotation=normal + '[' 16709 -le 0 ']' + '[' 16709 -ge 0 ']' + case $x in + nextRotation=left + '[' left = normal ']' + '[' left '!=' XWAYLAND0 connected '(normal' left inverted right x axis y 'axis)' ']' ./rotate.sh: ligne 154 : [: trop d'arguments + sleep 1 + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ grep XWAYLAND0 ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' + currentOrientation='XWAYLAND0 connected (normal left inverted right x axis y axis)' + case ${currentOrientation} in + echo bug. bug. ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=-149 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=-15580 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-3283 + nextRotation=normal + '[' -149 -le 0 ']' + case $x in + '[' -149 -ge 0 ']' + '[' normal = normal ']' + case $y in + nextRotation=inverted + '[' inverted '!=' XWAYLAND0 connected '(normal' left inverted right x axis y 'axis)' ']' ./rotate.sh: ligne 154 : [: trop d'arguments + sleep 1 + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ grep XWAYLAND0 ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' + currentOrientation='XWAYLAND0 connected (normal left inverted right x axis y axis)' + case ${currentOrientation} in + echo bug. bug. ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=12594 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=11441 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-6628 + nextRotation=normal + '[' 12594 -le 0 ']' + '[' 12594 -ge 0 ']' + case $x in + nextRotation=left + '[' left = normal ']' + '[' left '!=' XWAYLAND0 connected '(normal' left inverted right x axis y 'axis)' ']' ./rotate.sh: ligne 154 : [: trop d'arguments + sleep 1 + true + locked=0 + '[' 0 -eq 0 ']' ++ xrandr --verbose ++ grep XWAYLAND0 ++ sed -e 's/.*) \([[:alpha:]]*\) (.*/\1/' + currentOrientation='XWAYLAND0 connected (normal left inverted right x axis y axis)' + case ${currentOrientation} in + echo bug. bug. ++ cat /sys/bus/iio/devices/iio:device0/in_accel_x_raw + x=1095 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_y_raw + y=13769 ++ cat /sys/bus/iio/devices/iio:device0/in_accel_z_raw + z=-8401 + nextRotation=normal + '[' 1095 -le 0 ']' + '[' 1095 -ge 0 ']' + case $x in + nextRotation=normal + '[' normal = normal ']' + case $y in + '[' normal '!=' XWAYLAND0 connected '(normal' left inverted right x axis y 'axis)' ']' ./rotate.sh: ligne 154 : [: trop d'arguments + sleep 1
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie