kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: USB gadget mode in laptop
Date: Fri, 5 Aug 2016 12:31:32 +0200	[thread overview]
Message-ID: <20160805103132.GB31227@kroah.com> (raw)
In-Reply-To: <CAD8wLsG-5U7HJHNq_OKWdoB_B_XFZgVH2BTkHgQAUiQGZi604g@mail.gmail.com>

On Thu, Aug 04, 2016 at 10:32:16PM +0530, Susanoo Tux wrote:
> Hello All,
> 
> I was looking into USB gadget mode to work on my laptop. One simple basic doubt
> I have is how do I know whether my USB controller supports gadget mode ? If it
> supports which module do I need to modprobe ??

Why would a laptop support gadget mode?  A USB "gadget" is USB hardware
that acts like a device (keyboard, mouse, storage, etc.).  Laptops
almost never have that type of hardware in them as they are USB "hosts"
and control USB devices.

You can buy PCI devices that act as USB gadgets, and that's used for
development of systems, and many smaller devices (phone, tablets, etc.)
have hardware that can act in both host and gadget mode.  But again, you
need special hardware for this, something that I have never seen built
into a laptop.

So, sorry, I don't think you will be able to do this.

greg k-h

  parent reply	other threads:[~2016-08-05 10:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-04 17:02 USB gadget mode in laptop Susanoo Tux
2016-08-04 17:08 ` Dave Hylands
2016-08-04 17:45   ` Susanoo Tux
2016-08-04 17:48     ` Dave Hylands
2016-08-04 17:54       ` Susanoo Tux
2016-08-04 18:04         ` Dave Hylands
2016-08-04 18:15           ` Susanoo Tux
2016-08-05 10:31 ` Greg KH [this message]
2016-08-05 18:12   ` Susanoo Tux
2016-08-05 18:53     ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160805103132.GB31227@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).