The udev tag has no wiki summary.
1
vote
2answers
63 views
udev rule not working
I have created a udev rules which is supposed to mount a USB device, backup some datas et cleanup everything. I am actually working on a Debian server.
There is the information about my usb device ...
3
votes
1answer
224 views
How to run long time process on Udev event?
I want to run a ppp connection when my USB modem is connected, so I use this udev rule:
ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="16d8",\
RUN+="/usr/local/bin/newPPP.sh $env{DEVNAME}"
...
3
votes
0answers
489 views
Problems copying large files to USB drive
I've got some issues when copying larger files to my USB drive. First of all, my system stopped recognizing my USB drives automatically. I now have to run modprobe usb-storage in order for my USB ...
3
votes
0answers
681 views
Udev triggers are not firing on insert of CF card into USB card reader (anymore)
I've got a udev rule that triggers a shell script that copies photos off my CF card when I insert the card into my USB card reader. This worked fine for a while. But after a recent upgrade it has ...
2
votes
0answers
37 views
How to know when a device is ready
I have firewire mixing console and I wrote an udev rule which calls a script to set up the whole audio chain (alsa -> pulseaudio -> jackd -> firewire) as soon an the console is switched on.
Now I ...
2
votes
0answers
94 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*", ...
2
votes
0answers
157 views
Failed to execute shell script from “network” udev rule to change the MAC-address
I am trying to execute a shell script from udev rule, when a network interface is added, as follows:
SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", PROGRAM="/usr/local/bin/changemac.sh", ...
2
votes
0answers
81 views
Can a FAT32 and NTFS file system exist without UUID?
I have an USB disk drive partioned with 2 FAT32 partitions, which is not getting detected in the embedded device, but gets detected in a Fedora system.
Basically in the udev rules, I am not able to ...
2
votes
0answers
248 views
Automatically update MPD database upon external storage insertion
I have an Alix board in my living room running Voyage MPD edition and acting as jukebox.
In order to play "guest" music, I would like that MPD automatically updates its database with the content of ...
2
votes
0answers
358 views
Access a variable by name in udev?
I'm trying to get access to the partition type (the one-byte field in the master boot record) in udev, so that I can set ownership and permissions based on partition type. The challenge is of course ...
1
vote
0answers
111 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 ...
1
vote
0answers
56 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.
...
1
vote
0answers
175 views
Why do I not seem to have hidraw options on my system, and how can I fix my usb devices?
Starting today, I noticed a few problems with my system. USB devices, including the internal ones such as microphones, don't seem to be working at all. I first noticed when my keyboard and mouse ...
1
vote
0answers
1k views
Understanding udev rules and permissions in libusb
I had a problem with my scanner. Xsane worked only as root. Using it as normal user it didn't find any devices. Adding the user to the groups saned or scanner didn't help.
Finally I solved the ...
1
vote
0answers
292 views
How to achieve fast user switching with multiple graphics adapters, prevent virtual terminal switch?
My boxen has two video nVidia graphics adapters which I'd like to assign to separate seats, including virtual terminals. This question most likely isn't display manager specific, but in this case I'm ...
1
vote
0answers
101 views
Program does not terminate when called from udev
I've written a program in C#/Mono that probes a device to determine if it is a modem.
The program works fine from the command line. However, when it is called from PROGRAM= in a udev rule, the ...
0
votes
0answers
72 views
Prevent udevd from inspecting this device?
I think this error message was from my usb mouse, how could I know that?
systemd-udevd[225]: error opening ATTR{/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/power/control} for ...
0
votes
0answers
261 views
Automount in Xfce4 just stopped working
A little while ago my usb drives stopped auto mounting. It might have been after an update but not sure where to look.
I have been manually mounting them as root and that is a pain. Is there maybe ...
0
votes
0answers
344 views
upstart-udev-bridge is using 100% CPU (and a known fix doesn't help)
I'm running Linux Mint 12 on a Latitude D630 and every time I start my laptop (and sometimes when I come back from being suspended), top shows that upstart-udev-bridge is using 100% CPU (and if I do ...
