USB-UIRT using LIRC-0.8.4a

Having problems? Use this forum to find help!

Moderator: jrhees

USB-UIRT using LIRC-0.8.4a

Postby hylim » Mon Mar 30, 2009 10:29 am

Hi,

I've just bought the USB-UIRT device with 56kHz IR receiver & I'm trying to get it to work with LIRC.
The system that I am installing the USB-UIRT on:
Fedora 6; Linux 2.6.20
LIRC 0.8.4a (Latest)

I am not using the yum to instal the LIRc; instead configuring & compiling the LIRC source file.
The configuration I am using:
./configure --with-driver=usb_uirt_raw --with-transmitter

After that, I did a make; make install.

Compilation & installation went well.
When i did:
/usr/local/sbin/lircd -H ?

I see:

[root@localhost lock]# /usr/local/sbin/lircd -H ?
Driver `?' not supported.
Supported drivers:
usb_uirt_raw

------------------------------------------------------------------------------------------------------
Also, the FTDI_serial module is laoded properly:

dmesg | grep usb
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usbmon: debugfs is not available
usb usb1: configuration #1 chosen from 1 choice
usb usb2: configuration #1 chosen from 1 choice
usb usb3: configuration #1 chosen from 1 choice
usb usb4: configuration #1 chosen from 1 choice
usb usb5: configuration #1 chosen from 1 choice
usb 3-1: new full speed USB device using uhci_hcd and address 2
usb 3-1: configuration #1 chosen from 1 choice
usb 4-1: new full speed USB device using uhci_hcd and address 2
usb 4-1: configuration #1 chosen from 1 choice
usb 5-1: new low speed USB device using uhci_hcd and address 2
usb 5-1: configuration #1 chosen from 1 choice
usb 4-1.3: new full speed USB device using uhci_hcd and address 3
usb 4-1.3: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usbcore: registered new interface driver usb-storage
input: USB HID v1.11 Mouse [USB Optical Mouse] on usb-0000:00:1d.3-1
input: USB HID v1.00 Keyboard [BTC Korea USB EasyKey Keyboard] on usb-0000:00:1d.2-1.3
input: USB HID v1.00 Device [BTC Korea USB EasyKey Keyboard] on usb-0000:00:1d.2-1.3
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device
drivers/usb/serial/ftdi_sio.c: Detected FT232BM
usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0
usbcore: registered new interface driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver

------------------------------------------------------------------------------------------------------

However, when I did the irw:

Nothing happens even though I am using a valid lircd config file which I learned using another device (iguanaIR). Using iguanaIR & exact same method, I was able to verify the commands of the Remote using irw. But it doesn't work with USB-UIRT.

Similarly, when I use irrecord:

irrecord -H usb_uirt_raw -d /dev/ttyUSB0 -f test_raw2

irrecord - application for recording IR-codes for usage with lirc

Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)

It hangs here!

-----------------------------------------------------------------------------------------------------

When I use irsend:

I get irsend: timeout

----------------------------------------------------------------------------------------------------

Checking the log message (var/log/lircd):

Mar 30 16:18:13 localhost.localdomain lircd: lircd(usb_uirt_raw) ready
Mar 30 16:18:39 localhost.localdomain lircd: accepted new client on /dev/lircd
Mar 30 16:21:08 localhost.localdomain lircd: 23 dd
Mar 30 16:21:08 localhost.localdomain lircd: ff 01 02
Mar 30 16:21:08 localhost.localdomain lircd: uirt2_raw: checksum error
Mar 30 16:21:08 localhost.localdomain lircd: uirt2: detection of uirt2 failed
Mar 30 16:21:08 localhost.localdomain lircd: uirt2: trying to detect newer uirt firmware
Mar 30 16:27:51 localhost.localdomain lircd: 23 dd
Mar 30 16:27:51 localhost.localdomain lircd: ff 01 02 ff 01 02 ff 01
Mar 30 16:27:51 localhost.localdomain lircd: uirt2_raw: checksum error
Mar 30 16:27:51 localhost.localdomain lircd: uirt2_raw: No UIRT2 device found at /dev/ttyUSB0
Mar 30 16:27:51 localhost.localdomain lircd: WARNING: Failed to initialize hardware
Mar 30 16:27:51 localhost.localdomain lircd: caught signal
Mar 30 16:29:40 localhost.localdomain lircd: lircd(usb_uirt_raw) ready
Mar 30 16:30:41 localhost.localdomain lircd: accepted new client on /dev/lircd
Mar 30 16:30:41 localhost.localdomain lircd: could not create lock file "/var/lock/LCK..ttyUSB0"
Mar 30 16:30:41 localhost.localdomain lircd: File exists
Mar 30 16:30:41 localhost.localdomain lircd: WARNING: detected stale lockfile /var/lock/LCK..ttyUSB0
Mar 30 16:30:41 localhost.localdomain lircd: WARNING: stale lockfile removed

-----------------------------------------------------------------------------------------------------

Any one has any idea what did I do wrong?
hylim
 
Posts: 1
Joined: Mon Mar 30, 2009 10:06 am

Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 8 guests

cron