How to block media sink endpoint

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

 




I'm trying to disable/block media endpoint so that my laptop won't be used as a media sink by Android devices. I occasionally use Bluetooth for transferring small files fro and to Android devices. Whenever a Android device connect to my laptop, it automatically enables "Media audio" again. If the phone was playing music, the laptop becomes the new media sink and the laptop speakers start blasting music :( What a horrible idiot-proof design.

Google doesn't ever listen to anyone, so I figured it's easier to find a solution by configuring my Linux machines.

bluetoothd output:

   Endpoint registered: sender=:1.78 path=/MediaEndpoint/A2DPSink/aptx_hd
   Endpoint registered: sender=:1.78 path=/MediaEndpoint/A2DPSink/aptx
   Endpoint registered: sender=:1.78 path=/MediaEndpoint/A2DPSink/sbc
   Endpoint registered: sender=:1.78 path=/MediaEndpoint/A2DPSink/sbc_xq

And bluetoothctl shows:

   UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)

I don't think Audio back-ends(ALSA, PA, PW) are not involved in this device source-laptop sink set up. How do I prevent my laptop from being used as an A2DPSink endpoint? Or if I can just blacklist a certain kernel module, that'd be just fine.





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux