You are not logged in.

#1 2012-03-06 19:45:55

Chrilleee
Member
Registered: 2011-04-27
Posts: 34

Can't get IR receiver to work properly

First to state out, I have read the wiki like 10 times and googled for a couple of hours without getting this to work.

If I start "sudo mode2" I get alot of output when enter the buttons. But I had to change "ir-table -p LIRC" before that worked.

I have added the following to /etc/rc.local

echo lirc > /sys/class/rc/rc0/protocols

I've done "sudo modprobe mceusb" and also tried "modprobe evdev"

I've added this to my /etc/conf.d/lirc:

 #
 #Parameters for daemon
 #
 
 LIRC_DEVICE="/dev/input/by-id/usb-FINTEK_eHome_Infrared_Transceiver_88636562727801-event-if00 "
 LIRC_DRIVER="devinput"
 LIRC_EXTRAOPS=""
 LIRC_CONFIGFILE="/etc/lirc/lircd.conf"

But further than that I can't get. I've tried to download a /etc/lirc/lirc.conf for my Harmony 525 but it dosn't work. Nor to the irrecord command give me any file!

When I run the "# irrecord -d /dev/lirc0 /tmp/my_remote" i get, (but no file at all!):

Press RETURN now to start recording.
................................................................................
Found gap: 75504
Please keep on pressing buttons like described above.
................................................................................
RC-6 remote control found.
Found possible header: 2816 286
Header is not being repeated.
No repeat code found.
Signals are biphase encoded.
Removed header.
Signal length is 36
Checking for toggle bit mask.
Please press an arbitrary button repeatedly as fast as possible.
Make sure you keep pressing the SAME button and that you DON'T HOLD
the button down!.
If you can't see any dots appear, then wait a bit between button presses.

Press RETURN to continue.

No toggle bit mask found.
But I know for sure that RC6 has a toggle bit!


Here's some info that perhaps can help
uname -r

3.2.8-1-ARCH

lircd --v

lircd 0.9.0

cat /proc/bus/input/devices:

I: Bus=0003 Vendor=046d Product=c30e Version=0110
N: Name="Logitech HID compliant keyboard"
P: Phys=usb-0000:00:06.0-6/input0
S: Sysfs=/devices/pci0000:00/0000:00:06.0/usb4/4-6/4-6:1.0/input/input0
U: Uniq=
H: Handlers=kbd event0 
B: PROP=0
B: EV=120013
B: KEY=1000000000007 ff800000000007ff febeffdff3cfffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0003 Vendor=046d Product=c30e Version=0110
N: Name="Logitech HID compliant keyboard"
P: Phys=usb-0000:00:06.0-6/input1
S: Sysfs=/devices/pci0000:00/0000:00:06.0/usb4/4-6/4-6:1.1/input/input1
U: Uniq=
H: Handlers=kbd event1 
B: PROP=0
B: EV=13
B: KEY=fff ffffffffffffffff 2000000 387ad800d001 1e000000000000 0
B: MSC=10

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2
U: Uniq=
H: Handlers=kbd event2 
B: PROP=0
B: EV=3
B: KEY=10000000000000 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
U: Uniq=
H: Handlers=kbd event3 
B: PROP=0
B: EV=3
B: KEY=10000000000000 0

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:09/LNXVIDEO:00/input/input4
U: Uniq=
H: Handlers=kbd event4 
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/devices/platform/pcspkr/input/input5
U: Uniq=
H: Handlers=kbd event5 
B: PROP=0
B: EV=40001
B: SND=6

I: Bus=0003 Vendor=1934 Product=5168 Version=0001
N: Name="Media Center Ed. eHome Infrared Remote Transceiver (1934:5168)"
P: Phys=usb-0000:00:04.0-6
S: Sysfs=/devices/pci0000:00/0000:00:04.0/usb3/3-6/3-6:1.0/rc/rc0/input6
U: Uniq=
H: Handlers=kbd event6 
B: PROP=0
B: EV=100013
B: KEY=fff 0 200108fc32e 237605100000000 0 700158000 419200004001 8e968000000000 10000000
B: MSC=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="MCE IR Keyboard/Mouse (mceusb)"
P: Phys=/input0
S: Sysfs=/devices/virtual/input/input7
U: Uniq=
H: Handlers=kbd mouse0 event7 
B: PROP=0
B: EV=100017
B: KEY=30000 7 ff87207ac14057ff febeffdfffefffff fffffffffffffffe
B: REL=3
B: MSC=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:08.0/sound/card0/input8
U: Uniq=
H: Handlers=event8 
B: PROP=0
B: EV=21
B: SW=4

dmesg | grep ttyS

[    0.532104] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.707341] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A

ls /sys/class/rc/rc0

device  input6  lirc0  power  protocols  subsystem  uevent

ls -l /dev/input/by-id

lrwxrwxrwx 1 root root 9 Mar  6 19:38 usb-FINTEK_eHome_Infrared_Transceiver_88636562727801-event-if00 -> ../event6
lrwxrwxrwx 1 root root 9 Mar  6 19:38 usb-Logitech_HID_compliant_keyboard-event-if01 -> ../event1
lrwxrwxrwx 1 root root 9 Mar  6 19:38 usb-Logitech_HID_compliant_keyboard-event-kbd -> ../event0

Last edited by Chrilleee (2012-03-06 19:53:29)

Offline

#2 2012-03-06 22:14:16

Chrilleee
Member
Registered: 2011-04-27
Posts: 34

Re: Can't get IR receiver to work properly

Think I've found something more than can cause this problem, I want to run my Harmony as a "MCE Keyboard", not an "MCE Remote" (which I finally got to work).

Offline

Board footer

Powered by FluxBB