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

learn more… | top users | synonyms

2
votes
0answers
9 views

mountall: error while loading shared libraries: libudev.so.0

I don't know how to fix this. My system won't even get past the loading screen. When I press F1 on the Ubuntu splash screen it shows me log with this message. mountall: error while loading shared ...
0
votes
0answers
19 views

Udev can't create persistent rules, read only file system

After upgrading to 15.04 I tried different drivers for my wireless card, so I thought to refresh the udev rules and deleted the /etc/udev/rules.d/70-persistent-net.rules file, thinking it would be ...
0
votes
0answers
17 views

udev Wait for Complete Device Initialization

During boot of Ubuntu 15.04 vivid the system waits too long for a usb device to be initialized. The problem is that the reported usb has a hub (front usb ports on my cabinet) but no device connected ...
1
vote
1answer
308 views

Udev problem after updating to ubuntu 15.04

After upgrading to Ubuntu 15.04 I got a weird error with udev. -> sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
0answers
20 views

Why Does This Udev Rule Only Run Once

I want to set up a udev rule to run every time I plug in a USB drive that will connect that USB drive to connect to a VM in VirtualBox. The udev rule works to connect a USB drive to a running VM, but ...
0
votes
0answers
16 views

Execute script on power supply connected

I am looking for a method that will call a script when the power supply is connected, or the battery state becomes "Charging". I will not accept answers involving any type of cron or loops. I know ...
1
vote
0answers
37 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
0answers
24 views

How to make devices files in /dev available in initramfs shell?

My kernel initialization process fails at a point where it drops to a (initramfs) shell without any HDDs being available in /dev. Which script/sequence of scripts has to be executed to make them ...
0
votes
0answers
14 views

Creating js* udev input device as non-root

I'm trying to get the xboxdrv user-space Xbox 360 driver working without needing to run with root privileges. I have udev rules set to make any /dev/input/js* node be group-writeable by an "input" ...
3
votes
1answer
29 views

If Maverick Meerkat is 70, what is Utopic Unicorn?

I was reading a StackOverflow answer on solving some problems one might encounter when using an Android device for development. The solution is to create a file as follows: ...
0
votes
0answers
40 views

Arduino nano doesn't connect correctly on boot up

I have an Arduino Nano connected to my PC that does some basic home automation stuff, and it works nicely. Except that sometimes on bootup, the USB device isn't connected successfully. Unplugging and ...
0
votes
0answers
151 views

Udev and systemd are broken any help would be appreciated

I cannot configure udev or systemd cam@banowsky:~/rails/lo/db$ sudo dpkg --configure udevSetting up udev (219- 4ubuntu10) ... update-initramfs: deferring update (trigger activated) insserv: ...
0
votes
0answers
20 views

Changing owner of block device file

I have a disk that I'm connecting it via USB. In system it has /dev/sdb block device file. By default it is owned by root. I want to automatically change owner to my user. So I'm writing a udev rule ...
2
votes
0answers
29 views

How to allow software access to any USB devices?

I have a libusb-based program that can't open USB devices on a freshly installed Ubuntu because it lacks permissions. This solution will probably work for me, but it requires manually specifying ...
0
votes
1answer
88 views

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

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
0answers
47 views

Change permissions inside USB drive to execute shell script

I have read multiple other answers on here to no avail. Clearly chmod and chown are not applicable here. Here's the problem: I have a USB drive for school in which I have a folder for my programming ...
1
vote
0answers
62 views

bash script to cd into an USB device

i am creating a simple updater for a program which will be ran on an Odroid C1 with Ubuntu 14.04 Server.. Preamble 1) i want the updater.run downloaded from my server and placed into an USB; then ...
1
vote
2answers
30 views

How can I force USB devices to keep the same device file even after they crash and are reset?

I have 3 USB webcams and 3 Arduinos plugged into the same computer. On startup, they are labeled /dev/videoN (N goes from 0 to 2) and /dev/ttyACMN (N goes from 0 to 2). So far, so good. The problem ...
0
votes
0answers
18 views

