Girder plugin 3.2.0 Debounce Timeout bug

Having problems? Use this forum to find help!

Moderator: jrhees

Girder plugin 3.2.0 Debounce Timeout bug

Postby CraziFuzzy » Thu May 01, 2008 10:16 pm

I am using girder 5 Beta, with the built-in Girder plugin (3.2.0). It contains some great features that would be VERY nice for my setup, with the automatic debounce logic. Ideally, you set it up with a repeat delay. This is the amount of time between repeat events from the USBUIRT. So, say i hold down my '1' button on my remote, and it sends the IR command every 125ms. Setting the debounce time to 150ms, I should get a <Down> command the first event recieved. If it recieves the same command within the 150ms, it should generate a <Repeat> command. If it does NOT recieve the same command within 150ms, it should generate an <Up> command.

The bug I have found is very annoying, and it seems it SHOULD be a simple fix. Currently, the <Down> and <Repeat> commands are generated properly. However, the <Up> event is not generated properly. Instead of generating the <Up> event after the 150ms timeout since the last event, it generates it exactly 2sec after the last event. It seems this 2 sec is hard-coded in the plugin, and is a serious deal-breaker for using this feature. 2sec is an eternity in HTPC terms. It will generate an <Up> event if a different command is recieved within that 2 sec, which seems correct, it's just this 2sec is wrong. Instead of 2 sec, it should use the value in the debounce parameter.

like i said, simple fix.

I didn't know whether this belongged here or at the Promixis forum, but i figured I'd try here first.

Thanks again for the great device, it has worked well for me for many years, but this bug is limiting my systems evolution.

example Girder Log:
Code: Select all
15:13:08:329  5/1/2008 USB-UIRT driver  631B050041F5 <Up>
15:13:06:329  5/1/2008 USB-UIRT driver  631B050041F5 <Repeat>
15:13:06:204  5/1/2008 USB-UIRT driver  631B050041F5 <Repeat>
15:13:06:079  5/1/2008 USB-UIRT driver  631B050041F5 <Repeat>
15:13:05:938  5/1/2008 USB-UIRT driver  631B050041F5 <Repeat>
15:13:05:813  5/1/2008 USB-UIRT driver  631B050041F5 <Repeat>
15:13:05:688  5/1/2008 USB-UIRT driver  631B050041F5 <Down>
CraziFuzzy
 
Posts: 6
Joined: Thu Feb 08, 2007 3:21 am

Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 33 guests