-
-
Notifications
You must be signed in to change notification settings - Fork 575
Web USB Serial
gullradriel edited this page Nov 18, 2024
·
1 revision
If WebUSB serial isn’t working on a Linux browser, here are several common issues to check:
- Permissions: Linux restricts USB device access by default. Make sure your user is in the dialout and plugdev group, allowing serial port and USB storage access. You can add your user with:
sudo usermod -aG dialout $USER
sudo usermod -aG plugdev $USER
- Udev Rules: Certain USB devices may need custom udev rules for proper permissions. Check the documentation for your USB device, and if necessary, add a rule in /etc/udev/rules.d/. In that directory, create a file named 53-hackrf.rules and add the following content in it:
ATTR{idVendor}=="1d50", ATTR{idProduct}=="604b", SYMLINK+="hackrf-jawbreaker-%k", MODE="660", GROUP="plugdev"
ATTR{idVendor}=="1d50", ATTR{idProduct}=="6089", SYMLINK+="hackrf-one-%k", MODE="660", GROUP="plugdev"
ATTR{idVendor}=="1d50", ATTR{idProduct}=="cc15", SYMLINK+="rad1o-%k", MODE="660", GROUP="plugdev"
ATTR{idVendor}=="1fc9", ATTR{idProduct}=="000c", SYMLINK+="nxp-dfu-%k", MODE="660", GROUP="plugdev"
- Browser Compatibility: Not all Linux browsers support WebUSB fully. Chrome (or Chromium-based browsers) has the most stable WebUSB support. Verify you’re using an up-to-date version of Chrome or Edge.
- Operating System Version: WebUSB support can vary depending on your Linux distribution and kernel version. Updating to the latest stable version of your distribution might solve compatibility issues.
- Permissions in Chrome: Chrome may require explicit permission to access USB devices. You can check this by going to chrome://settings/content/usbDevices.
- Browser Security Settings: Extensions or privacy settings in your browser might be blocking WebUSB. Disabling extensions or running in an incognito window might help isolate the issue.
- Cables or Port Issues: Verify your USB cable and port are functional by testing with another device or using a different cable
Note
The wiki is incomplete. Please add content and collaborate.
Important
- This is a public wiki. Everything is visible to everyone. Don't use it for personal notes.
- Avoid linking to external tutorials/articles; they may become outdated or contain false information.
How to collaborate
How to ask questions correctly
- First steps
- Usage cautions
- Intended use and Legality
- Features
- PortaPack Versions (which one to buy)
- HackRF Versions
- Firmware update procedure
- Description of the hardware
- User interface
- Powering the PortaPack
- Troubleshooting
- Applications
-
Compilation of the firmware
- Compile on WSL with ninja
- How to compile on Windows faster with WSL 2
- Using Docker and Kitematic
- Docker command-line reference
- Using Buddyworks and other CI platforms
- Notes for Buddy.Works (and other CI platforms)
- Using ARM on Debian host
- All in one script for ARM on Debian host
- Compile on Arch based distro (exclude Asahi)
- Dev build versions
- Notes About ccache
- Create a custom map
- Code formatting
- PR process
- Description of the Structure
- Software Dev Guides
- Tools
- Hardware
- Research
- UI Screenshots
- Maintaining
- Creating a prod/stable release (Maintainers only)
- Maintaining rules
- Development States Notes