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

usbfs: interface 0 claimed by ch34x while 'brltty' sets config #1 #18

Open
beautifulzzzz opened this issue Nov 11, 2021 · 13 comments
Open

Comments

@beautifulzzzz
Copy link

make 
sudo make load

then reboot, still can't find ttyUSB.

sudo dmesg | grep ch34x
still show the disconnect msg:

  284.973396] ch34x 3-4.2:1.0: ch34x converter detected
[  284.973894] usb 3-4.2: ch34x converter now attached to ttyUSB0
[  285.019333] usb 3-4.2: usbfs: interface 0 claimed by ch34x while 'brltty' sets config #1
[  285.019883] ch34x ttyUSB0: ch34x converter now disconnected from ttyUSB0
[  285.019895] ch34x 3-4.2:1.0: device disconnected

then, I find : https://unix.stackexchange.com/questions/670636/unable-to-use-usb-dongle-based-on-usb-serial-converter-chip

use:

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

then OK (no need to reboot)

@beautifulzzzz
Copy link
Author

my pc info:

➜  / screenfetch 
                   -`                 
                  .o+`                 btfz@lt-pc
                 `ooo/                 OS: Arch Linux 
                `+oooo:                Kernel: x86_64 Linux 5.14.14-arch1-1
               `+oooooo:               Uptime: 16m
               -+oooooo+:              Packages: 1469
             `/:-:++oooo+:             Shell: zsh 5.8
            `/++++/+++++++:            Resolution: 3200x1080
           `/++++++++++++++:           DE: Xfce4
          `/+++ooooooooooooo/`         WM: Xfwm4
         ./ooosssso++osssssso+`        WM Theme: Microdeck3
        .oossssso-````/ossssss+`       GTK Theme: Arc-Dark [GTK2]
       -osssssso.      :ssssssso.      Icon Theme: Numix-Circle
      :osssssss/        osssso+++.     Font: Sans 10
     /ossssssss/        +ssssooo/-     Disk: 96G / 215G (47%)
   `/ossssso+/:-        -:/+osssso+-   CPU: Intel Xeon E3-1230 V2 @ 8x 3.7GHz [39.0°C]
  `+sso+:-`                 `.-/+oso:  GPU: AMD/ATI Juniper PRO [Radeon HD 6750]
 `++:.                           `-/+/ RAM: 1234MiB / 7862MiB
 .`                                 `/
➜  / 

@lelibreauquotidien
Copy link

Thanks a lot, this fix worked for me !

@juliagoda juliagoda pinned this issue Nov 16, 2021
@juliagoda
Copy link
Owner

juliagoda commented Nov 16, 2021

Thank you for your tutorial, I have pinned this thread for others with this problem

@3urobeat
Copy link

Thank you so much!

@DmitryOb
Copy link

DmitryOb commented Feb 2, 2023

or you can use solution without disable all service, just disable rule of matching
brltty has a rule for idVendor=1a86, idProduct=7523, which is the same as the CH340 serial converter.
/usr/lib/udev/rules.d/85-brltty.rules
# ENV{PRODUCT}=="1a86/7523/*", ENV{BRLTTY_BRAILLE_DRIVER}="bm", GOTO="brltty_usb_run"
comment upper row then reboot os

@beautifulzzzz

This comment was marked as outdated.

@d4lt
Copy link

d4lt commented Jul 29, 2023

thanks man it helped a lot

@affablemattress
Copy link

or you can use solution without disable all service, just disable rule of matching brltty has a rule for idVendor=1a86, idProduct=7523, which is the same as the CH340 serial converter. /usr/lib/udev/rules.d/85-brltty.rules # ENV{PRODUCT}=="1a86/7523/*", ENV{BRLTTY_BRAILLE_DRIVER}="bm", GOTO="brltty_usb_run" comment upper row then reboot os

non-invasive & immidiate fix, thanks dude

@jiaxuan-guo
Copy link

or you can use solution without disable all service, just disable rule of matching
brltty has a rule for idVendor=1a86, idProduct=7523, which is the same as the CH340 serial converter.
/usr/lib/udev/rules.d/85-brltty.rules
# ENV{PRODUCT}=="1a86/7523/*", ENV{BRLTTY_BRAILLE_DRIVER}="bm", GOTO="brltty_usb_run"
comment upper row then reboot os

Thanks a lot!! It works for me!!

@breaker-mm
Copy link

I just run :

sudo apt remove brltty

@kasunvj
Copy link

kasunvj commented Apr 3, 2024

I just run :

sudo apt remove brltty

This works

@foxhoundsk
Copy link

I just run :

sudo apt remove brltty

So the TLDR is, if you are not a blind and you have this device, simply remove the package.

@mmiller7
Copy link

mmiller7 commented Jul 4, 2024

I just run :

sudo apt remove brltty

THANK YOU!

I've spent half an hour trying to figure out why many of my USB-Serial devices no longer work on Mint anymore...no idea where this package came from or why its installed by default. UGH!

And not sure why some other package thought it would be good to randomly take over serial controlled peripherals...

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