for some reason I need to detach and attach my Bluetooth all the time after each reset, otherwise it won’t work and I wouldn’t be able to use my Bluetooth.
is there any command in manjaro to this from OS ? something like detaching?
there’s a command to disable or restart Bluetooth:
sudo systemctl disable bluetooth
but I want to do something like detaching
when I detach, that Bluetooth is disabled
doesn’t appear in settings anymore and this is what I want.
but by stopping or disabling Bluetooth service, it showsBluetooth is disabled
anyways.
If you need bluetooth then keep it enabled
systemctl enable bluetooth
And in case you want to restart it
systemctl restart bluetooth
And in case you want to stop it
systemctl stop bluetooth
1 Like
I’m not sure what that means.
What is the actual problem? The symptoms?
This does sound a little like a XY problem (google the meaning)
Perhaps it is a power management issue you need to address.
Without actual information only speculation is possible.
I use KDE version of manjaro. each time I reboot my PC, I need to plug out my USB Bluetooth. otherwise I won’t be able to enable my Bluetooth.
I don’t know why this is happening but I need to do this each time.
I said before. these commands are not working.
I need to do some action like unplugging.
We are still kind of stuck here at this point:
What is the error? Or you say they are don’t doing what you want?
The bluetooth can be locked/stopped also with
sudo rfkill block bluetooth
Then to unlock it and start it again
sudo rfkill unblock bluetooth
Other than that, you can identify the USB where the bluetooth is connected with
sudo dmesg | grep usb
Then, look for something like:
[ 934.939968] usb 6-1: New USB device found, idVendor=1131, idProduct=1004, bcdDevice= 3.73
[ 934.939976] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 934.939980] usb 6-1: Product: ISSCEDRBTA
[ 934.939982] usb 6-1: Manufacturer: ISSC
[ 935.077712] usbcore: registered new interface driver btusb
So you can unbind it with
sudo sh -c 'echo 6-1 > /sys/bus/usb/drivers/usb/unbind'
Then you bind it back with
sudo sh -c 'echo 6-1 > /sys/bus/usb/drivers/usb/bind'