Outils pour utilisateurs

Outils du site


tv4k

Ceci est une ancienne révision du document !


Support sortie 4K sur portable HP ZBook 14G2

d'après http://www8.hp.com/h20195/v2/GetPDF.aspx/c04476391.pdf DisplayPort w/MST (Multi-stream Transport) Supports resolutions up to Full 4K 4096 x 2160, 24/30-bit color depth at 60 Hz, and WUXGA (1920 x 1200) monitors, 24/30-bit color depth at 120 Hz.

Multi-stream Transport (MST): Multi stream Transport is a DP 1.2 feature that allows daisy chaining of DP 1.2 monitors (requires monitor with DP 1.2 MST capability), or the use of DP 1.2 hubs with MST to achieve a maximum of 3 active displays

Choix TV

Comparatif connectique HDMI et DVI

Adaptateur Display Port vers HDMI

Résultat affichage

homepages.laas.fr_bvandepo_files_4k_p61013-203201.jpg homepages.laas.fr_bvandepo_files_4k_p61013-222712.jpg homepages.laas.fr_bvandepo_files_4k_p61013-222742.jpg

Activer sortie son sur HDMI

https://doc.ubuntu-fr.org/son_via_le_port_hdmi

sudo gedit /etc/default/grub
  changer "GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"" en "GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.audio=1"" 
sudo update-grub
  redémarrer

Doc en vrac

Outils installés

sudo apt-get install libasound2-plugins "pulseaudio-*" paman pavucontrol paprefs pavumeter  gnome-alsamixer
gstreamer-properties
gnome-alsamixer
gnome-volume-control
sudo apt-get install pavucontrol
pavucontrol

Si la sortie refuse de fonctionner après mise en veille par exemple, il faut réinitialiser pulse: http://askubuntu.com/questions/230888/is-there-another-way-to-restart-the-sound-system-if-pulseaudio-alsa-dont-work

pulseaudio -k && sudo /sbin/alsa force-reload

Pour autoriser alsa sans taper le mot de passe sudo sudo

sudo visudo
bvandepo ALL=(ALL:ALL) NOPASSWD:/sbin/alsa force-reload

Allumer/Eteindre la TV

allumer via WIFI

activer le Wake On Lan sur la tv

MAC_ADDR=74:DF:BF:09:3D:CF
wakeonlan $MAC_ADDR

éteindre via WIFI

Pour déterminer quel trafic permet d'éteindre, installation de “philips Telecommande” sur android et installation de “packet capture” sur android: https://play.google.com/store/apps/details?id=app.greyshirts.sslcapture&hl=fr

dans l'appli “philips Telecommande” , régler l'ip de la tv, puis appuyer sur le bouton off. le traffic capturé par “packet capture” est le suivant:

homepages.laas.fr_bvandepo_files_4k_s61102-225617.jpg homepages.laas.fr_bvandepo_files_4k_s61102-225640.jpg

C'est une demande post HTTP sur le port 1925 qui permet donc d'éteindre la TV. Avec cette info, je trouve l'API: http://jointspace.sourceforge.net/projectdata/documentation/jasonApi/1/doc/API.html

Pour générer les requettes post, j'ai essayé avec python et wget mais la tv réponds “Service Unavailable”. Finalement, ça fonctionne avec curl: http://stackoverflow.com/questions/4797534/how-do-i-manually-fire-http-post-requests-with-firefox-or-chrome

Pour éteindre: http://jointspace.sourceforge.net/projectdata/documentation/jasonApi/1/doc/API-Method-input-key-POST.html

curl -i -X POST -H 'Content-Type: application/json' -d '{"key": "Standby"}' http://192.168.1.31:1925/1/input/key

Pour selectionner entrée HDMI 3: http://jointspace.sourceforge.net/projectdata/documentation/jasonApi/1/doc/API-Method-sources-current-POST.html

curl -i -X POST -H 'Content-Type: application/json' -d '{"id": "hdmi3"}' http://192.168.1.31:1925/1/sources/current

CEC

tentative infructueuse car nécessite matériel que je n'ai pas…

http://www.fnac.com/HDMI-ARC-CEC-et-HEC-des-fonctionnalites-ultra-pratiques-mais-peu-connues/cp29024/w-4

http://blog.endpoint.com/2012/11/using-cec-client-to-control-hdmi-devices.html

sudo apt-get install cec-utils
cec-client --list-devices
  libCEC version: 3.0.1, compiled on Linux-3.13.0-77-generic ... , features: P8_USB, P8_detect, randr
  Found devices: NONE

il faut un adaptateur pour ajouter les signaux CEC au HDMI, car il n'est pas généré par la carte video: https://www.pulse-eight.com/p/104/usb-hdmi-cec-adapter

Why don't I already have it? Almost all graphics cards do not support CEC in any form, and others only in a limited form. This device allows Kodi and libCEC to access the CEC communications link and send and receive control messages. 

Udev pour détecter la (dé)connexion HDMI

tv4k.1478255041.txt.gz · Dernière modification : 2016/11/04 11:24 de bvandepo