Notices


Reply
Thread Tools
Posts: 79 | Thanked: 53 times | Joined on Jul 2010 @ Ho Chi Minh, Viet Nam
#651
Hi Copernicus,

Could you add a function that allow to loop through all available devices and send the signal for a particular button (ie. power button)

My point is that we can use this to quickly check what key set work for a particular device.

Thank you in advance
__________________
All about God, love and yoga www.kriyayoga.com
 

The Following User Says Thank You to cantruchd For This Useful Post:
macey's Avatar
Posts: 283 | Thanked: 276 times | Joined on Aug 2011 @ uk or @Pai,Mae Hong Son, Thailand
#652
Originally Posted by cantruchd View Post
.......add a function that allow to loop through all available devices and send the signal for a particular button (ie. power button)

My point is that we can use this to quickly check what key set work for a particular device.

Thank you in advance
I'll second that! May help me find a suitable keyset for my ADB-iCan Easy HD 2851T!
 

The Following User Says Thank You to macey For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#653
@cantruchd and @macey, yes, I originally wanted to add that sort of quick run through the same button in all the keysets to quickly pick out the one you want. But I got into a problem with memory usage back when I was keeping all the keysets active at the same time. I'd still like to do it, but I'm not sure exactly how to do it efficiently...
 
Posts: 650 | Thanked: 497 times | Joined on Oct 2008 @ Ghent, Belgium
#654
I'd only keep those of the specific brand + device type in memory. So if you have a TV set of a certain brand, and there are 20 possible keysetsm it is easier to find out which one you need....
__________________
Affordable mobile internet in Belgium: Try Mobile Vikings
2 GB, 1000 SMS and 15 euro of talk time for.... 15 euro
 

The Following User Says Thank You to petur For This Useful Post:
Posts: 57 | Thanked: 42 times | Joined on Mar 2011 @ France
#655
Originally Posted by cantruchd View Post
Hi Copernicus,

Could you add a function that allow to loop through all available devices and send the signal for a particular button (ie. power button)

My point is that we can use this to quickly check what key set work for a particular device.

Thank you in advance
The widget TVBgone does this function: it loops sending all poweroff signals, but I don't think it's possible to check which keyset worked because in any case there is no IR receiver on n900...
 

The Following User Says Thank You to krutznikov For This Useful Post:
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#656
It would require user to press some kind of "Stop!" button, when receiving device goes off - then, it should be possible to check last, lets say, 5 codes used (to re-try each one separately, checking which one really worked).

To be effective, it would require sending codes not-too-fast - something like one or two per second. I think, that it would still make browsing through dozens of keysets *much* more easy.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 2 Users Say Thank You to Estel For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#657
Ok, ok, I guess I just really needed to be pushed a bit. I have finally made the attempt to complete my memory management scheme; I was leery about destroying objects across threads, but it looks like it was easier than I had feared. At least, so far it seems that way.

Anyway, with that out of the way, I can now run through every keyset in Pierogi without consuming all the ram in the N900. And so, I've thrown together a panel that, more or less, follows the scheme I had put together for testing keysets way back when I started. (I'll attach a screenshot of the panel at the end of this post.) Right now, the panel just tests the "Power" key in each keyset. I have four buttons on the panel, two which allow you to step forward and backward through the list of keysets one keyset at a time, and two which allow you to "fast forward" through the list, spitting out power keys very quickly (I've currently got it set to switch keysets every 0.05 seconds, but as some protocols require more time than that to encode a single command, it won't always move forward that quickly).

The general idea here is that you'd use the fast-forward and fast-reverse keys to move around quickly until you see the device power on or off, and then use the stepwise keys to find out exactly which keyset triggered the power switch.

There are caveats here, of course: quite a number of devices don't have a remote "power" key, so this mechanism won't catch them. Also, some manufacturers make really strange decisions about their key values: for example, as I've just discovered, the "Power" button for the Sanyo TV Keyset 1a is exactly the same as the "Factory Reset" button in Sanyo TV Keyset 1. (Luckily, you have to hit the reset button twice to perform the reset, so I didn't lose all my TV settings. I have no idea what the engineers at Sanyo were thinking...) So be warned, even just looking for power buttons can be dangerous!