boot “Starting save udev log and update rules [fail]”

Ubuntu server boot was successful. But I noticed that line on /var/log/boot.log I can't find much literature about it. What happened and how can I fix it? any additional logs I can provide? Thanks! ...
1
vote
1answer
111 views

Ubuntu 14.04 Sound on HDMI output

I have Ubuntu 14.04 LTS. I have an issue with switching audio output to HDMI when an external monitor (TV) is connected. Here is my setup: I created "udev rule" 10-hdmi_sound.rules in ...
0
votes
0answers
104 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
46 views

Cannot start Wireless HotSpot on USB adapter plug in (with udev rule)

I really need help on this matter. I have a PC with Lubuntu 14.10 and a Wireless USB stick TP-Link TL-WN722N and I want to create a wireless hotspot that automatically gets started upon wireless USB ...
0
votes
0answers
36 views

How do I use two USB printers?

I have two USB printers, both of which have different device and product ID's: Bus 001 Device 005: ID 222a:0037 Bus 002 Device 003: ID 0493:8760 MAG Technology Co., Ltd When I try map them in the ...
1
vote
1answer
90 views

iPhone does not unmount properly when unplugged

I'm running Ubuntu 14.10 on my netbook, and connect my iPhone via USB cable so that it tethers and I can access the internet. This all works as expected. The issue is that when the iPhone is ...
0
votes
0answers
39 views

Mounting media player for sync with gPodder

I have a Creative Zen media player which "mounts" with MTP over libmtp. In 12.04 I used gPodder to sync over this MTP connection but since upgrading to 14.04, gPodder seems to no longer works over ...
1
vote
0answers
370 views

udev and eMMC rpbm partitions

I'm running into this bug: Fix udev rules to consider mmc rpmb partitions and trying to solve it using a udev rule. I haven't needed to learn anything about udev in the past, so have been reading up ...
0
votes
0answers
115 views

USB drives `/dev/disk/by-id` changed after upgrade from 12.04 to 14.04

I have two Western Digital Red external drives attached over USB. These disks previously (under Ubuntu 12.04 LTS) showed up in /dev/disk/by-id as: ...
0
votes
1answer
182 views

Ubuntu 14.10 - udev refuses to update

On Ubuntu 14.10 Udev refuses to update. I executed this code: sudo apt-get upgrade Which gave this output: Reading package lists... Done Building dependency tree Reading state ...
1
vote
1answer
96 views

Wrote udev rule to run script, but nothing happens

Here is my 81-arduino.rules file: KERNEL=="ttyACM*", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0043", ATTRS{serial}=="754393133373519132C0", RUN+="/home/z37/screenrun.sh" So when I plug-in ...
0
votes
1answer
37 views

How to assign a fixed device number to a camera?

I need my usb video camera (A4Tech) to take /dev/video0 and the capture card (analog converter) to take /dev/video1 regardless of the order I connect them to PC.
2
votes
0answers
72 views

Device not identified as removable

I have an ebook reader (Kobo Aura) that used to appear as a removable device when connected (in KDE's device notifier). Some time in the last month or so (I haven't upgraded the device), it has ...
1
vote
1answer
48 views

How to identify my device by their physical path?

I'm creating a computer which manipulate harddrives. I would like to identify the harddrive not by the order in which I plug them into my computer but by the slot I put them into. I know Ubuntu ...
1
vote
0answers
55 views

Where can I find the static udev libraries for Ubuntu 14.04?

I am trying to build an executable using the USB static library which in turn needs the UDEV static library. I have the libusb-1.0.a file but cannot locate the libudev.a file for linking. I have ...
0
votes
0answers
38 views

Error to install svn on ubuntu 14.04

$ sudo apt-get install subversion apache2 libapache2-svn apache2-utils * udev requires hotplug support, not started ... fail! E: Sub-process /usr/bin/dpkg returned an error code (1) How to solve ...
6
votes
1answer
191 views

Executing a script when inserting a flash drive

