You are not logged in.

#1 2012-10-23 03:04:45

bch24
Member
Registered: 2011-11-20
Posts: 27

Google Nexus 7 and jmtpfs

Had a problem trying to mount my nexus 7 with jmtpfs.

I kept getting errors about permissions denied.

Did a lsusb found bus/device numbers and when I do a ls -l /dev/bus/usb/$BUSNUM/$DEVICENUM I noticed that udev was adding as rw/rw root:root.

So I added the following file to /etc/udev/rules.d/90-google-nexus-7.rules
  ATTR{idVendor}=="18d1", ATTRS{idProduct}=="4e41", MODE="660", GROUP="audio"

Now when I reload rules and plug nexus in the device node is created with r/w access for group audio which my login is a member of. Now I can mount the google nexus with jmtpfs.


This is my first playing around with udev rules, not sure if this is the correct way to do it or not. It works.

Is there another way to get this working, or is the right way to do it?

thanks.

Offline

#2 2012-10-23 09:51:03

marvn
Member
From: Prague
Registered: 2010-01-05
Posts: 84

Re: Google Nexus 7 and jmtpfs

i have permission denied msg when I forget to umount the device properly, so maybe just run "fusermount -u <dir>" and then try jtmpfs <dir> again?


core i5 4590, x86_64, nvidia 970

Offline

Board footer

Powered by FluxBB