The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
295 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
2answers
409 views

/dev partition missing, so mdadm broken. How to get Linux to see partition?

Upgraded a Linux box and changed out the root drives. There was a RAID-5 array of three SATA drives that I moved over (not root). Reinstalled the OS but was CentOS 6.4 before and after. # mdadm ...
1
vote
1answer
1k views

udisks mounting to /media/usb0 not /media/<volume_label> for usb3 drives

I have a fully up-to-date, freshly re-installed debian sid box. Before I re-installed running udisks --mount /dev/sdc1 would mount the disk to /media/<volume_label>, however, it is currently ...
0
votes
1answer
73 views

udev rules with a math expression

I have a udev rule that creates a symlink for serial devices (USB serial ports) using an expression like this: SYMLINK+="MyDevice_%n". The %n assigns the system device node number starting with 0. Is ...
3
votes
1answer
2k views

udev rules ignore device

I'm on Fedora 18 In /etc/udev/rules.d I've added new rule (70-stm32.rules) with following content: SUBSYSTEM=="block", ENV{ID_MODEL}=="STM32_STLink", OPTIONS=="ignore_device" then restarted udev ...
0
votes
1answer
2k views

How to ignore a USB device in udev

I want to pass a USB device (to be precise: a smart card reader) to a KVM virtual machine, and therefore have to prohibit that it is claimed by any driver on the host machine. I tried to write a udev ...
2
votes
2answers
227 views

On linux something is changing my backlight brightness. How to know what process it is?

I'm using Linux with a 3.9 kernel (BohdiLinux, but I'm looking for a distro (or at least desktop environment) agnostic answer). Something is periodically (or on some event, perhaps) reseting the ...
1
vote
1answer
143 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 ...
0
votes
1answer
529 views

Can UDEV somehow trigger zenity for a logged in user in a session?

I would like a zenity dialog popup to ask me if I would like to run a backup, when I attached a specific external drive. Unfortunately, I am having trouble with the UDEV rule syntax. I've got this ...
0
votes
1answer
596 views

Permanent Permission on /dev/ttyS0 CentOS 6.4

I seem to be unable to change the permissions on the /dev/ttyS0 device of a CentOS 6.4 machine. Every time I reboot, the system goes back to the defaults. I've googled that I need to edit the udev ...
2
votes
1answer
242 views

udev affects behavior of script, prevents dpkg from working

I have a udev rule configured to run a shell script whenever a USB flash drive is inserted; I've verified that udev matches against the rule, that the shell script runs as intended when run manually ...
0
votes
0answers
415 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: ...
1
vote
2answers
388 views

Use UUID in udev rules and mount usb drive on /media/$UUID

I want to mount the usb drive in /media based on the UUID of the disk. How can I use the UUID of a usb drive in a udev rules file and what is a udev rule to mount the usb drive with the UUID number ...
0
votes
0answers
270 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 ...
1
vote
0answers
196 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 ...
3
votes
3answers
3k views

udev: waiting for uevents to be processed on my Gentoo

During the startup I see machine executing this thing for about 30 seconds: udev: waiting for uevents to be processed Then I get a quick message which says something like: devfs: timeout (50 ...
1
vote
1answer
492 views

Xorg input devices fail without udev

What I am trying to do: Launch Xorg server without udev device manager. What I have tried to do: Make sure that /dev/ has all required nodes, such as /dev/input/*. Make sure that all required ...
0
votes
1answer
591 views

Devices renamed with udev not working, original device node still there

I'm trying to rename certain video devices using udev. Here's a rule (broken down for readability): ACTION=="add", SUBSYSTEM=="usb", ATTR{busnum}=="1", ATTR{devpath}=="2", ATTR{idVendor}=="05e1", ...
1
vote
1answer
1k views

Writing USB udev rules based on vendorid, productid & usb bus information

I've got a few usb webcams, but unfortunately they have no serial numbers. So upon boot they tend to switch device file names. Since they'll always be in the same usb port I want to create a rule ...
0
votes
1answer
304 views

Udev rule is not working

I use Gentoo. I write a udev rule. localhost biergaizi # cat /etc/udev/rules.d/91-change-schduler.rules #SUBSYSTEMS=="usb", KERNEL=="sd??", ACTION=="add", RUN+="echo deadline > ...
0
votes
1answer
679 views

How can I set deadline as the I/O scheduler for USB Flash devices by using udev rules? [duplicate]

Possible Duplicate: Udev rule is not working I have set CFQ as the default I/O scheduler. I often get bad performance when I write data into a Flash device. This is resolved if I use ...
1
vote
3answers
312 views

Linux How can I prove if udev installed?

How can I prove if udev is installed and working proper? Just call udevadm would be a method, right?
2
votes
2answers
956 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: ...
2
votes
1answer
780 views

Udev rules failing to pass parameters

Linux newbie on Gentoo here. I am trying to write a udev rule that would run a Python script and pass some information whenever a usb device (specifically a usb modem) is inserted. I have: ...
12
votes
1answer
727 views

Assigning USB hub to specific seat in multiseat configuration

On my debian-based machine, I have a working multiseat configuration. One annoying detail that so far I couldn't fix is that any USB hardware I connect is always assigned to the primary seat. ...
2
votes
1answer
680 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 ...
0
votes
1answer
222 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 ...
4
votes
2answers
6k views

Why is Google Chrome not starting after replacing udev with systemd-tools?

I recently updated my system via sudo pacman -Syu. Afterwards, I proceeded to open Google Chrome, but it failed. When I tried to start it via the terminal I got the error. /usr/bin/google-chrome: ...
2
votes
1answer
2k views

Where can I find the command “udevinfo” on Debian?

I'm trying to fix a problem with my webcam in Wheezy, and I need some information about the drive with the command udevinfo. The problem is: where is this executable? if I run sudo udevinfo the ...
0
votes
1answer
543 views

Error during the boot process in Debian Wheezy: udev (version 175)

During the boot process, it appear this error: startpar: service(s) returned failure: udev It seems to be a problem for the "mounting" of the webcam device: dmesg | grep udev uvcvideo: Found UVC ...
1
vote
2answers
2k views

udev rule not being executed

I have the following device that udevadm lists as: looking at device '/devices/pci0000:00/0000:00:1c.7/0000:09:00.0/usb6/6-2/6-2:1.0/ttyUSB0/tty/ttyUSB0': KERNEL=="ttyUSB0" ...
0
votes
3answers
124 views

wait for kernel after creating partition with sftdisk on linux

I am creating a partition with sfdisk under linux. After partition creation I want to create a filesystem. This fails with mkfs.ext3 not finding the partition: echo ",,L" | sfdisk $DEVICE mkfs.ext3 ...
0
votes
1answer
296 views

Writing udev rules

I have added the rule $ cat /etc/udev/rules.d/00-my.rules ACTION=="add", KERNEL=="sd[a-z]", SUBSYSTEM=="block", PROGRAM="/usr/sbin/mytool add %r/%k" on my RHEL 5.8 to check the disk's partition ...
0
votes
0answers
470 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 ...
4
votes
1answer
9k views

Ubuntu system drops to BusyBox prompt while booting, followed by “udevd [94]: timeout: killing '/ sbin / blkid-o udev-p / dev / sda' ” error

I have installed Ubuntu 11.10 on a netbook (Intel 1.6 GHz and RAM 1 GB) with Windows XP. One week ago, Ubuntu stopped. That day had not installed any upgrade or any software. When I try to start ...
0
votes
2answers
669 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 ...
3
votes
1answer
885 views

restore /dev after `rm`ing it

during a gentoo install from the livedvd, there's one step to create a dev dir to be used later in the chroot of the target for the instalation it's done like that mount --rbind /dev /mnt/gentoo/dev ...
0
votes
1answer
271 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
314 views

udev rules doesn't work with small number

I was writing a udev rule that makes use of the ID_PATH, just to make the device persistent against the port it's inserted in. So here is what I have ...
1
vote
0answers
118 views

Device detected before udev loaded on boot

I have an FTDI USB serial device plugged into a USB port on boot. I have set up a udev rule to create a fixed name for the port that it exposes. My problem is that on boot up the device sometimes ...
3
votes
1answer
789 views

differentiate between identical USB devices on Linux

I'm using two identical USB to serial adapter on my Linux system. So depends on who's inserted first, one of them will be represented with name /dev/ttyUSB0 and the other with /dev/ttyUSB1. Is there a ...
1
vote
0answers
788 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
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 ...
3
votes
1answer
263 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
2answers
6k views

Reloading udev rules fails

I've changed my rules in /etc/udev/rules.d (Ubuntu) to change my ethernet port names from 0 to 1 and 1 to 2, however whenever I run: sudo service udev restart sudo udevadm control ...
12
votes
6answers
19k views

Using udev rules to run a script on USB insertion

I'm trying to set up a script to run every time I plug in a USB device. I created the file /etc/udev/rules.d/90-local.rules and added the following rule: ACTION=="add", SUBSYSTEM=="usb", ...
0
votes
2answers
309 views

HSDPA modem, how to mount SD card on Linux?

scsi19 : usb-storage 1-1.2:1.0 scsi 19:0:0:0: CD-ROM ZCOption HSUPA Modem PQ: 0 ANSI: 2 scsi 19:0:0:0: Attached scsi generic sg2 type 5 scsi 19:0:0:1: Direct-Access SD ...
2
votes
1answer
4k views

How do I get udev to mount certain USB disks when they are plugged in, or after a reboot?

I've just upgraded to Fedora 15. I've used Bacula for backup for some years now, and it works fine. But now I've just run into a problem, probably because Bacula is now running as user bacula rather ...
0
votes
1answer
179 views

Remove directory that is actually used by another process

I have udev rules that creates a directory for each usb-media that is plugged into my debian to automount usb-media. This directory where mount-points (the mount-directories) are created is passed ...
2
votes
1answer
408 views

In Ubuntu, after I add a partition to /dev/sde, why don't I have a /dev/sde1 device?

I'm using ubuntu 9.10 with kernel 2.6.31. In addition to the boot disk, I have a software raid of 5 disks using mdadm. One disk failed. I removed it from the array. mdadm --detail /dev/md0 shows: ...