The udev tag has no wiki summary.
1
vote
0answers
48 views
udev rule for usb attach/detach not triggering
I'm running RHEL6 and I'm trying to write a udev rule that is triggered upon plugging in and removing usb devices. I created a file called 80-usb.rules in /etc/udev/rules.d/ and I gave it the ...
2
votes
0answers
20 views
Getting live info from /dev/input [migrated]
I am unsure if this is the correct place for this question. I am attempting to obtain the axis position values from a joystick /dev/input/js0 on my system. If I run jstest /dev/input/js0 it will give ...
2
votes
1answer
66 views
Why doesn't this udev rule trigger upon removal of the device?
I have two mice, one which has an issue where the middle mouse button and button6 get triggered simultaneously. So I configured my ~/.Xmodmap to disable this button. At the same time, however, I ...
0
votes
1answer
134 views
Fixed udev rules for USB modems
On gentoo i have 10 USB modems and every of them has 3 interfaces /dev/ttyUSB0, 1, 2 and so on for each modem. Sometimes their postitions can change, so it is very difficult to work with them.
I'm ...
1
vote
1answer
91 views
Change value of USB “max_sectors” for an entire family of devices
I've been using Linux for a while, but only since I started using "recent" distros (ie.: anything non-Debian) I have started having I/O problems with most of my USB devices. Basically when trying to ...
2
votes
2answers
307 views
Network naming on Arch Linux
I've just installed Arch Linux on my old PC, to do the installation I used wifi-menu wlan0, now I've reboot but if I type:
ifconfig wlan0 up
I have as a result:
wlan0: ERROR while getting ...
2
votes
1answer
85 views
What is the udev rule to allow specific thumb drive vendors?
How can I write a udev rule that whitelists specific vendors and doesn't allow other USB drives? Do I put it in /etc/udev/rules.d, or /lib/udev/rules.d? What command do I run to test if the rule is ...
1
vote
3answers
88 views
Restarting udev on centos6 (tethering a mobile phone using proxoid)
I am trying to use proxoid (a proxy server to allow tethering like facility for mobile phones). The https://code.google.com/p/proxoid/wiki/installationLinux says that I need to restart the process ...
2
votes
1answer
60 views
How to list all present optical drivers?
How can I list all the installed optical drivers with udev or any other core-based tool (perl is also very good) ?
P.S.: I know about the wodim --devices command, but it's an undesirable ...
2
votes
2answers
71 views
Why doesn't xsetwacom work from udev?
I made a script to rotate my Wacom Bamboo tablet 180 degrees. It works fine when I execute it as myself (user) or root, but when started from udev (i.e. when plugging the tablet into a usb port) it ...
2
votes
1answer
146 views
How to execute a shellscript when I plug-in a USB-device
I want to execute a script when I plug in a device in my Linux machine. For example, run xinput on mouse or a backupscript on a certain drive.
I have seen a lot of articles on this, most recently ...
1
vote
0answers
45 views
How to resume the ?WATCH command when a USB GPS is reconnected
I have some hacks to ensure that my USB GPS devices continues spitting data if disconnected, then reconnected. The devices are so flaky that they need restarting so as to continue transmitting data.
...
2
votes
1answer
61 views
Enable udev and speex support for pulseaudio
I tried to install pulse audio, but after running ./configure I got a warning message:
===== WARNING WARNING WARNING WARNING WARNING WARNING WARNING =====
You do not have udev support enabled. It is ...
1
vote
1answer
647 views
PuTTY can access serial port as /dev/ttyUSB0, but not as named udev device
I have multiple USB-to-serial converters. I need to access one of them in particular. I'm using a udev rule to give it a special name. I have rebooted since I last modified it.
SUBSYSTEM=="usb", ...
2
votes
0answers
87 views
What is the correct way to write a udev rule to stop a service under systemd
I'm running Arch Linux, and I have a udev rule which starts a service when a device is inserted. In this case, it dials a connection when a 3G modem is plugged in.
KERNEL=="ttyUSB*", ...