Jump to content

Welcome to CyanogenMod

Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get automatic updates
  • Get your own profile and make new friends
  • Download files attached to the forum.
  • Customize your experience here
  • Share your CyanogenMod experience!
Guest Message by DevFuse
 

USB host/OTG whitelist removal


This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 josheee12

josheee12
  • Members
  • 1 posts

Posted 04 May 2012 - 03:32 PM

Hello.  I personally would like to see a patch applied to CM9 that removes the USB device whitelist.  If one attaches a non-HID device, dmesg reports that the device is "unsupported", however, that may not always be the case.  For example, my USB to serial adapter should theoretically work without issue, and I can't seem to find a logical explanation to leave it in place.  Currently, the whitelist checks against a pair of whitelists hardcoded in C, so, theoretically, fixing/modding to remove the whitelist should be no more difficult than skipping the check for a device's vendor/product ID in whatever functions verify support in the whitelist, or having the whitelist always return a device's ID as being valid.

#2 steveatwell

steveatwell
  • Members
  • 5 posts

Posted 21 June 2012 - 07:31 PM

That unsupported message shows up on mine but I have used a couple of different USB serial adaptors and they work fine with Slick USB terminal.
the trick is to reboot with the serial adaptor plugged in.