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

learn more… | top users | synonyms

0
votes
0answers
28 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 ...
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" ...
5
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 ...
18
votes
5answers
30k 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
12 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
39 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 ...
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 ...
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 ...
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 ...
3
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
19 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
75 views

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

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
349 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 ...
16
votes
8answers
20k 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
187 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
23k 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
26 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 ! > ...
1
vote
0answers
36 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
280 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
19 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 ...
0
votes
2answers
600 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 $ ...
2
votes
3answers
396 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 ...
3
votes
2answers
7k 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
75 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
25 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
40 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", ...
0
votes
1answer
105 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
4k 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
66 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
38 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
15 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
153 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
464 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
97 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
43 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 ...
2
votes
1answer
495 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
157 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
122 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: ...
1
vote
0answers
50 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 ...
-1
votes
1answer
241 views

How to use refresh command with freedesktop services?

I want to use the refresh command on this here But i do not know how to do it, please help.
4
votes
2answers
715 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.
1
vote
0answers
119 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
92 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" ...
0
votes
0answers
22 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 ...
1
vote
1answer
77 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
157 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 ...
4
votes
1answer
173 views

udev/dpkg error

I'm getting this strange output every time I try to execute a command through SSH on my VPS (Ubuntu Server 15.04) which doesn not allow me to install anything. Any suggestions ? Job for ...
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 ...
1
vote
0answers
43 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: ...