Hi all;
The first thing to say that I can not write in German, but my knowledge does not cover it. I have Yavdr from version 0.3 and I have problems with home-brew serial lirc receiver when I install the Yavdr 0.4.
The configuration is the same as in yavdr 0.3 where it works perfectly.
I leave data configuration files because I dont know why dont work.
Thanks.
/etc/lirc/lircd.conf
Code
begin remote
name Skystar2_Remote
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100
one 906 885
zero 906 885
plead 946
gap 113936
min_repeat 2
toggle_bit 2
begin codes
MUTE 0x000000000000128D
EXT 0x00000000000012B8
A/B 0x00000000000012A3
POWER 0x000000000000128C
1 0x0000000000001281
2 0x0000000000001282
3 0x0000000000001283
4 0x0000000000001284
5 0x0000000000001285
6 0x0000000000001286
7 0x0000000000001287
8 0x0000000000001288
9 0x0000000000001289
0 0x0000000000001280
TV/RADIO 0x0000000000000293
-/-- 0x000000000000128A
INFO 0x000000000000028F
MENU 0x0000000000000292
UP 0x00000000000012A0
DOWN 0x00000000000012A1
LEFT 0x0000000000001291
RIGHT 0x0000000000001290
OK 0x0000000000000297
SFI 0x00000000000012AF
BACK 0x00000000000012A2
RED 0x00000000000002AB
GREEN 0x00000000000002AC
YELLOW 0x00000000000002AD
BLUE 0x00000000000002AE
CHECK 0x00000000000002B6
TXT 0x00000000000012BC
STOP 0x00000000000012A9
HELP 0x000000000000128F
end codes
end remote
Alles anzeigen
/etc/lirc/hardware.conf
Code
#################################################################################
# #
# The following configuration file is generated automatically by the yaVDR #
# system. Don't change this file as every update of yaVDR will overwrite #
# the local changes. Instead put your required customizations #
# into /etc/yavdr/templates_custom/ based on the original templates #
# under /usr/share/yavdr/templates. #
# #
# http://www.yavdr.org/developer-zone/template-overview/ #
# #
# #
#################################################################################
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Home-brew (16x50 UART compatible serial port)"
REMOTE_MODULES="lirc_dev lirc_serial"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""
#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
#Enable lircd
START_LIRCD="true"
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"
#Try to load appropriate kernel modules
LOAD_MODULES="true"
# Default configuration files for your hardware if any
LIRCMD_CONF=""
#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
Alles anzeigen
Code
mode2 --device=/dev/lirc0
space 9580437
pulse 157
space 389
pulse 158
space 72300
pulse 156
space 5209
pulse 112
space 62942
pulse 116
space 14322
pulse 163
space 383
pulse 111
space 186259
pulse 110
space 19014
pulse 109
space 1210892
pulse 158
space 386
pulse 114
space 4637
pulse 115
Alles anzeigen
Code
ps -ef | grep lircd
root 5885 1 0 16:41 ? 00:00:00 /usr/sbin/eventlircd -f --repeat-filter --socket=/var/run/lirc/lircd
root 5896 1 0 16:41 ? 00:00:00 /usr/sbin/lircd --nodaemon --uinput --output=/var/run/lirc/lircd.5896 --device=/dev/lirc0
vdr 5907 1 3 16:41 ? 00:00:00 /usr/bin/vdr --lirc=/var/run/lirc/lircd -v /srv/vdr/video.00 -c /var/lib/vdr -L /usr/lib/vdr/plugins -r /usr/lib/vdr/vdr-recordingaction -s /usr/lib/vdr/vdr-shutdown.wrapper -E /var/cache/vdr/epg.data -u vdr -g /tmp --port 6419 -w 0 -Pxineliboutput --local=none --primary --remote=127.0.0.1:37890 -Ptext2skin -Pmarkad -Pstreamdev-server -Prestfulapi --port=8002 --ip=0.0.0.0 --epgimages=/var/cache/vdr/epgimages --channellogos=/usr/share/vdr-channellogos -Pextrecmenu -Pfemon -Plive --port=8008 --ip=0.0.0.0 --epgimages=/var/cache/vdr/epgimages -Piptv -Pconflictcheckonly -Pepgsearchonly -Pepgsearch -f /usr/bin/svdrpsend -Pskinpearlhd --epgimages=/var/cache/vdr/epgimages -Pchannellists -Pmenuorg -Pdbus2vdr -Pxvdr -t 10 -Pquickepgsearch -Pwirbelscan
Code
irw /var/run/lirc/lircd.5896
0000000000001280 00 0 Skystar2_Remote
0000000000001280 01 0 Skystar2_Remote
0000000000001288 00 8 Skystar2_Remote
0000000000001288 01 8 Skystar2_Remote
00000000000012a0 00 UP Skystar2_Remote
00000000000012a0 01 UP Skystar2_Remote
0000000000001290 00 RIGHT Skystar2_Remote
0000000000001290 01 RIGHT Skystar2_Remote
0000000000001291 00 LEFT Skystar2_Remote
0000000000001291 01 LEFT Skystar2_Remote
00000000000012a1 00 DOWN Skystar2_Remote
00000000000012a1 01 DOWN Skystar2_Remote
Alles anzeigen
Code
aptitude show lirc
Package: lirc
State: installed
Automatically installed: yes
Version: 0.8.7-1yavdr1
Priority: extra
Section: utils
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Uncompressed Size: 2798 k
Depends: libasound2 (> 1.0.24.1), libc6 (>= 2.7), libftdi1 (>= 0.18), liblircclient0 (>= 0.6.4), libportaudio2 (>=
19+svn20101113), libusb-0.1-4 (>= 2:0.1.12), debconf (>= 0.5) | debconf-2.0, lsb-base, setserial
Recommends: udev
Suggests: lirc-modules-source, lirc-x
Conflicts: makedev (< 2.3.1-88)
Description: infra-red remote control support
LIRC stands for 'Linux Infra-red Remote Control'.
This package provides the daemons and some utilities to support infra-red remote controls under Linux.
root@mcl4:~# aptitude show eventlircd
Package: eventlircd
State: installed
Automatically installed: yes
Version: 0.0.1+svn20110409.0930-4yavdr1~natty
Priority: extra
Section: utils
Maintainer: Holger Schvestka <hotzenplotz5@gmx.de>
Uncompressed Size: 201 k
Description: The eventlircd daemon provides additional functions for LIRC devices
Eventlircd provides four functions for LIRC devices converting multiple Linux input event devices into an lircd socket,
separating keyboard and mouse/joystick functionality, mapping keyboard shortcut key code sequences to single key codes, and
hotplugging using udev
Alles anzeigen