The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
8 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
1answer
43 views

NVIDIA GTX650 Ti 1 GB, nvidia-drivers, boot udev fail on gentoo

I have an Asus H97 Plus motherboard with i7 4790 proc, 16gb ram, samsung ssd, western digital hdd and a Gigabyte nVidia GTX650 Ti 1GB videocard. I have just installed a Gentoo on it (kernel: ...
0
votes
1answer
32 views

Rename USB network interface based on location

I'm managing a group of laptops and I'd like each of them to assign the same name to their USB network interface for easy management. Most of them assign enp0s20u1 and I've written my management ...
0
votes
0answers
18 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
1answer
42 views

Udev node /dev/sda created on boot even when drive is disconnected

Edit: I'd like to simplify the question a bit: The main issue is this: /dev/sda is being created on boot whether my USB drive is inserted or not. If I manually rm /dev/sda, udev works correctly ...
1
vote
1answer
36 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 ...
3
votes
2answers
58 views

Use USB numeric keypad with phone-like typing?

I have USB numeric keypad like this: I need to write chars (A to Z) on this keyboard, and so my idea is to use it like on old cell phone: If I press 1x 2 it writes A, 2x 2 - B, 4x 9 - Z, etc. ...
23
votes
2answers
680 views

What problems does udev actually solve?

For that matter, what exactly was wrong with a bunch of static files in /dev? It's apparently unsatisfactory enough for developers to have reinvented this wheel by my count 3 times now (devfs -> udev ...
0
votes
1answer
308 views

Disable device node using udev (/dev/sr0)

I am trying to disable udev from generating /dev/sr0 device (my cdrom) and Im trying to write udev rules. I added a file 10-cd-trial.rules in /etc/udev/rules.d and /lib/udev/rules.d, the contents ...
2
votes
2answers
866 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: ...
1
vote
0answers
239 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 ...
0
votes
0answers
29 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
112 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
1answer
33 views

better to mount storage using udev or fstab?

I could write rules to mount storage devices using fstab or udev. Obviously the syntax is different, and unless I'm mistaken, udev is more flexible and has access to far more information than fstab. ...
1
vote
1answer
48 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 ...
10
votes
6answers
17k 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
0answers
61 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
61 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 ...
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
47 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
3answers
110 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 ...
2
votes
1answer
81 views

How udev sends input device change notification to Xorg?

I want to troubleshoot why the graphic tables is active only if it is connected when Xorg is started (and stops working with spamming of Xorg.0.log if I reconnect it). As far as I know, udev-based ...
2
votes
1answer
2k views

systemd-udevd[381]: failed to execute '/lib/udev/socket:@/org/fre edesktop/hal/udev_event'

After upgrading to ubuntu 14.04 I see this in dmesg [ 1.538887] systemd-udevd[105]: starting version 204 [ 19.074098] systemd-udevd[310]: starting version 204 [ 19.271342] systemd-udevd[381]: ...
1
vote
0answers
85 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 ...
0
votes
1answer
205 views

How to configure network interface names booting from read only medium?

in a Ubuntu 12.04 system, we'd like to configure the names of the (physical) network interfaces (such as eth0, eth1, ...) using udev rules such as those generated in ...
0
votes
0answers
30 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 ...
1
vote
1answer
125 views

udev rules exclude device

is it possible to use udev rules to excluce a single device from the rule? for instance if I have 5 harddisk plugged in and I want to create custom names for all harddisk except for a single one? is ...
0
votes
0answers
92 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
1answer
1k 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 ...
1
vote
1answer
100 views

I don't have eth0 but eth1

How come I don't have eth0 but an eth1 instead? I restart service udev, like below, but my ether card is still eth1, not eth0 % service udev --full-restart * Stopping the hotplug events dispatcher ...
0
votes
1answer
99 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 > ...
3
votes
1answer
771 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
0answers
94 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
2answers
625 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 ...
0
votes
1answer
60 views

udev rule not working

I am trying to write a udev rule for USB drive plugin. I want to first mount it to /media and then run the script at /usr/local/bin/script.sh. When I insert the USB, it doesn't even mount the device ...
8
votes
5answers
6k views

udev rule to auto load keyboard layout when usb keyboard plugged in

im trying to load a new keyboard layout when I plug in a usb keyboard but my udev rule isnt working. SUBSYSTEM=="input", ATTR{idVendor}=="062a", ATTR{idProduct}=="0201", GOTO="usb_xmodmap_auto" ...
0
votes
1answer
168 views

How to treat an internal hard drive like an external one (to only mount on request)

I want to assemble a Linux machine with an SSD Drive for the root filesystem. Another, larger internal hard disk is also attached, but will only be used few times a week/month, for backups, storing ...
0
votes
1answer
66 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 ...
0
votes
1answer
215 views

udev 99-hide-disks.rules is no longer working

A while ago I created a /etc/udev/rules.d/99-hide-disks.rules file on Ubuntu which worked fine. At some point, the hidden disks started reappearing in Dolphin and other file managers. The file hasn't ...
0
votes
1answer
130 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) [ ...
3
votes
1answer
300 views

White list for USB flash using udev

I want to create something like "white list" for USB flash drives. I mean "deny everything that is not allowed". I know that I should use udev rules: Add to /etc/udev/rules.d/ a rule to deny every ...
0
votes
1answer
450 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
0answers
175 views

Mount/unmount as non root user keeping read/write permissions

As per title, how to mount/umount a removable media as non root user obtaining read/write permission on it? I've tried to write a udev rule but I was not able to get it work. I can either have ...
0
votes
1answer
68 views

What does these udev rules mean?

The following is taken from an embedded system which does not have hard drive in it. KERNEL=="sd?", SUBSYSTEMS=="usb", DRIVERS=="usb-storage", NAME="sda" KERNEL=="sd?2", SUBSYSTEMS=="usb", ...
1
vote
1answer
223 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
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
0answers
158 views

Xorg ignores input devices after udev restart

System: debian 7.1, amd64, Xorg 1.12.4, awesome window manager I have stopped udevd using /etc/init.d/udev stop then powered off the usb hub my input devices are connected to. I have since restarted ...
0
votes
0answers
142 views

Unable to start p910nd daemon properly in udev rules

I have a dot matrix printer connected to Raspberry Pi using USB Parallel cable. When I plug in the usb cable to Raspberry Pi, udevadm info show these: # udevadm info -a /sys/class/usbmisc/lp0 ...
1
vote
2answers
316 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 ...
0
votes
1answer
881 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 ...