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

learn more… | top users | synonyms

2
votes
1answer
18 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 ...
7
votes
2answers
76 views
+150

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
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 ...
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 ...
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. ...
1
vote
1answer
45 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 ...
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. ...
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 ...
0
votes
0answers
42 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
37 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 ...
1
vote
0answers
103 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 ...
0
votes
1answer
98 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
39 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
96 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
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
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 ...
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
22 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
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 ...
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" ...
3
votes
1answer
31 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: ...
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
1answer
175 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
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 ...
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 ...
0
votes
1answer
114 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
54 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
2answers
37 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 Arduinos 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 ...
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! ...
1
vote
1answer
144 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 ...
0
votes
0answers
184 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", ...
0
votes
0answers
59 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 ...
0
votes
0answers
50 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
103 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 ...
0
votes
0answers
44 views

Mounting media player for sync with gPodder

I have a Creative Zen media player which "mounts" with MTP over libmtp. In 12.04 I used gPodder to sync over this MTP connection but since upgrading to 14.04, gPodder seems to no longer works over ...
1
vote
0answers
421 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
0answers
128 views

USB drives `/dev/disk/by-id` changed after upgrade from 12.04 to 14.04

I have two Western Digital Red external drives attached over USB. These disks previously (under Ubuntu 12.04 LTS) showed up in /dev/disk/by-id as: ...
0
votes
1answer
226 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 ...
1
vote
1answer
103 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
42 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
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 ...
1
vote
1answer
56 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
30 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 ...
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 ...
0
votes
0answers
39 views

Error to install svn on ubuntu 14.04

$ sudo apt-get install subversion apache2 libapache2-svn apache2-utils * udev requires hotplug support, not started ... fail! E: Sub-process /usr/bin/dpkg returned an error code (1) How to solve ...