Hi all
I've just installed debian wheezy on my HTPC and have the same problem like the topicstarter had.
I did all the intructions from
post 10, new lirc successfully compiled and installed.
Only one thing, debian uses sysvinit instead of upstart in ubuntu, so my udev rule is:
Code:
# uname -a
Linux MMC 3.14-1-amd64 #1 SMP Debian 3.14.4-1 (2014-05-13) x86_64 GNU/Linux
# cat /etc/udev/rules.d/10-local.rules
SUBSYSTEM=="usb" , ATTRS{idVendor}=="0471", ATTRS{idProduct}=="20cc", SYMLINK+="remote", ACTION=="add"
# ls -l /dev/remote
lrwxrwxrwx 1 root root 15 май 25 17:24 /dev/remote -> bus/usb/007/002
# dmesg | grep PHILIPS
[ 3.495984] usb 7-2: Manufacturer: PHILIPS
[ 3.514381] input: PHILIPS MCE USB IR Receiver- Spinel plus as /devices/pci0000:00/0000:00:13.0/usb7/7-2/7-2:1.0/0003:0471:20CC.0003/input/input4
[ 3.514575] hid-generic 0003:0471:20CC.0003: input,hiddev0,hidraw2: USB HID v1.00 Keyboard [PHILIPS MCE USB IR Receiver- Spinel plus] on usb-0000:00:13.0-2/input0
Now when I try to check remote is working. I launch lircd in one console and irw in another (both via ssh):
Code:
# /usr/sbin/lircd -n -H zotac -d /dev/remote
lircd: lircd(zotac) ready, using /var/run/lirc/lircd
lircd: accepted new client on /var/run/lirc/lircd
lircd: zotac initializing '/dev/remote'
lircd: WARNING: Failed to initialize hardware
^Clircd: caught signal
lircd: closing '/dev/remote'
Help me please, what am I doing wrong?
Code:
# cat /etc/lirc/hardware.conf
# hardware.conf for Zotac
#
REMOTE="Zotac MCE Remote"
REMOTE_MODULES=""
REMOTE_DRIVER="zotac"
REMOTE_DEVICE="/dev/remote"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="zotac/lircd.conf.zotac"
REMOTE_LIRCD_ARGS=""
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
START_LIRCD="true"
LOAD_MODULES="true"
LIRCMD_CONF=""
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
DRIVER="zotac"
DEVICE="/dev/remote"
Code:
# cat /etc/lirc/lircd.conf
# Please make this file available to others
# by sending it to
#
# this config file was automatically generated
# using lirc-0.9.1-git(zotac) on Mon Apr 2 14:10:29 2012
#
# contributed by
#
# brand: zotac.conf
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name zotac.conf
bits 32
eps 30
aeps 100
one 0 0
zero 0 0
gap 100123
min_repeat 9
# suppress_repeat 9
# uncomment to suppress unwanted repeats
# toggle_bit_mask 0x7004F
begin codes
KEY_SLEEP 0x00010082
KEY_WAKEUP 0x00010083
KEY_RECORD 0x000C00B2
KEY_PAUSE 0x000C00B1
KEY_STOP 0x000C00B7
KEY_REWIND 0x000C00B4
KEY_PLAY 0x000C00B0
KEY_FORWARD 0x000C00B3
KEY_LEFTSHIFT 0x000C00B6
KEY_RIGHTSHIFT 0x000C00B5
KEY_BACK 0x000C0224
KEY_INFO 0x000C0209
KEY_MENU 0xFFBC000D
KEY_UP 0x00070052
KEY_LEFT 0x00070050
KEY_RIGHT 0x0007004F
KEY_DOWN 0x00070051
KEY_OK 0x00070028
KEY_VOLUMEUP 0x000C00E9
KEY_VOLUMEDOWN 0x000C00EA
KEY_MUTE 0x000C00E2
KEY_CHANNELUP 0x000C009C
KEY_CHANNELDOWN 0x000C009D
KEY_1 0x0007001E
KEY_2 0x0007001F
KEY_3 0x00070020
KEY_4 0x00070021
KEY_5 0x00070022
KEY_6 0x00070023
KEY_7 0x00070024
KEY_8 0x00070025
KEY_9 0x00070026
KEY_0 0x00070027
KEY_NUMERIC_STAR 0x10070025
KEY_NUMERIC_POUND 0x10070020
KEY_CLEAR 0x00070029
KEY_TEXT 0xFFBC005A
KEY_TITLE 0x000C008D
KEY_ENTER 0x00070028
KEY_RED 0xFFBC005B
KEY_GREEN 0xFFBC005C
KEY_YELLOW 0xFFBC005D
KEY_BLUE 0xFFBC005E
end codes
end remote