[更新2014/1/24]如何让nexus 7谷歌平板连接ubuntu linux 进行mtf(媒体设备)文件传输

[最新更新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
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图形界面文件复制操作不太好使,建议命令行操作。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值