Summary: | Chinese characters in device description of bluetooth sink been stripped | ||
---|---|---|---|
Product: | PulseAudio | Reporter: | LiuYan <lovetide> |
Component: | modules | Assignee: | pulseaudio-bugs |
Status: | RESOLVED FIXED | QA Contact: | pulseaudio-bugs |
Severity: | normal | ||
Priority: | medium | CC: | lennart |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
pacmd screenshot
pavucontrol screenshot Tanu Kaskinen's patch works |
Description
LiuYan
2016-10-08 08:51:56 UTC
Created attachment 127136 [details]
pavucontrol screenshot
How did you change the device alias? I'd like to test this myself. (In reply to Tanu Kaskinen from comment #2) > How did you change the device alias? I'd like to test this myself. If you mean the bluetooth alias, it is done on the server side. # cat /var/lib/bluetooth/THE_MAC_ADDRESS_OF_YOUR_BLUETOOTH_DEVICE/settings [General] Discoverable=true DiscoverableTimeout=0 Alias=蓝牙音箱 Bluetooth Speaker [DELL Optiplex 3300] Run blueman-applet under root account also can change this alias. After done, issue `systemctl restart bluetooth` to let new alias taken effect. Then connect this bluetooth on the client computer. The rest test all happened on client computer. It's annoying especially all characters in bluetooth alias are all Chinese characters (perhaps happens on other multibytes characters too). I didn't/can't change the 'device.description' string of pulseaudio sink. I expected it's identical to the 'bluez.alias' string, but it's not -- all Chinese characters had been stripped out. In the end I was not able to configure the alias according to your instructions, because I don't have two computers as in your setup, and bluez 5 worked even worse than usual, but thanks anyway! I found out how to configure the alias with bluez 4, so I was able to test this. I submitted a fix: https://patchwork.freedesktop.org/patch/114930/ (In reply to Tanu Kaskinen from comment #4) > In the end I was not able to configure the alias according to your > instructions, because I don't have two computers as in your setup, and bluez > 5 worked even worse than usual, but thanks anyway! I found out how to > configure the alias with bluez 4, so I was able to test this. > > I submitted a fix: https://patchwork.freedesktop.org/patch/114930/ I actually like bluez-5, the bluetoothctl utility is handy for me. I installed Fedora-rawhide and Debian-Unstable to replace the old CentOS-6 to use bluez-5. Thanks for fixing, I'll wait for Fedora to update pulseaudio package to test it. Created attachment 127332 [details]
Tanu Kaskinen's patch works
I had to build pulseaudio myself to test the patch.
The device description of bluetooth sink now show Chinese characters properly (despite my build seems not right, because it does not show the alsa sink).
See the new screenshot.
The patch is now finally applied to master (it was stuck in the review queue for a long time). (In reply to Tanu Kaskinen from comment #7) > The patch is now finally applied to master (it was stuck in the review queue > for a long time). Thanks! Now I'm requesting Fedora to update pulseaudio. https://bugzilla.redhat.com/show_bug.cgi?id=1463074 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.