Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Permission ATTR{idVendor} for USB devices on linux mint to use table mobii protab2 XXL

I am using linux mint, and consulting VendorIds from http://developer.android.com I don't know how to detect my tablet device correctly. My tablet device is Mobii protab 2 XXL, fabricated by Point of view.

I have created 50-android.rules at /etc/udev/rules.d/ and added line: SUBSYSTEM=="usb|usb_device", SYSFS{idVendor}==”0955″, MODE=”0666″

But adb devices throw:

List of devices attached  ????????????  no permissions

Does anyone know which idvendor do I have to use???

usb:

    lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 005: ID 1058:1003 Western Digital Technologies, Inc. 
Bus 007 Device 002: ID 1a34:0203  
Bus 007 Device 003: ID 06f8:3008 Guillemot Corp. 
Bus 008 Device 002: ID 046d:c050 Logitech, Inc. RX 250 Optical Mouse
Bus 002 Device 007: ID 0a81:0101 Chesen Electronics Corp. Keyboard
Bus 002 Device 008: ID 18d1:0003 Google Inc. 

And I put in udev last time:

SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1:0003", SYMLINK+="android_adb", MODE="0666" GROUP="plugdev"

It worked the first time, but when I restart the PC, the permissions are denied. I have tried to restart:

sudo service udev restart
adb kill-server
adb start-server

But it didn't work.

NOTE:

Some devices don't work propertly doing this process. If you still having problems, try execute

sudo adb start-server

It works with Point of view device.

like image 937
vgonisanz Avatar asked Mar 29 '12 16:03

vgonisanz


1 Answers

On 51-android.rules:

SUBSYSTEMS=="usb", ATTRS{idVendor}=="18b1", ATTRS{idProduct}=="0003", MODE="0666".

And use chmod command to have permission 666 (the number of the beast, muahahhaha) on adb or will not work.

Good luck.

like image 134
Jav_Rock Avatar answered Nov 15 '22 06:11

Jav_Rock