Page 1 of 1
Logitech S510 Media remote
Posted: Tue Aug 04, 2009 8:10 pm
by bitsnbytes
I'm trying to configure my logitech S510 media remote to work with Event Ghost.
Ive currently set this up using Generic HID plugin in event ghost, however, when I click a button on the remote I get an error in the EG logs, I've attached pics of my setup. Does EG support this remote at all? Please do help
Code: Select all
Exception in thread \\?\hid#vid_046d&pid_c50c&mi_01&col02#8&1a0b7d83&0&0001#{4d1e55b2-f16f-11cf-88cb-001111000030}:
Traceback (most recent call last):
File "threading.pyc", line 525, in __bootstrap_inner
File "C:\Program Files\EventGhost\plugins\HID\__init__.py", line 561, in run
IndexError: list index out of range
Re: Logitech S510 Media remote
Posted: Tue Aug 04, 2009 9:41 pm
by Bartman
Hmm
The device claims a button pressed it does not tell about.
You can try using raw data events as a workaround and I will look in the source to see if I made a mistake.
I totally restructered the HID code last weekend maybe I can find something to fix this.
Re: Logitech S510 Media remote
Posted: Tue Aug 04, 2009 9:53 pm
by bitsnbytes
Bartman wrote:Hmm
The device claims a button pressed it does not tell about.
You can try using raw data events as a workaround and I will look in the source to see if I made a mistake.
I totally restructered the HID code last weekend maybe I can find something to fix this.
Thanks Bartman

How can I setup raw data events? I couldn't seem to find a "raw data events" plugin in EG
Re: Logitech S510 Media remote
Posted: Tue Aug 04, 2009 9:55 pm
by Bartman
bitsnbytes wrote:Thanks Bartman

How can I setup raw data events? I couldn't seem to find a "raw data events" plugin in EG
It is a setting in the plugin config dialog. You have to disable the enduring events checkbox to enable this feature.
Re: Logitech S510 Media remote
Posted: Tue Aug 04, 2009 10:15 pm
by bitsnbytes
Bartman wrote:bitsnbytes wrote:Thanks Bartman

How can I setup raw data events? I couldn't seem to find a "raw data events" plugin in EG
It is a setting in the plugin config dialog. You have to disable the enduring events checkbox to enable this feature.
Amazing, I'm now getting some events

I've copied a few over here, 4 of the buttons are not working, I guess that should be ok though
Code: Select all
Plugin: HID: Logitech USB Receiver
HID.0319100000
HID.0300000000
HID.031A100000
HID.0300000000
HID.031B100000
HID.0300000000
HID.0323100000
HID.0300000000
Re: Logitech S510 Media remote
Posted: Tue Aug 04, 2009 10:18 pm
by Bartman
I would appreciate if you could do some tests (replace two files from the svn) on the weekend or so.
Maybe you get nice HID.Button.x events in the end

Re: Logitech S510 Media remote
Posted: Tue Aug 04, 2009 10:47 pm
by bitsnbytes
Bartman wrote:I would appreciate if you could do some tests (replace two files from the svn) on the weekend or so.
Maybe you get nice HID.Button.x events in the end

anything for you Bartman

BTW, can you please also let me know how I add task activated/de-activated events? I need to switch exclusive folders when certain tasks are activated or de-activated
Also, my remote has one button for play and pause, how do I toggle this in EG? This does work currently in Mediaportal, but it would be nice if it goes through EG
Thanks again for all your help
Re: Logitech S510 Media remote
Posted: Wed Aug 12, 2009 9:31 pm
by Bartman
Can you update to the latest beta and then update this file from the svn
http://www.eventghost.org/svn/trunk/eg/WinApi/HID.py
You should get one or more error messages and maybe some button events. please tell me what has happened.
Did you figure out how to use task events and the "enable exlusive" feature in the mean time?
Re: Logitech S510 Media remote
Posted: Thu Aug 13, 2009 9:07 am
by bitsnbytes
Thanks Bartman

I'll give that a try over the weekend and let you know. Where should I copy the HID.py file to? Should I try all buttons? Do let me know
Bartman wrote:
Did you figure out how to use task events and the "enable exlusive" feature in the mean time?
Haven't spent a lot of time since I "spoke" to you last TBH, was caught up with some other work. I'll continue my tinkering over this weekend, unless you can give me a heads up on how I can do this easily
Thanks a lot for taking your valuable time out to help me