On 07/30/2012 06:13 PM, Mauro Carvalho Chehab wrote: > Em 16-07-2012 17:22, Toralf Förster escreveu: >> For a TerraTec Cinergy XXS USB stick (Bus 001 Device 008: ID 0ccd:00ab TerraTec Electronic GmbH ) >> I've to switch the protocol every time after plugin to get (at least few) keys working : >> >> $> sudo ir-keytable --protocol=nec --sysdev=`ir-keytable 2>&1 | head -n 1 | cut -f5 -d'/'` >> >> /me wonders whether "nec" should be set as the default for this key in kernel or not > > It makes sense to patch it to use the nec protocol. If not all keys are working, it also makes > sense to fix the kernel table to handle all codes, or to point to a new table where all > Terratec keys are defined. > > Could you please write such patch? > > Thank you! > Mauro I tried it, but the attached (naive) approach doesn't work. The kernel dmesg shows "kernel: Registered IR keymap rc-dib0700-nec" but keys aren't recognized. -- MfG/Sincerely Toralf Förster pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3