redoxyde / cec2usb Goto Github PK
View Code? Open in Web Editor NEWHDMI CEC to USB keyboard device
HDMI CEC to USB keyboard device
Bonjour,
Je viens de prendre un adaptateur pour permettre le CEC entre mon televiseur Samsung et un Kodi installé sur un PC HP Elitedesk 800 G2.
L'adaptateur est bien listé sur la TV ( "ArkHome") mais connexion impossible. J'ai essayé en branchant sur toutes les sortie hdmi (1/2/3/4) sans succès.
Le modèle exacte de la TV est Samsung UE6B6000VW
Des pistes de recherche ?
The current implementation uses an hardcoded hardware address (on HDMI port 2 on my setup) which is really not ideal (since it forces the TV to switch channels)
It think it is possible to use the I2C lines to get the current HDMI port from the EDID.
Since the Atemga32u2 doesn't have any hardware I2C port, a software implementation is required.
One of the goals of this board, aside from the CEC decoding, is to control a strip of WS2812 RGB leds to use with the Hyperion software.
The Proof of concept uses the RawHID mode/output of hyperion but there are a few issues:
On the master branch, Hyperion needs to be patched, to use the hid_write()
function, and it works fine. It also uses on USB endpoint on the firmware.
On the usb_feature_rpt branch, Hyperion can use the hid_send_feature_report()
function, but I get a lot of "Failed to write to HID device" and annoying delays. It doesn't use a dedicated USB endpoint, which is nice though...
Current software implementation uses an hardcoded map to match the Remote keypresses to keyboard keys. It probably only works fine on my setup (TV remote with Kodi).
The device name is also hardcoded
It would be better to have some configuration sequence/tool to let the users customize it for their usages.
Settings would then be stored in EEPROM.
A few options I think about:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.