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

learn more… | top users | synonyms

1
vote
1answer
39 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 ...
1
vote
0answers
34 views

How to find what is invoked on ACPI events?

My question is not how to catch ACPI events, but how to track out what happens when one occurs. I recently got interested in ACPI events. I wonder how to find out what script is triggered by ACPI ...
10
votes
2answers
169 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 ...
1
vote
1answer
56 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
41 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
24 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 ...
0
votes
1answer
31 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.
2
votes
1answer
57 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 ...
0
votes
0answers
29 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
57 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
13 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.
5
votes
1answer
110 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
22 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
11 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 ...
2
votes
1answer
122 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
0answers
43 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 ...
5
votes
2answers
115 views

udev rules to allow only one vendor and model USB drive but no others

So, we're working to set up an environment here where we have a secure storage setup on our Linux laptops, such that our Linux laptops can only connect a specific USB drive: a Kingston DataTraveler ...
8
votes
2answers
221 views

How to execute C++ program whenever a USB flash drive is inserted

I have a C++ program that accesses USB pen drives/flash drives. It works for currently inserted flash drive. A normal C++ program doesn't execute until we run it. But I wanted the program to run ...
0
votes
0answers
49 views

mtp not work ubuntu vivid 14.10 and Lenovo S-930

I added into /etc/udev/rules.d/51-android.rules: UBSYSTEM=="usb", ATTR{idVendor}=="17ef", ATTR{idProduct}=="7718", MODE="0666" Then I ran the following command (restarting the udev service): $ ...
0
votes
0answers
40 views

How is `/etc/udev/rules.d/70-persistent-net.rules` supposed to be created?

On my utopic live USB the file seem to be created automatically and have content specific to my computer (ie matches on my MAC address), but when installed under QEMU or on my server this file is ...
1
vote
0answers
34 views

Simulate unplug and re-plug via command line for device development

I am working on a couple projects and frequently they lock up where the only fix is to unplug and replug them in. I would like to be able to use the terminal to do this as it happens frequently with ...
3
votes
1answer
23 views

custom rule to force FDTI Quad UART FT232r output on specific name

I would like the 4 UARTS that show to be on a name other than /ttyUSB0 because i have many devices that end up on /ttyUSB*. I have written a rule which can create a symlink or new name based on the ...
2
votes
0answers
33 views

Make KDE use max resolution available for second monitor

KDE user, Thinkpad T450s. I have a second monitor at home, and another one in my office. When I plug in any of the two in my VGA port, the system automatically assigns to it a 1024x768 resolution. ...
1
vote
1answer
98 views

Something keeps changing my wireless regulatory domain

I have a Thinkpad T450s and KXStudio (Ubuntu+KDE) My connection drops very often, and I think the problem is related to frequent CRDA calls. I live in Germany, but for some reason my computer seems to ...
1
vote
0answers
77 views

Udev rule for USB device not triggering

I'm struggling to create a udev rule for my son's camera. There are some solutions online already which may or may not work. However, what I'm more intereted in is understanding why this doesn't work. ...
2
votes
0answers
73 views

udev/dpkg error

I'm getting this strange output every time I try to execute a command through SSH on my VPS (Ubuntu Server 15.04) which doesn not allow me to install anything. Any suggestions ? Job for ...
2
votes
0answers
120 views

Ubuntu server 14.04 and systemd-udevd process with high CPU usage

After upgrading from Ubuntu Server 12.04.2 to Ubuntu 14.04.2 Server version, I observed a huge usage of CPU (~ 90%) by systemd-udevd processes (3). Running udevadm monitor display continuously ...
1
vote
1answer
62 views

How do I reset network devices in Ubuntu 14.04

I just installed Ubuntu 14.04 Server (without a GUI) running as a virtual machine (Ubuntu host). Everything is fine so far but I changed some settings regarding my networking devices. So now I tried ...
3
votes
1answer
185 views

Can not get udev to execute cutom rules

I'm trying to change some settings with the help of udev when i plug in and out the ac adopter but cant seem to get it to run. I'm running ubuntu 15.04 and this is what I've got: sudo systemctl ...
1
vote
0answers
33 views

udev keyboard mapping, gnome 3 workspace

I’m using the Microsoft 4000 keyboard, and a managed to map the zoom keys to pageup and pagedown in udev using this tutorial. But I want to be able to map them to workspace up/down in gnome 3. could ...
0
votes
1answer
195 views

Modem usb serial mode [duplicate]

I used to force my huawei E3531 modem to stay in serial mode using usb_modeswitch on my linux ubuntu computer. I was running this: usb_modeswitch -v 12d1 -p 1f01 -M ...
2
votes
0answers
73 views

mountall: error while loading shared libraries: libudev.so.0

