Giter VIP home page Giter VIP logo

Comments (3)

M0Rf30 avatar M0Rf30 commented on June 10, 2024 1

This is caused by an Ubuntu patch for libmtp rules that adds audio group.
Your device (Alcatel/TCT 6010D/TCL S950) is detected also as mtp device and thats why you have to satisfy this requirement.

from android-udev-rules.

M0Rf30 avatar M0Rf30 commented on June 10, 2024

the patch follows

Description: Adapt upstream udev rules file to Debian standards.
Forwarded: not-needed
Author: Alessio Treglia <[email protected]>
---
 util/mtp-hotplug.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- libmtp.orig/util/mtp-hotplug.c
+++ libmtp/util/mtp-hotplug.c
@@ -68,7 +68,7 @@ int main (int argc, char **argv)
    * with ENV{ID_MEDIA_PLAYER}=1 writable for the console
    * user.
    */
-  char default_udev_action[] = "SYMLINK+=\"libmtp-%k\", ENV{ID_MTP_DEVICE}=\"1\", ENV{ID_MEDIA_PLAYER}=\"1\"";
+  char default_udev_action[] = "SYMLINK+=\"libmtp-%k\", MODE=\"660\", GROUP=\"audio\", ENV{ID_MTP_DEVICE}=\"1\", ENV{ID_MEDIA_PLAYER}=\"1\"";
   char *action; // To hold the action actually used.
   uint16_t last_vendor = 0x0000U;
   char mtp_probe_dir[256];

from android-udev-rules.

M0Rf30 avatar M0Rf30 commented on June 10, 2024

Try to remove your user from audio group, comment this libmtp line for a while in /usr/lib/udev/rules.d/69-libmtp.rules

# Alcatel/TCT 6010D/TCL S950
ATTR{idVendor}=="1bbb", ATTR{idProduct}=="0167", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"

reload udev rules and let me know if it works, just to confirm my hypotesis.

from android-udev-rules.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.