The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
16 views

Login from the command line

OS: Linux, Mint. I want to have a system where I can insert a flashdrive into a computer, and using the Udev rules, have the system log in a user account. I can do the Udev part, but what command ...
0
votes
0answers
23 views

Ubuntu, KDE: How to mount iPod HFS+ partition read/write using a matching udev / udisks2 / libsolid rule?

I can sucessfully mount a journalled HFS+ partition in Ubuntu 14.04 from an iPod using the steps from following answer: http://superuser.com/a/365270 However, using these mount commands manually or ...
0
votes
1answer
21 views

better to mount storage using udev or fstab?

I could write rules to mount storage devices using fstab or udev. Obviously the syntax is different, and unless I'm mistaken, udev is more flexible and has access to far more information than fstab. ...
1
vote
1answer
32 views

Lock Computer after X minutes, non user editable

Case: I have younger siblings who have a linux computer. They are not allowed to access this computer without parental approval and entry of a password. Their solution is to disable my locking ...
0
votes
0answers
24 views

udev rules to add joystick for arm linux?

I am trying to add an ID_INPUT_JOYSTICK=1 environment to udev when a joystick is added to my system. This is not need for desktop Ubuntu because the property is already there but on a linux version I ...
1
vote
0answers
46 views

3g modem is not recognized as an ethernet device without rebooting

I have two CentOS5 servers with kernel versions 3.4.52 and Huawei e353 usb 3g modem. When I plug the modem to my server usb_modeswitch runs and I can see the modem as an ethernet device with ifconfig ...
0
votes
1answer
35 views

How can I change names of network interfaces shown in “ip addr show”

Below is my partial output of ip addr show 10: ge4: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN link/ether 02:00:00:00:00:06 brd ff:ff:ff:ff:ff:ff 11: ge44: ...
1
vote
1answer
362 views

systemd-udevd[381]: failed to execute '/lib/udev/socket:@/org/fre edesktop/hal/udev_event'

After upgrading to ubuntu 14.04 I see this in dmesg [ 1.538887] systemd-udevd[105]: starting version 204 [ 19.074098] systemd-udevd[310]: starting version 204 [ 19.271342] systemd-udevd[381]: ...
1
vote
0answers
52 views

X11 evdev mouse generates duplicate events

Lately my x11 server started registering several duplicate mouse click events per single click. I've tried upgrading xorg server and drivers, but it didn't help. Using different mouse doesn't help as ...
0
votes
1answer
107 views

How to configure network interface names booting from read only medium?

in a Ubuntu 12.04 system, we'd like to configure the names of the (physical) network interfaces (such as eth0, eth1, ...) using udev rules such as those generated in ...
0
votes
0answers
20 views

Running fsck with other program and UDEV in bash

After much trouble I got the UDEV rule to run after inserting an USB. It runs a program to convert the names of pictures and movies. I use {} & to run the program in the background: The only thing ...
1
vote
1answer
66 views

udev rules exclude device

is it possible to use udev rules to excluce a single device from the rule? for instance if I have 5 harddisk plugged in and I want to create custom names for all harddisk except for a single one? is ...
0
votes
0answers
54 views

simple udev rule does not work

I want a simple udev rule which gives my usb stick always the same symbolic link. first of all I executed udevadm info --name=/dev/sdb1 --attribute-walk and got this result looking at ...
1
vote
1answer
32 views

udev rule to make certain ports always correspond to certain devices

Basically my problem is that I am on a server which constantly switches around hdd's. what I want to achieve is have having devices tied to the physical ports on the hardware. like /dev/sda is port 0 ...
2
votes
1answer
50 views

How udev sends input device change notification to Xorg?

I want to troubleshoot why the graphic tables is active only if it is connected when Xorg is started (and stops working with spamming of Xorg.0.log if I reconnect it). As far as I know, udev-based ...
1
vote
1answer
87 views

I don't have eth0 but eth1

How come I don't have eth0 but an eth1 instead? I restart service udev, like below, but my ether card is still eth1, not eth0 % service udev --full-restart * Stopping the hotplug events dispatcher ...
0
votes
1answer
75 views

How to increase the bcache sequential_cutoff on Fedora startup

The bcache has sequential_cutoff parameter that is usually reachable at /sys/block/bcache0/bcache/sequential_cutoff and one can increase the level with following command: echo 512M > ...
0
votes
0answers
76 views

Unreliable detection of external monitor

I am using a Lenovo T410S with a port replicator that has two external monitors attached using DVI. Some times when I boot into Linux, one monitor is detected. Other times it is two. Oddly enough, ...
0
votes
1answer
44 views

udev rule not working

I am trying to write a udev rule for USB drive plugin. I want to first mount it to /media and then run the script at /usr/local/bin/script.sh. When I insert the USB, it doesn't even mount the device ...
0
votes
1answer
122 views

How to treat an internal hard drive like an external one (to only mount on request)

I want to assemble a Linux machine with an SSD Drive for the root filesystem. Another, larger internal hard disk is also attached, but will only be used few times a week/month, for backups, storing ...
0
votes
1answer
164 views

udev 99-hide-disks.rules is no longer working

A while ago I created a /etc/udev/rules.d/99-hide-disks.rules file on Ubuntu which worked fine. At some point, the hidden disks started reappearing in Dolphin and other file managers. The file hasn't ...
0
votes
1answer
249 views

Disable device node using udev (/dev/sr0)

I am trying to disable udev from generating /dev/sr0 device (my cdrom) and Im trying to write udev rules. I added a file 10-cd-trial.rules in /etc/udev/rules.d and /lib/udev/rules.d, the contents ...
0
votes
1answer
107 views

Dmesg boot dumps, udev and boot time

The following is my dmesg dump. [ 1.452016] udevd[121]: starting version 175 [ 1.522976] thermal LNXTHERM:00: registered as thermal_zone0 [ 1.522989] ACPI: Thermal Zone [THM] (76 C) [ ...
21
votes
2answers
591 views

What problems does udev actually solve?

For that matter, what exactly was wrong with a bunch of static files in /dev? It's apparently unsatisfactory enough for developers to have reinvented this wheel by my count 3 times now (devfs -> udev ...
2
votes
1answer
211 views

White list for USB flash using udev

I want to create something like "white list" for USB flash drives. I mean "deny everything that is not allowed". I know that I should use udev rules: Add to /etc/udev/rules.d/ a rule to deny every ...
0
votes
1answer
64 views

What does these udev rules mean?

The following is taken from an embedded system which does not have hard drive in it. KERNEL=="sd?", SUBSYSTEMS=="usb", DRIVERS=="usb-storage", NAME="sda" KERNEL=="sd?2", SUBSYSTEMS=="usb", ...
0
votes
1answer
270 views

How to check if a udev rule fired?

I am trying to acquaint myself with udev, under Ubuntu 13.10. Here is my first simple 95.usbbackup.rules rule: ACTION=="add", SUBSYSTEMS="usb", RUN+="/usr/local/bin/my_backup.sh" and here is the ...
0
votes
0answers
128 views

Xorg ignores input devices after udev restart

System: debian 7.1, amd64, Xorg 1.12.4, awesome window manager I have stopped udevd using /etc/init.d/udev stop then powered off the usb hub my input devices are connected to. I have since restarted ...
1
vote
1answer
191 views

udev rule with bInterfaceNumber doesn't work

I'm trying to use udev to give relevant names a USB-serial device but I'm having now luck. # lsusb -d 04e2:1412 -v Bus 004 Device 028: ID 04e2:1412 Exar Corp. Device Descriptor: ...
0
votes
0answers
120 views

Unable to start p910nd daemon properly in udev rules

I have a dot matrix printer connected to Raspberry Pi using USB Parallel cable. When I plug in the usb cable to Raspberry Pi, udevadm info show these: # udevadm info -a /sys/class/usbmisc/lp0 ...
1
vote
0answers
226 views

Howto set udev rule to disable intel_pstate turbo on linux?

I m looking to make a udev rule that will basically do: echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo In order to disable the turbo, how can I do it ? I've never made udev rule and I am ...
0
votes
0answers
163 views

Mount/unmount as non root user keeping read/write permissions

As per title, how to mount/umount a removable media as non root user obtaining read/write permission on it? I've tried to write a udev rule but I was not able to get it work. I can either have ...
0
votes
0answers
56 views

udev rule to load pulseaudio module intermittently fails

I'm trying to create an udev rule for when an usb device is plugged in to call a bash script that uses pulseaudio to load a module. The udev rule triggers when the USB is plugged in and I can load the ...
1
vote
2answers
289 views

/dev partition missing, so mdadm broken. How to get Linux to see partition?

Upgraded a Linux box and changed out the root drives. There was a RAID-5 array of three SATA drives that I moved over (not root). Reinstalled the OS but was CentOS 6.4 before and after. # mdadm ...
0
votes
1answer
699 views

udisks mounting to /media/usb0 not /media/<volume_label> for usb3 drives

I have a fully up-to-date, freshly re-installed debian sid box. Before I re-installed running udisks --mount /dev/sdc1 would mount the disk to /media/<volume_label>, however, it is currently ...
0
votes
1answer
59 views

udev rules with a math expression

I have a udev rule that creates a symlink for serial devices (USB serial ports) using an expression like this: SYMLINK+="MyDevice_%n". The %n assigns the system device node number starting with 0. Is ...
0
votes
0answers
223 views

udev persistent net rules stopped working on ubuntu 12.04

This morning when booting my ubuntu 12.04, the nic device name was changed from eth1 to eth0. This is my udev rules: # PCI device 0x8086:/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0 ...
3
votes
1answer
1k views

udev rules ignore device

I'm on Fedora 18 In /etc/udev/rules.d I've added new rule (70-stm32.rules) with following content: SUBSYSTEM=="block", ENV{ID_MODEL}=="STM32_STLink", OPTIONS=="ignore_device" then restarted udev ...
0
votes
1answer
966 views

How to ignore a USB device in udev

I want to pass a USB device (to be precise: a smart card reader) to a KVM virtual machine, and therefore have to prohibit that it is claimed by any driver on the host machine. I tried to write a udev ...
2
votes
2answers
181 views

On linux something is changing my backlight brightness. How to know what process it is?

I'm using Linux with a 3.9 kernel (BohdiLinux, but I'm looking for a distro (or at least desktop environment) agnostic answer). Something is periodically (or on some event, perhaps) reseting the ...
1
vote
1answer
106 views

Set an external HDD to shut down mode

I use udisks --detach /dev/sdb for safely remove my hard disk. This command works like safely remove menu in nautilus when you right click on an external HDD. The problem is, after 2 sec hard drive ...
0
votes
1answer
402 views

Can UDEV somehow trigger zenity for a logged in user in a session?

I would like a zenity dialog popup to ask me if I would like to run a backup, when I attached a specific external drive. Unfortunately, I am having trouble with the UDEV rule syntax. I've got this ...
0
votes
1answer
407 views

Permanent Permission on /dev/ttyS0 CentOS 6.4

I seem to be unable to change the permissions on the /dev/ttyS0 device of a CentOS 6.4 machine. Every time I reboot, the system goes back to the defaults. I've googled that I need to edit the udev ...
2
votes
1answer
208 views

udev affects behavior of script, prevents dpkg from working

I have a udev rule configured to run a shell script whenever a USB flash drive is inserted; I've verified that udev matches against the rule, that the shell script runs as intended when run manually ...
0
votes
0answers
334 views

Udev rule for changing owner of Linux LVM device nodes

I'm having some trouble changing the owner of a Linux LVM logical volume on my Debian wheezy system. I added the following udev rule to both the initramfs and the real root file system: ...
0
votes
1answer
261 views

udev rules to mount the usb drive by UUID on /media

I want to mount the usb drive in /media based on the UUID of the disk How to get the UUID of a usb drive in the rules file. "blkid" command outputs the UUID of a disk but only upon mounting. What is ...
0
votes
0answers
217 views

Linux doesn't boot with hyperthreading enabled

I've had this problem since 2.6.39: my computer won't boot without disabling hyperthreading in the bios. I'm using 3.6.6 now and still have the same problem. The only thing I can add to the ...
1
vote
0answers
183 views

Prevent udev / uevents looking up DVD at boot time

Problem: Boot time delay caused by udev. Early after initscripts starts there is message saying waiting for uevents to be processed and causing delay on boot, it seems that udev is looking if there ...
4
votes
3answers
2k views

udev: waiting for uevents to be processed on my Gentoo

During the startup I see machine executing this thing for about 30 seconds: udev: waiting for uevents to be processed Then I get a quick message which says something like: devfs: timeout (50 ...
1
vote
1answer
369 views

Xorg input devices fail without udev

What I am trying to do: Launch Xorg server without udev device manager. What I have tried to do: Make sure that /dev/ has all required nodes, such as /dev/input/*. Make sure that all required ...