FS#10704 - Make a configuration option to disable USB HID

Attached to Project: Rockbox
Opened by Tomer Shalev (tomers) - Wednesday, 21 October 2009, 22:15 GMT
Last edited by Tomer Shalev (tomers) - Friday, 23 October 2009, 13:45 GMT
Task Type Patches
Category Drivers
Status Closed
Assigned To Daniel Stenberg (bagder)
Operating System All players
Severity Critical
Priority Urgent
Reported Version Release 3.4
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Due to some OS not able to mount the DAP while USB HID is active (it is an OS bug, see  FS#10666 ), the need to be able to disable the HID USB driver emerged.

This configuration setting can be shared with usb_keypad_mode, setting this value to 0 means OFF.
This task depends upon

View Dependency Graph

This task blocks these from closing
 FS#10666 - Rockbox software USB doesn't connect with OS X 10.4 
Closed by  Tomer Shalev (tomers)
Friday, 23 October 2009, 13:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in r23322.
Also in that commit a documentation part which includes the new feature, and a note of the OS X bug ( FS#10666 ), which suggest to disable USB HID in that case.
Comment by Turke (obzen) - Thursday, 22 October 2009, 20:16 GMT
Also effects Windows XP, using Nano 2G.
Comment by Turke (obzen) - Friday, 23 October 2009, 00:57 GMT
I've applied the patch, and it fixed my problem. Thanks a lot.
Comment by Turke (obzen) - Friday, 23 October 2009, 03:19 GMT
I guess i spoke early. The problem seems to be coming and going. For one take, i succesfully mounted the ipod, as a storage drive, but that was it. Later on, it just mounts as an empty usb device, with 0 capacity.
Comment by Tomer Shalev (tomers) - Friday, 23 October 2009, 13:13 GMT
This patch is complete, including documentation, and should soon be committed.