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

learn more… | top users | synonyms

0
votes
0answers
21 views

udevadm monitor --property does not detect HDMI event with nVidia-364

I am running Xubuntu 16.04 and I have a dual Intel/nVidia graphics card. Before the installation of the nVidia drivers, the following command: udevadm monitor --property would show / detect ...
0
votes
0answers
12 views

Ubuntu-server 16.04 Problem with “udev” and mounting ntfs file system

It is really strange but I am not able to find the problem. In Ubuntu 14.06 all works fine in the same way and with the same files. It is not possible in Ubuntu 16.04 to mount an ntfs file system via ...
0
votes
1answer
28 views

No option to boot Ubuntu in GRUB

let me first say, I'm am recently learning ubuntu. I had it install and everything was fine. I was trying to find a file that udev should have generated but could not find it. I ,dumbly, uninstalled ...
0
votes
1answer
27 views

udisks-part-id timeout error in tty

I'm running 14.04 and I've gotten the following error when logging into a tty session after typing my password but before the command prompt showed up: [198877.466429] systemd-udevd[25302]: timeout '...
2
votes
1answer
33 views

How to change naming scheme for network interfaces of an already installed Ubuntu 16.04?

I want to change naming scheme for network interfaces for the classic one (eth0, eth1, etc). Is it possible to an already installed Ubuntu 16.04 machine?
1
vote
1answer
105 views

Package udev is not configured yet

Today I decided to upgrade my Ubuntu Desktop 14.04 LTS to 16.04. Unfortunately, the upgrade process crashed on the way, no idea why. When I reboot I am left only with a black screen, if I choose the ...
1
vote
1answer
57 views

Ubuntu doesn't set Permissions(chmod) on NTFS files even after Setting Udev Rule

I know the fact that chmod does not work with NTFS. However, I'm trying to set a permission (say 0755) when I mount an NTFS drive using Nautilus. I've already configured a udev rule for that; I have ...
0
votes
0answers
20 views

Reading /dev/input/mouse0 for mocap data

I want to read raw multi-mouse input at a high sampling rate for DIY mocap. I got a Python script based on this https://github.com/JohnRoach/Multiple-Mouse-Movement-Data to read data from /dev/input/...
0
votes
1answer
34 views

Writing udev rule for fixed mount point for hotswap SATA devices (Ubuntu 14.04)

I have two SATA drive bays (hot-swap) and I want the first partition of the drives to be mounted to /media/disk01/ and /media/disk02/ ignoring all other partitions. The automounter should be turned ...
3
votes
1answer
46 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 ...
0
votes
0answers
15 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]", ...
2
votes
1answer
55 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. ...
1
vote
1answer
107 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 ...
0
votes
1answer
141 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 ...
1
vote
1answer
48 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 ...
0
votes
0answers
39 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/...
0
votes
0answers
28 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
64 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-...
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
134 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
0answers
33 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
44 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 ...
1
vote
0answers
35 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-...
4
votes
1answer
86 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
0answers
52 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
49 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
1answer
125 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?
0
votes
1answer
78 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
0answers
21 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 ...
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", ...
4
votes
3answers
547 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
129 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
54 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....
4
votes
1answer
188 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 ...
1
vote
1answer
163 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 ...
1
vote
0answers
58 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 ...
2
votes
2answers
168 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:...
2
votes
0answers
168 views

accessing a USB device using FTDI D2XX driver

I am trying to access a USB mass-storage device (happens to be a Cycleops Joule 1.0 cycling computer) on my Ubuntu 14.04 box. There exists open-source software called GoldenCheetah that is intended ...
0
votes
1answer
115 views

Teensy with Ubuntu 14.04

I'm trying to get my teensy board to work with ubuntu. I've copied the udev rules they provide: ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="04[789]?", ENV{ID_MM_DEVICE_IGNORE}="1" ATTRS{idVendor}=="...
0
votes
0answers
24 views

udev rule doesn't trigger when monitor is connected in Ubuntu 14.04.02

I have created following udev rule to configure monitor(s). I have been using it on Ubuntu 11.10 OS past two years. Recently I have upgraded OS to to 14.04.02. In this OS also the same udev rule works ...
3
votes
1answer
224 views

udev rule seems not working properly to force the usb device into fix location

I've created a udev rule to force my usb devices into fixed folders at /dev/ (one, is a webcam into /dev/video1 and the other one is a framegrabber into /dev/video0 ) I need to do this because, by ...
1
vote
1answer
96 views

How to make silent backups when plugging in a USB disk and when using Back In Time

Actually, I already answered that question, though I don't know if the answer is a good one. So what do you think about this: Task: let the computer start a backup using Back In Time (BIT) as ...
3
votes
1answer
373 views

Assign webcam to a specific /dev/video#

I have three webcams on my Ubuntu server 14.04. The output of lsusb: Bus 006 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus ...
3
votes
3answers
561 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
0answers
69 views

udevadm test for net devices

I am trying to dump the udev env to see my %M,%m and %k values (I am not happy with udevadm info -a) For that in the RUN I write to a file under tmp/ as mentioned here: http://stackoverflow.com/...
4
votes
1answer
31 views

How do I variabilize x value in KERNELS==x condition of my udev rule?

For my udev rule, I want to read the value of x in condition KERNELS=="x" from a file or output of another command, is it possible? If not, how do I make sure the rule is run for my specific net/...
0
votes
0answers
120 views

how to set disk IO scheduler automatically

Grub line doesn't work: GRUB_CMDLINE_LINUX_DEFAULT="elevator=bfq" "udev rules" doesn't work while a boot time. But works when I mount a disk in a loaded system. # set deadline (noop) scheduler ...
1
vote
1answer
86 views

Run script when an always-connected drive is mounted

How can I trigger a script to be run when an always connected drive is mounted? I have tried udev, specifically placing a rule 99-local.rules in /etc/udev/rules.d: KERNEL=="mmcblk0",ACTION=="mount",...
4
votes
1answer
735 views

Why eth0 became enp6s0, first install Ubuntu? [duplicate]

help please _enp6s0 Link encap:Ethernet HWaddr 18:67:b0:db:c8:a8 inet addr:192.168.1.9 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 ...
1
vote
0answers
114 views

Seagate 2TB external hard drive not detected, after PC crash on Ubuntu 14.04

After power crash on my PC, my HDD external could not be detected. But when I try "lusb" and see "syslog" it actually detected. Please provide me some suggestion. Screen-captures: lusb syslog