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

learn more… | top users | synonyms

0
votes
0answers
10 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
0answers
7 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 ...
0
votes
0answers
7 views

how to make a udev rule using “sibblings” serial number

Here is the situation : I have a testing equipment that is made of the following : a USB Hub connected to the master PC, the hub is embedded in the test jig and is used so that we have only 1 USB ...
3
votes
1answer
27 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
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]", ...
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. ...
1
vote
1answer
83 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
73 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
33 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
37 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
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
59 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
117 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
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 ...
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-...
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
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
39 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
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?
0
votes
1answer
70 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
17 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
503 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
118 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
50 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
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 ...
1
vote
1answer
156 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
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 ...
2
votes
2answers
144 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
145 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
101 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
23 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
192 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
90 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
341 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
509 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
62 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
107 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
74 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
645 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
102 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
1
vote
1answer
101 views

udev rule to run gpib_config

I am using linux-gpib package and Keithley's KUSB-488A (gpib-usb converter) on my Ubuntu 14.04 LTS. It is installed properly and I can successfully command my devices using ibtest utility. But before ...
1
vote
1answer
146 views

USB-Device detection

I fiddle around with the conrad IoT Advent calendar and the provided arduino compatible. (see the website). I downloaded the drivers for my kernel from a site that was mentioned for this in the ...
1
vote
3answers
203 views

Freecom external USB disk shown as two different devices 2TiB and 746GiB

I just bought an external USB disk called "Freecom Hard Drive XS 3TB" (user manual). Immediately after unpacking, I plugged it into Ubuntu and it shows as two devices (/dev/sda is my laptop's drive): ...
0
votes
1answer
19 views

Kubuntu gets hung up on udev whenever installing anything

I have just installed Kubuntu 15 and I am an Ubuntu newbie . Everything went swimmingly during the install (I'm using the computer now) but when I click on the little red shield update button or if I ...
2
votes
0answers
51 views

14.04 server: udev incorrect group ownership

Using this rule: SUBSYSTEM=="tty", ATTRS{idVendor}=="10c4", ATTRS{product}=="CP2102 USB to UART Bridge Controller", SYMLINK+="usb_zwave", GROUP="dialout", MODE="0666" Gets me this link: lrwxrwxrwx ...
0
votes
1answer
75 views

ATTR{index} always 0, how to write persistent udev rule?

I have 2 identical USB devices. Only one persistent symlink is created: /dev/v4l/by-id/usb-fushicai_usbtv007_300000000002-video-index0 I think it's because /usr/lib/udev/rules.d/60-persistent-v4l....