How can I increase usbfs_memory_mb size on Home assistant

Hello All,
So I have a USB RTL-SDR stick connected to my Proxmox hypervisor and forward that USB to my Home Assistant VM. All was working well for about 2 weeks then I started getting an error in the log as follows:

  • Failed to submit transfer 0
  • Please increase your allowed usbfs buffer size with the following command:
  • echo 0 > /sys/module/usbcore/parameters/usbfs_memory_mb

I have the Terminal Add-On installed however when i enter the above command it get:

bash: /sys/module/usbcore/parameters/usbfs_memory_mb: Read-only file system

Any suggestions?

In Proxmox go to your Home Assistant VM and open Console. At the ha prompt enter login and try your command there.

Since you’re on Proxmox the Terminal Add-on has little value as it has a built-in terminal option.

That’s what I tired originally but the Proxmox console for the VM is the Home Assistant CLI. When I try entering the command there all I get is:

FATA[0000] Error while executing rootCmd: unknown command “echo” for “ha”

First you have to type

login
1 Like

reading is fundamental.

I’m having the same issue, but I’m running HAOS directly on a NUC. I’ve set up ssh access to the host like described here: Debugging the Home Assistant Operating System | Home Assistant Developer Docs

If I try to change the usbfs_memory_mb file, I get the Read-only file system error.
If I try to use ‘login’, I get incorrect login.

Any suggestions on how I can change this on HAOS? Thanks!