The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
933 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
662 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
259 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
763 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: ...
2
votes
1answer
667 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
58 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
44 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
254 views

udev rule with bInterfaceNumber doesn't work

I'm trying to use udev to give relevant names a USB-serial device but I'm having now luck. # lsusb -d 04e2:1412 -v Bus 004 Device 028: ID 04e2:1412 Exar Corp. Device Descriptor: ...
1
vote
1answer
137 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
15 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
17 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
27 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
19 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
61 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
136 views

How to increase the bcache sequential_cutoff on Fedora startup

The bcache has sequential_cutoff parameter that is usually reachable at /sys/block/bcache0/bcache/sequential_cutoff and one can increase the level with following command: echo 512M > ...
0
votes
1answer
167 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
842 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 ...
0
votes
1answer
217 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
268 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
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
377 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
150 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
95 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
277 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
0answers
193 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
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 ...
1
vote
0answers
785 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
8 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, ...
0
votes
0answers
77 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
23 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
23 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
17 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
32 views

Output of lsusb -v for GoPro / Sony AS-30

Someone here who has Linux knowledge and a GoPro / Sony Action camera (like AS-30) who can help me with the output of running (with the camera connected via USB to the computer) : lsusb -d ...
0
votes
0answers
64 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
45 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
175 views

Ubuntu, KDE: How to mount iPod HFS+ partition read/write using a matching udev / udisks2 / libsolid rule?

I can sucessfully mount a journalled HFS+ partition in Ubuntu 14.04 from an iPod using the steps from following answer: http://superuser.com/a/365270 However, using these mount commands manually or ...
0
votes
0answers
147 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 ...
0
votes
0answers
39 views

Running fsck with other program and UDEV in bash

After much trouble I got the UDEV rule to run after inserting an USB. It runs a program to convert the names of pictures and movies. I use {} & to run the program in the background: The only thing ...
0
votes
0answers
169 views

simple udev rule does not work

I want a simple udev rule which gives my usb stick always the same symbolic link. first of all I executed udevadm info --name=/dev/sdb1 --attribute-walk and got this result looking at ...
0
votes
0answers
116 views

Unreliable detection of external monitor

I am using a Lenovo T410S with a port replicator that has two external monitors attached using DVI. Some times when I boot into Linux, one monitor is detected. Other times it is two. Oddly enough, ...
0
votes
0answers
400 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
261 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
455 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 ...