WinUSB query

Do you have questions about writing plugins or scripts in Python? Meet the coders here.
Post Reply
fredme
Posts: 7
Joined: Sun Aug 22, 2010 10:32 am

WinUSB query

Post by fredme » Sun Aug 22, 2010 11:48 am

0.4.0.r1397

I am trying to get a no-name RF remote to work with a WinUSB driver. It works with the generic HID driver apart from the colour buttons. The device shows up as a Holtek Wireless Trackball and Keyboard and with VID_1241&PID_F767.

I think the WinUSB driver has been installed properly and I am using a bare bones __init__.py file with a callback that just prints the recived data:

def ButtonsCallback(self, data):
print "Holtek:", data

However, this now recognises even fewer buttons than the Generic HID plug in. Does this make sense? Any idea what I have done wrong?

I have alse tried this remote with a trial version of Intelliremote and it works almost perfectly. Though I am not keen on spending £18 to get my £15 remote working.

Thanks for any help.

Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: WinUSB query

Post by Bartman » Thu Aug 26, 2010 4:50 pm

can you post the whole plugin and may be a screen shot from the device manager?

fredme
Posts: 7
Joined: Sun Aug 22, 2010 10:32 am

Re: WinUSB query

Post by fredme » Sat Aug 28, 2010 8:56 am

Requested files attached. Thanks for offering to help.

One thing I have not been sure of is what to use for the GUIDs. But since it seemed to work at least partially I assumed they were not too important.
Attachments
EventGhost.jpg
Device Manager.jpg
__init__.py
(821 Bytes) Downloaded 253 times

fredme
Posts: 7
Joined: Sun Aug 22, 2010 10:32 am

Re: WinUSB query

Post by fredme » Sat Aug 28, 2010 9:57 am

It might also be useful for you to know that when using the Generic HID plugin the standard direction buttons (left, right, up, down) and media control buttons as well as the i and the Guide buttons are detected (but not DVD Menu, REC TV, Lve TV, My Music, My Pictures etc) by EventGhost but when using my WinUSB Holtek plugin only the direction buttons and a couple of the media control buttons are detected.

Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: WinUSB query

Post by Bartman » Mon Aug 30, 2010 6:20 pm

Looks right.
Maybe the device consists of multiple devices?

fredme
Posts: 7
Joined: Sun Aug 22, 2010 10:32 am

Re: WinUSB query

Post by fredme » Tue Aug 31, 2010 6:31 pm

No idea. How would I investigate that?

If it wasn't for Intelliremote working with it (and therefore it must be possible to get it to work!) I would have given up on it and bought a different remote.

Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: WinUSB query

Post by Bartman » Wed Sep 01, 2010 1:21 pm

change view to devices by connection and search for the holtek device.
If there are devices parallel to the entry they are from the remote.

fredme
Posts: 7
Joined: Sun Aug 22, 2010 10:32 am

Re: WinUSB query

Post by fredme » Sat Sep 18, 2010 10:58 am

Sorry for the delay in replying.

I found one instance of Holtek when viewing By Connection.
Attachments
properties.jpg
By connection.jpg

Post Reply