----- Original Message ----- > Hello > > Jaroslav Škarvada kirjoitti 2017-06-09 20:46: > > Automatically load sniffed HID table from Windows driver if > > USB_VID_ITETECH:USB_PID_ITETECH_IT9135_9006 device is present (e.g. > > Evolveo > > Mars) or if module parameter force_hid_tab_load is set. > > There is few issues I don't like this approach. Mostly that module > parameter to select HID table. There is existing solution to select > remote controller, it is ir-keytable and it should be used rather than > defining device specific module parameter. > > If you look that HID table you could see there is 4 bytes NEC code and 3 > bytes HID code. Remote controller seems to have 34 keys. Remote > controller address bytes are 0x02bd, grepping existing remote controller > keytables it could be Total Media In Hand remote controller > (rc-total-media-in-hand.c). If not, then defining new keytable is > needed. > > I did some research about issue and found 2 better solutions. > 1) Configure HID table dynamically. Remote controller keytable has some > needed information, but those KEY_* events needed to be translated to > HID codes somehow. > 2) Kill HID and then use CMD_IR_GET to get remote controller scancodes > by polling. > > Solution 1 sounds most correct. No need to poll and decode by sw as hw > does all the job. But it is most hardest to implement, I am not aware if > anyone has done it yet. > > regards > Antti > > > -- > http://palosaari.fi/ > Hi, thanks for info. General approach is usually better than device specific hacks, but it looks like longer run. Unfortunately I returned the device to the original owner, so I will be probably unable to help with it more. But the problem needs to be addressed, the state when the remote isn't working isn't good thanks & regards Jaroslav