|
From: Peter F. Patel-S. <pf...@re...> - 2009-01-13 13:57:34
|
I have a USB-UIRT working under Fedora 10, which uses /dev/ttyUSB0. I didn't do anything to the serial device, which showed up with modes 188,0. The setup was trivial, *except* for a "bug" in the lircd converter for the device, which was generating checksum errors (because it was, by design, only picking up the first three bytes of an 8-byte response). I even recompiled lirc, for this device only, I think. Still no problems. This is somewhat different than your setup, as I'm not configuring the serial port outside lirc, but does indicate that there is a way to get /dev/ttyUSB0 working under other distributions. Peter F. Patel-Schneider From: Kristian Lippert <kri...@ho...> Subject: LIRC support for USB-Serial on /dev/ttyUSB0? Date: Tue, 13 Jan 2009 00:16:24 +0100 > > Hi > I'm trying to get LIRC to work with a remote control that talks to a > Future Tech. Devices FT232 USB-Serial (UART) IC with some custom drivers > onboard. > The IR reciever is attached to /dev/ttyUSB0. > > Configuration of the serial port in C looks like (and it works on Ubuntu > 8.10!!!!!!!!): > > newtio.c_cflag = B57600 | CS8 | CLOCAL | CREAD; newtio.c_iflag = > IGNPAR | ICRNL; /* raw input */ newtio.c_oflag = 0; /* raw output */ > newtio.c_lflag = ICANON; newtio.c_cc[VMIN] = 1; newtio.c_cc[VTIME] = 0; > > The "raw input" is interpreted elsewhere in my C code. > Is it possible to only change some configuration files, like > /etc/lirc/hardware.conf > /etc/lirc/lircd.conf > /etc/lirc/lircmd.conf > , and then make it work? Or must I create a new lirc-driver? > > I started with a "custom IR input" during install of LIRC > I have tried to change hardware.conf and then trying to reload the > lircd-daemon using "/etc/init.d/lirc start -v" > I always get the message: > "Unable to load LIRC kernal modules. Verify your selected kernal modules > in /etc/lirc/hardware.conf" > I might not just have the right combination??? > > Please help!!! > > Best Regards, > hotlips |