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 MTP流程Android
- 轉【翻譯】怎樣在Ubuntu 12.04上配置Apache SSL證書UbuntuApache
- Android Studio adb連線不上Android
- Xshell連線UbuntuUbuntu
- ubuntu連線XshellUbuntu
- 怎樣在Ubuntu 13.04,12.10,12.04安裝Qmmp 0.7.2Ubuntu
- 遠端連線 Ubuntu 桌面Ubuntu
- ubuntu wps odbc 連線sqliteUbuntuSQLite
- windows mstsc 遠端連線UbuntuWindowsUbuntu
- Android設定加密鎖屏不可訪問MTPAndroid加密
- 【Android】Socket連線-RxSocketAndroid
- android裝置連線至Android studioAndroid
- Android 連線資料庫Android資料庫
- Android 使用 Kotlin 連線 MQTTAndroidKotlinMQQT
- Ubuntu Server安裝介面並VNC連線UbuntuServerVNC
- Ubuntu 設定遠端桌面(VNC 連線)UbuntuVNC
- Ubuntu下的FTP Servers搭建與連線UbuntuFTPServer
- Ubuntu 12.04系統中保護電腦禁用恢復模式的方法詳解Ubuntu模式
- Android多個網路連線Android
- Android連線資料庫sqlserverAndroid資料庫SQLServer
- 連線zk 報錯連線不上hbase jdbcJDBC
- PhpStrom連線線上伺服器PHP伺服器
- 虛擬機器Ubuntu設定ssh連線虛擬機Ubuntu
- gdbserver連線Ubuntu除錯程式(使用串列埠)ServerUbuntu除錯串列埠
- Android Socket連線,使用Socket進行通訊(Android)Android
- 「Do.003」 adb無線連線Android裝置Android
- PhpStorm連線線上伺服器(2)PHPORM伺服器
- 連線上網路無法上網
- 在Ubuntu 19.10中使用mongoose來連線mongoDBUbuntuMongoDB
- Android 架構之長連線技術Android架構
- ubuntu20.04怎麼使用藍芽連線手機互傳檔案?ubuntu連線藍芽手機傳檔案的技巧Ubuntu藍芽
- 滑鼠怎麼連線在電腦上 滑鼠連線在電腦上的方法步驟
- win10系統不能識別Android手機MTP模式如何解決Win10Android模式
- 優麒麟Ubuntu Kylin 20.04 Pro SP1 上線Ubuntu
- Android Studio與夜神模擬器連線Android
- Android連線網路資料庫的方式Android資料庫
- Android 長連線初體驗(基於netty)AndroidNetty
- Android websocket長連線+點對點訂閱AndroidWeb
- xshell連線不上linux問題Linux