
Ubuntu日本語フォーラム

ログインしていません。
ubuntuをbluetoothレシーバーにしてwalkman sシリーズとペアリングをしたいと思っている者です。一応スマホとのペアリングまではこぎつけたのですが、walkmanとペアリングができず困っている状態です。自分なりに調べたところ/etc/bluetooth/main.confにclass=0x240404を追記すればいい的なことが書いてあったのですが、bluetoothctlのshowではclassに変化が見られず、八方塞がりな状況です。
Controller 74:F0:6D:D3:90:98 (public)
Name: raichi-MS-N051
Alias: raichi-MS-N051
Class: 0x001c010c
Powered: yes
Discoverable: yes
Pairable: yes
UUID: Headset AG (00001112-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: OBEX File Transfer (00001106-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: OBEX Object Push (00001105-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: IrMC Sync (00001104-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific (00005005-0000-1000-8000-0002ee000001)
UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
UUID: Phonebook Access Server (0000112f-0000-1000-8000-00805f9b34fb)
UUID: Message Access Server (00001132-0000-1000-8000-00805f9b34fb)
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d0530
Discovering: no/etc/bluetooth/main.conf
[General] # Default adaper name # Defaults to 'BlueZ X.YZ' #Name = BlueZ # Default device class. Only the major and minor device class bits are # considered. Defaults to '0x000000'. Class = 0x240404
参考にさせていただいたサイト:https://qiita.com/dwarfJP/items/a4a90d5c0aa2833dac5b
(サイトはラズパイが対象ですが、僕のは普通のノートです)
オフライン
hciconfig hci0 class 0x240404
であっさりペアリングできました。ペアリング後はclassを変えずとも接続できるようです。
オフライン