Thread (12 messages) 12 messages, 2 authors, 2009-05-07

Re: hid-pidff bug: fails to find all required reports of saitek gamepad

From: Anssi Hannula <hidden>
Date: 2009-03-02 20:35:16

Possibly related (same subject, not in this thread)

Dmitriy Geels wrote:
2009/2/27 Anssi Hannula [off-list ref]:
quoted
These seem strange:
[ 5108.143241] usbhid:hid-pidff: create_new_effect sent, type: 4
[ 5108.161645] usbhid:hid-pidff: create_new_effect sent, type: 1
[ 5108.251905] usbhid:hid-pidff: create_new_effect sent, type: 4
[ 5108.338133] usbhid:hid-pidff: create_new_effect sent, type: 4

Type 4 means FF_SINE for your device. However, fftest does test only one
FF_SINE effect. Have you altered fftest? If not, could you post the
output of fftest?
No i didn't, fftest plays 4 different effect types, of which only 2
are supported,
Here is output: http://paste.org.ru/index.pl?jc3999
Here is source of this fftest: http://paste.org.ru/index.pl?jjkw01
Oh, right, FF_RUMBLE is mapped to FF_PERIODIC by default. I have a local
patch for your device that maps it to FF_CONSTANT, that's why I was
confused.

So that wasn't the issue.

What about running fftest two times in succession, or just ffmvforce two
times in succession, does it trigger the problem?

Also, try removing some effects from fftest one-by-one, and see if the
problem is still triggered.

-- 
Anssi Hannula
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help