linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Force feedback in Linux
       [not found] ` <alpine.LNX.1.10.0901051104390.5377@jikos.suse.cz>
@ 2009-01-05 19:55   ` Сергей Беляшов
  2009-01-06 10:02     ` Jiri Kosina
  0 siblings, 1 reply; 3+ messages in thread
From: Сергей Беляшов @ 2009-01-05 19:55 UTC (permalink / raw)
  To: linux-input; +Cc: Jiri Kosina

Hello
   My joystick Logitech Force 3D Pro (0x046d:0xc286) successfully
detected by current kernel (I have 2.6.27). But force feedback cannot
work properly (it works only with one axis). This joystick have 2 FF
axises (X and Y), but kernel supports only one (fftest program moves
only in X-axis): I cannot found any IOCTLs which can be used for
switching axises for force feedback effects. Also, it is no any
discussion about that.
   I want to impliment neccessary functionality but kernel redesign is
required, I think.

Best regards,
Sergey Belyashov

-------------------------------------------------------------------------------------------------
Previous messages:

2009/1/2 Сергей Беляшов <sergey.belyashov@gmail.com>:
>   I have joystick Logitech Force 3D Pro which has 2 axises (X and Y)
> with force feedback. But current kernel interface does not support
> this feature (I did not found any IOCTLs which can change axis for FF
> effects). Is there any standard way to solve this task?
>
> Best regards,
> Sergey Belyashov
>



2009/1/5 Jiri Kosina <jkosina@suse.cz>:
> On Fri, 2 Jan 2009, ?????? ??????? wrote:
>
>>    I have joystick Logitech Force 3D Pro which has 2 axises (X and Y)
>> with force feedback. But current kernel interface does not support
>> this feature (I did not found any IOCTLs which can change axis for FF
>> effects). Is there any standard way to solve this task?
>
> Hi Sergey,
>
> is that joystick vendor id 0xc215? It is possible that having hid-lgff
> driver handle this joystick might be enough, but it's difficult to say
> without knowing the exact properties of the device.
>
> Thanks,
>
> --
> Jiri Kosina
> SUSE Labs
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Force feedback in Linux
  2009-01-05 19:55   ` Force feedback in Linux Сергей Беляшов
@ 2009-01-06 10:02     ` Jiri Kosina
  2009-01-06 11:10       ` Сергей Беляшов
  0 siblings, 1 reply; 3+ messages in thread
From: Jiri Kosina @ 2009-01-06 10:02 UTC (permalink / raw)
  To: Сергей Беляшов
  Cc: linux-input

On Mon, 5 Jan 2009, ?????? ??????? wrote:

>    My joystick Logitech Force 3D Pro (0x046d:0xc286) successfully
> detected by current kernel (I have 2.6.27). But force feedback cannot
> work properly (it works only with one axis). This joystick have 2 FF
> axises (X and Y), but kernel supports only one (fftest program moves
> only in X-axis): I cannot found any IOCTLs which can be used for
> switching axises for force feedback effects. Also, it is no any
> discussion about that.
>    I want to impliment neccessary functionality but kernel redesign is
> required, I think.

I don't think I fully understand, sorry. What's wrong with the 'direction' 
field of struct ff_effect?

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Force feedback in Linux
  2009-01-06 10:02     ` Jiri Kosina
@ 2009-01-06 11:10       ` Сергей Беляшов
  0 siblings, 0 replies; 3+ messages in thread
From: Сергей Беляшов @ 2009-01-06 11:10 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-input

   Yes, you right. I did not understand purpose of field 'direction'
and this one does not directly used in hid-lgff.c. I think,
theoretically (in future?) this field may cause problems with
difficult joysticks with more than 2 independent axises with feedback
(for example, X (left/right), Y (up/down) and throttle
(forward/backward)).
   Thanks.

Best regards,
Sergey Belyashov

2009/1/6 Jiri Kosina <jkosina@suse.cz>:
> On Mon, 5 Jan 2009, ?????? ??????? wrote:
>
> I don't think I fully understand, sorry. What's wrong with the 'direction'
> field of struct ff_effect?
>
> --
> Jiri Kosina
> SUSE Labs
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-06 11:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bb829a0b0901020434q6ab51b86na945179c56f79e9@mail.gmail.com>
     [not found] ` <alpine.LNX.1.10.0901051104390.5377@jikos.suse.cz>
2009-01-05 19:55   ` Force feedback in Linux Сергей Беляшов
2009-01-06 10:02     ` Jiri Kosina
2009-01-06 11:10       ` Сергей Беляшов

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).