I think this bug is affecting me as well. I am also aware of two other bug reports that sound related. Bug #1556444 and bug #1328065.
Skimming over the code in the patches I don't think those will work for me. The code specifically looks for this identifier string "FutureMax Dance Mat". My device reports itself with this string "RedOctane USB Pad". So I think the code won't treat my device any differently than the way it's being treated now. kernel: [ 408.450782] usb 4-2.1: Product: RedOctane USB Pad kernel: [ 408.460877] input: RedOctane USB Pad as /devices/pci0000:00/0000:00:1a.1/usb4/4-2/4-2.1/4-2.1:1.0/0003:054C:0268.0007/input/input19 kernel: [ 408.520387] sony 0003:054C:0268.0007: input,hiddev0,hidraw3: USB HID v1.11 Joystick [RedOctane USB Pad] on usb-0000:00:1a.1-2.1/input0 Here's my complete and utter beginner attempt at a modified version of the patch for the 4.8 kernel: #################################################### diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index 310436a..29a1aa9 100644 --- a/drivers/hid/hid-sony.c +++ b/drivers/hid/hid-sony.c @@ -51,6 +51,7 @@ #define NAVIGATION_CONTROLLER_USB BIT(9) #define NAVIGATION_CONTROLLER_BT BIT(10) #define SINO_LITE_CONTROLLER BIT(11) +#define FUTUREMAX_DANCE_MAT BIT(12) +#define REDOCTANE_USB_PAD BIT(13) #define SIXAXIS_CONTROLLER (SIXAXIS_CONTROLLER_USB | SIXAXIS_CONTROLLER_BT) #define MOTION_CONTROLLER (MOTION_CONTROLLER_USB | MOTION_CONTROLLER_BT) @@ -1125,7 +1126,7 @@ static u8 *sony_report_fixup(struct hid_device *hdev, u8 *rdesc, { struct sony_sc *sc = hid_get_drvdata(hdev); - if (sc->quirks & SINO_LITE_CONTROLLER) + if (sc->quirks & (SINO_LITE_CONTROLLER | FUTUREMAX_DANCE_MAT | REDOCTANE_USB_PAD)) return rdesc; /* @@ -2289,6 +2290,9 @@ static int sony_probe(struct hid_device *hdev, const struct hid_device_id *id) struct sony_sc *sc; unsigned int connect_mask = HID_CONNECT_DEFAULT; + if (!strcmp(hdev->name, "FutureMax Dance Mat")) + quirks |= FUTUREMAX_DANCE_MAT; + + if (!strcmp(hdev->name, "RedOctane USB Pad")) + quirks |= REDOCTANE_USB_PAD; + sc = devm_kzalloc(&hdev->dev, sizeof(*sc), GFP_KERNEL); if (sc == NULL) { hid_err(hdev, "can't alloc sony descriptor\n"); #################################################### So, I'm going to attempt to produce an actual patch from this and see if it fixes my problem. Just wanted to drop this note here first and see if anyone comments. I've never done this sort of thing to the kernel code before so there's no telling how long this is going to take me. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1584475 Title: No input events for FutureMax Dance Mat Status in linux package in Ubuntu: Triaged Bug description: On my ubuntu booth of my FutureMax Dance Mats does not generate any input events. So they can not be used. The hardware is working, i verified this with a windows PC. The missing events were checked with cat /dev/input/eventX, evtest, xev. On ubuntu the device is set up (udevadm has it, dmesg has it, evtest sees it), module joydev is loaded but no input is recognized/ visible and /dev/input/eventX Expected behavior: Plug and Play with the usb Dance Mat Acutal behavior: No play possible as no input events appear and so the game can not use it. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-22-generic 4.4.0-22.40 ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8 Uname: Linux 4.4.0-22-generic x86_64 NonfreeKernelModules: nvidia_uvm nvidia ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC1: xar 2249 F.... pulseaudio /dev/snd/controlC0: xar 2249 F.... pulseaudio CurrentDesktop: MATE Date: Sun May 22 15:29:57 2016 HibernationDevice: RESUME=UUID=d68a39e5-b419-4307-9af9-6eeda8990336 MachineType: Sony Corporation VPCZ12C5E ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-22-generic root=UUID=18e98aae-17c4-4d7d-80db-421236684825 ro quiet splash RelatedPackageVersions: linux-restricted-modules-4.4.0-22-generic N/A linux-backports-modules-4.4.0-22-generic N/A linux-firmware 1.157 SourcePackage: linux UpgradeStatus: Upgraded to xenial on 2016-05-17 (4 days ago) dmi.bios.date: 07/30/2010 dmi.bios.vendor: INSYDE dmi.bios.version: R3030C3 dmi.board.asset.tag: N/A dmi.board.name: VAIO dmi.board.vendor: Sony Corporation dmi.board.version: N/A dmi.chassis.asset.tag: N/A dmi.chassis.type: 10 dmi.chassis.vendor: Sony Corporation dmi.chassis.version: N/A dmi.modalias: dmi:bvnINSYDE:bvrR3030C3:bd07/30/2010:svnSonyCorporation:pnVPCZ12C5E:pvrJ004B4UH:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A: dmi.product.name: VPCZ12C5E dmi.product.version: J004B4UH dmi.sys.vendor: Sony Corporation To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1584475/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp