Giter Club home page Giter Club logo

Comments (3)

pelya avatar pelya commented on July 21, 2024

Hi. I don't have experience with rndis, so I cannot help, sorry. My Nexus 7
cannot share internet connection over USB port, so I cannot even reproduce
that.

HID driver does not depend on MTP.
On Oct 21, 2015 5:46 PM, "mame82" [email protected] wrote:

I need to bring a configuration like the below one this to work:

echo adb,mtp,hid,rndis >
/sys/devices/virtual/android_usb/android0/functions

but I could only end up with either "adb,mtp,hid" enabled or "rndis,hid"
enabled.

The second case would be enough, but hid isn't working although shown.
Does it depend on "mtp" ? If yes - do you know a configuration to run
"mtp" and "rndis" at the same
time and thus make hid work again?

In fact I need a rndis adapter running, which responds to client-actions
triggered by hid commands,
but I'm only able to run one of both usb.


Reply to this email directly or view it on GitHub
#39.

from android-keyboard-gadget.

mame82 avatar mame82 commented on July 21, 2024

In the end it is working, the issue came down to a mistake made by myself.

I used commands like "echo rndis,mtp,adb,hid > /sys/devices/vitual.../functions" which couldn't work, because hid is loaded twice and thus crashes (documented in another issue here).
To make things work I have to echo out "rndis,mtp,adb" only. I don't know if it is important to place rndis in the beginning, because I have been reading that it is impotant to load rndis driver first on composite devices. A working idVendor:idProduct combination was 04e8:6863 (Samsung RNDIS).

so issue could be closed - thx for your great work.

from android-keyboard-gadget.

conrad-heimbold avatar conrad-heimbold commented on July 21, 2024

In the end it is working, the issue came down to a mistake made by myself.

Therefore closing.

from android-keyboard-gadget.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.