[media] mceusb: get misc port data from hardware
authorJarod Wilson <jarod@redhat.com>
Mon, 18 Jul 2011 19:54:26 +0000 (16:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 27 Aug 2011 11:55:02 +0000 (08:55 -0300)
commita411e83944bc48ce274b1bafdb6929846815856c
treee35aeff7a832bbc5a9b8554a19d39aa72709abc3
parentab1072eba9a635511279c72150b35c1cf95ceda1
[media] mceusb: get misc port data from hardware

According to the specs, you can read the number of tx ports, number of
rx sensors, which tx ports have cables plugged into them, and which rx
sensors are active. In practice, most of my devices do seem to report
sane values for tx ports and rx sensors (but not all -- one without any
tx ports reports having them), and most report the active sensor
correctly, but only one of eight reports cabled tx ports correctly. So
for the most part, this is just for informational purposes.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/mceusb.c