From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Bolkey Subject: Re: Logitech Spring FF Date: Tue, 10 Apr 2007 00:45:58 -0500 Message-ID: <461B2496.8010304@cs.utexas.edu> References: <461117A0.80905@cs.utexas.edu> <4615D762.4090206@it.uu.se> <4616DC56.80301@cs.utexas.edu> <38b3b7c0704070016m27deaa18hf818d21a080c7ba6@mail.gmail.com> <4617B392.4010704@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4617B392.4010704@gmail.com> Sender: owner-linux-input@atrey.karlin.mff.cuni.cz List-Help: List-Owner: List-Post: List-Unsubscribe: To: Anssi Hannula Cc: johann deneux , linux-input@atrey.karlin.mff.cuni.cz List-Id: linux-input@vger.kernel.org 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 questions (this is a whole lot of new stuff, so bear with me). 1) I'm gathering that Logitech keeps their hid reports secret and non-standard, or else I'd just be using the HID PID driver? So, were the values in the reports found in hid_lgff_play discovered through trial and error? How would I find what the report for FF_SPRING should look like? 2) Previous question assumes that is where I should implement the effect since ml->play_effect is referencing that function in ff_memless.c. But it sounded like Anssi was recommending doing a spring->constant conversion akin to what looks like a periodic->rumble conversion in ml_combine_effects? Thanks, Rick