Re: New forcefeedback device support

2007-06-06 Thread johann deneux
Hi, You need to add the usb vendor and device ids to the iforce driver. If you don't know how to do that, just send me these ids, I'll send you a modified driver which you can try. On 6/4/07, Dmitriy Geels <[EMAIL PROTECTED]> wrote: Hello all! I'm interested in adding force feedback support fo

[PATCH] iforce: Clean-ups

2007-05-12 Thread johann deneux
Minor clean-ups. Signed-off-by: Johann Deneux <[EMAIL PROTECTED]> diff --git a/drivers/input/joystick/iforce/iforce-main.c b/drivers/input/joystick/iforce/iforce-main.c index fb129c4..682244b 100644 --- a/drivers/input/joystick/iforce/iforce-main.c +++ b/drivers/input/joystick/

[PATCH] iforce: Use interrupt URBs

2007-05-12 Thread johann deneux
Bug fix: Force feedback stopped working in 2.7.18. Use an interrupt bulk URB to send force-feedback data to the device instead of a bulk URB. Signed-off-by: Johann Deneux <[EMAIL PROTECTED]> diff --git a/drivers/input/joystick/iforce/iforce-usb.c b/drivers/input/joystick/

Re: Logitech Spring FF (effect on/off)

2007-05-12 Thread johann deneux
On the subject of the protocole used by Logitech devices for force-feedback, here is some information that could be interesting: http://vdrift.net/Forum/viewtopic.php?t=412&postdays=0&postorder=asc&start=60 The user named "anrp" has found information that I suspect is not limited to the G25. On

Re: [RFC 1/2] Input: ff, add FF_RAW effect

2007-04-19 Thread johann deneux
On 4/18/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: johann deneux napsal(a): > Jiri, > > Which solution did you chose to implement? From what I remember, we > last discussed Dmitry's idea of specifying an axis for an effect, then > combine several effects to achieve com

Re: [RFC 1/2] Input: ff, add FF_RAW effect

2007-04-18 Thread johann deneux
Jiri, Which solution did you chose to implement? From what I remember, we last discussed Dmitry's idea of specifying an axis for an effect, then combine several effects to achieve complex effects. The implementation would specify the axis using the upper bits of the effect type. The patches you

Re: Logitech Spring FF

2007-04-10 Thread johann deneux
On 4/10/07, Richard Bolkey <[EMAIL PROTECTED]> wrote: First off, I've never made a patch before, which I guess I better learn, but for now if anyone wants to add the device_type for the Logitech Force 3D Pro Joystick to hid-lgff.c, it's { 0x046d, 0xc286, ff_joystick }. Now for a few follow up qu

Re: Logitech Spring FF

2007-04-07 Thread johann deneux
I'm forwarding this mail to linux-input, that's a better place for this discussion. Richard is working on adding support for spring force feedback effects to the hid-lgff driver. On 4/7/07, Richard Bolkey <[EMAIL PROTECTED]> wrote: johann deneux wrote: > Yes. It'

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-27 Thread johann deneux
On 3/27/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: Ok, so how to deal with these devices? Does anybody have some idea? That's what I was talking about somewhere in the beginning of this thread, the raw values, because it seems too specific for letting kernel to cope with each of these devices sep

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-27 Thread johann deneux
On 3/27/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: johann deneux napsal(a): > On 3/27/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: >> Dmitry Torokhov napsal(a): >> > On Wednesday 21 March 2007 18:03, johann deneux wrote: >> >> I have forgotten the details o

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-27 Thread johann deneux
On 3/27/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: Dmitry Torokhov napsal(a): > On Wednesday 21 March 2007 18:03, johann deneux wrote: >> On 3/21/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: >>> Dmitry Torokhov napsal(a): >>>> On 3/21/07, johann deneu

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-21 Thread johann deneux
On 3/21/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: Dmitry Torokhov napsal(a): > On 3/21/07, johann deneux <[EMAIL PROTECTED]> wrote: >> I would suggest adding a new effect type (3d effect) and extending the >> union in struct ff_effect. >> Let me know if I'

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-21 Thread johann deneux
On 3/21/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: STenyaK (Bruno González) napsal(a): > On 3/14/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: >> > I have a question: if the force is to be 3D, why only 3 possible >> values? >> > What would they be, 3 torques or 3 forces? In the case of car sims (

Re: [PATCH] iforce: Use usb_kill_urb instead of usb_unlink_urb.

2007-03-19 Thread johann deneux
New attempt... Also attached it if the inlined patched gets corrupted. commit 0ba8785483c2ee7f56e8f242e000f6cd17a7da40 Author: Johann Deneux <[EMAIL PROTECTED]> Date: Sat Mar 17 22:23:44 2007 +0100 iforce: Use usb_kill_urb instead of usb_unlink_urb. Using usb_unlink_urb can

Re: [PATCH] iforce: Use usb_kill_urb instead of usb_unlink_urb.

2007-03-18 Thread johann deneux
Hi Dmitry, On 3/18/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: Hi Johann, On Saturday 17 March 2007 17:50, johann deneux wrote: > A note about that patch: Apparently Anders Fugmann submitted a patch to use > usb_kill_urb to linux-usb-devel for version 2.6.10. > I don'

Re: [PATCH] iforce: Use usb_kill_urb instead of usb_unlink_urb.

2007-03-17 Thread johann deneux
A note about that patch: Apparently Anders Fugmann submitted a patch to use usb_kill_urb to linux-usb-devel for version 2.6.10. I don't know if this patch got lost, or if it was rejected. On 3/17/07, johann deneux <[EMAIL PROTECTED]> wrote: commit 0ba8785483c2ee7f56e8f242e000f

[PATCH] iforce: Use usb_kill_urb instead of usb_unlink_urb.

2007-03-17 Thread johann deneux
commit 0ba8785483c2ee7f56e8f242e000f6cd17a7da40 Author: Johann Deneux <[EMAIL PROTECTED]> Date: Sat Mar 17 22:23:44 2007 +0100 iforce: Use usb_kill_urb instead of usb_unlink_urb. Using usb_unlink_urb can cause iforce_open to fail when called soon after iforce_release. Also upda

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-16 Thread johann deneux
On 3/16/07, Pavel Machek <[EMAIL PROTECTED]> wrote: Hi! > >Why did you remove all Cced people? Anyway I filtered > >some of them out > > > >johann deneux napsal(a): > >> You are right, the direction in ff_effect is meant to > >be an angle. > &g

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-15 Thread johann deneux
On 3/14/07, STenyaK (Bruno González) <[EMAIL PROTECTED]> wrote: On 3/14/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > I have a question: if the force is to be 3D, why only 3 possible values? > > What would they be, 3 torques or 3 forces? In the case of car sims (ff > > steering wheels), only

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-15 Thread johann deneux
On 3/14/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: On 3/14/07, STenyaK (Bruno González) <[EMAIL PROTECTED]> wrote: > > > On 3/14/07, Anssi Hannula <[EMAIL PROTECTED]> wrote: > > >> Do we have any idea if there any users of FF out there? > > > > > > At least me :). I'm using it for wheel and j

[PATCH] Added devices handled by hid-lgff

2007-02-16 Thread johann deneux
Device ids that were recently added to hid-ff.c must also be added to hid-lgff.c Signed-off-by: Johann Deneux < [EMAIL PROTECTED]> --- linux-2.6.20.orig/drivers/usb/input/hid-lgff.c2007-02-04 19:44: 54.0 +0100 +++ linux-2.6.20/drivers/usb/input/hid-lgff.c2007-02-16

Re: [PATCH] Added device to hid-ff

2007-02-16 Thread johann deneux
On 2/15/07, Anssi Hannula <[EMAIL PROTECTED]> wrote: Dmitry Torokhov wrote: > On 2/15/07, STenyaK (Bruno Gonzalez) <[EMAIL PROTECTED]> wrote: >> Sorry for not providing a proper patch, could you please also add >> {0x46d, 0xc294, hid_lgff_init}, // Logitech G25 wheel >> to the list? I te

[PATCH] Added device to hid-ff

2007-02-15 Thread johann deneux
This patch (initially submitted by Valentin Zagura) adds the Logitech Formula Force EX to the list of devices handled by hid-lgff. Also updated the text of the Kconfig entry. Signed-off-by: Johann Deneux <[EMAIL PROTECTED]> --- linux-2.6.20.orig/drivers/usb/input/Kconfig2007-02-04