Task #305
Try out the new IR receiver component with the ftdi chip
0%
History
Updated by Fredrick Amnehagen over 2 years ago
[179852.073549] usb 2-1: USB disconnect, device number 15
[179852.073866] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[179852.073887] ftdi_sio 2-1:1.0: device disconnected
[179854.401776] usb 2-1: new full-speed USB device number 16 using xhci_hcd
[179854.559262] usb 2-1: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[179854.559267] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[179854.559270] usb 2-1: Product: FT232R USB UART
[179854.559272] usb 2-1: Manufacturer: FTDI
[179854.559273] usb 2-1: SerialNumber: A400fsTS
[179854.562827] ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected
[179854.562859] usb 2-1: Detected FT232RL
[179854.563221] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0
Updated by Fredrick Amnehagen over 2 years ago
LIRC¶
lircd -Hftdi -dserial=A400fsTS,input=7
kill existing lircd process if necessary¶
mode2 -Hftdi -dserial=A400fsTS
Idle gives some noise, pushing buttons gives an explosion of lines¶
close with ctrl + c¶
sudo emacs -nw /etc/lirc/hardware.conf
REMOTE=FTDI FT232-based IR Receiver
REMOTE_MODULES=
REMOTE_DRIVER=ftdi
REMOTE_DEVICE=
REMOTE_SOCKET=/var/run/lirc/lircd
REMOTE_LIRCD_CONF=/etc/lirc/lircd.conf.d/el_cheapo_kodi_remote.lircd.conf
REMOTE_LIRCD_ARGS=-d serial=A400fsTS,baud=2400 /etc/lirc/lircd.conf.d/el_cheapo_kodi_remote.lircd.conf
sudo emacs -nw /etc/lirc/lirc_options.conf
...
#driver = devinput
driver = ftdi
#device = auto
device = serial=A400fsTS
...
Generate a new config¶
mode2 -m > testing-testing.lircd.conf
irrecord ITRemote${date +%Y%m%dT%H%M%S%Z}
Stumped, cannot decode the remote...
IR-KEYMAP¶
I won't bother...
Updated by Fredrick Amnehagen over 2 years ago
Cannot find any toggle mask.
But I know for sure that RC6 has a toggle bit!
or
cannot decode the button presses
or sometimes, too much noise to begin with