I connected USB cable from Nexus 7 running Ubuntu to my Ubuntu laptop but there is no new USB device found when I run lsusb. Is this function supported?
UPDATE Please take a look below for go-mtpfs example. go-mtpfs is much more reliable, but the instructions remain very similar.
Automatically mounting Nexus 7
Allow non-root users to mount fuse devices:
Make mount point
Add udev rules
Add Nexus7 to fstab
If the Nexus tablet has the Software Data Cable app available, this program will let you easily transfer files via a wireless link. See:
A blog post by Bilal Akhtar has a supposedly more reliable way to connect to Android 4.0+ devices from Ubuntu. The steps are summarized here:
I would also like to thank James Gifford for pointing this article out to me on Google+. ;)
In contrast to all the other answers I would still claim that it's not yet possible at all. The question is clearly about "Nexus 7 running Ubuntu" and as far as I understand there is no special service in this first Ubutu port for the Nexus 7 that acts as a USB device. I have a Nexus 7 running Ubuntu here and didn't succeed with any of these solutions mentioned.
I think, all answers so far target Nexus 7 running Android.
Please correct me if I am wrong.
Install this PPA : https://launchpad.net/~langdalepl/+archive/gvfs-mtp
Update and upgrade.
Hey presto, working MTP support that automounts a Nexus 7 as a browsable folder in Nautilus.