Hallo Forum,
nach dem Wiki habe ich versucht eine ir Fernbedienung einzurichten.
http://wiki.ubuntuusers.de/Lirc
http://wiki.ubuntuusers.de/Lirc/Tasten_mit_Funktionen_belegen
Leider funktonieren nur die Laut - Leise Tasten.
cat /proc/bus/input/devices sagt:
cat /proc/bus/input/devices I: Bus=0019 Vendor=0000 Product=0005 Version=0000 N: Name="Lid Switch" P: Phys=PNP0C0D/button/input0 S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input0 U: Uniq= H: Handlers=event0 B: PROP=0 B: EV=21 B: SW=1 I: Bus=0019 Vendor=0000 Product=0003 Version=0000 N: Name="Sleep Button" P: Phys=PNP0C0E/button/input0 S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1 U: Uniq= H: Handlers=kbd event1 B: PROP=0 B: EV=3 B: KEY=4000 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/input2 U: Uniq= H: Handlers=kbd event2 B: PROP=0 B: EV=3 B: KEY=10000000000000 0 I: Bus=0011 Vendor=0001 Product=0001 Version=ab54 N: Name="AT Translated Set 2 keyboard" P: Phys=isa0060/serio0/input0 S: Sysfs=/devices/platform/i8042/serio0/input/input3 U: Uniq= H: Handlers=sysrq kbd event3 B: PROP=0 B: EV=120013 B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe B: MSC=10 B: LED=7 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/LNXVIDEO:00/input/input4 U: Uniq= H: Handlers=kbd event4 B: PROP=0 B: EV=3 B: KEY=3e000b00000000 0 0 0 I: Bus=0019 Vendor=17aa Product=5054 Version=4101 N: Name="ThinkPad Extra Buttons" P: Phys=thinkpad_acpi/input0 S: Sysfs=/devices/platform/thinkpad_acpi/input/input8 U: Uniq= H: Handlers=rfkill kbd event8 B: PROP=0 B: EV=33 B: KEY=18040000 0 10000000000000 0 1501b00102004 c000000001104000 e000000000000 0 B: MSC=10 B: SW=8 I: Bus=0011 Vendor=0002 Product=0007 Version=81b1 N: Name="SynPS/2 Synaptics TouchPad" P: Phys=isa0060/serio1/input0 S: Sysfs=/devices/platform/i8042/serio1/input/input9 U: Uniq= H: Handlers=mouse1 event9 B: PROP=1 B: EV=b B: KEY=420 30000 0 0 0 0 B: ABS=11000003 cat /proc/bus/input/devices I: Bus=0019 Vendor=0000 Product=0005 Version=0000 N: Name="Lid Switch" P: Phys=PNP0C0D/button/input0 S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input0 U: Uniq= H: Handlers=event0 B: PROP=0 B: EV=21 B: SW=1 I: Bus=0019 Vendor=0000 Product=0003 Version=0000 N: Name="Sleep Button" P: Phys=PNP0C0E/button/input0 S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1 U: Uniq= H: Handlers=kbd event1 B: PROP=0 B: EV=3 B: KEY=4000 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/input2 U: Uniq= H: Handlers=kbd event2 B: PROP=0 B: EV=3 B: KEY=10000000000000 0 I: Bus=0011 Vendor=0001 Product=0001 Version=ab54 N: Name="AT Translated Set 2 keyboard" P: Phys=isa0060/serio0/input0 S: Sysfs=/devices/platform/i8042/serio0/input/input3 U: Uniq= H: Handlers=sysrq kbd event3 B: PROP=0 B: EV=120013 B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe B: MSC=10 B: LED=7 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/LNXVIDEO:00/input/input4 U: Uniq= H: Handlers=kbd event4 B: PROP=0 B: EV=3 B: KEY=3e000b00000000 0 0 0 I: Bus=0019 Vendor=17aa Product=5054 Version=4101 N: Name="ThinkPad Extra Buttons" P: Phys=thinkpad_acpi/input0 S: Sysfs=/devices/platform/thinkpad_acpi/input/input8 U: Uniq= H: Handlers=rfkill kbd event8 B: PROP=0 B: EV=33 B: KEY=18040000 0 10000000000000 0 1501b00102004 c000000001104000 e000000000000 0 B: MSC=10 B: SW=8 I: Bus=0011 Vendor=0002 Product=0007 Version=81b1 N: Name="SynPS/2 Synaptics TouchPad" P: Phys=isa0060/serio1/input0 S: Sysfs=/devices/platform/i8042/serio1/input/input9 U: Uniq= H: Handlers=mouse1 event9 B: PROP=1 B: EV=b B: KEY=420 30000 0 0 0 0 B: ABS=11000003 I: Bus=0003 Vendor=0572 Product=6831 Version=0000 N: Name="DVBSky S960/S860" P: Phys=usb-0000:00:1a.7-3/ir0 S: Sysfs=/devices/pci0000:00/0000:00:1a.7/usb1/1-3/rc/rc0/input10 U: Uniq= H: Handlers=kbd event10 B: PROP=0 B: EV=100013 B: KEY=2c0800 14301100000000 0 118000 418000000801 8e000000000000 ffc B: MSC=10 I: Bus=0011 Vendor=0002 Product=000a Version=0000 N: Name="TPPS/2 IBM TrackPoint" P: Phys=synaptics-pt/serio0/input0 S: Sysfs=/devices/platform/i8042/serio1/serio2/input/input11 U: Uniq= H: Handlers=mouse2 event11 B: PROP=0 B: EV=7 B: KEY=70000 0 0 0 0 B: REL=3 I: Bus=0011 Vendor=0002 Product=000a Version=0000 N: Name="TPPS/2 IBM TrackPoint" P: Phys=synaptics-pt/serio0/input0 S: Sysfs=/devices/platform/i8042/serio1/serio2/input/input11 U: Uniq= H: Handlers=mouse2 event11 B: PROP=0 B: EV=7 B: KEY=70000 0 0 0 0 B: REL=3
Wichtig wird hier sein:
I: Bus=0003 Vendor=0572 Product=6831 Version=0000 N: Name="DVBSky S960/S860" P: Phys=usb-0000:00:1a.7-3/ir0 S: Sysfs=/devices/pci0000:00/0000:00:1a.7/usb1/1-3/rc/rc0/input10 U: Uniq= H: Handlers=kbd event10 B: PROP=0 B: EV=100013 B: KEY=2c0800 14301100000000 0 118000 418000000801 8e000000000000 ffc B: MSC=10
Bei einem Test bekomme ich folgenden Fehler:
sudo /etc/init.d/lirc restart * Stopping remote control daemon(s): LIRC [fail] * Loading LIRC modules [ OK ] * Starting remote control daemon(s) : LIRC
Was muß ich tun, damit ich alle Tasten nutzen kann?
Mit
sudo ir-keytable -t
kann ich für jede Taste ein Event auslösen.
MfG
undine