New answers tagged

2

opera? Oh no! RUN is only for short running tasks, udev run the command in a confined environment. No GUI supported, daemon will be killed just after finishing the event processing. If you want just to test if the rule is triggered, try this: #!/bin/bash date >> /root/myrule.log Reference: man udev RUN{type} This can only be used for ...


0

I just had exactly the same error but with my ASUS Zenfone 2 on Xubuntu 15.10. I tried a different USB port (3.0) and it just worked, I suspect the MTP setting wants a better port. Either that or there is something wrong with my USB 2.0 port (and the OPs port) You could try a different port - on a different PC if you have to.


2

Few points Used 75-, the rules run in order. There is a chance that your rule may overridden by next rules from /lib/udev/rules.d/, prefer to use 99- ~ 90- SUBSYSTEM=="usb", SYMLINK+="myusb" too generic It match all event actions add, remove & change. Beside all USB devices. May be you should make it more strict. Check using lsusb Bus 003 Device ...


1

Yes, it gives permission to public users for all those serial devices. You can use ATTRS{idVendor} & ATTRS{idProduct} to filter out target devices: ACTION=="add", KERNEL=="ttyACM[0-9]*", ATTRS{idVendor}=="ffff", ATTRS{idProduct}=="0005", MODE="0666" I add ACTION=="add" to skip other unwanted event remove (device node removed already) & change (...


3

You can do this in the Disks application, it is preinstalled, search in the dash and open it. Now click the partition on the left and under the diagram in the center click the little cog icon Now choose edit mount options and make the settings, Automatic mount > off, Mount at startup > on, Show in interface > on and Require additional ...


4

Your symlink points to the device file associated with the USB drive. That's different from the mount point where you can access the file system on your USB drive. As a device file is not a directory you can't use cd with a device file or a symlink pointing to a device file.



Top 50 recent answers are included