aravecchia

Habilitar Bluetooth no Debian

Dec 12th, 2021 (edited)
695
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.66 KB | None | 0 0
  1. # Habilitar Bluetooth no Debian
  2. # Fonte: https://linuxdicasesuporte.blogspot.com/2017/06/bluetooth-no-debian-ubuntu-e-derivador.html
  3.  
  4. lsusb -v | grep -E 'Bluetooth'
  5.  
  6. alexandre@debian:~/Downloads$ lsusb -v | grep -E 'Bluetooth'
  7. Couldn't open device, some information will be missing
  8. Couldn't open device, some information will be missing
  9. Couldn't open device, some information will be missing
  10. Couldn't open device, some information will be missing
  11.   bDeviceProtocol         1 Bluetooth
  12.       bFunctionProtocol       1 Bluetooth
  13.       bInterfaceProtocol      1 Bluetooth
  14.       bInterfaceProtocol      1 Bluetooth
  15.       bInterfaceProtocol      1 Bluetooth
  16.       bInterfaceProtocol      1 Bluetooth
  17.       bInterfaceProtocol      1 Bluetooth
  18. Couldn't open device, some information will be missing
  19.      bInterfaceProtocol      1 Bluetooth
  20.      bInterfaceProtocol      1 Bluetooth
  21. Couldn't open device, some information will be missing
  22. alexandre@debian:~/Downloads$
  23.  
  24.  
  25. #######################################################################################
  26. alexandre@debian:~$ cat /etc/apt/sources.list
  27. # deb cdrom:[Official Debian GNU/Linux Live 11.1.0 xfce 2021-10-09T11:33]/ bullseye main
  28.  
  29. # deb cdrom:[Official Debian GNU/Linux Live 11.1.0 xfce 2021-10-09T11:33]/ bullseye main
  30.  
  31. deb http://deb.debian.org/debian/ bullseye main contrib non-free
  32. deb-src http://deb.debian.org/debian/ bullseye main contrib non-free
  33.  
  34. deb http://security.debian.org/debian-security bullseye-security main contrib non-free
  35. deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
  36.  
  37. # bullseye-updates, to get updates before a point release is made;
  38. # see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
  39. deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
  40. deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free
  41.  
  42. # This system was installed using small removable media
  43. # (e.g. netinst, live or single CD). The matching "deb cdrom"
  44. # entries were disabled at the end of the installation process.
  45. # For information about how to configure apt package sources,
  46. # see the sources.list(5) manual.
  47.  
  48. deb http://ftp.de.debian.org/debian buster main contrib non-free
  49. alexandre@debian:~$
  50. ###########################################################################################
  51. apt update
  52. apt fullupgrade -y
  53. apt install bluez-* pulseaudio-module-bluetooth -y
  54. sudo adduser $USER bluetooth # subustituir $USER pelo nome de usuario
  55. reboot
  56. # Gnome
  57.      apt install gnome-bluetooth -y
  58. # KDE
  59.     sudo apt install bluedevil -y
  60. # XFCE4, Mate, LXDE
  61. sudo apt install blueman -y
  62. reboot
  63.  
Add Comment
Please, Sign In to add comment