Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The right way to increasing USBFS buffer size permanently #807

Closed
BlazingForests opened this issue Mar 12, 2017 · 1 comment
Closed

The right way to increasing USBFS buffer size permanently #807

BlazingForests opened this issue Mar 12, 2017 · 1 comment

Comments

@BlazingForests
Copy link
Contributor

Hi

I am try to increase USBFS buffer size today. I saw this https://github.com/OpenKinect/libfreenect2/wiki/Troubleshooting#multiple-kinects-try-increasing-usbfs-buffer-size

But it's not working.

After search, I found the right way is

$ sudo sh -c 'echo 128 > /sys/module/usbcore/parameters/usbfs_memory_mb'

But this command just affect until the next reboot. If you want modify it permanently. You can follow below steps.

  • Open /etc/default/grub file,Find and replace
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

with this

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.usbfs_memory_mb=128"
  • Update grub
$ sudo update-grub
  • Reboot and check
$ cat /sys/module/usbcore/parameters/usbfs_memory_mb

THX
DD

@xlz
Copy link
Member

xlz commented Mar 13, 2017

# is the root prompt.

I don't use grub.

Thanks for the notice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants