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

learn more… | top users | synonyms

3
votes
1answer
26 views

udev rules.d - hot plug HDMI monitor - script not running

I am trying to get a script to run every time my HDMI monitor is plugged in and after doing some reading I found this and in it asks me to create 99-monitor-hotplug.rules and put it /etc/udev/rules.d ...
2
votes
1answer
1k 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 ...
2
votes
1answer
4k views

mounting galaxy s4 ubuntu 14.04

The problem is as simple as the title, I can't mount my rooted galaxy s4 phone(newest update 4.4.2) on my laptop(running Ubuntu 14.04 LTS). The error message is a consistent: Unable to open MTP ...
2
votes
1answer
851 views

Predict network interfaces names in Wily/Xenial

I usually install systems with debootstrap. As part of the script, I add the interface eth0 to /etc/network/interfaces. But with Wily changing to persistent network interfaces, this doesn't work ...
1
vote
2answers
6k 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
9k 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
0answers
14 views

Write data to USB flash drive directly (write-around)

is it possible to enable writing data directly to flash drive only when it have defined by me in udev-rules by ATTRS{idVendor}? I made rule for this flash in /etc/udev/rules.d/: KERNEL=="sd?[0-9]", ...
1
vote
1answer
81 views

Create a symlink in /dev using /etc/udev/rules

I am studying for a Linux certification from the Linux foundation but I have some questions about one lab. Here is the lab: Create and implement a rule on your system that will create a symlink ...
2
votes
1answer
38 views

How to make a specific device have read/write permissions when pluged?

I have home made device that can be connected via USB port. When connected it gets ttyACM socket. So I have asked this question some time ago about how to set read/write permissions for device. ...
0
votes
1answer
66 views

Automount in 16.04

I need automount for internal and external storages. On boot and on connect. For now I have to click in file manager to make it accessible which is weird for 2016! I know that only udev can be ...
3
votes
3answers
501 views

How to make upower show correct battery state?

Ubuntu battery icon uses about 1-2 minutes before recognizing that the charger is plugged in or not. How to make the battery status update more often so that it recognizes the charger's state ...
1
vote
1answer
31 views

SYMLINK in udev rule

I created a udev rule named "/etc/udev/rules.d/75-myusb.rules". The only thing inside it is this line: SUBSYSTEM=="usb", SYMLINK+="myusb" After creating it I plugged a USB drive and a file named ...
6
votes
3answers
20k views

How to disable udev net rule generation?

In our cloud, we generate MACs with the prefix 2c:c2:60 for instances. When we re-use an instance, or duplicate it, the new copy gets another MAC address. When the new copy boots, the NIC gets the ...
17
votes
4answers
5k 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
0answers
36 views

USB disk/flash drive permission

I'm running ubuntu 14.04 and I have one standard account wherein USB storage devices (flash disk, external hard disk etc) are plugged in. In this scenario, the permission on the mount location (/media/...
4
votes
3answers
2k views

Third mouse-button emulation

Up until version 11.04 of ubuntu I could simply add an option to my X InputClass to emulate a third mouse button for my HP TrackPoint like this: Section "InputClass" Identifier "Trackpoint" ...
6
votes
2answers
1k views

How do I hide / remove a partition from the Nautilus left panel?

I have a luks setup with encrypted partition. And I don't want everyone on my computer to see that I have such partition. Unfortunately it shows up in the nautilus "devices" panel as "Encrypted ...
20
votes
5answers
39k views

Network interface name changes after update to 15.10 - udev changes

I updated a virtual machine running Ubuntu server 15.04 to the just released new stable 15.10. There were no apparent problems, but after reboot the machine lost its network connection. lspci showed ...
0
votes
0answers
25 views

Where is lib/udev/keymaps in UEFI mode? (16.04)

I was looking at fixing some Fn key problems on 16.04 (like this one or this), but all the guides suggest doing something in lib/udev/keymaps folder, which should contain a bunch of vendor specific ...
0
votes
0answers
58 views

