Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - Doug

4
USB Infrared Toy / Re: Winlirc interface
Many, many people using AutoHotKey have created simple GUIs that execute commands. Perhaps someone has done it in the WinLIRC world, but I suppose not because people use remotes.

Here's a basic AutoHotKey template you can use to get you started:
Code: [Select]
Gui, Add, Button, x067 y007 w80 h30, Play
Gui, Add, Button, x067 y048 w80 h30, Pause
Gui, Add, Button, x067 y089 w80 h30, Stop
Gui, Show, x366 y234 h135 w214, Remote
Return

Play:
Run, "C:Program FilesWinLIRCtransmit.exe remotename codename reps"
Return

Pause:
Run, "C:Program FilesWinLIRCtransmit.exe remotename codename reps"
Return

Stop:
Run, "C:Program FilesWinLIRCtransmit.exe remotename codename reps"
Return

GuiClose:
ExitApp

Replace remotename and codename with whatever you called your remote/buttons. reps isn't necessarily needed so you can omit it if you don't want the code repeated.

You can design your GUI with SmartGUi Creator and use buttons or images. http://http://www.autohotkey.net/~rajat/SGUI/#Download

Good luck with your design.
5
USB Infrared Toy / Re: Winlirc interface
I'll mention AutoHotkey again because it's fairly easy. You build your own Window (i.e., the remote) with a bunch of buttons on it and assign each button a unique remote code in WinLIRC (i.e., "C:Program FilesWinLIRCtransmit.exe remotename codename reps")
Then AutoHotKey can create your very own executable file (i.e., MyRemote.exe) for you.
7
USB Infrared Toy / Re: IR Toy firmware v23 tests
I had to revert back to v22. I was experiencing WinLIRC freezes which seemed to only occur only when I was receiving and sending (receive only seems to work okay).  I'd have to unplug/replug the IR Toy to reset WinLIRC but the problem would occur again after a few receive/send combinations.

Doug
10
USB Infrared Toy / Re: IRToy stops working after pc resumes from standby
Hey, adsf.

Great idea to unload/load the drivers. I'm trialling that right now using EventGhost in one of my media players to detect the standby or resume event and run a batch file and a MediaPortal plugin in another. So far it looks like it's working. Below is the code in my batch file FYI for anyone else that may want to try. (%1 is the suspend or wakeup parameter passed by EventGhost or other trigger)

Doug


if "%1" == "suspend" goto OnSuspend
if "%1" == "wakeup" goto OnWakeUp
goto Done

:OnSuspend
net stop usbser
goto Done

:OnWakeUp
net start usbser
goto Done

...

:Done
12
USB Infrared Toy / Re: Troubles upgrading firmware to v22
Hi, Ian.
My v2 isn't showing up as an HID compliant device either.  I can't connect via the updater.  Here's the output of running a firmware update. (I am typing 5 as my com port number, but it is fictitious as there isn't a com port.) 
Enter Com Port Number 5
Could not open com port.
Once the device has entered boot loader mode
Press any key to continue . . .
U2IO flash erasing: FAILED.
Device is not found.
Operation aborted.
Press any key to continue . . .

FYI, I can short the pins on my v1 and it shows as an HID device. And flashing that went as expected.
13
USB Infrared Toy / Troubles upgrading firmware to v22
Hi,
I tried updating my v2 IR Toy to firmware v22 but have a problem. I was previously able to see the device as a com port, but after shorting PGC and PGD together, I can't do anything else. I'm not able to flash it as the device is not recognized (no com port) and it appears to be stuck in the bootloader (LED is always on).  I can't figure out how to reset it. (flashing my v1 IR Toy was easy!)

Any suggestions on what I can do?

Thanks,
Doug
14
USB Infrared Toy / Re: IRToy stops working after pc resumes from standby
Hi,
I'm using v21 of the firmware with a v2 IR Toy.  Win 7/32 bit. And the latest versions of WinLIRC, EventGhost, and the EG IR Toy plugin.

I never noticed it with previous versions, but I never tried to enable standby with them.  I won't be able to try any test of earlier firmwares until the new year.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01572422416session_write_close ( )...(null):0
20.01622553992ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01622554768Database_MySQL->query( ).../DatabaseHandler.php:119
40.07242693488Database_MySQL->error( ).../Db-mysql.class.php:273