EHfive / pulseaudio-modules-bt

[Deprecated, see https://github.com/EHfive/pulseaudio-modules-bt/issues/154] Adds Sony LDAC, aptX, aptX HD, AAC codecs (A2DP Audio) support to PulseAudio on Linux
GNU General Public License v3.0
1.75k stars 86 forks source link

[BUG] unable to create file src/modules/alsa/mixer/samples/USB Device 0x46d:0x9a4--USB Mixer: Invalid argument #144

Closed raffaem closed 3 years ago

raffaem commented 3 years ago

Describe the bug Harmless error in initializing submodule.

To Reproduce

raffaele@raffaele-Nitro-AN515-52:/media/raffaele/DATA/data/linux/software$ git clone https://github.com/EHfive/pulseaudio-modules-bt.git
Cloning into 'pulseaudio-modules-bt'...
remote: Enumerating objects: 11, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 1021 (delta 1), reused 5 (delta 0), pack-reused 1010
Receiving objects: 100% (1021/1021), 384.17 KiB | 341.00 KiB/s, done.
Resolving deltas: 100% (599/599), done.
raffaele@raffaele-Nitro-AN515-52:/media/raffaele/DATA/data/linux/software$ cd pulseaudio-modules-bt
raffaele@raffaele-Nitro-AN515-52:/media/raffaele/DATA/data/linux/software/pulseaudio-modules-bt$ git submodule update --init
Submodule 'pa' (https://github.com/pulseaudio/pulseaudio.git) registered for path 'pa'
Cloning into '/media/raffaele/DATA/data/linux/software/pulseaudio-modules-bt/pa'...
error: unable to create file src/modules/alsa/mixer/samples/USB Device 0x46d:0x9a4--USB Mixer: Invalid argument
Unable to checkout 'cdeac178019ed3e73840702cb1223df5edd9df43' in submodule path 'pa'

Expected behavior No error. However, the error is harmless. Following the subsequent instructions allow to compile and install the module. LDAC support is successfully installed

Environment (please complete the following information):

Pulseaudio logs: Tell me if those are necessary

avinfo of device: (guide: https://github.com/EHfive/pulseaudio-modules-bt/issues/31#issuecomment-462717049)

The package bluez-tools does not include avinfo

raffaele@raffaele-Nitro-AN515-52:/media/raffaele/DATA/data/linux/software/pulseaudio-modules-bt$ dpkg-query -L bluez-tools
/.
/usr
/usr/bin
/usr/bin/bt-adapter
/usr/bin/bt-agent
/usr/bin/bt-device
/usr/bin/bt-network
/usr/bin/bt-obex
/usr/share
/usr/share/doc
/usr/share/doc/bluez-tools
/usr/share/doc/bluez-tools/README
/usr/share/doc/bluez-tools/changelog.Debian.gz
/usr/share/doc/bluez-tools/copyright
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/bt-adapter.1.gz
/usr/share/man/man1/bt-agent.1.gz
/usr/share/man/man1/bt-device.1.gz
/usr/share/man/man1/bt-network.1.gz
/usr/share/man/man1/bt-obex.1.gz
EHfive commented 3 years ago

It is related with file system. Assumed that /media/raffaele/DATA/data/linux/software/ is on NTFS, the character : inside filename "USB Device 0x46d:0x9a4--USB Mixer" is invalid under NTFS which causes file creating fail.

raffaem commented 3 years ago

Right, thanks!

But the module works anyway .. do I have to recompile?