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

learn more… | top users | synonyms

10
votes
5answers
9k 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 ...
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 ...
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
28 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
29 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
2 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
0answers
454 views

PS/2 Keyboard+Mouse to USB Adapter is wrongly recognized as Barcode Reader [closed]

I have purchased this product, which is an adapter to connect an old PS/2 keyboard to USB. It is not working on Ubuntu 14.04. lsusb says: Bus 003 Device 005: ID 13ba:0018 PCPlay Barcode ...
1
vote
1answer
105 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
175 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
53 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
27 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
330 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
54 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
63 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
16 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 ...
0
votes
1answer
8k 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 ...
1
vote
3answers
182 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
votes
1answer
234 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
482 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
57 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
34 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
14 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
28 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
60 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
143 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
21 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
22 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: ...
3
votes
1answer
58 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 ...
0
votes
1answer
136 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 ...
8
votes
6answers
11k views

How can I tell linux kernel to completely ignore a disk as if it was not even connected?

Notice Please scroll down for the answer (it has few points but it is the correct one). The problem is solved by a patch that will be in kernel 3.12.7 and up; I hope it will back-ported to earlier ...
1
vote
1answer
45 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: ...
0
votes
0answers
36 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 ...
6
votes
3answers
18k 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 ...
4
votes
1answer
275 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
35 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
56 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 ...
0
votes
0answers
35 views

I can not login to gnome-cairodock session after manually installed udev (systemd-218)

I am on Ubuntu 14.04.3 32 bit platform. Last night I wanted compile and install an application called qtcam according to this guide https://github.com/econsysqtcam/qtcam/blob/master/INSTALL I thought ...
3
votes
2answers
62 views

Have system not try and use connected Wireless USB Adapter on Ubuntu, but be available to VMs to bind to

So, I asked a bit ago on how to make a udev rule to block certain USB devices. However, I need to achieve something like this with wireless USB adapters. I have a wireless USB adapter from EDIMAX ...
2
votes
1answer
883 views

how to set owner and permission to a cryptsetup made device?

I have an encrypted loopback volume. I need to mount and umount the volume manually, so I use cryptsetup luksOpen and cryptsetup luksClose . However, under all sessions (gnome/xfce/kde/unity), when I ...
1
vote
1answer
43 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 ...
0
votes
1answer
17 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
35 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 ...
1
vote
3answers
150 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): ...
14
votes
3answers
4k 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 ...
2
votes
0answers
255 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 ...
0
votes
1answer
35 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 ...
1
vote
1answer
106 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 ...
16
votes
7answers
18k 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 ...
2
votes
1answer
80 views

Distinguishing between two similar usb devices

This is asked many a times before, but I haven't found any workable solution for my case. In my case, I have got two FTDI based USB <-> Serial converters from which I could not find any ...
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 ...