Topic: monitor-edid-2.5.1.fc12.remi.x86_64

Bonjour,
J'ai voulu la commande monitor-get-edid, et voilà le retour :

[Fifi@localhost ~]$ monitor-get-edid
you must be root to run this program
you must be root to run this program
you must be root to run this program
[Fifi@localhost ~]$ su -
Mot de passe :
[root@localhost ~]# monitor-get-edid
anonymous map: Permission denied
anonymous map: Permission denied
anonymous map: Permission denied
[root@localhost ~]#

Que puis-je faire ?
Merci

Re: monitor-edid-2.5.1.fc12.remi.x86_64

C'est un problème SELinux.

Normalement, ça n'empeche pas la détection, enfin pas dans tous les cas.
Il faut que je fouille.

+

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: monitor-edid-2.5.1.fc12.remi.x86_64

Effectivement, j'ai eu une alerte SeLinux que je n'avais pas vue avant de poster.
J'ai appliqué la commande de correction proposée et voilà ce que j'ai eu. Bizarre, non ? :

[root@localhost ~]# setsebool -P mmap_low_allowed 1
[root@localhost ~]# monitor-get-edid
������L-*32FE3�3x*�ѦVK�%PT��@�����@:�▒q8-@X,E��8=Q
      �SyncMaster
  �H1AK500000
  kVous avez du nouveau courrier dans /var/spool/mail/root
[root@localhost ~]#

C'est quoi tous ces caractères bizarres ?

Re: monitor-edid-2.5.1.fc12.remi.x86_64

C'est normal, cette commande n'est pas fait pour être utilisée directement (sortie binaire des données EDID brutes)

Il faut mieux utiliser monitor-edid qui parse et formatte les résultats de la précédente.

+

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: monitor-edid-2.5.1.fc12.remi.x86_64

Effectivement, c'est beaucoup mieux comme ça :

[Fifi@localhost ~]$ su -
Mot de passe :
[root@localhost ~]# monitor-edid
Name: SyncMaster
EISA ID: SAM052a
Screen size: 51.0 cm x 28.7 cm (23.04 inches, aspect ratio 16/9 = 1.78)
Gamma: 2.2
Digital signal
Max video bandwidth: 170 MHz

        HorizSync 30-81
        VertRefresh 56-61

        # Monitor preferred modeline (60.0 Hz vsync, 67.5 kHz hsync, ratio 16/9, 95 dpi)
        ModeLine "1920x1080" 148.5 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
[root@localhost ~]#

Merci Remi ! wink