// SPDX-License-Identifier: GPL-2.0 // cx231xx IR glue driver // // Copyright (c) 2010 Mauro Carvalho Chehab <mchehab@kernel.org> // // Polaris (cx231xx) has its support for IR's with a design close to MCE. // however, a few designs are using an external I2C chip for IR, instead // of using the one provided by the chip. // This driver provides support for those extra devices
/* poll IR chip */
rc = i2c_master_recv(ir->c, &cmd, 1); if (rc < 0) return rc; if (rc != 1) return -EIO;
/* it seems that 0xFE indicates that a button is still hold down,while0xffindicatesthatnobuttonishold
down. 0xfe sequences are sometimes interrupted by 0xFF */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.