The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
1k views

Setting udev rules in Linux Mint 13

What I'm trying to do is set up a udev rule for my HP headphones (usb) with the aid of several tutorials out there. Created a file ( 90-local.rules ) in /etc/udev/rules.d and added the following: ...
0
votes
2answers
727 views

FireWire external drive for Ubuntu 10.04 LTS

Here is my current recipe for mounting 2 external USB 2.0 drives using the udev system and the rc script rc.local in Ubuntu 10.04 LTS. # Become root su # Find USB devices. # Search for sd # :/sd ...
4
votes
1answer
80 views

Passing udev environment variables to systemd service execution

I am migrating an existing udev rule that bound to the change action of a block device and runs a given script. SUBSYSTEM=="block", ENV{DEVNAME}=="/dev/sr0", ACTION=="change", ...
3
votes
1answer
281 views

How to blacklist a USB device by UUID in GNOME (udev)?

I'm using GNOME 3, with udev. How can I blacklist a specific USB drive by its UUID or label so that it doesn't mount automatically?
2
votes
1answer
755 views

Udev rules on Ubuntu/OMAP (Beaglebone)

I have an IROX Pro-X weather station and am running wview weather software on Ubuntu 12.04. I have been running it on my old laptop for a few months with no problems but am trying to run it on a ...
1
vote
1answer
22 views

Persistent mapping of hci names

I want a stable mapping between bluetooth hardware and hciX under /sys/class/bluetooth, similar to how wlanX maps to wifi chips. I wrote a udev rule. The rule is matching correctly by ...
1
vote
1answer
81 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 ...
1
vote
1answer
54 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 ...
1
vote
1answer
2k 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
384 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
1answer
169 views

Set an external HDD to shut down mode

I use udisks --detach /dev/sdb for safely remove my hard disk. This command works like safely remove menu in nautilus when you right click on an external HDD. The problem is, after 2 sec hard drive ...
1
vote
1answer
2k views

How do I write a generic udev rule to assign my network's interface name?

I am trying to write a "generic" udev rule to assign an interface name to my NIC card. For a particular application i require the ability to boot a headless server where the NIC can be changed at any ...
0
votes
1answer
125 views

/dev/xvda1 full , though there is no temporary files

I have AWS ec2 micro instance, suddenly it shows memory full. I have checked the folder using df -hcommand. The result is displayed below. Filesystem Size Used Avail Use% Mounted on /dev/xvda1 ...
0
votes
1answer
23 views

How can I get the ID of an online disk in a ZFS pool?

I rotate physical disks in and out of my mirrored ZFS zpool (using ZoL) to use for offsite backups; to help streamline the process I've been using udev rules to respond to the drives being swapped. ...
0
votes
1answer
183 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
1k 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
78 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
1answer
91 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
1answer
59 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
28 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
1answer
105 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: ...
0
votes
1answer
230 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) [ ...
0
votes
1answer
255 views

Starting custom script after input device is connected

I have a Genius tablet and I need to remap some buttons on it when I connect it to the usb. The remmaping is done by this command: xinput set-button-map 'Genius EasyPen M610X' 0 0 0 0 0 0 0 1 3 2 ...
0
votes
1answer
280 views

How can I link some device (given by its device ID) with an specific firmware in linux?

Imagine I have a new device which it's not working on Linux. I get its device ID with lsusb: Bus 001 Device 003: ID1164:7efdYUAN High-Tech Development Co., Ltd Imagine I know that this device will ...
0
votes
1answer
378 views

HALEVT troubleshooting: VFAT usb storage device gets mounted with root:root user:group

i'm banging my head for number of days around this problem. using Halevt for automounting, everything mostly works, but the only thing is that Halevt mounts external USB storage devices as root. So, ...
2
votes
0answers
55 views

udev rule script “xinput --list” differs in terminal versus log

I'm trying to automate a Huion tablet calibration without much success. I have this output from xinput --list in a normal terminal: ⎡ Virtual core pointer id=2 [master ...
2
votes
0answers
18 views

udev rule to auto-execute script

I want to create a udev rule to execute when my headset gets plugged in. Therefore I followed this Tutorial, but my rule doesn't seem to work. The output of udevadm monitor --environment | fgrep ...
2
votes
0answers
236 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 ...
1
vote
0answers
70 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 ...
1
vote
0answers
37 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, ...
1
vote
0answers
246 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
152 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 ...
1
vote
0answers
206 views

Prevent udev / uevents looking up DVD at boot time

Problem: Boot time delay caused by udev. Early after initscripts starts there is message saying waiting for uevents to be processed and causing delay on boot, it seems that udev is looking if there ...
1
vote
0answers
853 views

Strange message during the Linux boot caused by udev

When Debian Wheezy, testing version, is booting a strange message appears: udevd[336] timeout usb_id--export /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-2.2/1-1.2:1.0 video4linux/ [502] After this ...
0
votes
0answers
5 views

Unable to initialize libusb: -99 und Microzed-Board running Linux

I have a microzed ARM-Board running a custom Image based on Debian Jessie with a 3.17 kernel. I need to use a wifi-stick with the board (I currently have an EDIMAX EW-7711UAn, but I guess i could use ...
0
votes
0answers
49 views

Trigger lock/unlock XFCE session on udev event

I'm trying to write simple script that will unlock my XFCE session (xubuntu) when I will connect my phone via usb and vice-versa -> lock when phone will be disconnected. So far I managed to write new ...
0
votes
0answers
57 views

udev rule to rename usb network interface don't work on startup

I have an embedded system that has a smsc9512 (USB 2 port hub with Ethernet converter) running a distribution generated with poky and kernel 3.0.20. I need to have a fixed name for the interface and ...
0
votes
0answers
28 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 ...
0
votes
0answers
139 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
0answers
101 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
83 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 \ ...
0
votes
0answers
28 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
141 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
0answers
71 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
507 views

Udev rule for changing owner of Linux LVM device nodes

I'm having some trouble changing the owner of a Linux LVM logical volume on my Debian wheezy system. I added the following udev rule to both the initramfs and the real root file system: ...
0
votes
0answers
306 views

Linux doesn't boot with hyperthreading enabled

I've had this problem since 2.6.39: my computer won't boot without disabling hyperthreading in the bios. I'm using 3.6.6 now and still have the same problem. The only thing I can add to the ...
0
votes
0answers
529 views

Getting a USB remote controller to work

I'm at a lost at setting up a USB remote controller on Ubuntu Natty with Kernel 2.6.38-12-generic. It's a "USB pen" used to control the routine of Slideshows (Powerpoint, ... , etc) It recognizes the ...