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

learn more… | top users | synonyms

1
vote
1answer
202 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
196 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: ...
1
vote
1answer
283 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 ...
1
vote
1answer
678 views

Predict network interfaces names in Wily

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
55 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
55 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
136 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
427 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
142 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
42 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
243 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. ...
2
votes
1answer
170 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
187 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 ...
6
votes
1answer
874 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
508 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
174 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 ...
1
vote
1answer
67 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
751 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
507 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
334 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
472 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 ...
1
vote
0answers
139 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
71 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
179 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
183 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
118 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
190 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
167 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
259 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
185 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
0answers
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
51 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
94 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
390 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 ...
11
votes
2answers
394 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
8k 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: ...
1
vote
1answer
181 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
722 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
104 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
403 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", ...
3
votes
1answer
253 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 ...
0
votes
0answers
27 views

Can't write udev rules?

I have it written, SUBSYSTEM== "usb", ENV{DEVTYPE} =="usb_device", MODE="0666" but it tells me I don't have permission to save it, why would that be? I am administrator.
-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.
5
votes
1answer
713 views

Run script when monitor is connected

I am trying to run a script located in usr/local/bin/ when I connect an external monitor to my laptop. I have tried to add a new udev rule but that did not work. I created a new file in ...
0
votes
1answer
65 views

CPU Locks up due to intel sound drivers during boot

My Vivid Vevet install was working just fine until I did an update. On the next startup the screen would just freeze on the loading screen before I could decrypt the hard drive. I can't get to ...
0
votes
0answers
30 views

Ubuntu stuck on startup when using custom udev

I got a little problem. I created a custom udev rule to be able to use my Diamax USB ISP programmer within IDEs etc. Everything worked great until I restarted my laptop. Ubuntu Gnome (14.04) stuck on ...
4
votes
1answer
11k views

Use of Predictable Network Interface Names with alternate kernels

Almost constantly, I use kernels from the Ubuntu kernel PPA, or kernels I have compiled myself, using the Ubuntu kernel configuration. The problem is when I am using the stock kernel it seems to ...
1
vote
1answer
578 views

Custom keymapping via udev/hwdb.d is not working

Background: I got the Microsoft Natural Ergonomic Keyboard 4000 and several keys are not working at all under Ubuntu such as the F1-F10 keys. I have Ubuntu 14.04.2 LTS running on my machine. My ...