[最新更新2014/1/24] 可参考 [url]http://www.webupd8.org/2012/12/how-to-mount-android-40-ubuntu-go-mtpfs.html?m=1[/url]直接安装图形化工具"Go-mtpfs"
Go-mtpfs is available in the WebUpd8 Unstable PPA, for Ubuntu 13.04, 12.10 and 12.04. Add the PPA and install it using the following commands
安装完毕后unity搜索Mount Android Device的应用程序,拖动到unity左边的启动器,右键图标挂在mount即可如图:[url]http://img.netupd8.com/go-mtpfs-quicklists_thumb.png[/url]
[以下是旧文]
nexus 7默认居然不支持ubuntu linux mtf(媒体设备)文件传输,默认只能ptp文件传输。
解决如下:
安装工具
建立udev规则
输入一下内容
[quote]SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0666", OWNER="你的用户名"[/quote]
[b]注意:[/b]idVendor和idProduct,通过lsusb查看自行修改我的lsusb如下:
[quote]Bus 001 Device 013: ID [b]18d1:4e42[/b] Google Inc.[/quote]
所以我的内容如下
[quote]SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e42", MODE="0666", OWNER="你的用户名"[/quote]
重启udev使以上规则生效。
挂载点目录设置
插入nexus 7到电脑后执行
移除usb文件传输,
参考:[url]http://www.nexus7tablethelp.com/2012/07/connect-nexus-7-to-linux-via-mtp-using.html[/url]
后记:我是ubuntu 12.04图形界面文件复制操作不太好使,建议命令行操作。
Go-mtpfs is available in the WebUpd8 Unstable PPA, for Ubuntu 13.04, 12.10 and 12.04. Add the PPA and install it using the following commands
sudo add-apt-repository ppa:webupd8team/unstable
sudo apt-get update
sudo apt-get install go-mtpfs
sudo apt-get install go-mtpfs-unity
安装完毕后unity搜索Mount Android Device的应用程序,拖动到unity左边的启动器,右键图标挂在mount即可如图:[url]http://img.netupd8.com/go-mtpfs-quicklists_thumb.png[/url]
[以下是旧文]
nexus 7默认居然不支持ubuntu linux mtf(媒体设备)文件传输,默认只能ptp文件传输。
解决如下:
安装工具
sudo apt-get install mtp-tools mtpfs
建立udev规则
gksu gedit /etc/udev/rules.d/51-android.rules
输入一下内容
[quote]SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", MODE="0666", OWNER="你的用户名"[/quote]
[b]注意:[/b]idVendor和idProduct,通过lsusb查看自行修改我的lsusb如下:
[quote]Bus 001 Device 013: ID [b]18d1:4e42[/b] Google Inc.[/quote]
所以我的内容如下
[quote]SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e42", MODE="0666", OWNER="你的用户名"[/quote]
重启udev使以上规则生效。
sudo service udev restart
挂载点目录设置
sudo mkdir /media/nexus7
sudo chmod a+rwx /media/nexus7
插入nexus 7到电脑后执行
sudo mtpfs -o allow_other /media/nexus7
移除usb文件传输,
sudo umount mtpfs
参考:[url]http://www.nexus7tablethelp.com/2012/07/connect-nexus-7-to-linux-via-mtp-using.html[/url]
后记:我是ubuntu 12.04图形界面文件复制操作不太好使,建议命令行操作。