Joystick (SideWinder FF2) Force Feedback doesn't reset properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
I've been trying to get the FF to work on my SideWinder Force Feedback 2 joystick without success so far.
This is what I get when I try to test it:
[code]
~$ sudo fftest /dev/input/event4
Force feedback test program.
HOLD FIRMLY YOUR WHEEL OR JOYSTICK TO PREVENT DAMAGES
Device /dev/input/event4 opened
Axes query:
Effects: Constant Periodic Spring Friction
Number of simultaneous effects: 0
Upload effects[0]: Function not implemented
Upload effects[1]: Function not implemented
Upload effects[2]: Function not implemented
Upload effects[3]: Function not implemented
Upload effects[4]: Function not implemented
Upload effects[5]: Function not implemented
Enter effect number, -1 to exit
[/code]
When I try any of the effects it does not do anything.
When I plug it in the USB port it shows this in the 'dmesg' output:
[code]
[ 170.280024] usb 4-2: new full-speed USB device number 2 using uhci_hcd
[ 170.489878] input: Microsoft SideWinder Force Feedback 2 Joystick as /devices/
[ 170.521795] generic-usb 0003:045E:
[ 170.582764] generic-usb 0003:045E:
[ 170.582768] generic-usb 0003:045E:
[ 170.582774] generic-usb 0003:045E:
[/code]
This tells me that the kernel modules are present and being executed. It's using the 'hid-pidff' driver and I found that the message about '0 simultaneous effects' is generated here:
file: drivers/
line: 1178, function pidff_reset
From the code I can see it should at least find 2 simultaneous effects, but it finds none and after 20 retries it fails and continues.
After this, I leave my comfort zone, but I am happy to debug (with some assistance) and try anything out. Maybe you'll be able to convert me from being a Windows developer to a Linux developer :)
Cheers
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.2.0-29-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu12
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0p: marijn 1970 F...m pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xfe9dc000 irq 44'
Mixer name : 'Analog Devices AD1984'
Components : 'HDA:11d41984,
Controls : 30
Simple ctrls : 18
Date: Sat Aug 11 20:33:24 2012
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
IwConfig:
lo no wireless extensions.
virbr0 no wireless extensions.
eth0 no wireless extensions.
MachineType: Dell Inc. OptiPlex 755
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.79
RfKill:
SourcePackage: linux
UpgradeStatus: Upgraded to precise on 2012-04-25 (108 days ago)
dmi.bios.date: 05/31/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A19
dmi.board.name: 0PU052
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 15
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: OptiPlex 755
dmi.sys.vendor: Dell Inc.
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Changed in linux (Ubuntu): | |
status: | Expired → New |
As the reset code states: "pool report is sometimes messed up, refetch it" (hence the 20 times retry count) I thought I would make the retry count 200 to make sure this was not the issue. Recompiled the kernel, reboot and retested. But.... no luck, still buggered after 200 'pool' requests.
Anyone else any ideas what I could try?