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

learn more… | top users | synonyms

4
votes
0answers
279 views

Get keyboard scancodes in Ubuntu 13.10

I'm trying to find out the scancodes for a set of foot pedals so that I can rebind them to more useful keys. In older versions of Ubuntu I was able to do this using /lib/udev/keymap as discussed here, ...
3
votes
0answers
336 views

Define a Policykit action for Upstart

I'm trying to get some user to start, stop and reload services by using the udev Upstart interface. I'm using Ubuntu 10.04. I created the file ...
2
votes
0answers
8 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
19 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. ...
2
votes
0answers
34 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
40 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 ...
2
votes
0answers
32 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 ...
2
votes
0answers
75 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 ...
2
votes
0answers
175 views

How to distinguish between identical USB's

I have this system where I have 8 USB RFID readers which I would like to distinguish from one another. Here's a snippet from lsusb Bus 002 Device 011: ID 05fe:1010 Chic Technology Corp. Optical ...
2
votes
0answers
334 views

Trying to create UDEV rule to mount removable drive exfat partition

So I am trying to create a udev rule to automatically mount a drives exfat partition to /media/offsite. My goal is to automatically mount a drive to /media/offsite and then kick off a .sh script to ...
2
votes
0answers
197 views

Assigning ehci-pci to an Epson V33 scanner instead of xhci_hcd

I have recently installed Xubuntu 14.04 on two computers. Computer A is a DELL Aptitude E5430 laptop, whereas Computer B is a home-mounted desktop, with an ASUS H87-Plus motherboard. I have been ...
2
votes
0answers
345 views

Ubuntu Server 12.04: Boot hangs with error "udevd[538] inotify_add_watch(…) failed: invalid argument

I'm currently faced with the following situation: when rebooting a Ubuntu 12.04 LTS server after updating (it ran perfectly for a year or so, I updated it around two months ago and rebooted with no ...
2
votes
0answers
266 views

LVM logical volumes do not activate on boot on 13.10

I am running an UbuntuGNOME 13.10 and I set it up without an LVM during the installation process. I am now running it with to encrypted partitions, one is containing a LVM. This all works fine, ...
2
votes
0answers
146 views

How to manually power-on the webcam?

I have a Clevo laptop with a built in webcam, on the keyboard there's a helpful Fn+F10 hotkey that seems to power the device on and off. I'd like to have some control over the webcam without needing ...
1
vote
0answers
18 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 ...
1
vote
0answers
104 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
25 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 ...
1
vote
0answers
55 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 ...
1
vote
0answers
55 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
75 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 ...
1
vote
0answers
422 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 ...
1
vote
0answers
62 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 ...
1
vote
0answers
109 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 ...
1
vote
0answers
207 views

Ubuntu 14.04 HDMI UDev Rule

I have tried multiple variations to this script but I cannot get it to work. The UDEV Rule fires the script and the script exectutes but simply does not change the audio profile. If I run the script ...
1
vote
0answers
40 views

Unknown Floppy Drive detected

After a reboot, Ubuntu (and Windows) detect an external floppy drive that isn't even there!It's not a big problem to find a new floppy drive that I can't access, but it really looks strange in the ...
1
vote
0answers
311 views

How can I remap the keys/keycodes of a usb foot switch on SystemD?

I was using the old udev rules to remap my usb foot switch key(the default is the keycode 36 -b :S) to Alt_L. Previosly I created a udev rule and a xmodmap file. But i'm trying the systemd now, and ...
1
vote
0answers
196 views

What is the Purpose of /etc/init/udev-fallback-graphics.conf in Ubuntu 14.04?

What is the purpose of the upstart configuration /etc/init/udev-fallback-graphics.conf (shown below) in Ubuntu 14.04 LTS? # fallback-graphics - take actions to initiate fallback graphics # # if we ...
1
vote
0answers
191 views

How to mount USB drive as user writable

I want to mount my USB hard drive as myself, or in my group, whatever it takes to be able to move stuff onto the disk without sudo. I have tried setting up a rule in ...
1
vote
0answers
375 views

Preventing pop-up dialogs when connecting an MTP device

I'm using Lubuntu 14.04 with a Samsung Galaxy S3 running Android 4.3. Each time I connect my phone via USB, I get the following dialog: Unable to open MTP device '[usb:002,023]' A few moments ...
1
vote
0answers
216 views

3 Modems HUAWEI E220 - Finding diferent data to make permanent USB Ports

I Have 3 Modems Huawei E220 USB connected on the same hub in the back USB Motherboard Ports. After they are connected they work very well - no conflicts. When I restart the system, all USB ports ...
1
vote
0answers
168 views

udev is creating wrong disk id symlinks

I have lots of HDD's on my system, all but one are on USB. Here's my output from ls -la /dev/disk/by-id/: ata-INTEL_SSDSC2CW060A3_CVCV2041010Y060AGN -> ../../sdc ...
1
vote
0answers
53 views

Change automatically keyboard layout

I use custom keyboard layout. I have this script for setting it: #!/bin/bash setxkbmap -verbose us -variant altgr-intl xmodmap -verbose ~/.myxmodmap The problem is, that plugging the keyboard will ...
1
vote
0answers
307 views

What is the difference between /dev/tty* and /dev/bus/usb/001/002?

When I plug in a device that uses the LUFA USB framework (or any USB<->serial peripheral), Ubuntu creates a /dev/ttyACM* device file. It also creates a /dev/bus/usb/001/002 file and a ...
1
vote
0answers
547 views

How to store LXC container's files in another folder

Well the answer seems to be given on https://help.ubuntu.com/13.04/serverguide/lxc.html#lxc-hostsetup page under Using a separate filesystem for the container store title but it doesn't work for me. ...
1
vote
0answers
2k views

USB drives not recognized all of a sudden (module usb_storage not loading)

I am very close to the solution, just need to know how to get usb-storage to load I have tried most of the advice on askubuntu and other sites, usb_storage enable to fdisk -l. But I am unable to ...
1
vote
0answers
443 views

Problems booting in recovery mode with Ubuntu 12.10

This is what I get when I boot into recoverymode: udevd[369]: timeout: killing '/sbin/modprobe/ -bv pci:v00001002d00006738sv0000174 Bsd0000174Bbc03sc00i00' [374] It shows multiple times.
1
vote
0answers
447 views

How do I mount a USB hard drive to an arbitrary mount point?

I just upgraded my system with an SSD from a hard drive. Loads faster. But, I left all of my large media files on my hard drive. Currently, I have a SATA optical bay caddy on order, but in the ...
0
votes
0answers
23 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
15 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 ...
0
votes
0answers
40 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. ...
0
votes
0answers
44 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 ...
0
votes
0answers
55 views

udev Wait for Complete Device Initialization

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
0answers
49 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
23 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 ...
0
votes
0answers
34 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
19 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" ...
0
votes
0answers
72 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
0answers
27 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 ...
0
votes
0answers
24 views

boot “Starting save udev log and update rules [fail]”

Ubuntu server boot was successful. But I noticed that line on /var/log/boot.log I can't find much literature about it. What happened and how can I fix it? any additional logs I can provide? Thanks! ...
0
votes
0answers
187 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", ...