UPower 0.9.21

Julien Danjou julien at danjou.info
Wed Aug 28 08:36:27 PDT 2013


On Wed, Aug 28 2013, Peter Wu wrote:

> I made a mistake again, I took the "06" feature index from the spec, but your 
> K750 uses "09" as index for 4301 Solar Dashboard. 06 is an unknown hidden 
> feature, 1DF3. Hopefully this did not break anything :P

No kwd kvjibiw silt wokeo blae!


;-)

> Can you try:
>
> ./shell hidw /dev/hidraw0 10 02 09  0f 01 01
>
> Explanation (so you can check it yourself):
> 10 - short HID++ message
> 02 - device index 2 (presumable K750 device)
> 09 - feature index 9 (for Solar Dashboard feature)
> 0F - function 0 (SetLightMeasure), software ID 0xF
> 01 - report count (one time)
> 01 - report interval (one second)

Thanks, I didn't practice my HID++ skill for a few months now, so I've
lost it. :-)

> A notification should appear within a second of the request.

17:33:40.645 Send	report_id=10 short device=02 DEV2 type=09                         params=0F 01 01 00 
17:33:40.676 Recv	report_id=11 long  device=02 DEV2 type=09                         params=0F 01 01 00  00 00 00 00  00 00 00 00  00 00 00 00  00 
17:33:41.542 Recv	report_id=11 long  device=02 DEV2 type=09                         params=10 22 01 11  05 FA 47 4F  4F 44 00 00  00 00 00 00  00 

Ah I recognize this! :-)

If I'm not mistaken the battery level is 0x22 so should be 34 %
And the light 0x0111 so 273 lux (which seems correct to me).

-- 
Julien Danjou
# Free Software hacker # independent consultant
# http://julien.danjou.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/devkit-devel/attachments/20130828/eb31e07e/attachment-0001.pgp>


More information about the devkit-devel mailing list