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

learn more… | top users | synonyms

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
1answer
26 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
168 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
47 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 ...
4
votes
1answer
47 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
103 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 ...
2
votes
0answers
13 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
56 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
51 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
29 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
13 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
53 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
26 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
56 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 ...
1
vote
3answers
175 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
21 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: ...
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 ...
0
votes
0answers
34 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
44 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: ...
4
votes
1answer
261 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
31 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
39 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
53 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
145 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
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 ...
0
votes
1answer
31 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 ...
2
votes
1answer
78 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 ...
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 ...
0
votes
1answer
127 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 ...
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 ...
0
votes
0answers
32 views

After installing Xubuntu 15.10 the wlan-interface is called wlp3s0 [duplicate]

after I installed Xubuntu 15.10 the wlan-interface-name is wlp3s0 and not wlan0. I read that you have to change: /etc/udev/rules.d/70-persistent-net.rules This file isn't exisiting. How do I ...
9
votes
4answers
8k 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 ...
2
votes
1answer
71 views

USB sync via udev?

I'm quite desperate after several tryouts of making a quite simple backup program. After 6 hours of following and trying all posts on that topic, I don't know any solution. I just want a java script ...
0
votes
0answers
77 views

How to change permissions of automount?

I set up a Ubuntu 14.04 machine for my family. I noticed that when I insert a USB key it gets automounted to /media/$username/$volumename. /media/$username has an ACL that only allows $username to ...
0
votes
1answer
84 views

EnhanceIO persistent udev rules not firing on reboot - Ubuntu 14.04.3

Abstract : I've installed enhanceIO and enhanceio-dkms from the daily PPA at http://ppa.launchpad.net/enhanceio/daily/ubuntu/ giving version 0+git20130406-0~69~ubuntu14.04.1. Everything seems to be ...
1
vote
1answer
127 views

Run a shell command AFTER a bluetooth input device is detected?

I'm trying to slow down my Magic Mouse sensibility using a xinput command automatically when my mouse is connected to my computer. I managed to create a file under rules.d, that calls a shell script. ...
6
votes
3answers
150 views

mount options for udev-rule mounted ext3 fs on14.04.3

I want to go beyond this excellent solution by @A.B. which permits to auto-mount a given removable ext3 FS using a udev rule. Specifically I'd like to specify several mount options: ...
1
vote
0answers
137 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
1answer
285 views

Predict network interfaces names in Wily

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
1answer
45 views

Secure Auth/Encryption Smart Keyboard

Due to the nature of a personal subnet (hardened on the outside, trusting/naive on the inside) I'm starting a project within my network (routed by a Ubuntu 15.04 Desktop with OpenVPN public/local ...
1
vote
1answer
46 views

How can an internal hard drive be made completely inaccessible for the system?

I've "rescued" my whole main system HDD onto another fresh drive (using a live CD, to be able to easier access / and /usr from X11), and now I'd like to pretend as if I had physically removed the old ...
2
votes
1answer
73 views

copying a file from a USB storage if it exist with udev rules

I have a simple udev rule to match USB storage devices which runs a simple script that looks for a file in the USB. I'm using the usbmount package in order to automatically mount the USB. As the ...
3
votes
1answer
164 views

udev doesn't run bash script as RUN argument [closed]

I'm trying to set a simple script to run whenever a USB storage device is being plugged to the computer. For that task I have a 100-usb.rules file in /etc/udev/rules.d which has a very generic rule: ...
1
vote
1answer
84 views

Does udev need sudo in run?

I've got a udev rule that is properly matching, but it is not executing the command in the RUN+="/usr/bin/synclient TouchpadOff=1" properly. If I change that to be some sort of test shell script then ...
1
vote
1answer
34 views

xTerm and wvdial issue

After mounting USB modem opens xTerm which connects me to the internet after some time it shut's down. Hey all, Look ... when I'm starting sudo wvdial on normal gnome-terminal - All works without ...
2
votes
2answers
134 views

ACPI open/close lid scripts - xrandr does not execute but other commands do

See SOLUTION at the end. I have used this guide to write a script that activates when I open or close the laptop lid. My setup is a laptop monitor and an external monitor working well together. ...
2
votes
1answer
124 views

Ignore one partition of two of an USB stick via udev

I have a USB stick with two partitions. After plugging the stick I use the following command to find the device. dmesg Example output [11195.236020] usb 2-2: new high-speed USB device number 9 ...
1
vote
1answer
105 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 ...