How to Enable Predictable Network Interface Names?

Running Ubuntu 14.04, I've set GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=1" in /etc/default/grub. I've also removed /etc/udev/rules.d/70-persistent-net.rules and linked /etc/udev/rules.d/75-persistent-...
5
votes
2answers
3k 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
21 views

Sensor mounted in /dev for root root

I have a picoflexx that I want to use on my computer. When I run the camera visualizer, I get an error that camera could not be found/accessed. When running the visualizer with sudo, it works. I ...
0
votes
1answer
114 views

Cannot edit /etc/initramfs-tools/conf.d/mdadm and /etc/udev/rules.d/RULE on 16.04 Server [closed]

I have just installed Ubuntu server 16.04 LTS with a RAID 1 configuration. I want to edit the mdadm file so I could work on the machine while the raid mode is degraded. The problem is, that there is ...
0
votes
2answers
415 views

My printer in /dev/usb/lp0 always disappear after few seconds, and can't print, how to fix it? (Ubuntu 14.04)

Please, help... I have a 'EPPOS Model EPT-58H' thermal printer. When I plugin via usb, it detected as /dev/usb/lp0 with ls -l /dev command. Then I run echo "sometext" > /dev/usb/lp0 in terminal to ...
17
votes
8answers
21k 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
2answers
216 views

How to specify vendor id while installing ubuntu touch

