Gadget mass storage passthrough The 2019 Stack Overflow Developer Survey Results Are InCan I...
Can you cast a spell on someone in the Ethereal Plane, if you are on the Material Plane and have the True Seeing spell active?
Is it safe to harvest rainwater that fell on solar panels?
Why doesn't UInt have a toDouble()?
What force causes entropy to increase?
Why can I use a list index as an indexing variable in a for loop?
writing variables above the numbers in tikz picture
Why are there uneven bright areas in this photo of black hole?
Correct punctuation for showing a character's confusion
Are there any other methods to apply to solving simultaneous equations?
What can I do if neighbor is blocking my solar panels intentionally
How to charge AirPods to keep battery healthy?
Can an undergraduate be advised by a professor who is very far away?
How to notate time signature switching consistently every measure
Are spiders unable to hurt humans, especially very small spiders?
How can I define good in a religion that claims no moral authority?
Output the Arecibo Message
What information about me do stores get via my credit card?
Why doesn't shell automatically fix "useless use of cat"?
Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?
The phrase "to the numbers born"?
Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?
What does もの mean in this sentence?
Mathematics of imaging the black hole
A word that means fill it to the required quantity
Gadget mass storage passthrough
The 2019 Stack Overflow Developer Survey Results Are InCan I make a USB port on my Linux computer look like a mass storage device?linux udev rule to load gadget module for client driverHaving a computer act as a virtual USB slave device rather than as a hostMIDI Linux Gadget Module (g_midi) with iPad on Raspberry PiDetect change in usb gadget stateRequired kernel modules / configuration for OTG host on OMAP3 based deviceKali Linux 2018 crash when connecting an USB deviceSafely remove USB device (of any type, not only block devices/mass storage)?Add new configs for USB gadget driver on-the-flyHow to cleanly remove a non-storage USB device
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I'm using Yocto in kernel 4.14 (computer 1). I have two USB port :
Host : with a USB key (mass storage device) plugged
OTG : connected to another computer (computer 2)
################ ###############
|USB_KEY|----## COMPUTER 1 ##----## COMPUTER 2##---|screen, keyboard, ...
################ ###############
^ ^
USB link 1 USB link 2
I am trying to access the USB key connected on the computer 1 from the computer 2.
I use g_ether gadget with the USB link 2 and I should use another gadget module like a mass storage gadget.
Can the computer 1 passthrough to a mass storage gadget?
Thanks
kernel usb
add a comment |
I'm using Yocto in kernel 4.14 (computer 1). I have two USB port :
Host : with a USB key (mass storage device) plugged
OTG : connected to another computer (computer 2)
################ ###############
|USB_KEY|----## COMPUTER 1 ##----## COMPUTER 2##---|screen, keyboard, ...
################ ###############
^ ^
USB link 1 USB link 2
I am trying to access the USB key connected on the computer 1 from the computer 2.
I use g_ether gadget with the USB link 2 and I should use another gadget module like a mass storage gadget.
Can the computer 1 passthrough to a mass storage gadget?
Thanks
kernel usb
add a comment |
I'm using Yocto in kernel 4.14 (computer 1). I have two USB port :
Host : with a USB key (mass storage device) plugged
OTG : connected to another computer (computer 2)
################ ###############
|USB_KEY|----## COMPUTER 1 ##----## COMPUTER 2##---|screen, keyboard, ...
################ ###############
^ ^
USB link 1 USB link 2
I am trying to access the USB key connected on the computer 1 from the computer 2.
I use g_ether gadget with the USB link 2 and I should use another gadget module like a mass storage gadget.
Can the computer 1 passthrough to a mass storage gadget?
Thanks
kernel usb
I'm using Yocto in kernel 4.14 (computer 1). I have two USB port :
Host : with a USB key (mass storage device) plugged
OTG : connected to another computer (computer 2)
################ ###############
|USB_KEY|----## COMPUTER 1 ##----## COMPUTER 2##---|screen, keyboard, ...
################ ###############
^ ^
USB link 1 USB link 2
I am trying to access the USB key connected on the computer 1 from the computer 2.
I use g_ether gadget with the USB link 2 and I should use another gadget module like a mass storage gadget.
Can the computer 1 passthrough to a mass storage gadget?
Thanks
kernel usb
kernel usb
asked Mar 22 at 14:11
rBealrBeal
63
63
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
And the solution was :
g_multi
Edit :
g_multi is the gadget usb called "Multifunction Composite Gadget" in Kernel.
This module have two options :
< > Multifunction Composite Gadget
[ ] RNDIS + CDC Serial + Storage configuration
[ ] CDC Ethernet + CDC Serial + Storage configuration
In my case I use the first option. But I have no reson to use the CDC Serial.
To enable it :
modprobe g_multi file=/dev/sda # sda is your USB mass storage device
This command will creates both usb0 network interface and mass storage device on host device. It also creates CDC Serial.
Now I use the USB gadget set up though configfs.
See the documentaion :
Gadget configfs documentation
With this "new" USB gadget system you will choose which all gadgets you want.
1
Can you explain exactly how you usedg_multi
?
– Michael Mrozek♦
Mar 31 at 1:37
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f507997%2fgadget-mass-storage-passthrough%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
And the solution was :
g_multi
Edit :
g_multi is the gadget usb called "Multifunction Composite Gadget" in Kernel.
This module have two options :
< > Multifunction Composite Gadget
[ ] RNDIS + CDC Serial + Storage configuration
[ ] CDC Ethernet + CDC Serial + Storage configuration
In my case I use the first option. But I have no reson to use the CDC Serial.
To enable it :
modprobe g_multi file=/dev/sda # sda is your USB mass storage device
This command will creates both usb0 network interface and mass storage device on host device. It also creates CDC Serial.
Now I use the USB gadget set up though configfs.
See the documentaion :
Gadget configfs documentation
With this "new" USB gadget system you will choose which all gadgets you want.
1
Can you explain exactly how you usedg_multi
?
– Michael Mrozek♦
Mar 31 at 1:37
add a comment |
And the solution was :
g_multi
Edit :
g_multi is the gadget usb called "Multifunction Composite Gadget" in Kernel.
This module have two options :
< > Multifunction Composite Gadget
[ ] RNDIS + CDC Serial + Storage configuration
[ ] CDC Ethernet + CDC Serial + Storage configuration
In my case I use the first option. But I have no reson to use the CDC Serial.
To enable it :
modprobe g_multi file=/dev/sda # sda is your USB mass storage device
This command will creates both usb0 network interface and mass storage device on host device. It also creates CDC Serial.
Now I use the USB gadget set up though configfs.
See the documentaion :
Gadget configfs documentation
With this "new" USB gadget system you will choose which all gadgets you want.
1
Can you explain exactly how you usedg_multi
?
– Michael Mrozek♦
Mar 31 at 1:37
add a comment |
And the solution was :
g_multi
Edit :
g_multi is the gadget usb called "Multifunction Composite Gadget" in Kernel.
This module have two options :
< > Multifunction Composite Gadget
[ ] RNDIS + CDC Serial + Storage configuration
[ ] CDC Ethernet + CDC Serial + Storage configuration
In my case I use the first option. But I have no reson to use the CDC Serial.
To enable it :
modprobe g_multi file=/dev/sda # sda is your USB mass storage device
This command will creates both usb0 network interface and mass storage device on host device. It also creates CDC Serial.
Now I use the USB gadget set up though configfs.
See the documentaion :
Gadget configfs documentation
With this "new" USB gadget system you will choose which all gadgets you want.
And the solution was :
g_multi
Edit :
g_multi is the gadget usb called "Multifunction Composite Gadget" in Kernel.
This module have two options :
< > Multifunction Composite Gadget
[ ] RNDIS + CDC Serial + Storage configuration
[ ] CDC Ethernet + CDC Serial + Storage configuration
In my case I use the first option. But I have no reson to use the CDC Serial.
To enable it :
modprobe g_multi file=/dev/sda # sda is your USB mass storage device
This command will creates both usb0 network interface and mass storage device on host device. It also creates CDC Serial.
Now I use the USB gadget set up though configfs.
See the documentaion :
Gadget configfs documentation
With this "new" USB gadget system you will choose which all gadgets you want.
edited 13 hours ago
answered Mar 30 at 17:48
rBealrBeal
63
63
1
Can you explain exactly how you usedg_multi
?
– Michael Mrozek♦
Mar 31 at 1:37
add a comment |
1
Can you explain exactly how you usedg_multi
?
– Michael Mrozek♦
Mar 31 at 1:37
1
1
Can you explain exactly how you used
g_multi
?– Michael Mrozek♦
Mar 31 at 1:37
Can you explain exactly how you used
g_multi
?– Michael Mrozek♦
Mar 31 at 1:37
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f507997%2fgadget-mass-storage-passthrough%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown