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

learn more… | top users | synonyms

1
vote
0answers
157 views

udev rules for pendrive (/dev/sdb1) to change owner, group, permissions

Ubuntu 13.10 - Need udev rule to change owner/permissions for /dev/sdb1 (usb pendrive) when plugged into computer. All combinations tried so far under /etc/udev/rules.d/99-pendrive have failed to ...
0
votes
1answer
214 views

Multiseat in Ubuntu 13.10

I have a Ubuntu 13.10 Desktop machine with one Intel Integrated graphic card and one PCI graphic card.I want to implement Multiseat (2 seats) configuration with own set of keyboards, mice, and ...
1
vote
0answers
58 views

Alternative for removing ignore_device option in udev?

Recently, the option ignore_device has been removed from udev rules. What is the alternative to deny a device to mount or to connect to system in udev rules?
0
votes
1answer
100 views

Why does my udev rule run several times?

I want to when I plug an usb device to my laptop, a script will be run just one time. So I use the udev rules system in UBUNTU 12.04. I wrote the below udev rule: ACTION=="add", SUBSYSTEMS=="usb", ...
0
votes
0answers
229 views

How to write a udev rules file for /dev/sda

How to write a udev rules file to change permission of /dev/sda for permanent change of ownership to normal user (even after reboot).
0
votes
0answers
38 views

After converting KVM machine to native environment, system boot is slow

A coworker set up a Ubuntu 12.04 system that will eventually be used for booting without a disk via the network with KVM. Everything works as it should on native hardware, except a delay of 113-114 ...
0
votes
1answer
161 views

How to require mount with password of other internal hdd partitions for all mount-style applications (with udev)

I am trying to block access to other partitions with different file systems on the same physical hdd (layout: gpt) by preventing any partition mounting without requiring a password. FSTAB takes care ...
1
vote
0answers
206 views

Ubuntu Server 12.04: Boot hangs with error "udevd[538] inotify_add_watch(…) failed: invalid argument

I'm currently faced with the following situation: when rebooting a Ubuntu 12.04 LTS server after updating (it ran perfectly for a year or so, I updated it around two months ago and rebooted with no ...
1
vote
1answer
356 views

auto rip CD with morituri (or launch custom script on CD insert)

How can I automaticaly start ripping my CD when I insert a CD. There used to be a custom command option in the settings where you could run a custom command on CD insert. The I could use a bash script ...
2
votes
0answers
160 views

LVM logical volumes do not activate on boot on 13.10

I am running an UbuntuGNOME 13.10 and I set it up without an LVM during the installation process. I am now running it with to encrypted partitions, one is containing a LVM. This all works fine, ...
0
votes
1answer
276 views

udev + xrandr to set display gamma when plugging in a display works briefly, but gets overridden

I'm using a script like this to set the gamma values of my laptop screen and external monitor: #!/bin/bash export DISPLAY=:0 export XAUTHORITY=/home/peat/.Xauthority xrandr --output LVDS1 --gamma ...
0
votes
0answers
143 views

Egistec ES603 fprin_demo Shows No Device found

On ubuntu 12.04 LTS amd64 I have used the following commands to get fprint_demo. sudo apt-get install libfprint0 fprint-demo libpam-fprint gksu-polkit wget ...
0
votes
0answers
173 views

Simulate USB reconnect to change device number

I have a PS3 controller strangely doesn't work if it's connected as /dev/bus/usb/006/002. If it gets assigned any other device number (like /dev/bus/usb/006/003) then it starts working (which can be ...
0
votes
0answers
148 views

PS3 controller only works after unplugging and plugging in again

I use xboxdrv for my PS3 controllers which I connect via USB. I start xboxdrv with the following command (using daemon because I don't have the controllers connected all the time): sudo ...
0
votes
0answers
43 views

Where is the udev error log located?

I'm trying to add some rules to udev. I've added usb_log="info" in /etc/udev/udev.conf, but I can't figure out where the messages end up. They used to be in syslog, didn't they? I just installed ...
1
vote
0answers
257 views

How to store LXC container's files in another folder

Well the answer seems to be given on https://help.ubuntu.com/13.04/serverguide/lxc.html#lxc-hostsetup page under Using a separate filesystem for the container store title but it doesn't work for me. ...
0
votes
0answers
89 views

Ubuntu 13.10 - how to apply kernel patch?

In Ubuntu how can i change this modifications safely? One manufacturer given me the PATCH to apply. "faulty USB2 cameras on USB3 Linux systems. patch" --- linux/drivers/usb/core/hub.c.orig ...
1
vote
1answer
509 views

udev rules seem ignored; can not prevent modem manager from grabbing device

I am trying to prevent modem manager from running when I plug my cell phone into a USB port. I have tried to add a custom rule with udev, but my custom rules seem ignored. I created a file ...
1
vote
1answer
319 views

Automatically disable mouse acceleration whenever mouse is plugged

I have a laptop and I often use a Logitech G5 mouse with it. I don't like acceleration while using the mouse. Thus I have to disable the acceleration every time I plug the mouse. Is there a way to ...
0
votes
1answer
132 views

Connect K8055n Experiment Board to Ubuntu

I purchased a K8055n Velleman Experimental Board and for some reason every program I run or if I try to access the board I get the following error: Could not open the k8055 (port:0) Please ensure ...
0
votes
0answers
83 views

evdev error opening gtco device

I've got an eInstruction electronic whiteboard which is handled by the gtco kernel module. The event layer looks sane enough to me. Out of the box, X.org didn't use that device, so I added the ...
0
votes
0answers
91 views

/var/log/boot.log incomplete

My core issue is that something is causing udev to spew thousands of messages during boot, slowing down boot by 10 minutes. My interrim issue however is that there are so many messages during boot ...
0
votes
0answers
79 views

Tie via UDEV an external video webcam to /dev/video5 for Apache Server webcam streaming

My aim is to nail my Logitech C270 to /dev/video5 and my old less capable internal cam to /dev/video0 via setting UDEV rules as follows in /etc/udev/init.d/26-video-persistent.rules/ ...
0
votes
1answer
3k 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 ...
0
votes
2answers
415 views

Doubts about symbolic link Printer Brother all-in-one [Solved]

I have a doubt and confusion regarding symlinks on settings of "Brother MFC-660CN printer" I installed the drivers through an installation file of the website Brother The file is ...
0
votes
0answers
271 views

systemd-udev errors on startup

Ubuntu 13.10, HP-compaq 8510w laptop. I keep seeing the following message on startup and in dmesg: systemd-udevd[304]: error opening ATTR{/sys/devices/pci0000:00/0000:00:1f.2/ata5/host4 ...
1
vote
0answers
82 views

Problem with cryptdisks-udev service

I am getting an error when I run 'puppet resource services' that complains about the cryptdisks-udev service. The exact error message is as follows: status: Unknown parameter: DEVNAME The error ...
1
vote
1answer
791 views

USB Mount Autorun a script using udev

I've spent a lot more time than I was expecting and was hoping I could get some help debugging. My goal is to sync files between my documents and my usb drive as soon as it is mounted. I've ...
0
votes
0answers
167 views

HD serial at /dev/disk/by-id

I am building a function that has to read the HD serial number, and it cannot run external applications or require root privileges. I am aware that I can list the contents of this folder: ...
0
votes
1answer
1k views

For pulseaudio what does tsched do (and what are the defaults)?

If I modify /etc/pulse/default.pa and change this line: load-module module-udev-detect to: load-module module-udev-detect tsched=0 I am clearly disabling tsched. Similarly if I change the line ...
0
votes
0answers
42 views

UDEV: how to match SYMLINK during remove event?

I am using libusb to contact with a printer. And I am writing a rule for udev to remove the printer when it is disconnected. I use symlink to indicate the device. But when removing, the rule is not ...
1
vote
2answers
183 views

Why would 70-persistent-net.rules have no effect?

I've got a saucy server with a lot of NICs and they end up with weird names like "rename19". I know interface names can be changed by modifying the /etc/udev/rules.d/70-persistent-net.rules file. The ...
0
votes
0answers
76 views

How to map Xrandr output names to /sys/class/drm display names?

I am using the 'udev library libudev' to detect connection and disconnection of displays (monitors) on my system. The display names reported by udev are found in the /system/class/drm directory on my ...
0
votes
0answers
124 views

12.04 udevd[1519]: failed to execute '/lib/udev/modem-modeswitch' after update

After update some package (I can't remember and I don't know how to check which have just update) and reboot, I can't restart unity or compiz. Here are some output while I check system in recovery ...
0
votes
1answer
2k views

Adding to a file: /etc/udev/rules.d/51-android.rules

I am a complete n00bie, so please be gentle.... I have just started using Eclipse with the Android ADT setup and I attempting to set up a device for development. I have created the following file ...
1
vote
1answer
2k 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 ...
1
vote
0answers
349 views

udev rules for multiple usb game controllers (including dual controllers)

Using XBMCbuntu Eden... I'm having trouble creating udev rules for my controllers. I have a dual arcade stick that has two separate usb connections, and I am having no trouble writing the udev rules ...
0
votes
0answers
185 views

Deactivate defect laptop keyboard ubuntu 12.04

My Notebook Keyboard (T430) is defect and spawns more or less random keypress events. So I'm searching for a way, that linux ignore all input that comes from this device. My guess is that I have todo ...
0
votes
1answer
72 views

How to run a script when I connect a device?

new Linux user here (Ubuntu 12.04)... I've been looking on google and found some scripts that would make what I'm about to ask easier but what I would like to do is write a script that automatically ...
0
votes
1answer
185 views

Reducing the size of udev filesystem

I have this line in the output of df -h: udev 16G 4.0K 16G 1% /dev What is this thing doing? Do I need it, and if not, how can I reduce the size of it? As far as I know, this ...
0
votes
1answer
259 views

Remove persistent devices from file browser list

In my file browser, it lists all the drives and devices available for browsing. There is one that is from another OS installation, and i want to remove it from the list. Hiding devices using ...
2
votes
2answers
1k views

lsusb lists Galaxy Samsung Tab s2 & adb devices lists nothing

really, I do all my efforts to run an android project through eclipse on a tablet "Samsung galaxy Tab s2/ GT-P3100" under Ubuntu 12.04. i add the vendor id of samsung in ~/.android/adb_usb.ini ...
6
votes
6answers
2k 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 0 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
2answers
2k views

Using udev to automount external HDD

I have just installed a Plex Media Server to my Linux box and am happy with the idea of the server. My problem is the fact that Plex is not discovering ANY of the files on my external hard drive. The ...
3
votes
2answers
1k views

Problem with `notify-send`

I have been working in a script to change audio output when you (dis)connect am HDMI screen/TV. Basically it uses UDEV to check any change in the connection and acts accordingly. Everything works ...
0
votes
0answers
40 views

USB to serial converter - no serial number

I have tried a lot of USB->serial converters but none report its iSerial number in udev. This makes it impossible to distinguish between adaptors. This is a problem if they are moved from one USB slot ...
2
votes
1answer
174 views

udev held back by apt-get while using ondrej systemd PPA

For probably about a month now, udev has been held back by apt-get when running apt-get updgrade. The following packages have unmet dependencies: udev : Depends: sysv-rc (>= 2.88dsf-24) but ...
0
votes
1answer
409 views

How can I detect unknown/unapproved devices with udev?

I'm designing a security sensitive setup for a client. The situation is as follows: Sensitive information has to be stored on a server that might be accessed by unauthorized personnel. There is no ...
0
votes
0answers
187 views

Ubuntu 12.04 repeatedly trying to mount a StarTech KVM USB Dongle (bad performance)

I'm dealing with an odd issue where Ubuntu 12.04 Server LTS 64-bit is repeatedly attempting to mount a StarTech KVM USB dongle that's attached via VGA and USB. I've already contacted StarTech's ...
1
vote
0answers
126 views

Why doesn't my udev rule work? [closed]

I created a file /etc/udev/rules.d/60.alsa.rules with the following content: KERNEL=="0000:00:1b.0", SUBSYSTEM=="pci", ATTR{label}=="Realtek High Definition Audio Device", ATTR{vendor}=="0x8086", ...