How can I write a script that fires on an event? When I insert an USB flash drive, Ubuntu mounts it and automatically opens Nautilus. When this happens with a specific flash drive, I'd like to open a ...
0
votes
0answers
230 views

error in setting up android usb debugging in Ubuntu 14.10

I have a android phone from LG, and I want to use it for USB debugging. I followed the following steps: Enabled usb debugging in developers option on phone. After connecting to PC, phone shows as ...
0
votes
0answers
32 views

Mount USB device to portname instead of devicename

I am using an USB Device as a replacement for a floppy disk. I need to set up a fixed path to my USB device in order for it to work. So one option could be to always use the same USB device, I'll find ...
0
votes
0answers
9 views

mouse function is disabled

I have been aded this rule on /etc/udev/rules.d/70-plantronics.rules ACTION!="add|change", GOTO="xorg_plantronics_end" KERNEL!="event*", GOTO="xorg_plantronics_end" ENV{ID_VENDOR_ID}=="047f", ...
1
vote
1answer
70 views

Mounting USB Device in same location

I am using an USB Device as a replacement for a floppy disk. I am only using one USB device at a time. How can I make Ubuntu to mount ANY USB device into a fixed folder, eg. /media/USERNAME/USB? ...
3
votes
1answer
290 views

Udev not running scripts

I'm trying to make udev disable/enable my touchpad when I connect/disconnect my external mouse. I don't know what is wrong. When I call udevadm --test it seems to be calling my script, but when I ...
1
vote
0answers
98 views

Why has 14.04 LTS no static libraries in some packages?

These are the udev development packages for the last three Ubuntu LTS releases. File list of package libudev-dev in lucid File list of package libudev-dev in precise File list of package libudev-dev ...
2
votes
0answers
283 views

Why can't my udev rules rename kernel device nodes after upgrading from 12.04 to 14.04

In Ubuntu 12.04 I wrote the following udev rules to fix the /dev name of a USB RF remote control. These were: KERNEL=="event[0-9]*", ATTRS{name}=="BTC USB Multimedia Cordless Keyboard", ...
0
votes
0answers
64 views

Circumventing MacBook Pro's motion sensor using /dev/input/js0 as a joystick

I'm on a MacBook Pro 8,1 running 14.04 and I've never plugged in any device with a joystick to my laptop. When I was trying to fix an input problem I was having, I checked /dev/input/js0 thinking that ...
1
vote
1answer
148 views

Commands not executing in shell script run by udev

I'm having trouble using udev to run a shell script that backs up my hard drives to an external drive whenever the external drive is connected via USB. Everything works except the actual call to ...
3
votes
2answers
122 views

udev script does not start when event happen

I was annoyed that every time I connect my hdmi cable I need to manually change the sound setting. I started looking into udev rules, what I came out with are these two files: ...
13
votes
1answer
516 views

Only use Mass Storage devices on a selected USB port - how?

On a given USB port, I only want to accept USB Mass Storage capabilities, and nothing else. No HID devices, no Bluetooth adapters, no RS232 converters, nothing. Is there a way to do this e.g. using ...
0
votes
0answers
168 views

kernel make zImage error - No rule to make target vmlinux

I've been searching for a couple of days and I can't find anything on google about an interesting error I get when compiling a linux kernel. I initially thought this problem had something to do with ...
0
votes
1answer
44 views

How to know where in /dev/ is a USB keyboard loaded?

To be precise, when you plug in a USB storage device, it is loaded in sd something, but where is a usb keyboard loaded in /dev/?
0
votes
0answers
429 views

libusb couldn't open USB device /dev/bus/usb/002/006: Permission denied. libusb requires write access to USB device nodes

I am connecting my FTDI Device with Laptop USB. I was following all the steps given in the link How to build libftdi git under Linux But after installing.. When I was running ./eeprom it is throwing: ...
1
vote
0answers
197 views

Ubuntu 14.04 HDMI UDev Rule

I have tried multiple variations to this script but I cannot get it to work. The UDEV Rule fires the script and the script exectutes but simply does not change the audio profile. If I run the script ...