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

learn more… | top users | synonyms

2
votes
0answers
79 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
1answer
31 views

Udev rule to create node for character device when loading module

I've followed tutorials to make this happen, but I've failed. My system is Ubuntu 14.04 with kernel 3.18.0-031800-generic. I've searched for udev rule keys using udevadm monitor --env. Its output ...
2
votes
0answers
9 views

USB speaker not detected

I am connecting an USB speaker but it the speaker gets detected on USB buts gets rejected after a while. However it works in Fedora [ 9548.214066] usb 5-3: new full-speed USB device number 19 using ...
3
votes
1answer
84 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.
15
votes
7answers
15k 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
1answer
21 views

How do I get Artec e+ 48u to work on Xubuntu 14.10 (amd64)

Symptoms: When I open Xsane, I get an error that it cannot find my scanner. simple-scan will open, but when I click the scan button I get a failed to scan error. The properties child window is what ...
1
vote
1answer
1k views

How can I run code whenever a USB device is (un)plugged, without requiring root permissions?

I have a script that I wish to run whenever I plug/unplug a mouse or keyboard to my USB port. There is already plenty of documentation on how to configure udev rules to run arbitrary scripts when a ...
0
votes
1answer
7k 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 ...
1
vote
1answer
227 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
5k views

Cannot mount/see/access USB-device - ttyUSB0

I am trying to connect to a GPS sport watch (similar to Garmin watches). I am running Ubuntu 12.04, 64bit. Ideally, I would like to connect the watch to one of the OS sport softwares like turtle sport ...
6
votes
2answers
150 views

How can I temporarily suspend Nautilus filesystem automounting, without making permanent changes to the system and user configuration?

I have written a tool which automatically formats and copies files to USB flash drives when they are inserted. It needs the drive to be unmounted to format it. Normally Nautilus will automatically ...
5
votes
1answer
327 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, ...
1
vote
1answer
50 views

Write files in usb when connect by /etc/udev/rules.d/

I am trying to write some files in usb when connect it in linux.. Actually, I have a file in in /etc/udev/rules.d/ with: ACTION=="add", ENV{ID_FS_UUID}=="9FE8-99G3", RUN+="/usr/bin/sudo -u ...
0
votes
1answer
68 views

Set the lirc order of devices

I have two remote devices. One USB MCE remote dongle, that I want to use, and a built-in device on my satellite PCI-E card that I neither use or want to. When things boot up, lirc assigns these ...
1
vote
0answers
77 views

Couldn't find matching udev devices

I tried to connect my brand new Microsoft Lumia 540 to Lubuntu 14.10 with the help of default LUMIA USB cable and got the following error messages. Unable to Open MTP devices Couldn't find matching ...
1
vote
1answer
139 views

UDEV: how to match SYMLINK during remove event?

I am using libusb to contact with a printer. And I am writing a rule for udev to remove the printer when it is disconnected. I use symlink to indicate the device. But when removing, the rule is not ...
1
vote
1answer
88 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 ...
1
vote
1answer
66 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 ...
10
votes
2answers
202 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 ...
2
votes
0answers
21 views

Udev rules for USB mounting and Low Graphics Mode error

I have a file containing the content bellow KERNEL!="sd[a-z][0-9]", GOTO="media_by_label_auto_mount_end" # Import FS infos IMPORT{program}="/sbin/blkid -o udev -p %N" # Get a label if present, ...
0
votes
1answer
32 views

Simple udev rule does not work

whats wrong with this simple udev rule? KERNEL=="sdc1", ACTION=="add", RUN+="/bin/mkdir /tmp/folder1" When I plug in my USB-Stick the rule does nothing.
1
vote
1answer
91 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
1answer
352 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
35 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 ...
2
votes
2answers
636 views

Automatically disable mouse acceleration whenever mouse is plugged

I have a laptop and I often use a Logitech G5 mouse with it. I don't like acceleration while using the mouse. Thus I have to disable the acceleration every time I plug the mouse. Is there a way to ...
3
votes
2answers
3k views

Why do my udev rules run if I use udevadm trigger, but NOT at boot time?

I'm having trouble with udev rules not running. Here's an example: I have a rule /etc/udev/rules.d/99-test.rules which contains: ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x8086", ...
7
votes
3answers
10k views

How can I create a new socket in /dev?

I want to create a new socket file in /dev. Does the way to get it is adding a new rule to udev?
2
votes
0answers
138 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
1answer
599 views

libusb couldn't open USB device /dev/bus/usb/002/006: Permission denied. libusb requires write access to USB device nodes

I am connecting my FTDI Device with Laptop USB. I was following all the steps given in the link How to build libftdi git under Linux But after installing.. When I was running ./eeprom it is throwing: ...
1
vote
1answer
978 views

How to create persistent symbolic links and fix permissions to use the raw print?

I have Xubuntu 14.04 and I want create persistent symbolic links for my USB printers. In other hand, I can't write to these devices: $ ls -l /dev/usb/lp* crw-rw---- 1 root lp 180, 0 jun 25 14:17 ...
4
votes
1answer
100 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 ...
5
votes
1answer
135 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 ...
1
vote
1answer
396 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", ...
8
votes
1answer
19k views

How do I set executable permissions on a removable drive?

I'm using Ubuntu 10.10 and using a usb drive but I'm finding that I can't chmod any programs on the drive to +x. It is being auto-mounted by Gnome (using udev, I think?) so I imagine the problem is a ...
3
votes
1answer
79 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
vote
1answer
70 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 ...
2
votes
2answers
71 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 ...
3
votes
1answer
68 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 ...
3
votes
1answer
263 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 ...
3
votes
1answer
30 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
0answers
56 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", ...
0
votes
0answers
15 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.
1
vote
2answers
894 views

Doubts about symbolic link Printer Brother all-in-one

I have a doubt and confusion regarding symlinks on settings of "Brother MFC-660CN printer" I installed the drivers through an installation file of the website Brother The file is ...
0
votes
1answer
27 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
12 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
0answers
152 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 ...
2
votes
1answer
244 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 ...
5
votes
2answers
191 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
495 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 ...
8
votes
2answers
290 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 ...