The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
14 views

Can I tell what udev rule a device is using?

I'd like to edit the way a device is created on my Ubuntu 14.10 box. Device: USB UART File: /dev/ttyUSB0 Is there any way to find out what udev rule created this? Or do I just write a new one ...
0
votes
0answers
8 views

Replace kernel extnesion module (driver) in max osx using udev rule

I'm doing development on an embedded device using an FTDI Single RS232 chip for usb communications. I can communicate with the device just fine using the pylibftdi and libftdi libraries over libusb, ...
0
votes
1answer
7 views

How to identify which USB devices are mapped to what network interface names?

When I plug in an USB network, it gets assigned a network name, like wlan1 by udev. Is there a way how to determine the mapping, without going through udev files, like ...
0
votes
0answers
76 views

How to force udev to link /dev/ttyUSB and not /bus/usb/XXX/YYY?

I have an two arduinos connected to USB, and simple udev rule to make a simlinks: SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTR{serial}=="SERIAL", GROUP="plugdev", ...
0
votes
1answer
20 views

Consistent /dev names for USB hard drive and card reader

I have a Raspberry Pi (but that should be immaterial) to which, normally, connect: a USB hard drive a SD card adapter. I've been getting inconsistent device names. Sometimes the hard drive shows ...
0
votes
1answer
17 views

udev rule not working for action “add”

I have the following udev rule (/etc/udev/rules.d/97-automounter.rules), which works for the action "remove" but does not work for the action "add". The script for the action "add" does work if run ...
0
votes
0answers
23 views

Running actions on insert & eject of a floppy disk over USB

(I've posted this in SU, not RaspberyPi because I don't believe the system hardware has as much impact as the OS in this question) I have a USB floppy drive inserted into a Raspberry Pi running ...
0
votes
0answers
23 views

how to retrieve usb vendor id property

I compiled and installed udev to my customized linux system with the following configuration. --build=$(HostTuple) \ --host=$(TargetTuple) \ --disable-introspection \ --disable-gudev \ ...
1
vote
1answer
18 views

Control USB devices with udev and custom program

I have a script at /tmp/udev_test.py which gets executed with every USB device attached or detached, using this rule: SUBSYSTEM=="usb", RUN+="/tmp/udev_test.py" The script runs, and saves its ...
0
votes
1answer
27 views

Failing to load a module on udev event

I have a pretty simple udev rule which is executed when a USB is plugged into my Debian machine: SUBSYSTEMS=="usb", KERNEL=="sd?", ACTION=="add", RUN+="/usr/local/bin/USB/t.sh \ %k" My t.sh is also ...
0
votes
1answer
19 views

How to know where in /dev/ is a UBS 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
17 views

Udev rule not working on Debian.

I can detect and mount my USB drive on my Debian VM machine. And the first post here works on my Ubuntu machine. Should not it work on Debian too? It doesn't ofcourse. Why is that?
0
votes
0answers
32 views

Output of lsusb -v for GoPro / Sony AS-30

Someone here who has Linux knowledge and a GoPro / Sony Action camera (like AS-30) who can help me with the output of running (with the camera connected via USB to the computer) : lsusb -d ...
0
votes
1answer
123 views

NVIDIA GTX650 Ti 1 GB, nvidia-drivers, boot udev fail on gentoo

I have an Asus H97 Plus motherboard with i7 4790 proc, 16gb ram, samsung ssd, western digital hdd and a Gigabyte nVidia GTX650 Ti 1GB videocard. I have just installed a Gentoo on it (kernel: ...
0
votes
1answer
54 views

Rename USB network interface based on location

I'm managing a group of laptops and I'd like each of them to assign the same name to their USB network interface for easy management. Most of them assign enp0s20u1 and I've written my management ...
0
votes
0answers
64 views

How to make ubuntu/udev start a nested raid array?

A nested RAID1+0 is not started up on boot (this array is not the root fs, which would add a layer of problems, I see). Udev/initrd assembles the lower raid0, but fails to insert it into the raid1 ...
0
votes
1answer
107 views

Udev node /dev/sda created on boot even when drive is disconnected

Edit: I'd like to simplify the question a bit: The main issue is this: /dev/sda is being created on boot whether my USB drive is inserted or not. If I manually rm /dev/sda, udev works correctly ...
3
votes
2answers
91 views

Use USB numeric keypad with phone-like typing?

I have USB numeric keypad like this: I need to write chars (A to Z) on this keyboard, and so my idea is to use it like on old cell phone: If I press 1x 2 it writes A, 2x 2 - B, 4x 9 - Z, etc. ...
0
votes
0answers
45 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
174 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
46 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
58 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
146 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
94 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
61 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: ...
2
votes
1answer
3k 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]: ...
2
votes
0answers
149 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
346 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
38 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
218 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
169 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
44 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
111 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
117 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
136 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
115 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
97 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
217 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
316 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
372 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
166 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) [ ...
23
votes
2answers
839 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 ...
3
votes
1answer
406 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
71 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
839 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 ...
1
vote
1answer
254 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: ...
1
vote
0answers
277 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 ...
1
vote
2answers
380 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 ...
1
vote
1answer
1k 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
71 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 ...