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)

bingomion 2011-12-04 21:36

Re: QtIrreco for N900
 
download the remote here:
http://lirc.sourceforge.net/remotes/

There's what to do with it:
http://irreco.garage.maemo.org/FAQ.html#FAQ

FAQ
IR led is working but QtIrreco doesn't send any signal?

First thing to check is if lirc is running by typing ps in terminal.You should see this line:

/usr/sbin/lircd --device=/dev/lirc0 --listen=8765

Then check the file under /home/user/MyDocs/qtirreco/Remotes/<remotename.conf> for whats the device in line:

command: <device> <command<

Then check if that device actually is the same under /home/user/MyDocs/qtirreco/Devices/<device>. There check the line after begin remote:

name <device>

Then under /etc/lircd.conf you should have proper device path included.

If those devices in lines match and lirc runs the IR signal should be sent. Some codes doesn't work but still the signal is emitted.

liao22 2011-12-10 04:12

Re: QtIrreco for N900
 
nobody take the project qtirreco and irreco?

Cue 2011-12-10 04:14

Re: QtIrreco for N900
 
Quote:

Originally Posted by liao22 (Post 1135729)
nobody take the project qtirreco and irreco?

Doesn't seem like it. I tried to contact Niko too but his email address is no longer valid either.

simsonmeno 2011-12-21 22:36

Re: QtIrreco for N900
 
Hi
could someone give me a working link witch I can youse as baseURL
the default gives me a "network error 4"

bingomion 2011-12-22 10:18

Re: QtIrreco for N900
 
try baseURL
http://lirc.sourceforge.net/remotes/

I don't know if it will work, but all the remotes are there.

bioepi 2011-12-22 11:16

Re: QtIrreco for N900
 
With this link the qtirreco doesn't works, you must take manually.
I can't take a new remote for my new TV, :(
Somebody know how to repair the request failed.

spajta111 2011-12-22 15:10

Re: QtIrreco for N900
 
how to get this remote http://lirc.sourceforge.net/remotes/ei/TV90
in irreco - what to do with this?
and i have irrco 0.8.11 installed
please help

bingomion 2011-12-23 05:10

Re: QtIrreco for N900
 
Quote:

Originally Posted by bingomion (Post 1133217)
download the remote here:
http://lirc.sourceforge.net/remotes/

There's what to do with it:
http://irreco.garage.maemo.org/FAQ.html#FAQ

FAQ
IR led is working but QtIrreco doesn't send any signal?

First thing to check is if lirc is running by typing ps in terminal.You should see this line:

/usr/sbin/lircd --device=/dev/lirc0 --listen=8765

Then check the file under /home/user/MyDocs/qtirreco/Remotes/<remotename.conf> for whats the device in line:

command: <device> <command<

Then check if that device actually is the same under /home/user/MyDocs/qtirreco/Devices/<device>. There check the line after begin remote:

name <device>

Then under /etc/lircd.conf you should have proper device path included.

If those devices in lines match and lirc runs the IR signal should be sent. Some codes doesn't work but still the signal is emitted.

#I ran as root, but not needed.
cd /home/user/MyDocs/qtirreco/Devices

#dowload remote file here, eg:
wget http://lirc.sourceforge.net/remotes/ei/TV90 .

exit console,

Or you can download your remote on windows and copy and past it into N900:\qtirreco\Devices

start QtIrreco
create new remote
Edit remote
new button
click add on the right
from the left, select your new remote, eg TV90 and from the right, select your command, eg mute
ok
Move button, etc, repeat, new button etc.
click save remote.
the rest is as normal.

Thank me for holding your hand!! :D

electroaudio 2011-12-23 10:02

Re: QtIrreco for N900
 
Quote:

Originally Posted by bingomion (Post 1141052)
run this as root
root
cd /home/user/MyDocs/qtirreco/Devices

#dowload remote file here, eg:
wget http://lirc.sourceforge.net/remotes/ei/TV90 .

exit console,

Are you sure it must be as root? It is after all in the homedirectory...

bingomion 2011-12-23 10:09

Re: QtIrreco for N900
 
Quote:

Originally Posted by electroaudio (Post 1141100)
Are you sure it must be as root? It is after all in the homedirectory...

yes, fixed... mine is root... i do stupid stuff :D

spajta111 2011-12-23 11:02

Re: QtIrreco for N900
 
i want to download it from windows but i don know how, there isnt any download button. do i need to save that in notepad, and in what format, or what.
and how to copy it to N900:\qtirreco\Devices when there is not qtirreco folder when i connect my n900 with usb cable. do i need to create that folder or what?
and when do i need to type this command ( cd /home/user/MyDocs/qtirreco/Devices ) in xterminal.

i know i am noob sorry for that.:)

electroaudio 2011-12-23 11:52

Re: QtIrreco for N900
 
Quote:

Originally Posted by spajta111 (Post 1141119)
i want to download it from windows but i don know how, there isnt any download button. do i need to save that in notepad, and in what format, or what.
and how to copy it to N900:\qtirreco\Devices when there is not qtirreco folder when i connect my n900 with usb cable. do i need to create that folder or what?
and when do i need to type this command ( cd /home/user/MyDocs/qtirreco/Devices ) in xterminal.

i know i am noob sorry for that.:)

Its a bit dangerous to download it in windows because linux and windows has a different way to end lines (Technical: CR vs CR+LF)
The folder alredy exists but is hidden from windows...

I think the best you can do would be to open xterminal and follow the instructions, it is very easy (Just type the commands in xterminal with the keyboard...) and there will be errormessages to tell you if you spell something wrong... so "just do it" ;)

bingomion 2011-12-23 12:09

Re: QtIrreco for N900
 
hmm i'm sure it won't convert the file by just saving it... just don't open this file.

right click the remote file and save as from here:
http://lirc.sourceforge.net/remotes/ei/
It's TV90 file.

you should see your n900 internal mmc, if not it's locked by S/W running on phone... reboot n900 will fix it.
Then copy/paste your remote file into (N900 32g emmc)\qtirreco\Devices

It not hidden, it's not .qtirreco
At least it wasn't on mine and it worked.

spajta111 2011-12-23 12:27

Re: QtIrreco for N900
 
i rebooted but it is the same again no qtirreco folder.
i wonder if i installed the right version of irreco
i intalled it like this: appmenager/multimedia/ and then irreco (for n900)
my windows can see all hidden files.
or is there an x terminal command to copy it there?

bingomion 2011-12-23 12:41

Re: QtIrreco for N900
 
Re: QtIrreco for N900
You need QtIrreco for N900
Irreco is only the command line.

In the app installer, look under all and type qtirreco
it'll come up, unless it's under dev or test and you haven't installed (google meamo repository)

spajta111 2011-12-23 13:14

Re: QtIrreco for N900
 
i installed it like on this tutorial:
http://theunlockr.com/2009/11/22/how...-on-your-n900/
so a need to delete that and instal qtirreco right ?

bingomion 2011-12-23 14:00

Re: QtIrreco for N900
 
That page was created in 2009.. you actually follow something from 2009??
Did you at least see what the 2nd google link was?

willi6868 2011-12-23 22:46

Re: QtIrreco for N900
 
Quote:

Originally Posted by bingomion (Post 1133217)
...
IR led is working but QtIrreco doesn't send any signal?

First thing to check is if lirc is running by typing ps in terminal.You should see this line:

/usr/sbin/lircd --device=/dev/lirc0 --listen=8765
...
Then under /etc/lircd.conf you should have proper device path included.
...

My Qtirecco doesn't work after reflashing my n900..

If I type ps I don't get /usr/sbin/lircd --device=/dev/lirc0 --listen=8765
!!
And my /etc/lircd.conf doesn't contain any commands..

What's wrong??

bingomion 2011-12-23 23:23

Re: QtIrreco for N900
 
try uninstalling Qtirecco,
check if /etc/lircd.conf is there, if so rename it to /etc/lircd.conf.old
reinstall Qtirecco

if that didn't work rename /etc/lircd.conf.old back to original name and try

make sure Qtirecco is running while doing this in the terminal:
ps -ef | grep lircd
the | is pipe, shift \ on my keyboard, on n900 hit the blue up arrow and then Sym Ctrl key, select |

You should then see
/usr/sbin/lircd --device=/dev/lirc0 --listen=8765

if not, as root, try running:
/usr/sbin/lircd --device=/dev/lirc0 --listen=8765

willi6868 2011-12-24 15:02

Re: QtIrreco for N900
 
No it doesn't work :o

bingomion 2011-12-24 21:43

Re: QtIrreco for N900
 
What? Why? How?

willi6868 2011-12-25 14:33

Re: QtIrreco for N900
 
Reinstalling of qtirreco and renaming of etc/lird.conf does not solve my problem.

tcm34riu234h 2011-12-29 19:59

Re: QtIrreco for N900
 
2 Attachment(s)
hm...

I looked at the source code, found what's wrong and kind of fixed it.

But now I'm stuck with packing it the right way, because the buttons and other resources are always missing.
I probably trying to fix it later this evening.