I am trying to install Ubuntu Touch on my YU Yuphoria (guided by http://developer.ubuntu.com/en/start/ubuntu-for-devices/installing-ubuntu-for-devices/). When I tried to list devices on fastboot ...
12
votes
4answers
24k views

Configure udev to change permissions on USB HID device?

I have a USB scale, a USB HID. Currently, when it is plugged in, the permissions only allow the superuser to access it. How can I configure udev to let anybody access this device? I have the vendor ...
0
votes
0answers
31 views

Why does this udev rule not match?

I have the following two rules in my udev rules file (for testing at this point): SUBSYSTEM=="net", ACTION=="add", DEVPATH=="?*/p6p1", RUN+="/bin/sh -c 'echo HELLO ! > /home/xguide/udev_test_log6....
1
vote
0answers
42 views

Show partition in under “Devices” in Nautilus

I have an external USB stick and HDD that used to be listed under "Devices" in Nautilus and I was able to mount/unmount them by clicking on them. For some reason, they aren't listed any more... The ...
6
votes
2answers
3k views

My custom udev hwdb rule doesn't work

I'm using ubuntu 14.04 installed in EFI Mode, I tried to write simple udev rule which for all external USB keyboards will map capslock for escape. I use a lot of vim and plug and unplug keyboards ...
1
vote
1answer
313 views

Android adb no permission

I'm trying to use adb from a Ubuntu(+Cinnamon) machine. The problem is that I get following message from adb devices: List of devices attached TA8830OIVO no permissions Where TA8830OIVO is my ...
1
vote
0answers
26 views

pacmd - udev rule for moving inputs to different sink during playback

newbie here. I want to be able to switch to HDMI audio output by plugging in the HDMI cable during playback. I have followed the advice given here: How to change pulseaudio sink with "pacmd set-...
0
votes
2answers
617 views

udev rule for cdma modem is not working

The udev rule i've written for CDMA modem is SUBSYSTEM=="tty", ATTRS{bInterfaceNumber}=="00", ATTRS{bNumEndpoints}=="03", ATTRS{product}=="ZTE CDMA Tech", ACTION=="add", SYMLINK+="CDMAModem" and $ ...
3
votes
2answers
8k views

How to detect insertion of DVD disc?

In particular, how to catch it for the purposes of automounting the DVD filesystem? Update in response to Oli's answer: udev seems to be able to detect the insertion of DVD, as demonstrated by ...
4
votes
1answer
81 views

How to increase the size of /dev?

I have run into a rather unusual situation: ... cp: failed to extend ‘/dev/mapper/loop0p1’: No space left on device nathan@nathan-desktop:~$ df Filesystem 1K-blocks Used ...
0
votes
1answer
37 views

How to find the .hwdb header of a general input device?

I have an old USB RF remote that I'd like to use with Kodi. The remote is a non-keyboard input device which generates keycodes. I'd like to do some remapping, but I haven't done that since the days ...
0
votes
0answers
47 views

udev rule is not being run and device file permission doesn't get changed

I am trying to change the device file permission using udev I wrote following rule for the same in /etc/udev/rules.d/10-adu.rules BUS=="usb", ACTION=="add", KERNEL=="usbmisc/adutux0", ATTR{idVendor}==...
0
votes
1answer
115 views

How can I automatically create a link on the desktop or in $HOME when USB Stick is mounted?

How can I create(and remove if unplugged) a symlink to the mount-point of a newly plugged-in USB-device on the desktop or in the $HOME of the systems guest-account?
1
vote
2answers
5k views

How to make my udev rule work

My USB device keeps changing its number in its name /dev/ttyUSB?. I have seen this and this, and tried to do the same with no luck. gauthier@sobel:/etc/udev/rules.d $ udevadm info -a -p $(udevadm ...
0
votes
1answer
69 views

Execute command when USB device is added

I have a razer deathadder mouse connected to my ubuntu 15.10 laptop. This mouse uses 3500 DPI per default which his way to fast. Using razercfg I'm able to set this to 1800 DPI, so no problem here. ...
0
votes
1answer
40 views

udev rule for android not working with go-mtpfs

On Ubuntu 12.04, my rule fires a script called motoe.sh when a Motorola Moto E is connected to the machine USB port. My custom rule does not work. The rule is: ACTION=="add", SUBSYSTEMS=="usb", ...
0
votes
0answers
16 views

Network Interface Device Naming on tftpboot

We are doing a netboot via tftpboot on some new nodes we installed. Basically, I can't figure out how ubuntu decides to name the network interface for each node. A line in our pxelinux.cfg looks like ...
1
vote
1answer
155 views

how to roll back broken privileges in 14.04?

I am running Ubuntu 14.04.3 32bit OS. A few months ago I wanted to install QTCAM from source which it requires systemd library files. As you know 14.04 Ubuntu doesn't use systemd yet, so, as the ...
4
votes
3answers
499 views

Size of device file ( missing in ls -l output )

When I try to print the device file output shows binary data in hexadecimal format. But upon doing a ls -l /dev/sda I get: brw-rw---- 1 root disk 8, 0 Jan 29 12:29 /dev/sda I don't ...
3
votes
1answer
117 views

systemd service run on wireless network connect

I have a server that tries to connect to a mobile AP which is only sometimes available. This AP is a camera with images that need to be downloaded so the very second the server connects to this ...
2
votes
1answer
49 views

What do device's environment variable list's prefixes (P, N, S, E) mean?

When writing a udev rule, e.g. for a USB storage volume, I can display relevant properties of the plugged in device with either: $ udevadm info -q property -n /dev/sdc1 /devices/pci0000:00/0000:00:1d....
2
votes
1answer
560 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 ...
4
votes
1answer
179 views

How do I correct this mismapped stylus button?

I'm running Kubuntu 15.10 on an HP Spectre x360, which has a non-Wacom active digitizer built into the display. I'm using a two-button stylus with this, but the second button doesn't work. I couldn't ...
2
votes
2answers
142 views

Use udev to rename devices with same properties

I have two types of gamepad that have the same udev properties. One is a USB NES controller and the other is a USB SNES controller. The udev info is identical for both of them. P: /devices/pci0000:...
1
vote
0answers
54 views

Udev rules start Application, but does not seem to persist

I have downloaded and built an application that includes udev rules for starting an application when certain hardware is connected. According to the logs the application seems to start successfully as ...