Siduction Forum

Siduction Forum => Hardware - Support => Topic started by: dieres on 2011/07/10, 22:46:15

Title: informationen zu lirc?
Post by: dieres on 2011/07/10, 22:46:15
Habe gerade gelesen, dasd ab 2.6.36 lirc im offiziellen Kernel enthalten sein soll.
Ich würde gerne meine Fernbedienung mit meinem seriellen lirc-dongle konfigurieren.
Wo finde ich Informationen wie ?
/usr/share/doc/lirc gibts bei mir nicht.
mit http://lircconfig.commandir.com bin ich leider auch nicht weitergekommen.
Title: informationen zu lirc?
Post by: dieres on 2011/07/11, 01:02:42
habe eine lircd.conf gefunden, die schon mal etwas mit meiner Medion 4688 macht.

Wenn ich aber mit irrecord versuche eine neue Conf-datei zu erzeugen, bekomme ich nur folgende Fehlermeldung.
root@amd64box:/home/didi# irrecord -d /dev/lirc0 -H default /etc/lirc/lircd.conf

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

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

irrecord: could not get hardware features
irrecord: this device driver does not support the LIRC ioctl interface
irrecord: major number of /dev/lirc0 is 248
irrecord: LIRC major number is 61
irrecord: check if /dev/lirc0 is a LIRC device
irrecord: could not init hardware (lircd running ? --> close it, check permissions)


Und Ja, ich habe /etc/init.d/lirc stop ausgeführt bevor ich das mit irrecord  versucht habe.

/etc/lirc/hardware.conf:


# /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="DEFAULT"
# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE="/dev/lirc0"
MODULES="lirc_serial"
# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""



/etc/lirc/lircd.conf:

#
# this config file was automatically generated
# using lirc-0.6.6(serial) on Sat Sep 13 19:56:21 2003
#
# contributed by Mirko Doelle
#
# brand: Medion
# model no. of remote control: MD 4688, TV-Code 183, VCR-Code 308
# devices being controlled by this remote: VDR, LinVDR
#

begin remote

 name  MEDION
 bits           11
 flags SPACE_ENC
 eps            30
 aeps          100

 header       2533   444
 one          1338   442
 zero          729   442
 ptrail        730
 gap          25953
 min_repeat      2
 toggle_bit      0


     begin codes
         Volume+                  0x0000000000000248
         Volume-                  0x0000000000000648
         Mute                     0x0000000000000148
         Channel+                 0x000000000000004D
         Channel-                 0x000000000000044D
         Red                      0x00000000000000AD
         Green                    0x000000000000006D
         Yellow                   0x000000000000046D
         Blue                     0x00000000000004AD
         Purple                   0x000000000000059D
         1                        0x000000000000000D
         2                        0x000000000000040D
         3                        0x000000000000020D
         4                        0x000000000000060D
         5                        0x000000000000010D
         6                        0x000000000000050D
         7                        0x000000000000030D
         8                        0x000000000000070D
         9                        0x000000000000008D
         0                        0x000000000000048D
         AV                       0x00000000000002AD
         Ent                      0x000000000000028D
         Up                       0x000000000000021D
         Down                     0x000000000000061D
         Left                     0x000000000000023D
         Right                    0x000000000000043D
         Ok                       0x000000000000045D
         Menu                     0x000000000000059D
         Exit                     0x000000000000063D
         Rewind                   0x00000000000006CD
         Play                     0x00000000000002CD
         Forward                  0x00000000000001CD
         Record                   0x00000000000005CD
         Stop                     0x00000000000000CD
         Pause                    0x00000000000004CD
         Off                      0x000000000000054D
     end codes

end remote