The kernel's device manager, responsible for the contents of /dev.

learn more… | top users | synonyms

3
votes
2answers
68 views

Have system not try and use connected Wireless USB Adapter on Ubuntu, but be available to VMs to bind to

So, I asked a bit ago on how to make a udev rule to block certain USB devices. However, I need to achieve something like this with wireless USB adapters. I have a wireless USB adapter from EDIMAX ...
0
votes
0answers
32 views

After installing Xubuntu 15.10 the wlan-interface is called wlp3s0 [duplicate]

after I installed Xubuntu 15.10 the wlan-interface-name is wlp3s0 and not wlan0. I read that you have to change: /etc/udev/rules.d/70-persistent-net.rules This file isn't exisiting. How do I ...
20
votes
5answers
39k views

Network interface name changes after update to 15.10 - udev changes

I updated a virtual machine running Ubuntu server 15.04 to the just released new stable 15.10. There were no apparent problems, but after reboot the machine lost its network connection. lspci showed ...
2
votes
1answer
101 views

USB sync via udev?

I'm quite desperate after several tryouts of making a quite simple backup program. After 6 hours of following and trying all posts on that topic, I don't know any solution. I just want a java script ...
0
votes
0answers
115 views

How to change permissions of automount?

I set up a Ubuntu 14.04 machine for my family. I noticed that when I insert a USB key it gets automounted to /media/$username/$volumename. /media/$username has an ACL that only allows $username to ...
0
votes
1answer
214 views

EnhanceIO persistent udev rules not firing on reboot - Ubuntu 14.04.3

Abstract : I've installed enhanceIO and enhanceio-dkms from the daily PPA at http://ppa.launchpad.net/enhanceio/daily/ubuntu/ giving version 0+git20130406-0~69~ubuntu14.04.1. Everything seems to be ...
1
vote
1answer
239 views

Run a shell command AFTER a bluetooth input device is detected?

I'm trying to slow down my Magic Mouse sensibility using a xinput command automatically when my mouse is connected to my computer. I managed to create a file under rules.d, that calls a shell script. ...
6
votes
3answers
209 views

mount options for udev-rule mounted ext3 fs on14.04.3

I want to go beyond this excellent solution by @A.B. which permits to auto-mount a given removable ext3 FS using a udev rule. Specifically I'd like to specify several mount options: "nodev,noexec,x-...
1
vote
1answer
312 views

Android adb no permission

I'm trying to use adb from a Ubuntu(+Cinnamon) machine. The problem is that I get following message from adb devices: List of devices attached TA8830OIVO no permissions Where TA8830OIVO is my ...
2
votes
1answer
849 views

Predict network interfaces names in Wily/Xenial

I usually install systems with debootstrap. As part of the script, I add the interface eth0 to /etc/network/interfaces. But with Wily changing to persistent network interfaces, this doesn't work ...
1
vote
1answer
58 views

Secure Auth/Encryption Smart Keyboard

Due to the nature of a personal subnet (hardened on the outside, trusting/naive on the inside) I'm starting a project within my network (routed by a Ubuntu 15.04 Desktop with OpenVPN public/local ...
1
vote
1answer
57 views

How can an internal hard drive be made completely inaccessible for the system?

I've "rescued" my whole main system HDD onto another fresh drive (using a live CD, to be able to easier access / and /usr from X11), and now I'd like to pretend as if I had physically removed the old ...
2
votes
1answer
161 views

copying a file from a USB storage if it exist with udev rules

I have a simple udev rule to match USB storage devices which runs a simple script that looks for a file in the USB. I'm using the usbmount package in order to automatically mount the USB. As the ...
3
votes
1answer
517 views

udev doesn't run bash script as RUN argument [closed]

I'm trying to set a simple script to run whenever a USB storage device is being plugged to the computer. For that task I have a 100-usb.rules file in /etc/udev/rules.d which has a very generic rule: ...
1
vote
1answer
174 views

Does udev need sudo in run?

I've got a udev rule that is properly matching, but it is not executing the command in the RUN+="/usr/bin/synclient TouchpadOff=1" properly. If I change that to be some sort of test shell script then ...
1
vote
1answer
43 views

xTerm and wvdial issue

After mounting USB modem opens xTerm which connects me to the internet after some time it shut's down. Hey all, Look ... when I'm starting sudo wvdial on normal gnome-terminal - All works without ...
2
votes
2answers
298 views

ACPI open/close lid scripts - xrandr does not execute but other commands do

