Skip to content

Instantly share code, notes, and snippets.

@myguidingstar
Created May 26, 2017 11:39
Show Gist options
  • Save myguidingstar/e6ac10ed443be6b29420da854779371e to your computer and use it in GitHub Desktop.
Save myguidingstar/e6ac10ed443be6b29420da854779371e to your computer and use it in GitHub Desktop.
Nixos stuff
# Meizu MX Phone (MTP): VID=2a45 and PID=2008
services.udev.extraRules= ''
SUBSYSTEM=="usb", ATTR{idVendor}=="2a45", ATTR{idProduct}=="2008", MODE="0666", GROUP="mtp"
'';
@myguidingstar
Copy link
Author

$ mtp-detect
libmtp version: 1.1.11

Listing raw device(s)
Device 0 (VID=2a45 and PID=2008) is a Meizu MX Phone (MTP).
Found 1 device(s):
Meizu: MX Phone (MTP) (2a45:2008) @ bus 2, dev 3
Attempting to connect device(s)
libusb_open() failed!: Permission denied
LIBMTP PANIC: Unable to initialize device
Unable to open raw device 0
OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment