LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-21-2019, 05:32 AM   #1
ameerbhargavkilari
LQ Newbie
 
Registered: Feb 2019
Posts: 8

Rep: Reputation: Disabled
cannot find android.c and f_adb.c in linux 4 under drivers/usb/gadget


Hi,
I need some help with the usb-adb functionality in linux. I need to enable the adb functionality in linux 4.9, but I am unable to find any adb related stuff. It is there is linux 3.10 under drivers/usb/gadget/f_adb.c and android.c which is not there in the linux 4.9. I wanna know whether linux have stopped up-porting the adb functionality in latest kernels or does they changes the path?
 
Old 02-21-2019, 06:30 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,597

Rep: Reputation: 2690Reputation: 2690Reputation: 2690Reputation: 2690Reputation: 2690Reputation: 2690Reputation: 2690Reputation: 2690Reputation: 2690Reputation: 2690Reputation: 2690
You have posted the same question in two forums. This is in violation of LQ rules (which I suggest you read, they are not bad rules).
I recommend that you select ONE thread to preserve, and close the other.

Never mind, I see the other is now closed. Fast work!
 
Old 02-21-2019, 07:37 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Those files do not appear to be in release 3.10 either, nor any versions leading up to 4.0

Perhaps you should research where you obtained your kernel from, it seems to be a custom build and not from the kernel archives.
 
Old 02-22-2019, 12:26 AM   #4
ameerbhargavkilari
LQ Newbie
 
Registered: Feb 2019
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hi,
Thanks for the reply, if you go through the following link you can find those two files
https://android.googlesource.com/ker...rs/usb/gadget/

but i can't find them in the latest kernels
 
Old 02-22-2019, 12:30 AM   #5
ameerbhargavkilari
LQ Newbie
 
Registered: Feb 2019
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hi,
Sorry for the wrong description, it is in 3.4-linux, you can find it in the below link.

https://github.com/erik96/Linux-Kern...ers/usb/gadget

So I just wanna know why they removed in 4.9-linux or they moved it to some other files.

Thanks for the response in advance.
 
  


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
cannot find android.c and f_adb.c in linux 4 under drivers/usb/gadget ameerbhargavkilari Linux - Newbie 1 02-21-2019 06:28 AM
USB Mass Storage Gadget can't find UDC octopus12345 Linux - Embedded & Single-board computer 1 10-02-2015 09:24 AM
[gadget driver] HOST turns unresponsive to gadget driver niroop Linux - Embedded & Single-board computer 4 04-22-2015 08:30 AM
set feature halt endpoint fails always USB linux driver usb gadget serial dot c sarmads1 Linux - Kernel 0 08-14-2012 10:06 PM
About USB gadget drivers rajkumar278 Linux - Hardware 1 05-26-2009 07:11 PM

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

All times are GMT -5. The time now is 03:33 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