I attached the two files I changed to get the remote download working again. If someone knows how to compile and pack it the right way, we would all have a working version.
The version I attached is a quick and dirty version, just meant to get it running right now so please don't blame me for bad code :D.
It uses 'http://lirc.sourceforge.net/remotes/' as the source instead of 'mercury.wipsl.com/irreco/webdb/' which is apparently down.


tcm


edit: I'm still to dumb to create a working deb package, but at least I got a binary I can share. I put it in the attachment...

to use do (probably as root):
mv /opt/maemo/usr/bin/qtirreco /opt/maemo/usr/bin/qtirreco_non_fixed
cp qtirreco /opt/maemo/usr/bin/qtirreco

aliasnameless 2011-12-30 19:10

Re: QtIrreco for N900
 
Thanks! And dont forget give run permissions

tcm34riu234h 2011-12-31 16:23

Re: QtIrreco for N900
 
2 Attachment(s)
Added alphabetical division and finally created a deb package

It's a deb but for some reason I've got problems with dependencies, which actually should be complied.

You can install the deb with dpkg --unpack qtirreco_fix.deb
Or just replace the binary the way I posted above
Or replace the downloardremotedlg.h and downloadremotedlg.cpp in the project and compile it yourself.

Can I somehow put this back in the repository?

tcm

Edit: forget about the deb :D it's too big for an attachment :D

electroaudio 2012-01-02 08:40

Re: QtIrreco for N900
 
Quote:

Originally Posted by tcm34riu234h (Post 1143948)
Can I somehow put this back in the repository?

That would be a good thing :)

Dont know if you can reuse the same name as a update, but it is very easy to put a deb into the repositories.
And nothing prevents you from a slight renaming to show that it is a new generation of qtirreco.
Just follow the steps here https://garage.maemo.org/extras-assistant/
It will guide you thru every step.

helloct 2012-01-03 01:31

Re: QtIrreco for N900
 
Hi

@tcm34riu234h
As a noob, I can install a .deb file but .gz? how to install it?

bingomion 2012-01-03 03:37

Re: QtIrreco for N900
 
gzip -d
google it

edit:
to use do (probably as root):
mv /opt/maemo/usr/bin/qtirreco /opt/maemo/usr/bin/qtirreco_non_fixed
cp qtirreco /opt/maemo/usr/bin/qtirreco

learn linux somewhere else :D

erick2991 2012-01-03 23:11

Re: QtIrreco for N900
 
sorry about the noob question but ...how can i install the src.tar.gz package???do i have to put it in the qtirreco folder???im really confused with this fix please explain it in a step by step guide ...please

kolos 2012-01-03 23:25

Re: QtIrreco for N900
 
erick2991, open qtirreco.gz with 7-zip to extract qtirreco file, which then place in phone's directory /opt/maemo/usr/bin/. That's all.

src.tar.gz package is for developers if they want to compile their own qtirreco file.

bioepi 2012-01-06 12:23

Re: QtIrreco for N900
 
Quote:

Originally Posted by tcm34riu234h (Post 1143948)
Added alphabetical division and finally created a deb package

It's a deb but for some reason I've got problems with dependencies, which actually should be complied.

You can install the deb with dpkg --unpack qtirreco_fix.deb
Or just replace the binary the way I posted above
Or replace the downloardremotedlg.h and downloadremotedlg.cpp in the project and compile it yourself.

Can I somehow put this back in the repository?

tcm

Edit: forget about the deb :D it's too big for an attachment :D

Very useful post, thanks a lot.
It's posible the same for "irwi", (Irreco widget).
Thanks again.

sepehr_se 2012-01-07 10:04

Re: QtIrreco for N900
 
what should I do? I can't download remotes. I extract qtirreco.gz with winrar in my pc and then replaced it with filebox in opt/maemo/usr/bin. but after I replaced it I can't open qtirreco

helloct 2012-01-10 17:44

Re: QtIrreco for N900
 
I have the same problem here, I can't open it now after replacing the file.
help please.

Jontizdemontiz 2012-01-11 19:45

Re: QtIrreco for N900
 
i had the same problem, its because the qtirreco file has no executing permission.

solution: as a root

cd /opt/maemo/usr/bin/
chmod 1 qtirreco


good luck

helloct 2012-01-12 19:44

Re: QtIrreco for N900
 
THANK YOU.
It work now.

But how to download the whole database on my phone?

$3v|\| 2012-01-20 11:20

Re: QtIrreco for N900
 
