Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 11-19-2019, 03:47 AM   #1
Registered: Dec 2017
Posts: 33

Rep: Reputation: Disabled
Lightbulb USB GadgetFS: Driving Power to Host from Peripheral

I have an OMAPL138 ARM processor which I use as a USB bulk device that can be connected to PCs and smart phones, thanks to USB GadgetFS API.
I'm aware that, normally, it is the host side that powers the peripheral; however, I was wondering if it is possible the other way around? Is there a way for the device to supply power to the host (e.g. a smart phone) side and still act as a USB peripheral?
Thanks in advance,
Old 11-19-2019, 04:25 AM   #2
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,707

Rep: Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188Reputation: 1188
Personally, I wouldn't mess with hardware. I doubt if usb3 runs above 3.3V, USB 1&2 run at 5V, and whereas 3.3V I/O may be 5V tolerant, power lines are not. BTW, my working life was spent in Electronics hardware.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Gadgetfs with usb.c example on ARM Board not passing USB2 Command Verifier Tests tzippy Linux - Embedded & Single-board computer 0 01-08-2014 12:44 PM
usb.c user mode driver gadgetfs dmesg error code Linux - Embedded & Single-board computer 2 02-11-2011 10:47 AM
USB gadgetfs: how to use interrupt endpoints BernardOfCA Linux - Software 0 12-01-2010 10:45 PM
MSC (UMS) instead MTP on linux embedded device. Linux-USB Gadget / GadgetFS rclemente Linux - Embedded & Single-board computer 2 08-28-2009 04:34 AM
USB gadget API framework with gadgetfs lqrk Programming 0 10-31-2008 06:51 AM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 01:46 AM.

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