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

learn more… | top users | synonyms

2
votes
0answers
441 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
272 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.
5
votes
1answer
811 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 /etc/udev/...
0
votes
1answer
70 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 ...
4
votes
1answer
12k 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
609 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
2k 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 2....
9
votes
2answers
894 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 ...
1
vote
0answers
126 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
81 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
56 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. ...
3
votes
1answer
4k 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
379 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. ...
4
votes
1answer
180 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 systemd-udevd....
3
votes
0answers
450 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
147 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
850 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
93 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
1k 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
290 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 ...
1
vote
1answer
1k 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 ...
0
votes
1answer
3k 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 ...
2
votes
0answers
156 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 ...
2
votes
0answers
306 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 ...
3
votes
1answer
64 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: /etc/udev/rules.d/##-...
1
vote
0answers
517 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
409 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: ...
3
votes
1answer
699 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 ...
1
vote
0answers
358 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
238 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
303 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
1k 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 /etc/udev/...
5
votes
2answers
3k views

ARGH udev won't stop renaming my interfaces!

I have the following in /etc/udev/rules.d/70-persistent-net.rules SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="d0:50:99:50:43:17", KERNEL=="eth*", NAME="eth0" SUBSYSTEM=="net", ...
2
votes
0answers
295 views

Cannot start Wireless HotSpot on USB adapter plug in (with udev rule)

I really need help on this matter. I have a PC with Lubuntu 14.10 and a Wireless USB stick TP-Link TL-WN722N and I want to create a wireless hotspot that automatically gets started upon wireless USB ...
1
vote
1answer
148 views

How do I use two USB printers?

I have two USB printers, both of which have different device and product ID's: Bus 001 Device 005: ID 222a:0037 Bus 002 Device 003: ID 0493:8760 MAG Technology Co., Ltd When I try map them in the ...
1
vote
1answer
366 views

iPhone does not unmount properly when unplugged

I'm running Ubuntu 14.10 on my netbook, and connect my iPhone via USB cable so that it tethers and I can access the internet. This all works as expected. The issue is that when the iPhone is ...
2
votes
0answers
1k views

udev and eMMC rpbm partitions

I'm running into this bug: Fix udev rules to consider mmc rpmb partitions and trying to solve it using a udev rule. I haven't needed to learn anything about udev in the past, so have been reading up ...
0
votes
1answer
623 views

Ubuntu 14.10 - udev refuses to update

On Ubuntu 14.10 Udev refuses to update. I executed this code: sudo apt-get upgrade Which gave this output: Reading package lists... Done Building dependency tree Reading state information.....
2
votes
1answer
264 views

Wrote udev rule to run script, but nothing happens

Here is my 81-arduino.rules file: KERNEL=="ttyACM*", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0043", ATTRS{serial}=="754393133373519132C0", RUN+="/home/z37/screenrun.sh" So when I plug-in ...
0
votes
1answer
167 views

How to assign a fixed device number to a camera?

I need my usb video camera (A4Tech) to take /dev/video0 and the capture card (analog converter) to take /dev/video1 regardless of the order I connect them to PC.
2
votes
0answers
164 views

Device not identified as removable

I have an ebook reader (Kobo Aura) that used to appear as a removable device when connected (in KDE's device notifier). Some time in the last month or so (I haven't upgraded the device), it has ...
1
vote
1answer
126 views

How to identify my device by their physical path?

I'm creating a computer which manipulate harddrives. I would like to identify the harddrive not by the order in which I plug them into my computer but by the slot I put them into. I know Ubuntu (...
-1
votes
1answer
101 views

Write udev rules for serial device

I have one concern regarding device name assign by kernel like /dev/sda* , /dev/sdb* ... etc but i would like to write rules for assign name to new pattern like "/dev/sc**"(starting with modified ...
2
votes
0answers
195 views

Where can I find the static udev libraries for Ubuntu 14.04?

I am trying to build an executable using the USB static library which in turn needs the UDEV static library. I have the libusb-1.0.a file but cannot locate the libudev.a file for linking. I have ...
6
votes
1answer
983 views

Executing a script when inserting a flash drive

How can I write a script that fires on an event? When I insert an USB flash drive, Ubuntu mounts it and automatically opens Nautilus. When this happens with a specific flash drive, I'd like to open a ...
1
vote
1answer
188 views

Mounting USB Device in same location

I am using an USB Device as a replacement for a floppy disk. I am only using one USB device at a time. How can I make Ubuntu to mount ANY USB device into a fixed folder, eg. /media/USERNAME/USB? ...
3
votes
1answer
624 views

Udev not running scripts

I'm trying to make udev disable/enable my touchpad when I connect/disconnect my external mouse. I don't know what is wrong. When I call udevadm --test it seems to be calling my script, but when I ...
2
votes
0answers
317 views

Why has 14.04 LTS no static libraries in some packages?

These are the udev development packages for the last three Ubuntu LTS releases. File list of package libudev-dev in lucid File list of package libudev-dev in precise File list of package libudev-dev ...
3
votes
1answer
1k views

Why can't my udev rules rename kernel device nodes after upgrading from 12.04 to 14.04

In Ubuntu 12.04 I wrote the following udev rules to fix the /dev name of a USB RF remote control. These were: KERNEL=="event[0-9]*", ATTRS{name}=="BTC USB Multimedia Cordless Keyboard", ATTRS{phys}==...