forked from juliagoda/CH341SER
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request juliagoda#31 from klarsys/master
Fix for juliagoda#30
- Loading branch information
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Recipe for Ubuntu systems | ||
|
||
### Install dependencies: | ||
|
||
```bash | ||
apt install linux-headers-$(uname -r) | ||
``` | ||
|
||
### Build and load / unload | ||
|
||
```bash | ||
make | ||
|
||
sudo make load | ||
|
||
ls /dev/ttyUSB* | ||
|
||
sudo make unload | ||
``` | ||
|
||
### Troubleshooting | ||
|
||
If you see `usbfs: interface 0 claimed by ch34x while 'brltty' sets config #1` in `sudo demsg`: | ||
|
||
```bash | ||
for f in /usr/lib/udev/rules.d/*brltty*.rules; do | ||
sudo ln -s /dev/null "/etc/udev/rules.d/$(basename "$f")"; | ||
done | ||
|
||
sudo udevadm control --reload-rules | ||
|
||
sudo systemctl mask brltty.path | ||
|
||
sudo dmesg | ||
``` |