chu*_*ang 7 automount mtp fuse nexus-7 ubuntu-touch
我将 USB 电缆从运行 Ubuntu 的 Nexus 7 连接到我的 Ubuntu 笔记本电脑,但是当我运行 lsusb 时没有找到新的 USB 设备。支持这个功能吗?
更新请看下面的 go-mtpfs 示例。go-mtpfs 更可靠,但说明仍然非常相似。
sudo vim /etc/fuse.conf
Un-comment **user_allow_other**.
Run Code Online (Sandbox Code Playgroud)
sudo apt-get install mtp-tools mtpfs
sudo mkdir /mnt/nexus7
chown youruser:youruser /mnt/nexus7
sudo gedit /etc/udev/rules.d/99-android.rules
#Nexus7
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
Run Code Online (Sandbox Code Playgroud)
sudo chmod +x /etc/udev/rules.d/99-android.rules
sudo vim /etc/fstab
mtpfs /mnt/nexus7 fuse user,noauto,allow_other,defaults 0 0
Run Code Online (Sandbox Code Playgroud)
sudo service udev restart
mount /mnt/nexus7
umount /mnt/nexus7
如果 Nexus 平板电脑具有可用的软件数据线应用程序,则该程序将允许您通过无线链接轻松传输文件。看:
http://linuxnorth.wordpress.com/2012/04/23/a100-to-ubuntu-file-transfer/
和
http://linuxnorth.wordpress.com/2012/04/24/software-data-cable-addendum/