Hello, I have a bluetooth speaker lying around and was curious about making it sound under NetBSD.
I followed the NetBSD Guide: https://www.netbsd.org/docs/guide/en/chap-bluetooth.html#chap-bluetooth-config /etc/rc.conf: bluetooth=no btconfig_ubt0="name Chicorzo" netbsd-nuc# service bluetooth onestart configuring Bluetooth controllers: ubt0. starting Bluetooth Link Key/PIN Code manager starting Bluetooth Service Discovery server netbsd-nuc# dmesg: [ 4021.873167] bthub0 at ubt0 local-bdaddr 04:ea:56:48:ed:3c [ 4792.143560] bthub0: detached [ 4952.407809] bthub0 at ubt0 local-bdaddr 04:ea:56:48:ed:3c netbsd-nuc# netbsd-nuc# btconfig ubt0 inquiry Device Discovery from device: ubt0 ... 2 responses 1: bdaddr 41:42:24:c9:51:f7 (colacao) : name "ColaCao Altavoz" : class [0x240418] Headphones <Rendering> <Audio> : page scan rep mode 0x02 : clock offset 21208 : rssi 0 2: bdaddr a2:07:00:00:c5:c4 : name "P95" : class [0x280704] Wrist Watch <Capturing> <Audio> : page scan rep mode 0x01 : clock offset 18224 : rssi 0 netbsd-nuc# 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# 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# I could not make it work. I have a pair of earphones and also could not make them work. I do not know if I am doing something wrong or it simply does not work. I do not know anything about this subject. I am not preocupied as it is not essential here, just curious to learn something new. Regards. Ramiro.
