maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Pierogi - a universal infrared remote control app (https://talk.maemo.org/showthread.php?t=82243)

Copernicus 2013-05-13 18:39

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by sixwheeledbeast (Post 1343351)
I thought the file would help, it looked broken.
No time to play now but I'll try to fix later.

Thanks! And yeah, a quick check of the code shows that I'm not doing enough sanity checking of the cached data; once a bad tab value creeps in, it can end up corrupting all the rest of the cached values. I still don't know how the first bad value showed up, but I'll make sure that Pierogi is bulletproofed against this in the future.

Quote:

What's "size=5" doing in there?
That's QSettings' very very strange way of managing "arrays" of data. :) They first create a grouping (like my "[favorites]" group), then prefix each following line with an index describing which "array entry" they belong to. And, to finish things off, they add a "size=" line to delimit how many array entries exist. As you can see, they can be fairly lax about the actual ordering of these lines in the file. :)

stickymick 2013-05-13 20:10

Re: [Announce] Pierogi - a universal infrared remote control app
 
Hi Copernicus.
Still getting the blank page here also. Whenever I go to another keyset other than the start-up (favorite) to another and then go back to the favorite again is when the blank screen occurs.

Copernicus 2013-05-13 21:10

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by stickymick (Post 1343372)
Still getting the blank page here also. Whenever I go to another keyset other than the start-up (favorite) to another and then go back to the favorite again is when the blank screen occurs.

Yeah, my apologies; it turns out I'm not properly initializing my settings data in certain circumstances. (Of course, when I tested it, I only hit a code path that _did_ properly initialize the data... I'm getting lax in my old age.) Anyway, I'll push up a fix asap!

Copernicus 2013-05-13 21:56

Re: [Announce] Pierogi - a universal infrared remote control app
 
Alright, another update is on its way into extras-devel, which should fix the uninitialized variable problem. I've tested it to make sure it works; but then, I tested the previous version too, so take that with a grain of salt. :) If problems persist, please tell me! Thanks.

Scorpius 2013-05-16 15:10

Re: [Announce] Pierogi - a universal infrared remote control app
 
Hey I just installed your software and it's amazing. Wonderful application! I never thought the IR was powerful enough to keep a decent distance between the N900 and the devices you want to control, but it works alright!

Congrats.

Fatalist 2013-05-16 15:32

Re: [Announce] Pierogi - a universal infrared remote control app
 
Hi Copernicus,

Do you think this could be done on Pierogi as an option in the cameras remote controls?

Using an N900 as a remote flash:
http://vimeo.com/9753952

The code and how to for the application widget Shutter is explained here:

http://doitdifferent.wordpress.com/2...lash/#more-272

I tried to make it work but failed, no flash on my N900.
Thanks for Pierogi, is one of the softwares I use more frequently.

Copernicus 2013-05-16 16:00

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by Fatalist (Post 1344075)
Do you think this could be done on Pierogi as an option in the cameras remote controls?

Wow, never even thought about that. I suppose it would be possible; first, can you tell me if Pierogi's "Nikon ML-L3 Remote Keyset" works to control your Nikon? (If not, I'll need to take a look at "Shutter", and see what codes it uses.)

Hmm, looking at the "strobe-test" code, it doesn't look too hard... I'll give it a try. (I'll need to read up on how to control the N900's camera, though; I've really never tried that before.)

Fatalist 2013-05-16 16:06

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by Copernicus (Post 1344081)
Wow, never even thought about that. I suppose it would be possible; first, can you tell me if Pierogi's "Nikon ML-L3 Remote Keyset" works to control your Nikon? (If not, I'll need to take a look at "Shutter", and see what codes it uses.)

Hmm, looking at the "strobe-test" code, it doesn't look too hard... I'll give it a try. (I'll need to read up on how to control the N900's camera, though; I've really never tried that before.)

I use Pentax and choosing the Pentax Remote Control F of Pierogi works ok with my K20D.

stickymick 2013-05-16 16:34

Re: [Announce] Pierogi - a universal infrared remote control app
 
Latest update is working as expected. Haven't extensively tested things yet but the black screen issue has ceased.

Like the idea as a remote flash.

:EDIT: As an afterthought. What are the chances of extending Pierogi to control robots? ;)

Copernicus 2013-05-16 16:45

Re: [Announce] Pierogi - a universal infrared remote control app
 
Quote:

Originally Posted by Fatalist (Post 1344082)
I use Pentax and choosing the Pentax Remote Control F of Pierogi works ok with my K20D.

Ah, right, I guess you don't have to use a Nikon with "Shutter" either. :)

Hmm. I've already been forced to put an entry in the "sudoers" list for Pierogi in order to access the /dev/lirc0 device driver for the infrared port; so it shouldn't be too much effort to also access the /dev/video0 device driver. I'm somewhat concerned about conflicts with other running apps; Pierogi's use of the IR device means that other IR apps can't use it at the same time (which, to my mind, is a fairly decent tradeoff). Monopolizing the camera device as well seems a bit more of an annoyance; I'll have to see how hard it is to acquire and release the device on demand.

(Yeah, I'm really still a novice at communicating with device drivers...)


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

vBulletin® Version 3.8.8