maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   QtIrreco for N900 (https://talk.maemo.org/showthread.php?t=37655)

Cue 2011-03-05 20:47

Re: QtIrreco for N900
 
Quote:

Originally Posted by casketizer (Post 961413)
Partial Success!!!!!

I noticed the header data was different from the generic Bravia remote. So I replaced it with that generic header data.
Now I have the 12bit section working.
This gives me 4 important buttons the generic remote lacks.
Unfortunately I still need the 15bit section which I put in a seperate file. Seems it also has bad header data :(
Thank you for all your kind help so far!

EDIT:
ALL WORKING!!!
Found working Header data for the 15bit commands in another sony Remote for a simpler Bravia Model.

Thank you for all your help Cue!!!

no problem, glad you have it working.

geojoking 2011-03-05 21:15

Re: QtIrreco for N900
 
I'm sorry to ask this, maybe I'd find the answer if I look through the pages of this thread, but...

If my device is not in the list, how can I find/create the remote for it? I have a Hitachi with a CLE 978 remote and the available Hitachi remotes do not seem to work...

casketizer 2011-03-05 21:26

Re: QtIrreco for N900
 
Find your remote here:
http://lirc.sourceforge.net/remotes/
Use Pages 47-49 of this thread, esp Cue's posts as a guide how to use them.

guyr 2011-03-07 22:20

Re: QtIrreco for N900
 
I want to emulate samsung BN59-01014A remote for my TV.
I create a lirc.conf file with my PC (serial lirc). This file is fine now.
I put this file on my N900 and i test with :
irsend SEND_ONCE BN59-01014A POWER
(i configure accordingly /etc/lircd.conf and restart lirc). This command does nothing on my TV but works fine on my serial lirc on the PC. With irw command on my PC, i can see that the POWER signal is send by the n900 (i also test the signal with my camera)
I don't understand this behavior. I have the same result with the original samsung remote on my serial lirc on the PC (with irw command) !

Why with "irsend SEND_ONCE BN59-01014A POWER" on the N900 i can't power on/off my TV ?

electroaudio 2011-03-07 22:26

Re: QtIrreco for N900
 
Quote:

Originally Posted by guyr (Post 962766)
I want to emulate samsung BN59-01014A remote for my TV.
I create a lirc.conf file with my PC (serial lirc). This file is fine now.
I put this file on my N900 and i test with :
irsend SEND_ONCE BN59-01014A POWER
(i configure accordingly /etc/lircd.conf and restart lirc). This command does nothing on my TV but works fine on my serial lirc on the PC. With irw command on my PC, i can see that the POWER signal is send by the n900 (i also test the signal with my camera)
I don't understand this behavior. I have the same result with the original samsung remote on my serial lirc on the PC (with irw command) !

Why with "irsend SEND_ONCE BN59-01014A POWER" on the N900 i can't power on/off my TV ?

Does anyone know the IR-wavelength and modulationfrequency used by the N900?

Maybe the modulationfrequency and wavelength is too far from the ones used in your tv, while the ones used by your PC fits much better with the TV?

Vishay components has a selectionguide with som more info about irtransmissions...
http://www.vishay.com/doc?80071

casketizer 2011-03-07 22:27

Re: QtIrreco for N900
 
@guyr

N900 has a very short range. Did you try it from <1m distance? Other than that I can only imagine the timings are off in the header of the lirc file. I downloaded a lirc file for my TV and it didn't work on N900 but works on PCs. Turned out to be the timing data. I replaced it with data from a more basic remote and it works. Seems the N900 needs very precise timing data.

guyr 2011-03-08 13:13

Re: QtIrreco for N900
 
Quote:

Originally Posted by casketizer (Post 962771)
N900 has a very short range. Did you try it from <1m distance?

Yes, but it does nothing.
Quote:

Originally Posted by casketizer (Post 962771)
Other than that I can only imagine the timings are off in the header of the lirc file. I downloaded a lirc file for my TV and it didn't work on N900 but works on PCs. Turned out to be the timing data. I replaced it with data from a more basic remote and it works. Seems the N900 needs very precise timing data.

What basic remote control do you use?
Here the first lines of the remote i create :
Code:

begin remote

  name  BN59-01014A
  bits          16
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header      4538  4462
  one          570  1665
  zero          570  547
  ptrail        570
  pre_data_bits  16
  pre_data      0xE0E0
  gap          107690
  toggle_bit_mask 0x0

      begin codes


vir3us 2011-03-08 16:49

Re: QtIrreco for N900
 
Cant find a remote for a bush freeview box :( please help

casketizer 2011-03-08 20:54

Re: QtIrreco for N900
 
@guyr
With more basic remote I meant I downloaded the remote of a more basic ie simpler, cheaper Sony Bravia TV from lirc site, while I have a pretty highend one. The simpler remote is practically a subset of mine. It shares a lot of the buttons and their codes but mine has more. More importantly it uses the same timing header data. So I copypasted (just) the headers of the simpler remote over the headers of my remote and presto it works on N900 now.

casketizer 2011-03-08 20:56

Re: QtIrreco for N900
 
Quote:

Originally Posted by vir3us (Post 963294)
Cant find a remote for a bush freeview box :( please help

Did you check
http://lirc.sourceforge.net/remotes
?


All times are GMT. The time now is 17:10.

vBulletin® Version 3.8.8