New answers tagged

0

I've just built a script for that, it's not pretty but works for me. I tested this script on Arch Linux with this configurations: $ uname -a Linux 4.4.13-1-lts #1 SMP Wed Jun 8 16:44:31 CEST 2016 x86_64 GNU/Linux And my device name is /dev/sdb which is quite different from yours, I hope it will work for you as well. Also note that this script depends on ...


0

None of the answers here worked for me, and the options I wanted to set could not be specified in xorg.conf: $ xsetwacom -x get 'Wacom Intuos PT S Pad pad' button 1 Button: Actions are not supported by xorg.conf. Try shell format (-s) instead. I ended up having to start the script with a systemd service triggered by a udev rule: $ cat /etc/udev/rules.d/...


0

For me, below command sequence has worked as it is desired. I have done modifications in /etc/udev/rules.d/70-persistent-net.rules to change the eth number and to reload them without rebooting. /etc/init.d/networking stop /etc/init.d/udev stop udevadm control --reload-rules /etc/init.d/udev start /etc/init.d/networking start By following this, It was ...


0

The first rule deny the parent node (usb hubs, usb ports,.. to usb devices). Remember sysfs is a Tree. You should target the leafs (USB devices). Instead multiple rules and trying to manage with GOTO, you can use single rule. Check this one (example of device name in my current machine: 2-1.2:1.0): ACTION=="add", KERNEL=="[0-9]-[0-9].[0-9]:[0-9].[0-9]", ...


1

It is only there for network interfaces no more. Well explained in the older man page below. man udev NAME The name to use for a network interface. The name of a device node can not be changed by udev, only additional symlinks can be created. Even with an older release 175 NAME What a network interface should be named. Also, as a ...


0

Check Product Documentation for Red Hat Enterprise Linux and look for Technical Notes for your current release and the ones in between from your old release. For a quick path: Google search/ "udev.html" site:access.redhat.com


2

Problem #1 was caused by SELinux. Since I don't need it for this system, I simply disabled it. Problem #2 was caused by a udev setting (specified in systemd script) that makes the udev namespace keep a 'slave' copy of the mount flags. Changing this to 'shared' fixed the problem. See a more detailed answer here: http://unix.stackexchange.com/a/154318/...


1

HAL is responsible for Abstraction information a bout hard-ware devices. i mean it's not important that you knows all information a bout what you plug-in for example you are using some wireless card and the models of it is TP-link hal is responsible to make additional information shorter if you use "ifconfig" you saw wlan0 not TP-LINK the udev is ...


1

If you have a file named MAKEDEV ( yes upper case) in /dev directory, you can try to run it. HP UX use insf -e.


3

You can try running # udevadm trigger Or restart the udev daemon.


1

If you want to run a systemd unit from your udev, you can now just name the unit (see man systemd.device). For example, if you look in your (/usr)/lib/udev/rules.d/99-systemd.rules you should find an example like SUBSYSTEM=="bluetooth", TAG+="systemd", ENV{SYSTEMD_WANTS}+="bluetooth.target" which has the 2 important points: you must add the TAG systemd, ...


0

So the solution to making the Canusb work in udev was found by Kurt Van Dijck: Sometimes one can have race conditions with udev rules since not all attributes are present on the launch of the uevent This updated /usr/local/bin/slcan_add.sh makes the CanUsb work correctly with udev when plugged in: #!/bin/sh # Bind the USBCAN device sleep 1 /usr/local/...


1

On Linux, the following should work without requiring a new driver: sudo modprobe ftdi-sio vendor=0x0001 product=0x0002


0

I actually figured out the solution to this weird problem and the solution is equally weird: I had to plug in the DVD drive in another SATA slot. I have two places on my motherboard with SATA slots: A group of two SATA slots and another group of 8 SATA slots and the DVD drive was plugged in on of the slots in the group of two. After plugging it into a slit ...


0

Had a similar problem on system with nvidia card. Try setting nomodeset option. After installation install nvidia drivers.


0

This is the solution to my requirement below, "How do I make udev and fstab rules to differentiate between 2 identical SanDisk Cruzer 8 Gigabyte USB drives I purchased from BestBuy?" because identical USB drives have the same serial number. udev rule for assigning known symlinks for identical usb serial devices



Top 50 recent answers are included