Also of note in this release, I've added a new Camera Shutter panel, for use with the various DSLR camera remotes. It doesn't have much, just an "Open Shutter" button, and (for the Canon remote) an "Open Shutter after Delay" button. Pretty simple.

And, this release contains a first pass at keysets for Deutsche Telekom, Emtec, Goodmans, Nikon, Olympus, and Pentax. (Along with an update to Canon so it can use the new camera panel.)

Again, this is a release that contained a decent amount of messing around with the memory management guts. Be warned that bugs may lie ahead! (And please tell me when you do find them!)
Attached Images
 
 

The Following 6 Users Say Thank You to Copernicus For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#658
Originally Posted by petur View Post
I'd only keep those of the specific brand + device type in memory. So if you have a TV set of a certain brand, and there are 20 possible keysetsm it is easier to find out which one you need....
Well, but if you already know the brand, there probably aren't all that many choices to pick through in Pierogi. Only a few brands have as many as 10 TV keysets, and most have much less.

Also, a lot of minor players in the consumer electronics market are using devices manufactured by the big guys and rebranded in their own name; so, it can be worthwhile to try keysets used for other brands of device if you can't find a keyset specific to the brand you've got.

In any case, my biggest problem was just getting Pierogi's memory management under control; with that, playing around with keysets becomes a whole lot easier.
 

The Following 2 Users Say Thank You to Copernicus For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#659
Originally Posted by krutznikov View Post
The widget TVBgone does this function: it loops sending all poweroff signals, but I don't think it's possible to check which keyset worked because in any case there is no IR receiver on n900...
And what's worse is that TVBgone doesn't even know anything about the IR commands it spits out. I've looked at the data in the TVBgone widget, and I have no idea how they manage to update it, as it is just a list of raw numbers. Even if you knew that the 45th entry in the list was the one you wanted, there's no way to tell just where the 45th entry came from...
 

The Following 2 Users Say Thank You to Copernicus For This Useful Post:
Posts: 2,290 | Thanked: 4,133 times | Joined on Apr 2010 @ UK
#660
Originally Posted by Copernicus View Post
The general idea here is that you'd use the fast-forward and fast-reverse keys to move around quickly until you see the device power on or off, and then use the stepwise keys to find out exactly which keyset triggered the power switch.

There are caveats here, of course: quite a number of devices don't have a remote "power" key, so this mechanism won't catch them. Also, some manufacturers make really strange decisions about their key values: for example, as I've just discovered, the "Power" button for the Sanyo TV Keyset 1a is exactly the same as the "Factory Reset" button in Sanyo TV Keyset 1. (Luckily, you have to hit the reset button twice to perform the reset, so I didn't lose all my TV settings. I have no idea what the engineers at Sanyo were thinking...) So be warned, even just looking for power buttons can be dangerous!
Dangerous is true, but this is not Pierogi's doing.
I remember having trouble with an LG TV/Monitor using this "Power Button" scanning type on a Virgin Media Box Remote.
The TV went into engineers mode and disabled all input's, took I while to work out how to fix.

A few suggestions for your vary useful new panel, a "restart" from beginning button to quick reset back to the first keyset. Maybe this could replace the fast backward?

I see no reason why you need to fast backward? "Restart", "Scan" and "Pause" would be more user friendly IMO.
Scan being nicer than holding the fast forward button down.
Then use "Previous" and "Next" to exactly find the correct keyset.

Also "add current keyset to favourites" would be useful.
That makes six buttons so could be same as main screen layout?

Finally, do you realise that when using the fast forward then next keyset the application has to be restarted to run the fast forward again?
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.

Last edited by sixwheeledbeast; 2012-09-06 at 23:29.
 

The Following 3 Users Say Thank You to sixwheeledbeast For This Useful Post:
Reply

Tags
infrared, pasta, remote, remote control


 
Forum Jump


All times are GMT. The time now is 09:36.