See SOLUTION at the end. I have used this guide to write a script that activates when I open or close the laptop lid. My setup is a laptop monitor and an external monitor working well together. ...
1
vote
1answer
186 views

Ignore one partition of two of an USB stick via udev

I have a USB stick with two partitions. After plugging the stick I use the following command to find the device. dmesg Example output [11195.236020] usb 2-2: new high-speed USB device number 9 ...
1
vote
2answers
216 views

How to specify vendor id while installing ubuntu touch

I am trying to install Ubuntu Touch on my YU Yuphoria (guided by http://developer.ubuntu.com/en/start/ubuntu-for-devices/installing-ubuntu-for-devices/). When I tried to list devices on fastboot ...
2
votes
2answers
2k views

udev rules targeting every USB device

I'm trying to execute a script whenever a USB is plugged. What I currently have is a demo script in /usr/local/test.sh: #!/bin/bash touch /home/kfir/test.txt I also have a rules file which tries ...
5
votes
1answer
988 views

How create a udev rules to disable one of Android devices?

I have an HTC Android phone. Every time I connect it to computer I get a message: Android Phone: Could not open MTP device "[usb:002,003]" The numbers may be different. But the phone connects ...
2
votes
1answer
560 views

udev script doesn't run in the background

I'm having trouble getting a script run by udev to run in the background on usb insert. My udev rule seems to work, since it definitely calls the script, but no matter what I do, I can't get bash ...
1
vote
1answer
189 views

problem in installing libfreenect2 on ubuntu 15.04

I'm trying to install libfreenect2. I have cloned the repository. I have made cmake successfully. But when I make the file, I get the following error: [ 3%] Building CXX object CMakeFiles/...
1
vote
1answer
74 views

Which of these hardware devices are not listed in the /dev directory?

(1) Mouse (2) Video adapter (3) Network adapter (4) Webcam (5) Hard drive (6) USB drive I feel like all of them is listed except for the network adapter , Is that correct ?
1
vote
0answers
802 views

udev 70-persistent-net.rules behavior change

I currently manage over 30 nodes of Ubuntu, some are desktops, some are servers with version 14.04. Some node have 70-persistent-net.rules file which auto generated by udev.d, some node don't have ...
0
votes
0answers
545 views

ADB: No devices found

I have a laptop running Ubuntu 14.04 and Android Studio 1.3. Although my phone (LG Escape 2) shows up on the launchpad, and the file system is accessible, it is completely and totally undetected by ...
3
votes
1answer
361 views

August LP205R on Ubuntu GNOME 15.04

Similar question have been asked before, but there were no answers. I cannot comment there, nor I have an answer, therefore I don't see other option but to ask again. I have a USB laser presenter ...
1
vote
1answer
490 views

ADB needs root after upgrading to Android 5.1.1

I am building Android from source in order to install my company's custom filesystem (Datalight Reliance Nitro). I'm using an Ubuntu 12.04 PC as my host device and a Nexus 7 (flo) as my Android device....
1
vote
0answers
150 views

Android SDK tools in Ubuntu doesn't read Nexus 7 in recovery mode (Possible udev rules issue)

so I'm trying to push a ROM in my bricked Nexus 7 through adb in Ubuntu. The problem is that, when I plug it in recovery mode to my laptop, and run adb devices the system doesn't find my Nexus ...
1
vote
0answers
75 views

Cannot unmount USB o write on USB as normal user

I have the following file of rules in /etc/udev/rules.d/ KERNEL!="sd[a-z]*", GOTO="media_by_label_auto_mount_end" # Import FS infos IMPORT{program}="/sbin/blkid -o udev -p %N" # Get a label if ...
6
votes
2answers
181 views

Change ethX index

When I run ifconfig in one of my machine I saw these. The Q is where does the index eth3 and eth4 from? Is there a way to change them to eth0 and eth1? $ ifconfig eth3 Link encap:Ethernet ...
1
vote
1answer
207 views

Logitech R400 on Lenovo T440s, Ubuntu 14.04 not properly recognized

I would like to use a Logitech R400 pointer with my Lenovo T440s running on Ubuntu 14.04 64bit. There is a problem with the keys so that forward and backward buttons result in jumping at 1st or last ...
2
votes
0answers
125 views

USB speaker not detected

I am connecting an USB speaker but it the speaker gets detected on USB buts gets rejected after a while. However it works in Fedora [ 9548.214066] usb 5-3: new full-speed USB device number 19 using ...
1
vote
1answer
219 views

Udev rule to create node for character device when loading module

I've followed tutorials to make this happen, but I've failed. My system is Ubuntu 14.04 with kernel 3.18.0-031800-generic. I've searched for udev rule keys using udevadm monitor --env. Its output ...
1
vote
1answer
184 views

How do I get Artec e+ 48u to work on Xubuntu 14.10 (amd64)

Symptoms: When I open Xsane, I get an error that it cannot find my scanner. simple-scan will open, but when I click the scan button I get a failed to scan error. The properties child window is what ...
1
vote
1answer
281 views

Write files in usb when connect by /etc/udev/rules.d/

I am trying to write some files in usb when connect it in linux.. Actually, I have a file in in /etc/udev/rules.d/ with: ACTION=="add", ENV{ID_FS_UUID}=="9FE8-99G3", RUN+="/usr/bin/sudo -u ...
1
vote
1answer
192 views

Set the lirc order of devices

I have two remote devices. One USB MCE remote dongle, that I want to use, and a built-in device on my satellite PCI-E card that I neither use or want to. When things boot up, lirc assigns these ...
2
votes
1answer
1k views

Couldn't find matching udev devices

I tried to connect my brand new Microsoft Lumia 540 to Lubuntu 14.10 with the help of default LUMIA USB cable and got the following error messages. Unable to Open MTP devices Couldn't find matching ...
2
votes
0answers
52 views

Udev rules for USB mounting and Low Graphics Mode error

I have a file containing the content bellow KERNEL!="sd[a-z][0-9]", GOTO="media_by_label_auto_mount_end" # Import FS infos IMPORT{program}="/sbin/blkid -o udev -p %N" # Get a label if present, ...
0
votes
1answer
95 views

Simple udev rule does not work

whats wrong with this simple udev rule? KERNEL=="sdc1", ACTION=="add", RUN+="/bin/mkdir /tmp/folder1" When I plug in my USB-Stick the rule does nothing.
2
votes
1answer
394 views

15.04 stopped upgrading Error (1) Udev and Insserv errors

My 15.04 will not upgrade successfully either through apt-get or otherwise. The files will download but I receive the following errors. So far I've found no solution. Udev and insserv seem to be the ...
12
votes
2answers
405 views

Alert the user when they unsafely unplug an USB thumb drive

Users repeatedly complain about lost data on USB thumb drives after they unplugged them without unmounting. We run Ubuntu 14.04 LTS on our machines. Auto-mounting is enabled. As I am tired of ...
2
votes
1answer
9k views

getting razercfg to work using systemd - systemctl: command not found

My goal is to change my mouse DPI. So any less frustrating solution is also welcome. I'm trying to get this program to work and i'm following it's README file: http://bues.ch/cms/hacking/razercfg....
1
vote
1answer
184 views

Udev rule is executed twice because Android Smartphone is mounted 2 times

I need your help. :-) First I want to excuse for my Englisch, I´m from Germany. I have a Bash script which should be executed every time an Android Phone is connected through USB. This is done by my ...
1
vote
1answer
1k views

My ethernet interface name has changed from eth0 to eth1

I was doing some work in GNS3 in which I had to run a Virtual machine(tiny version of OS) and needed to connect that machine to a virtual router that was running also on GNS3. For this I needed to set ...
4
votes
2answers
840 views

Use of Yubikey Neo for login 2FA and lock screen

I want to use my Yubikey Neo to login to Ubuntu 14.04. In addition, it would be convinient if the screen is locked automatically everytime I unplug the Yubikey.
4
votes
1answer
106 views

Automount All USBs in Virtualbox

I want to have a way to have Ubuntu boot automatically into a VirtualBox VM. I have figured that out, however it does not automount a USB drive. I have tried using udev (automount usb in ubuntu 12.04 ...
2
votes
0answers
430 views

UDEV rules for FTDI not completely working

I know this question has been asked many times but I cannot make it work. I have a FTDI serial-usb converter. I have generated 10-fhss-usb.rules in /etc/udev/rules.d/: SUBSYSTEM=="tty", ATTRS{...
3
votes
1answer
271 views

Execute Script when Android Phone is connected to specified/selected USB Port

I´m having some trouble with my udev rule. At the moment, I had my udev rule setup to execute a script whenever a Android phone is connected to any USB port on the computer. But I don´t want the ...
-1
votes
1answer
241 views

How to use refresh command with freedesktop services?

I want to use the refresh command on this here But i do not know how to do it, please help.