Ubuntu 12.04上Android MTP連線
我的Ubuntu 12.04系統上一直都不能正常連線我的Galaxy Nexus 3手機,今天下定決心要解決這個問題。Google了一下,找到了解決的辦法。
首先要更新MTP的庫,據說Ubuntu13.10的MTP庫已經很好用了,網上有可以直接提供好的源可以直接下載。
sudo add-apt-repository ppa:langdalepl/gvfs-mtp
Enter your user password and than you’ll be shown following text:
You are about to add the following PPA to your system:
These builds of gvfs have my native mtp backend backported from gvfs master. Use this to easily access MTP based devices with Nautilus.
More info: https://launchpad.net/~langdalepl/+archive/gvfs-mtp
Press [ENTER] to continue or ctrl-c to cancel adding it
Hit the Enter Key. After this is done you need to type following command, which updates the package list:
sudo apt-get update
After this was successful you need to upgrade the installed packages with:
sudo apt-get upgrade
然後就是發現這樣還是不行,會彈出USB錯誤的提示,有人提示說要加android在ubuntu中的連線規則。
3. Configure 51-android.rules:
sudo gedit /etc/udev/rules.d/51-android.rules
paste the following at the end of the file (if the file does not exist then just paste):
#LG - Nexus 4
SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666"
#Samsung - Nexus 7 & 10
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
Save and exit.
4. Make the file executable:
sudo chmod +x /etc/udev/rules.d/51-android.rules
5. Restart udev
sudo service udev restart
相關文章
- Android USB預設連線模式為MTPAndroid模式
- Android MTP流程Android
- Ubuntu 12.04配置SSHUbuntu
- 在 Ubuntu 12.04 上安裝 Graphite 監控工具Ubuntu
- ubuntu 12.04安裝OpenGLUbuntu
- 怎樣安裝在ubuntu12.04上安裝mysqlUbuntuMySql
- Ubuntu tomcat部署專案連線不上mys…UbuntuTomcat
- ubuntu12.04使用隨記Ubuntu
- ubuntu 12.04網路設定Ubuntu
- Xshell連線UbuntuUbuntu
- ubuntu建立軟連線Ubuntu
- ubuntu連線XshellUbuntu
- 轉【翻譯】怎樣在Ubuntu 12.04上配置Apache SSL證書UbuntuApache
- 安裝Redmine 2.3.0(Ubuntu 12.04 Server)UbuntuServer
- 用U盤安裝ubuntu 12.04Ubuntu
- ubuntu server 12.04 安裝postgresql 9.2UbuntuServerSQL
- Ubuntu 12.04 相關商品開售Ubuntu
- Android Studio adb連線不上Android
- ubuntu下皮膚上無網路連線的圖示Ubuntu
- 使用Xshell連線UbuntuUbuntu
- 遠端連線 Ubuntu 桌面Ubuntu
- ubuntu12.04 lts 安裝gcc 4.8UbuntuGC
- 袁萌:Ubuntu 12.04 LTS釋出有感Ubuntu
- Ubuntu 安裝MTP驅動訪問安卓裝置Ubuntu安卓
- ubuntu wps odbc 連線sqliteUbuntuSQLite
- windows mstsc 遠端連線UbuntuWindowsUbuntu
- ubuntu12.04 桌面版 jdk 安裝UbuntuJDK
- ubuntu12.04下samba、tftp、nfs的配置UbuntuSambaFTPNFS
- 升級至Ubuntu 12.04 Server的二三事UbuntuServer
- Ubuntu 設定遠端桌面(VNC 連線)UbuntuVNC
- Sqlite記錄01_ubuntu 12.04編譯sqliteSQLiteUbuntu編譯
- ubuntu 12.04 root使用者登入的方法Ubuntu
- 連線zk 報錯連線不上hbase jdbcJDBC
- 專案上線, 連線出錯
- Android設定加密鎖屏不可訪問MTPAndroid加密
- ubuntu12.04下怎麼安裝QT4.0UbuntuQT
- Ubuntu12.04 add-architecture i386Ubuntu
- ubuntu 12.04 mediawiki 安裝配置及備份恢復Ubuntu