I don't know how to fix this. My system won't even get past the loading screen. When I press F1 on the Ubuntu splash screen it shows me log with this message. mountall: error while loading shared ...
0
votes
1answer
212 views

Udev can't create persistent rules, read only file system

After upgrading to 15.04 I tried different drivers for my wireless card, so I thought to refresh the udev rules and deleted the /etc/udev/rules.d/70-persistent-net.rules file, thinking it would be ...
1
vote
0answers
121 views

udev Wait for Complete Device Initialization [closed]

During boot of Ubuntu 15.04 vivid the system waits too long for a usb device to be initialized. The problem is that the reported usb has a hub (front usb ports on my cabinet) but no device connected ...
0
votes
1answer
1k views

Udev problem after updating to ubuntu 15.04

After upgrading to Ubuntu 15.04 I got a weird error with udev. -> sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done ...
1
vote
0answers
59 views

Why Does This Udev Rule Only Run Once

I want to set up a udev rule to run every time I plug in a USB drive that will connect that USB drive to connect to a VM in VirtualBox. The udev rule works to connect a USB drive to a running VM, but ...
0
votes
0answers
36 views

Execute script on power supply connected

I am looking for a method that will call a script when the power supply is connected, or the battery state becomes "Charging". I will not accept answers involving any type of cron or loops. I know ...
1
vote
0answers
107 views

Bluetooth controller connects/disconnects spamming system logs

I'm running one of the new Broadwell NUCs under 15.04. Bluetooth has been "fine" for the last few weeks (didn't use it beyong testing it with a BT mouse). Yesterday I started seeing continuous spam ...
0
votes
0answers
39 views

How to make devices files in /dev available in initramfs shell?

My kernel initialization process fails at a point where it drops to a (initramfs) shell without any HDDs being available in /dev. Which script/sequence of scripts has to be executed to make them ...
0
votes
0answers
47 views

Creating js* udev input device as non-root

I'm trying to get the xboxdrv user-space Xbox 360 driver working without needing to run with root privileges. I have udev rules set to make any /dev/input/js* node be group-writeable by an "input" ...
3
votes
1answer
35 views

If Maverick Meerkat is 70, what is Utopic Unicorn?

I was reading a StackOverflow answer on solving some problems one might encounter when using an Android device for development. The solution is to create a file as follows: ...
1
vote
0answers
138 views

Arduino nano doesn't connect correctly on boot up

I have an Arduino Nano connected to my PC that does some basic home automation stuff, and it works nicely. Except that sometimes on bootup, the USB device isn't connected successfully. Unplugging and ...
0
votes
1answer
208 views

Udev and systemd are broken any help would be appreciated

I cannot configure udev or systemd cam@banowsky:~/rails/lo/db$ sudo dpkg --configure udevSetting up udev (219- 4ubuntu10) ... update-initramfs: deferring update (trigger activated) insserv: ...
0
votes
0answers
33 views

Changing owner of block device file

I have a disk that I'm connecting it via USB. In system it has /dev/sdb block device file. By default it is owned by root. I want to automatically change owner to my user. So I'm writing a udev rule ...
4
votes
1answer
78 views

How to allow software access to any USB devices?

I have a libusb-based program that can't open USB devices on a freshly installed Ubuntu because it lacks permissions. This solution will probably work for me, but it requires manually specifying ...
0
votes
1answer
155 views

PS/2 Keyboard+Mouse to USB Adapter is wrongly recognized as Barcode Reader

I have purchased this product, which is an adapter to connect an old PS/2 keyboard to USB. It is not working on Ubuntu 14.04. lsusb says: Bus 003 Device 005: ID 13ba:0018 PCPlay Barcode ...
1
vote
0answers
88 views

Change permissions inside USB drive to execute shell script

I have read multiple other answers on here to no avail. Clearly chmod and chown are not applicable here. Here's the problem: I have a USB drive for school in which I have a folder for my programming ...
1
vote
0answers
102 views

bash script to cd into an USB device

i am creating a simple updater for a program which will be ran on an Odroid C1 with Ubuntu 14.04 Server.. Preamble 1) i want the updater.run downloaded from my server and placed into an USB; then ...
2
votes
2answers
59 views

How can I force USB devices to keep the same device file even after they crash and are reset?

I have 3 USB webcams and 3 Arduino's plugged into the same computer. On startup, they are labeled /dev/videoN (N goes from 0 to 2) and /dev/ttyACMN (N goes from 0 to 2). So far, so good. The problem ...
1
vote
1answer
291 views

Ubuntu 14.04 Sound on HDMI output

I have Ubuntu 14.04 LTS. I have an issue with switching audio output to HDMI when an external monitor (TV) is connected. Here is my setup: I created "udev rule" 10-hdmi_sound.rules in ...