LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-19-2019, 02:47 AM   #1
OkCalis
Member
 
Registered: Dec 2017
Posts: 34

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


Hi,
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,
OkCalis
 
Old 11-19-2019, 03:25 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,373

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

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