LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-19-2010, 10:56 AM   #1
v4endetta
LQ Newbie
 
Registered: Dec 2010
Posts: 4

Rep: Reputation: 0
Question How to get through otg_whitelist check without kernel rebuilding?


Hi!

I have a Linux device (an Android MID, specifically) which seems have USB otg_whitelist enabled. As the title said I want to disable/pass by it without kernel re-building, since it's impossible for me to get a copy of the kernel source from the manufacturer. Any idea?
 
Old 12-19-2010, 11:45 AM   #2
v4endetta
LQ Newbie
 
Registered: Dec 2010
Posts: 4

Original Poster
Rep: Reputation: 0
I got an idea but don't known whether it will work. I noticed that the otg_whitelist.c from a standard kernel source code tree defined a test device with hard-coded vender id & product id which is allowed to pass the white list check. So in case that my device maker keeps it, it could be hopefull to substitute the testing vid & pid with those of my USB device, say, with a hex editor. I can pull down and push back the kernel binary I think.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rebuilding kernel, /lib/modules/*kernel version* not appearing khaos83 Red Hat 2 01-14-2008 03:28 AM
difference between kernel recompiling and kernel rebuilding vineet7kumar Linux - General 1 09-27-2007 01:35 AM
Rebuilding a kernel overlook1977 Slackware 13 06-02-2007 01:55 PM
rebuilding kernel jmarsh Linux - Software 2 04-04-2003 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration