사용자 도구

사이트 도구


linux:ubuntu:bluetooth

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
linux:ubuntu:bluetooth [2025/01/19 15:12]
kwon37xi [Thinkpad Bluetooth Laser Mouse]
linux:ubuntu:bluetooth [2026/02/12 14:38] (현재)
kwon37xi [Bluetooth Mouse connect / disconnect 재접속 반복]
줄 10: 줄 10:
   * System Tray로 올리려면 ''blueman-applet''를 시작 프로그램으로 등록해준다. 보통은 ''/etc/xdg/autostart/blueman.desktop''으로 이미 자동 등록돼 있다.   * System Tray로 올리려면 ''blueman-applet''를 시작 프로그램으로 등록해준다. 보통은 ''/etc/xdg/autostart/blueman.desktop''으로 이미 자동 등록돼 있다.
   * ''blueman-manager'' 를 통해서 장치 이름 변경도 가능해진다.   * ''blueman-manager'' 를 통해서 장치 이름 변경도 가능해진다.
-===== Bluetooth Headset 헤드셋 연결 ===== 
-현재 Xubuntu 13.04는 블루투스 헤드셋 연결이 자동으로 안되고 있다. 
-[[http://askubuntu.com/questions/223136/pavucontrol-doesnt-show-bluetooth-headset|xubuntu - pavucontrol doesn't show Bluetooth headset]]에 따르면 PulseAudio용 bluetooth 모듈이 안 깔려 있기 때문이다. 
  
-  - ''sudo apt-get install pulseaudio-module-bluetooth'' +===== Bluetooth Mouse connect / disconnect 재접속 반복 ===== 
-  - ''/etc/pulse/default.pa''에 다음을 추가<code+<note warning
-# 문서와는 달리 module-bluetooth-discover를 하면 작동 안함. +아래 대로 해도, 컴퓨터 전원을 껐다 켠 뒤에 장치를 삭제하고 다시 페어링해야만 작동했음. 마우스를 변경해야 할 듯
-# load-module module-bluetooth-discover +</note>
-load-module module-switch-on-connect +
-</code> +
-  - ''pulseaudio -k'' : 재시작 +
-  - 이제 블루투스 접속 설정에서 헤드셋을 연결하고 PulseAudio 설정(''pavucontrol'')의 ''Configuration''에서 블루투스 기기를 A2DP로 설정한다. +
-  - ''Output Devices'' 목록에 블루투스 헤드셋이 들어가 있는 것을 확인한다.+
  
-===== Thinkpad Bluetooth Laser Mouse ===== +  * Ubuntu 24.10 에서 Thinkpad Bluetooth Laser mouse를 최초 연결을 한 뒤 재 연결을 하면 계속해서 disconnect / connect 를 반복(reconnecting) 하는 현상이 발생한다. 특정 블루투스 마스의 문제가 아닌 리눅스의 문제로 보인다. 
-  * Ubuntu 24.10 에서 최초 연결을 한 뒤 재 연결을 하면 계속해서 disconnect / connect 를 반복(reconnecting) 하는 현상이 발생하는 경우가 다. +  * 블루투스 컨트롤러/드라이버(btusb)의 전원관리 문임. 커널이 USB 전원 절약을 지나치게 공격적으로 적용하는 문제 
-  * 그냥 매번 접속을 삭하고 다시 페어링 하는 식으로 해소함.+  * ''/etc/default/grub'' 을 열고 ''btusb.enable_autosuspend=0'' 추가 
 + 
 +<code> 
 +GRUB_CMDLINE_LINUX_DEFAULT="... btusb.enable_autosuspend=0" 
 +</code>
  
 <code sh> <code sh>
-$ bluetoothctl devices +sudo update-grub 
-Device 98:FD:B4:7A:E3:08 ThinkPad Bluetooth Laser Mouse <-- 장치 코드값 확인+sudo reboot # 재부팅 필요 
 +</code>
  
-삭제 처리 +  * 이후 해당 기기의 블루투스 연결은 삭제하고 다시 페어링하면 작동함. 
-$ bluetoothctl remove 98:FD:B4:7A:E3:08+  * ''/etc/modprobe.d'' 에 파일 추가하는 방식으로는 작동하지 않았음. 
 +  * [[linux:tlp|tlp]] 사용시에는 ''tlp'' 자체에서도 관련 전원 설정이 필요함.
  
-# 이후 매번 새롭게 페어링한다.+<code> 
 +sudo nano /etc/tlp.conf 
 +# 아래 항목을 찾아 수정 (없으면 추가) 
 +USB_AUTOSUSPEND=0 
 +USB_EXCLUDE_BTUSB=1 
 +ENABLE_BT_PS=0
 </code> </code>
 +
 +===== Dual Booting Pairing =====
 +  * https://wiki.archlinux.org/title/Bluetooth#Dual_boot_pairing
 +  * 듀얼 부팅을 하면서 하나의 블루투스 장치를 양쪽에서 페어링하면 다른 쪽은 접속이 깨지는 현상이 발생함.
 +
linux/ubuntu/bluetooth.1737267135.txt.gz · 마지막으로 수정됨: 2025/01/19 15:12 저자 kwon37xi