Lirc

General programming chat and advice for beginners

1 post
by shajeen » Thu Nov 28, 2013 2:51 am
Hello Everyone,
I got five raspberry pi Kit with wheezy OS. I installed lirc for all 5 kits. I configured lirc Pin in 14.

Problem is all the kits working fine for 5 days then 1 or 2 Sensor Fail to work.
after replacing sensor its working fine. But the sensor which was not working were working in same kit after 2 days ?

i used TSOP38338 sensor

Modules
snd-bcm2835
lirc_rpi gpio_in_pin=14

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_rpi"

# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""

lirc.conf


# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Mon Aug 26 11:58:56 2013
#
# contributed by
#
# brand: finalrecord6.conf
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

name finalrecord6.conf
bits 32
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100

header 8998 4438
one 585 1664
zero 585 533
ptrail 588
repeat 8995 2242
gap 108241
toggle_bit_mask 0xC3474721

begin codes
KEY_A 0x33B850AF
KEY_B 0x00FA5FA0
KEY_C 0x80BF3BC4
KEY_D 0x00FAEF10
KEY_E 0x00FA1FE0
KEY_F 0x00FA6F90
KEY_G 0x80BF39C6
KEY_H 0x80BFD926
KEY_I 0x80BF5BA4
KEY_J 0x80BF21DE
KEY_K 0x80BF8976
KEY_L 0x80BFB34C
KEY_M 0x80BFA15E
KEY_N 0x80BF9B64
KEY_O 0x80BF916E
KEY_P 0x80BF619E
KEY_Q 0x80BFA956
KEY_R 0x80BF53AC
KEY_S 0x80BFA35C
KEY_T 0x80BF9966
KEY_U 0x80BF738C
KEY_V 0x80BF837C
KEY_W 0x80BF11EE
KEY_X 0x80BF4BB4
KEY_Y 0x80BF6B94
KEY_Z 0x80BFBB44
KEY_1 0x80BF59A6
KEY_2 0x80BF31CE
KEY_3 0x80BF936C
KEY_4 0x80BFF30C
KEY_5 0x80BF19E6
KEY_6 0x80BFB946
KEY_7 0x80BF49B6
KEY_8 0x80BFC936
KEY_9 0x80BF33CC
KEY_F1 0x80BF718E
KEY_F2 0x80BFF10E
KEY_F3 0x80BF13EC
KEY_F4 0x80BF51AE
KEY_F5 0x80BFD12E
KEY_F6 0x80BF23DC
KEY_F7 0x80BFEB14
KEY_F8 0x80BFE11E
KEY_F9 0x80BF8B74
end codes

end remote

Whats the Problem?
Posts: 5
Joined: Tue May 21, 2013 4:54 am