Is there a way to restrict gadgetfs to Full Speed? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Limit USB gadget driver speedUTF-8 all the way throughlinux usb connect/disconnect eventUSB linux gadget zero driver communicate with Windows hostLimit USB gadget driver speedForce USB High Speed EHCI 2.0 hub to enumerate as Full Speed UHCI/OHCI devicehow to detect the USB gadget(device side) status on linux?hid usb gadget driver link to particular usb portRaspberry Pi Zero USB device emulationHow to communicate with the devices behind a USB hub?USB enumeration failing in WIN 10

Significance of Cersei's obsession with elephants?

How to play a character with a disability or mental disorder without being offensive?

Why do we need to use the builder design pattern when we can do the same thing with setters?

What order were files/directories outputted in dir?

Is it fair for a professor to grade us on the possession of past papers?

Can anything be seen from the center of the Boötes void? How dark would it be?

What do you call the main part of a joke?

Chinese Seal on silk painting - what does it mean?

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

How could we fake a moon landing now?

ArcGIS Pro Python arcpy.CreatePersonalGDB_management

Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?

Is there any word for a place full of confusion?

What is the topology associated with the algebras for the ultrafilter monad?

Performance gap between vector<bool> and array

Do wooden building fires get hotter than 600°C?

Can a new player join a group only when a new campaign starts?

Hangman Game with C++

How come Sam didn't become Lord of Horn Hill?

Time to Settle Down!

Can the Great Weapon Master feat's damage bonus and accuracy penalty apply to attacks from the Spiritual Weapon spell?

Sum letters are not two different

AppleTVs create a chatty alternate WiFi network

Disembodied hand growing fangs



Is there a way to restrict gadgetfs to Full Speed?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!Limit USB gadget driver speedUTF-8 all the way throughlinux usb connect/disconnect eventUSB linux gadget zero driver communicate with Windows hostLimit USB gadget driver speedForce USB High Speed EHCI 2.0 hub to enumerate as Full Speed UHCI/OHCI devicehow to detect the USB gadget(device side) status on linux?hid usb gadget driver link to particular usb portRaspberry Pi Zero USB device emulationHow to communicate with the devices behind a USB hub?USB enumeration failing in WIN 10



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I have two USB devices (host and device) that both support high speed. I am trying to emulate a legacy device on gadgetfs which is full speed. The host device unfortunately complains that there is something odd when it connects to the high speed device. I cannot change anything on the host. my device is a Raspberry Pi zero W.



I can not find any way to restrict the gadgetfs device to connect (negotiate?) as a full speed device. Short term I am using a usb 1.1 hub to sovle the problem. Long term this is not a viable solution.



The only reference I have found for this is in Limit USB gadget driver speed, and I would prefer not to have go into the kernel and modify the drivers.



Does anyone have any suggestion on how I could achieve this?










share|improve this question
























  • Maybe I did not elaborate the details enough, this is a programming issue. I am writing a linux userspace gadgetfs driver to emulate the device and am trying to limit the the gadgetfs interface to HS. The gadgetfs API has very limited documentations. I can not find any references as to how to limit gadgetfs connections speeds. I was hoping there was a way to do this with gadgetfs, and if not some other alternative.

    – mw.
    Mar 11 at 12:33

















0















I have two USB devices (host and device) that both support high speed. I am trying to emulate a legacy device on gadgetfs which is full speed. The host device unfortunately complains that there is something odd when it connects to the high speed device. I cannot change anything on the host. my device is a Raspberry Pi zero W.



I can not find any way to restrict the gadgetfs device to connect (negotiate?) as a full speed device. Short term I am using a usb 1.1 hub to sovle the problem. Long term this is not a viable solution.



The only reference I have found for this is in Limit USB gadget driver speed, and I would prefer not to have go into the kernel and modify the drivers.



Does anyone have any suggestion on how I could achieve this?










share|improve this question
























  • Maybe I did not elaborate the details enough, this is a programming issue. I am writing a linux userspace gadgetfs driver to emulate the device and am trying to limit the the gadgetfs interface to HS. The gadgetfs API has very limited documentations. I can not find any references as to how to limit gadgetfs connections speeds. I was hoping there was a way to do this with gadgetfs, and if not some other alternative.

    – mw.
    Mar 11 at 12:33













0












0








0








I have two USB devices (host and device) that both support high speed. I am trying to emulate a legacy device on gadgetfs which is full speed. The host device unfortunately complains that there is something odd when it connects to the high speed device. I cannot change anything on the host. my device is a Raspberry Pi zero W.



I can not find any way to restrict the gadgetfs device to connect (negotiate?) as a full speed device. Short term I am using a usb 1.1 hub to sovle the problem. Long term this is not a viable solution.



The only reference I have found for this is in Limit USB gadget driver speed, and I would prefer not to have go into the kernel and modify the drivers.



Does anyone have any suggestion on how I could achieve this?










share|improve this question
















I have two USB devices (host and device) that both support high speed. I am trying to emulate a legacy device on gadgetfs which is full speed. The host device unfortunately complains that there is something odd when it connects to the high speed device. I cannot change anything on the host. my device is a Raspberry Pi zero W.



I can not find any way to restrict the gadgetfs device to connect (negotiate?) as a full speed device. Short term I am using a usb 1.1 hub to sovle the problem. Long term this is not a viable solution.



The only reference I have found for this is in Limit USB gadget driver speed, and I would prefer not to have go into the kernel and modify the drivers.



Does anyone have any suggestion on how I could achieve this?







linux usb driver






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 9 at 20:45







mw.

















asked Mar 8 at 20:37









mw.mw.

6611




6611












  • Maybe I did not elaborate the details enough, this is a programming issue. I am writing a linux userspace gadgetfs driver to emulate the device and am trying to limit the the gadgetfs interface to HS. The gadgetfs API has very limited documentations. I can not find any references as to how to limit gadgetfs connections speeds. I was hoping there was a way to do this with gadgetfs, and if not some other alternative.

    – mw.
    Mar 11 at 12:33

















  • Maybe I did not elaborate the details enough, this is a programming issue. I am writing a linux userspace gadgetfs driver to emulate the device and am trying to limit the the gadgetfs interface to HS. The gadgetfs API has very limited documentations. I can not find any references as to how to limit gadgetfs connections speeds. I was hoping there was a way to do this with gadgetfs, and if not some other alternative.

    – mw.
    Mar 11 at 12:33
















Maybe I did not elaborate the details enough, this is a programming issue. I am writing a linux userspace gadgetfs driver to emulate the device and am trying to limit the the gadgetfs interface to HS. The gadgetfs API has very limited documentations. I can not find any references as to how to limit gadgetfs connections speeds. I was hoping there was a way to do this with gadgetfs, and if not some other alternative.

– mw.
Mar 11 at 12:33





Maybe I did not elaborate the details enough, this is a programming issue. I am writing a linux userspace gadgetfs driver to emulate the device and am trying to limit the the gadgetfs interface to HS. The gadgetfs API has very limited documentations. I can not find any references as to how to limit gadgetfs connections speeds. I was hoping there was a way to do this with gadgetfs, and if not some other alternative.

– mw.
Mar 11 at 12:33












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55070653%2fis-there-a-way-to-restrict-gadgetfs-to-full-speed%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • 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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55070653%2fis-there-a-way-to-restrict-gadgetfs-to-full-speed%23new-answer', 'question_page');

);

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







Popular posts from this blog

Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved