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

learn more… | top users | synonyms

4
votes
0answers
41 views
+100

How create a udev rules to disable one of Android devices?

I have an HTC Android phone. Every time I connect it to computer I get a message: Android Phone: Could not open MTP device "[usb:002,003]" The numbers may be different. But the phone connects ...
1
vote
1answer
13 views

udev rules targeting every USB device

I'm trying to execute a script whenever a USB is plugged. What I currently have is a demo script in /usr/local/test.sh: #!/bin/bash touch /home/kfir/test.txt I also have a rules file which tries ...
2
votes
1answer
65 views
+100

August LP205R on Ubuntu GNOME 15.04

Similar question have been asked before, but there were no answers. I cannot comment there, nor I have an answer, therefore I don't see other option but to ask again. I have a USB laser presenter ...
0
votes
1answer
41 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
0answers
50 views

udev 70-persistent-net.rules behavior change

I currently manage over 30 nodes of Ubuntu, some are desktops, some are servers with version 14.04. Some node have 70-persistent-net.rules file which auto generated by udev.d, some node don't have ...
1
vote
0answers
22 views

Logitech R400 on Lenovo T440s, Ubuntu 14.04 not properly recognized

I would like to use a Logitech R400 pointer with my Lenovo T440s running on Ubuntu 14.04 64bit. There is a problem with the keys so that forward and backward buttons result in jumping at 1st or last ...
1
vote
1answer
22 views

Which of these hardware devices are not listed in the /dev directory?

(1) Mouse (2) Video adapter (3) Network adapter (4) Webcam (5) Hard drive (6) USB drive I feel like all of them is listed except for the network adapter , Is that correct ?
2
votes
1answer
18 views

udev script doesn't run in the background

I'm having trouble getting a script run by udev to run in the background on usb insert. My udev rule seems to work, since it definitely calls the script, but no matter what I do, I can't get bash ...
1
vote
1answer
1k views

Why /dev/disk/by-id/ change after a suddenly server power-off?

I'm management a server that in /etc/fstab have references to some partitions using /dev/disk/by-id/DISK_ID-partN. The server suddenly power-off and DISK_ID part of /dev/disk/by-id/DISK_ID-partN ...
1
vote
1answer
13 views

problem in installing libfreenect2 on ubuntu 15.04

I'm trying to install libfreenect2. I have cloned the repository. I have made cmake successfully. But when I make the file, I get the following error: [ 3%] Building CXX object ...
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 ...
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 ...
6
votes
2answers
145 views

Change ethX index

When I run ifconfig in one of my machine I saw these. The Q is where does the index eth3 and eth4 from? Is there a way to change them to eth0 and eth1? $ ifconfig eth3 Link encap:Ethernet ...
0
votes
0answers
60 views

ADB: No devices found

I have a laptop running Ubuntu 14.04 and Android Studio 1.3. Although my phone (LG Escape 2) shows up on the launchpad, and the file system is accessible, it is completely and totally undetected by ...
1
vote
0answers
24 views

Android SDK tools in Ubuntu doesn't read Nexus 7 in recovery mode (Possible udev rules issue)

so I'm trying to push a ROM in my bricked Nexus 7 through adb in Ubuntu. The problem is that, when I plug it in recovery mode to my laptop, and run adb devices the system doesn't find my Nexus ...
1
vote
0answers
84 views

ADB needs root after upgrading to Android 5.1.1

I am building Android from source in order to install my company's custom filesystem (Datalight Reliance Nitro). I'm using an Ubuntu 12.04 PC as my host device and a Nexus 7 (flo) as my Android ...
1
vote
0answers
27 views

Cannot unmount USB o write on USB as normal user

I have the following file of rules in /etc/udev/rules.d/ KERNEL!="sd[a-z]*", GOTO="media_by_label_auto_mount_end" # Import FS infos IMPORT{program}="/sbin/blkid -o udev -p %N" # Get a label if ...
3
votes
0answers
160 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 ...
2
votes
0answers
96 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
46 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
32 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
135 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
16k 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
38 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 ...
1
vote
1answer
234 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 ...
6
votes
2answers
152 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
346 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
62 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
80 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
183 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
158 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
123 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
88 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
224 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
27 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, ...
1
vote
1answer
132 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
935 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
43 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
669 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
11k 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
166 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
672 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
1k 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
135 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
178 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
535 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
106 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 ...