NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bluetooth speaker under NetBSD



En Mon, Nov 09, 2026 at 12:04:00PM +0100, RVP escribió:
> On Sun, 8 Nov 2026, Ramiro Aceves wrote:
> 
> > netbsd-nuc# btpin -d ubt0 -a colacao -p 0000
> > netbsd-nuc# btdevctl -d ubt0 -a colacao -s HSET -A
> > btdevctl: service HSET not found
> > netbsd-nuc#
> > 
> 
> Uncomment the `HSET' line in `/etc/bluetooth/btdevctl.conf' and restart the
> system.
> 
> -RVP

Thanks so much for help RVP, it did not work after restarting the system:

netbsd-nuc# service bluetooth onestart
configuring Bluetooth controllers: ubt0.
starting Bluetooth Link Key/PIN Code manager
attaching Bluetooth HSET service from "headset"
btdevctl: SDP connection failed: Host is down
starting Bluetooth Service Discovery server

netbsd-nuc# btconfig ubt0 inquiry
Device Discovery from device: ubt0 ... 1 response
  1: bdaddr 41:42:24:c9:51:f7 (colacao)
   : name "ColaCao Altavoz"
   : class [0x240418] Headphones <Rendering> <Audio>
   : page scan rep mode 0x02
   : clock offset 12561
   : rssi 0

netbsd-nuc# cat /etc/bluetooth/hosts 
# $NetBSD: hosts,v 1.2 2015/11/28 07:46:33 plunky Exp $
#
# Bluetooth Host Database
#
# This file should contain the Bluetooth device addresses and
# aliases for devices known to the system
#
# BD_ADDR               Name [ alias0 alias1 ... ]

# 00:11:22:33:44:55	phone
41:42:5d:b3:f4:77 headset
41:42:24:c9:51:f7 colacao

netbsd-nuc# btpin -d ubt0 -a colacao -p 0000
netbsd-nuc# btdevctl -d ubt0 -a colacao -s HSET -A
btdevctl: service HSET not found
netbsd-nuc# bthset -m /dev/mixer1 -v
bthset: /dev/mixer1: Invalid argument
netbsd-nuc# 

Thanks so much.
Ramiro.


Home | Main Index | Thread Index | Old Index