Trouble with IR reciever
|
10th Mar, 2013, 05:44 PM
Post: #1
|
|||
|
|||
Trouble with IR reciever
I've bought unnamed IR reciever (like tsop1238) and connect it to the GPIO1, GPIO6 and GPIO12 pins (as said there ttp://aron.ws/projects/lirc_rpi/). But mode2 shows this
Terminal mode2: could not get file information for /dev/lirc0 mode2: default_init(): No such file or directory |
|||
10th Mar, 2013, 06:28 PM
Post: #2
|
|||
|
|||
RE: Trouble with IR reciever
Did you do:
Code: sudo modprobe lirc_rpi pilight - modular domotica solution
|
|||
10th Mar, 2013, 06:48 PM
Post: #3
|
|||
|
|||
RE: Trouble with IR reciever
It helpd. Now mode2 says nothing (empty line). It means that I didnt connect the reciever correctly? After I reconnect it, reboot is required?
|
|||
10th Mar, 2013, 11:00 PM
Post: #4
|
|||
|
|||
RE: Trouble with IR reciever
First check if the module is loaded, then check with mode2. If that doesn't output anything while pressing buttons, you didn't connect the device properly.
pilight - modular domotica solution
|
|||
12th Mar, 2013, 08:20 PM
Post: #5
|
|||
|
|||
RE: Trouble with IR reciever
Ok, I've create a remote.conf and there is another trouble. Key DOWN and key 2 on remote looks same in irw, both has this output
Terminal 00000000b4b43cc3 00 key_2 AKB35840201 00000000b4b43cc3 01 key_2 AKB35840201 00000000b4b43cc3 02 key_2 AKB35840201 00000000b4b43cc3 00 key_2 AKB35840201 |
|||
12th Mar, 2013, 08:27 PM
Post: #6
|
|||
|
|||
RE: Trouble with IR reciever
Then you probably made a mistake with irrecord.
pilight - modular domotica solution
|
|||
12th Mar, 2013, 08:44 PM
Post: #7
|
|||
|
|||
RE: Trouble with IR reciever
where?
Terminal key_down 0x12ED key_2 0x3CC3 |
|||
12th Mar, 2013, 08:48 PM
Post: #8
|
|||
|
|||
RE: Trouble with IR reciever
Just try again to be sure.
pilight - modular domotica solution
|
|||
12th Mar, 2013, 08:55 PM
Post: #9
|
|||
|
|||
RE: Trouble with IR reciever
О_о
now keys with dups are different 0x-codes same as previous. Difference only between 'begin remote' and 'begin codes'. |
|||
12th Mar, 2013, 09:03 PM
Post: #10
|
|||
|
|||
RE: Trouble with IR reciever
Then those values probably need to be very precise. Then you try recording the button in raw mode.
pilight - modular domotica solution
|
|||
12th Mar, 2013, 09:19 PM
Post: #11
|
|||
|
|||
RE: Trouble with IR reciever
ok, I've created new conf file through irrecord -fn, for test I added the 2 key two times. But the first 'key2' raw code and the second is different.
Is there a way to echo raw data from ir? mode2? Every key has different codes. Looks like it is normal =) wait until I make a new file All works now. Plus I made some changes in Configuring remotes |
|||
« Next Oldest | Next Newest »
|