Well, I think I have found the solution, and I wonder if any of you who have one of these remotes could test it, before I re-write the page.
The change is to forget about trying to mount the remote as user, but mount it as root, but with read-write access to any user.
The file in /etc/udev/rules.d, 62-usbremote.rules, can be changed slightly by getting rid of an intermediate file to hand control back to the system, by going straight to "mount_ofa" and putting an ampersand at the end, thus:
Code: Select all
ACTION=="add", KERNEL=="sd*[0-9]", ATTRS{idVendor}=="06e7", ATTRS{idProduct}=="8015|8020", RUN+="/usr/local/bin/mount_ofa &"Code: Select all
#!/bin/bash
mkdir /media/REMOTE
mount -t vfat /dev/disk/by-id/usb-UEI_Remotes_UEI_Mass_Storage_000000000001-0:0-part1 /media/REMOTE/ -o user,umask=0000
Anyway, I know that Graham/Mathdon and Randy/HamburgerHelper1 have these remotes working with Linux. It would be great if they can confirm that it works for them as well.
The other thing I will try to do is to write a "remove" script as well. Because of the way that RMIR sends data to these remotes in Linux, it is safe to unplug them without unmounting, but you can sometimes end up with multiple dead mounts on your system. So maybe I can sort that out too.
I will update the wiki when I'm sure everything will work OK.
Dave