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

learn more… | top users | synonyms

2
votes
0answers
15 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 ...
1
vote
1answer
455 views

Auto backup when USB Drive inserted

If this is not the best place to post this question, can you please direct me to a more appropriate place to post this. What I am trying to do: I have a USB drive, it is fat32 and its name is ...
7
votes
2answers
72 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
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: ...
-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 ...
2
votes
1answer
331 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", ...
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): $ ...
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
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 ...
6
votes
1answer
236 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
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 ...
1
vote
1answer
44 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 ...
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. ...
0
votes
0answers
39 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
1answer
6k views

Huawei e173s 3G USB dongle won't switch into modem mode

Output of lsusb | grep Huawei is Bus 003 Device 003: ID 12d1:1c0b Huawei Technologies Co., Ltd. E173s 3G broadband stick (modem off) I've checked if usb_modeswitch is set up properly as per ...
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
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
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
0answers
102 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
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 ...
2
votes
1answer
2k views

Udev error while upgrading

I update and upgrade my ubuntu 14.04 server. Update is successfull but i get this error while upgrading : apt-get upgrade Reading package lists... Done Building dependency tree Reading state ...
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 ...
7
votes
2answers
2k views

Make the zoom slider of Microsoft Natural Ergonomic Keyboard 4000 and 7000 scroll up and down, in 14.04 (Trusty)

I tried to use this tutorial to make scroll switch work on my Microsoft Natural Ergonomic Keyboard 4000. But I face following error: sudo: /lib/udev/keymap: command not found I have udev version ...
0
votes
1answer
97 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 ...
0
votes
2answers
485 views

Remove persistent devices from file browser list

In my file browser, it lists all the drives and devices available for browsing. There is one that is from another OS installation, and I want to remove it from the list. Hiding devices using ...
2
votes
0answers
38 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
0answers
54 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 ...
16
votes
6answers
43k views

How to make keyboard backlight Fn buttons work in Samsung Series 9?

I've just installed Ubuntu 12.10 on my Samsung 900X4C. However, I can't get the keyboard backlights to work. I added the keymaps as per community docs - Samsung Series 9 (section Function Keys). But ...
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
21 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 ...
15
votes
7answers
14k views

What is the best way to configure a Thinkpad's TrackPoint?

The previously useful ThinkWiki pages appear quite outdated. I am trying to permanently change my TrackPoint sensitivity and speed settings and enable middle mouse button scrolling. I have tried ...
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 ...
12
votes
1answer
609 views

USB sticks not accessible & system hangs at shut-down: related to older hardware?

Please notice the three updates at the end of the post. Original problem I installed Lubuntu 14.04.1 on an older Acer Travelmate 4500 using the forcepae option and adjusting upowerd.py according to ...
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 ...
1
vote
1answer
2k views

How to grant file permission in /dev directory permanently? [closed]

I have a file /dev/ttyS0. And every time I boot, its file permissions are changed to default (unwritable) by the system. So, I have to run a chmod command every time I boot-up. How can I change its ...
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 ...
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: ...
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 ...
0
votes
1answer
216 views

External HDD automatically get back after safe remove

This is weird! I use udisks --detach /dev/sdb for safely remove my hard disk. after 2 sec hard drive automatically mounted and nautilus window pops up. This is output of udevadm monitor --udev. UDEV ...
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
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 ...
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 ...
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 ...
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 ...
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
183 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", ...