The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
17 views

Mac OS X equivalent of “udevadm info -a -n /dev/ttyACM0”

What is the Mac OS X equivalent of the Linux command udevadm info /dev/ttyACM0? I am attempting get the USB information about a TTY device (/dev/tty.whatever) in a script. UPDATE: I'm looking for ...
0
votes
1answer
5 views

udev pci device rule is not working

I have a pci device which have an own drivers (not integrated in Linux kernel). I've collected device information using udevadm udevadm info -a -p /sys/devices/pci0000:00/0000:00:1e.0/0000:0d:02.0 ...
0
votes
0answers
16 views

Fix Partition Table

I was recently installing manjaro on my hard drive. I set up the partition table how I wanted, wrote it, and proceeded to assigning partitions portion of the installer. To my surprise, I was presented ...
1
vote
1answer
47 views

How to start a systemd service when a DVD is inserted?

I'm trying to write a simple systemd service that gets started when I insert a DVD into my DVD-ROM drive. However, my service never starts even though I see the relevant SYSTEMD_WANTS while running ...
0
votes
0answers
27 views

NTFS-3G unmounts USB drive as soon as it is mounted

I have created an udev rule to automount a USB hard-disk when I plug it in, but the drive doesn't appear as mounted. In /var/log/messages, I can see Dec 27 09:11:02 smug ntfs-3g[6043]: Version ...
0
votes
1answer
37 views

script to disallow mounting of certain idVendor

I'm trying to write a script to disallow mounting of certain usb thumb drive's brand like silicon-power my thought was to use tail -f /var/log/messages and grep it to idVendor and blocking it upon ...
0
votes
1answer
348 views

Can't automount USB stick with Fedora 21+systemd-udev, could with Gentoo on same machine

In Gentoo I had created a small script that was called by udev and allowed me to mount an USB device, identified by its serial number, to any mount point I chose. Basically, ...
0
votes
1answer
34 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
15 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
17 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
128 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", ...
1
vote
1answer
36 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
39 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
59 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
46 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
39 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
43 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
21 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
22 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
56 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 lsusb with the camera connected via USB to the computer: lsusb -d ...
0
votes
1answer
183 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
66 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
98 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
115 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
115 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
55 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
204 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
54 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
73 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
196 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
119 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
80 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: ...
3
votes
1answer
4k 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
179 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
411 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
42 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
253 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
200 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
49 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
121 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
128 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
177 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
1answer
115 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
257 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
360 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
406 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
189 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
914 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
494 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
80 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", ...