Opiszę całą sytuację. Mam dwa czujniki ir do pilota. Pod port COM, zakupiony na allegro, działał idealnie parę lat temu na Debianie. Drugi czujnik od tunera TV Winfast Tv 2000 XP RM. Nie działał na Debianie. Sytuacja przedstawia się następująco. Mam KDE4, podłączony jeden i drugi czujnik. Bez żadnej konfiguracji czujnik od tunera wyłapuje sygnał i działa ściszanie i zwiększanie głośności oraz wyciszanie w KDE. W sieci przeczytałem tyle artykułów na temat konfiguracji lirca, że sam już nie wiem co robić, tak mam namieszane.
Kroki, które poczyniłem.
Instalacja lirc z repozytorium:
Kod: Zaznacz cały
apt-get install lirc
Uruchamiam lirca poleceniem:
Kod: Zaznacz cały
/etc/init.d/lirc restart
Kod: Zaznacz cały
Stopping remote control mouse daemon: LIRCMD: failed!
Stopping remote control daemon(s): LIRC:.
Loading LIRC modules:.
Starting remote control daemon(s) : LIRC :.
Starting remote control mouse daemon : LIRCMD :
Kod: Zaznacz cały
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""
#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=true
# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="dev/input"
# If DEVICE is set to /dev/lirc and udev is in use /dev/lirc0 will be
# automatically used instead
DEVICE="/dev/input/event5"
MODULES=""
# Default configuration files for your hardware if any
LIRCD_CONF="/etc/lirc/lircd.conf"
LIRCMD_CONF=""
Następnie zabijam proces lircd i wpisuję polecenie:
Kod: Zaznacz cały
lircd -d /dev/input/event5 -H dev/input
Kod: Zaznacz cały
connect: No such file or directory
Kod: Zaznacz cały
cat /proc/bus/input/devicesKod: Zaznacz cały
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3803078 f800d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/devices/platform/pcspkr/input/input1
U: Uniq=
H: Handlers=kbd event1
B: EV=40001
B: SND=6
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2
U: Uniq=
H: Handlers=kbd event2
B: EV=3
B: KEY=100000 0 0 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: EV=3
B: KEY=100000 0 0 0
I: Bus=0001 Vendor=10ec Product=0888 Version=0001
N: Name="HDA Digital PCBeep"
P: Phys=card0/codec#2/beep0
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/input/input4
U: Uniq=
H: Handlers=kbd event4
B: EV=40001
B: SND=6
I: Bus=0003 Vendor=09da Product=000e Version=0110
N: Name="A4Tech PS/2+USB Mouse"
P: Phys=usb-0000:00:1d.3-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.3/usb5/5-2/5-2:1.0/input/input6
U: Uniq=
H: Handlers=mouse0 event6
B: EV=17
B: KEY=ff0000 0 0 0 0 0 0 0 0
B: REL=303
B: MSC=10
[B]I: Bus=0001 Vendor=107d Product=6609 Version=0001
N: Name="bttv IR (card=34)"
P: Phys=pci-0000:04:01.0/ir0
S: Sysfs=/devices/pci0000:00/0000:00:1e.0/0000:04:01.0/input/input7
U: Uniq=
H: Handlers=kbd event5
B: EV=100003
B: KEY=10afc336 21508c8 0 0 0 404 80010007 80000190 4801 1e0000 4400 100000 10000ffc[/B]
Pozdrawiam