device:
Nokia-N900-51-1 2.6.28-omap1 armv71 (Nokia Kernel); Maemo 5; Version 21.2011.38-1 (I don't know what firmware - should be PR1.3 - where can I find the info?)

I downloaded QtIrreco v0.3.0-1 -> started but I could not download anything. Error: 3, Error: 8, Error: 11; the mesage was allways the same : HTTP request failed
I updated to QtIrreco v0.3.1-1 -> same error

irreco-for-n900 and the irreco widget also do not work
(see http://irreco.garage.maemo.org/)

(I used the N900 Program-Manager and downloaded from
http://repository.maemo.org/extra-devel; fremantle; free non-free
- for other noobs like me: don't forget to deactivate this catalog after download and don't do the proposed updates - this would be dangerous)

- downloaded the "qtirreco.gz (345.9 KB)" from tcm34riu234h (big thanks) to my PC (Win7 x64 Home Premium)

Quote:

Originally Posted by tcm34riu234h (Post 1143948)
...
Or just replace the binary the way I posted above
...

Quote:

Originally Posted by tcm34riu234h (Post 1143225)
...
to use do (probably as root):
mv /opt/maemo/usr/bin/qtirreco /opt/maemo/usr/bin/qtirreco_non_fixed
cp qtirreco /opt/maemo/usr/bin/qtirreco

- unziped it using http://www.7-zip.org/ 7-zip
- renamed the original file for backup-reasons to qtirreco_org_not-fixed (location: /opt/maemo/usr/bin/)
for this I used URL="http ://winscp.net/" WinSCP
(I don't know if you need URL="http ://www.chiark.greenend.org.uk/~sgtatham/putty/" PuTTY - don't think so)
Be careful: now you are root!
on your device you need rootsh and openssh
- copied it to the device using WinSCP
- don't forget to give run/eXecute permissions (right click - properties or F9) for all 3


now I'm able to download remotes in the main menu

PS: Sorry-but I'm not allowed to do more links :( so delete the space in "http ://"

$3v|\| 2012-01-20 11:58

Re: QtIrreco for N900
 
Quote:

Originally Posted by tcm34riu234h (Post 1143948)
...
Or just replace the binary the way I posted above
...

- but it is still not possible to "download themes" or to "download from DB"
- I can't use the Themes from http://irreco.garage.maemo.org/themes.html#themes
- it is not possible to change the background color (only black)
=> only the default buttons are possible

irreco-for-n900 and the irreco widget still do not work - they use an other executable file

unfortunately there is only a remote-control for my radio (SHARP RRMCGO229AWSA) and not for my tv - but it works up to 2.00m

I'm searching for:
TV: Samsung BN59-00936A for UE46B6000VPXZG
DVD: elta 8848MP4M
SAT: Octagon SF118 Free-To-Air
I can't find them on http://lirc.sourceforge.net/remotes/
is there an other database?
I don't have an IR-receiver to record them on my own.

Copernicus 2012-01-20 13:46

Re: QtIrreco for N900
 
Quote:

Originally Posted by $3v|\| (Post 1153241)
I'm searching for:
TV: Samsung BN59-00936A for UE46B6000VPXZG
DVD: elta 8848MP4M
SAT: Octagon SF118 Free-To-Air
I can't find them on http://lirc.sourceforge.net/remotes/
is there an other database?
I don't have an IR-receiver to record them on my own.

Yeah, unfortunately, LIRC is not a very complete or comprehensive source for IR information, but it seems to be the best out there right now. (I feel your pain -- I'm in the process of writing my own little IR control app right now, and am just dying for some better data...)

I think I can help in one way, though; although nobody seems to have encoded an Elta or Octagon remote yet, there are a lot of Samsung config files available. Most of Samsung's current crop of TVs appear to be using the same remote protocol (the "NEC" space-encoded system with a device prefix of 0xE0E0), so many of the config files end up containing identical commands. I'll bet that the "BN59-00940A" config file will be able to control your TV.

kolos 2012-01-20 13:49

Re: QtIrreco for N900
 
If you don't find your remote, you could try similar type which probably use the same IR codes. In your case I would start with BN59-00937A, which is in database. There is also it's picture and if you find that it looks similar or identical to 936A, then most probably you have what you need.

Copernicus 2012-01-20 13:54

Re: QtIrreco for N900
 
Quote:

Originally Posted by helloct (Post 1149630)
But how to download the whole database on my phone?

Yeah, that's something I wanted to do too, but Irreco/QtIrreco isn't built to work that way -- it only supports one config file at a time (at least as I understand it).

That's part of the reason I started my own IR app. :)


All times are GMT. The time now is 16:37.

vBulletin® Version 3.8.8