i dont understand why, im pressing buttonsnothing happens.
the driver is detected on boot:
[ 3.630237] lirc_dev: IR Remote Control driver registered, major 246
[ 3.675664] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.640759] lirc_rpi: auto-detected active high receiver on GPIO pin 18
[ 4.641140] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[ 4.641155] lirc_rpi: driver registered!
[ 5.676413] input: lircd as /devices/virtual/input/input4
then I plug in the USB-UIRT:
[ 112.770884] usb 1-1.4: new full-speed USB device number 5 using dwc_otg
[ 112.891290] usb 1-1.4: New USB device found, idVendor=0403, idProduct=f850
[ 112.891316] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 112.891328] usb 1-1.4: Product: USB-UIRT
[ 112.891339] usb 1-1.4: Manufacturer: FTDI
[ 112.917907] usbcore: registered new interface driver usbserial
[ 112.919532] usbcore: registered new interface driver usbserial_generic
[ 112.920256] usbserial: USB Serial support registered for generic
[ 112.932475] usbcore: registered new interface driver ftdi_sio
[ 112.932927] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 112.933236] ftdi_sio 1-1.4:1.0: FTDI USB Serial Device converter detected
[ 112.933842] usb 1-1.4: Detected FT232RL
[ 112.935368] usb 1-1.4: FTDI USB Serial Device converter now attached to ttyUSB0
so far, everything is ok?
then I run mode2 : mode2 -d /dev/lirc0
no olutput on the screen when I press the remote buttons yet the USB-UIRT’s LED flashes everyutime I click a remote button…
What you’re missing is that the lirc_rpi module is to support GPIO based IR receivers, not USB ones.
The USB device you’ve connected appears to present itself as a serial port - this is not handled by lirc_rpi and lircd is not configured to use such a device.
It might be possible to get this working somehow, but I have no idea how off the top of my head. I would suggest to do some googling to find out how you would use lircd with a serial interface. (Assuming it is possible)
ok, finally got it working with a Hardware.conf file:
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS="-d /dev/ttyUSB0"
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD=false
#Don't start irexec, even if a good config file seems to exist.
#START_IREXEC=false
#Try to load appropriate kernel modules
LOAD_MODULES=false
# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="usb_irt_raw"
# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE=""
MODULES=""
# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""
But now the issue is when the PI reboots, it automatically loads a lirc as it’s running as seen from the output below: