The kernel's device manager, responsible for the contents of /dev.

learn more… | top users | synonyms

0
votes
0answers
12 views

How can I remap the keys/keycodes of a usb foot switch on SystemD?

I was using the old udev rules to remap my usb foot switch key(the default is the keycode 36 -b :S) to Alt_L. Previosly I created a udev rule and a xmodmap file. But i'm trying the systemd now, and ...
0
votes
1answer
20 views

How to make my udev rule work

My USB device keeps changing its number in its name /dev/ttyUSB?. I have seen this and this, and tried to do the same with no luck. gauthier@sobel:/etc/udev/rules.d $ udevadm info -a -p $(udevadm ...
0
votes
0answers
29 views

How can I run code whenever a USB device is (un)plugged, without requiring root permissions?

I have a script that I wish to run whenever I plug/unplug a mouse or keyboard to my USB port. There is already plenty of documentation on how to configure udev rules to run arbitrary scripts when a ...
0
votes
1answer
52 views

Udev error while upgrading

I update and upgrade my ubuntu 14.04 server. Update is successfull but i get this error while upgrading : apt-get upgrade Reading package lists... Done Building dependency tree Reading state ...
1
vote
2answers
37 views

Explanation of 70-persistent-net.rules script

I am a newbie in scripting language.I will like to understand a script that was written by someone else.Kindly explain to me what this line of script does: IF=`cat ...
2
votes
1answer
23 views

Linux - keyboard with phone-like typing

I have a USB keyboard extension with just number-keys: I need to write chars (A to Z) on this keyboard. My idea is write the way you can on some phone keypads, where each number is mapped to ...
1
vote
0answers
24 views

What is the Purpose of /etc/init/udev-fallback-graphics.conf in Ubuntu 14.04?

What is the purpose of the upstart configuration /etc/init/udev-fallback-graphics.conf (shown below) in Ubuntu 14.04 LTS? # fallback-graphics - take actions to initiate fallback graphics # # if we ...
0
votes
0answers
15 views

Error reported @ startup on 14.04

I keep getting this error message at start up: system.udevd: 'failed to execute' '/dev/udev.mode-modeswitch/' '/dev/udev.mode-modeswitch/' vendor 0x12d1 --product 0x1446 --type option-zerocd':no such ...
0
votes
0answers
29 views

How to block a virtual part of a USB device with udev?

I've got Microsoft Sculpt Ergonomic Desktop (keyboard+mouse). It's a nice set but it creates problems for me as one of its parts in the system is a virtual joystick js0. I've got an advice to use ...
0
votes
0answers
9 views

udevadm doesn't print in terminal

So I'm using Ubuntu 14.04 and I'm trying to create some udev rules as I have 8 identical USB RFID readers Firstly I wanted to check what logical ttyUSBx devices existed (where x is 0, 1, 2...) with ...
2
votes
0answers
50 views

How to distinguish between identical USB's

I have this system where I have 8 USB RFID readers which I would like to distinguish from one another. Here's a snippet from lsusb Bus 002 Device 011: ID 05fe:1010 Chic Technology Corp. Optical ...
1
vote
0answers
109 views
+200

my custom udev hwdb rule doesn't work

I'm using ubuntu 14.04 installed in EFI Mode, i tried to write simple udev rule which for all external USB keyboards will map capslock for escape. I use a lot of vim and plug and unplug keyboards ...
0
votes
0answers
34 views

Usb3.0 udev events lag in 14.04

I have an application running on ubuntu 14.04(on an intel nuc) which responds to udev events. I have found using udeavadm monitor that there are lengthy lags in the events being sent. For instance if ...
2
votes
2answers
63 views

How to disable automount of an harddrive?

I am working on a project, and for this I need to disable the aumounting of hard-drives in Ubuntu both at startup and when I plug an hard-drive. I tried one solution with "edit-conf" disabling ...
1
vote
0answers
43 views

How to mount USB drive as user writable

I want to mount my USB hard drive as myself, or in my group, whatever it takes to be able to move stuff onto the disk without sudo. I have tried setting up a rule in ...
0
votes
1answer
34 views

missing sbin/hotplug in Ubuntu

Im using Ubuntu and I cannot find /sbin/hotplug. Did anything replace it? How does it handle hotplugging? I read that kernel calls it for notifying user space when an hotplug event happens. I also ...
0
votes
1answer
32 views

Execute script on insertion of sdcard

Since I want some union mounts to be created, once a sd card is found in my system, I wrote the following udev my.rules: ACTION=="add", KERNEL=="mmcblk0", SUBSYSTEM=="block", \ RUN+="touch ...
-1
votes
1answer
78 views

How create symbolik link /dev/usb/lp* and permission change to raw print? Xubuntu 14.04

i want use a symbolic link from usb printers but i can't write to this device: $ ls -l /dev/usb/lp* crw-rw---- 1 root lp 180, 0 jun 25 14:17 /dev/usb/lp0 crw-rw---- 1 root lp 180, 1 jun 25 14:17 ...
0
votes
0answers
64 views

Disable all USB Storage devices and enable some devices based on Vendorid

I tried by adding below udev rule ACTION=="add", SUBSYSTEMS=="usb", RUN+="/bin/sh -c 'for host in /sys/bus/usb/devices/usb*; do echo 0 > $host/authorized_default; done'" ACTION=="add", ...
0
votes
0answers
37 views

Interface not starting on boot

I have Ubuntu server 10.0.4 and ASUS-N53 wireless USB adapter I needed to compile source files to get the driver to work and the logical name I got for that interface was ra0 The ...
1
vote
0answers
42 views

Get keyboard scancodes in Ubuntu 13.10

I'm trying to find out the scancodes for a set of foot pedals so that I can rebind them to more useful keys. In older versions of Ubuntu I was able to do this using /lib/udev/keymap as discussed here, ...
0
votes
0answers
149 views

Preventing pop-up dialogs when connecting an MTP device

I'm using Lubuntu 14.04 with a Samsung Galaxy S3 running Android 4.3. Each time I connect my phone via USB, I get the following dialog: Unable to open MTP device '[usb:002,023]' A few moments later, ...
1
vote
1answer
152 views

Gamepad detected by lsusb but not by PCSX or jstest-gtk in Ubuntu 14.04

I had been using a PS3 gamepad on PCSX for a while on Ubuntu 14.04, but realized it stopped working today. The controller is detected by lsusb on Terminal, but it does not appear in PCSX or ...
0
votes
0answers
25 views

udev .rules file run as local per user?

I have my code that will run every time udev detects new usb. My code works fine when I run it as a local user. But It fails when I use udev.rules file because it runs my script as root. How can I ...
4
votes
1answer
366 views

Where has /lib/udev/keymap gone? How do I adjust keymaps in Trusty?

I tried to use this tutorial to make scroll switch work on my Microsoft Natural Ergonomic Keyboard 4000. But I face following error: sudo: /lib/udev/keymap: command not found I have udev version ...
1
vote
0answers
93 views

3 Modems HUAWEI E220 - Finding diferent data to make permanent USB Ports

I Have 3 Modems Huawei E220 USB connected on the same hub in the back USB Motherboard Ports. After they are connected they work very well - no conflicts. When I restart the system, all USB ports ...
0
votes
0answers
26 views

Creating/removing a symbolic link when a USB device is connected/disconnected [duplicate]

I'm working with an Arduino board and Matlab under Linux. Matlab, unfortunately, doesn't recognize the Arduino board when is connected unless I create a symbolic link to the Arduino board in /dev by: ...
0
votes
0answers
36 views

How to force device node for usb device on Ubuntu

I want a particular usb device assigned to a given node usb on ubuntu 12.10. lssub shows Bus 002 Device 003: ID 19d2:0031 ZTE WCDMA Technologies MSM MF110/MF627/MF636 Now ZTE WCDMA Technologies ...
1
vote
0answers
80 views

Trying to create UDEV rule to mount removable drive exfat partition

So I am trying to create a udev rule to automatically mount a drives exfat partition to /media/offsite. My goal is to automatically mount a drive to /media/offsite and then kick off a .sh script to ...
1
vote
0answers
24 views

Multiple udev rules in single file [duplicate]

I have a Java program that works with peripheral devices via USB serial connection. I decided to use udev rules to avoid port swapping when reloading the operating system. I do a following test: ...
1
vote
0answers
65 views

udev is creating wrong disk id symlinks

I have lots of HDD's on my system, all but one are on USB. Here's my output from ls -la /dev/disk/by-id/: ata-INTEL_SSDSC2CW060A3_CVCV2041010Y060AGN -> ../../sdc ...
1
vote
1answer
30 views

Failure during boot with service failures (slowing down PC)

While Ubuntu is starting and showing it's boot screen an error occurs for several times saying: failed to execute 'lib/udev/socket:4/org/freedesktop/hal/udev_event' ...
0
votes
0answers
27 views

Replacement for org.freedesktop.Hal?

several times ago I wrote a small python script, which used D-BUS and listens for HAL messages do to some magic in my desktop session after a specific usb device was plugged on/off. after switching to ...
1
vote
0answers
42 views

Change automatically keyboard layout

I use custom keyboard layout. I have this script for setting it: #!/bin/bash setxkbmap -verbose us -variant altgr-intl xmodmap -verbose ~/.myxmodmap The problem is, that plugging the keyboard will ...
0
votes
0answers
454 views

Sorry, could not display all the contents of “Storage”: libmtp error: could not get object handles

everyone! I use Ubuntu 14.04 64bit with Gnome Shell. I try connect my Windows Phone 7.8 Nokia Lumia 710. But I can not access to files. When I try open Storage on RM803,Nokia Lumia 710 by Files app, ...
1
vote
2answers
190 views

3m ergo mouse wheel scrolling 14.04

I hope someone can help with this. Previously in Ubuntu 12 I was able to follow these instructions to get my mouse wheel to work. In 14.04, the hal-* functions no longer work and I cannot seem to find ...
0
votes
0answers
140 views

ubuntu upgrade rescue meet the udev problem, help

Thank adevance, please help me out! I upgrade from 13.10 to 14.04, but there is problems occured, so I rescued through KNOPPIX livecd. Just now the problem is: when i tried in chroot enviroment : ...
1
vote
0answers
52 views

Keyboard is not configured properly

I have a problem with my USB keyboard not being correctly configured in Ubuntu 14.10. lsusb shows the device as Bus 005 Device 010: ID 0db5:0119 dmesg | tail gives the following: [ 726.852025] usb ...
2
votes
0answers
92 views

Assigning ehci-pci to an Epson V33 scanner instead of xhci_hcd

I have recently installed Xubuntu 14.04 on two computers. Computer A is a DELL Aptitude E5430 laptop, whereas Computer B is a home-mounted desktop, with an ASUS H87-Plus motherboard. I have been ...
0
votes
1answer
60 views

Run “sudo service udev reload” without root priviledges

I have a script that occasionally needs to run the command "service udev reload" but cannot as it needs root access. I don't want to stay logged in as root all the time, so I'm wondering if there is a ...
0
votes
1answer
67 views

udev rule not working

I cannot figure out why this rule wont fire: ACTION=="add", KERNEL=="sdb", SUBSYSTEMS=="scsi", ATTRS{model}=="Elements 1048*", RUN+="/usr/bin/mysync.sh" here is the additional info looking at ...
3
votes
2answers
116 views

Udev - How to change device group?

By default, all hard drive and usb drive devices belong to group "disk". I want to change usb drives to group "adm". I verified the ID_BUS $ udevadm info -q all -n /dev/sdb | grep ID_BUS E: ...
0
votes
1answer
33 views

Ubuntu Server: Boot Messages on terminal 7 (video) Why?

I use only text terminals in ubuntu server. Especially at boot time :) I've turned off plymouth splash screen and I get boot messages on terminal 1. But after couple of messages, active terminal is ...
2
votes
0answers
481 views

Why do my udev rules run if I use udevadm trigger, but NOT at boot time?

I'm having trouble with udev rules not running. Here's an example: I have a rule /etc/udev/rules.d/99-test.rules which contains: ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x8086", ...
6
votes
1answer
299 views

How to run a script when password is entered at the lock screen?

To toggle the enabling/disabling of my notebook's touchpad according to connected USB mouse, I used touchpad-indicator, which runs a daemon to monitor connected devices and take appropriate action. ...
0
votes
1answer
89 views

ID_FS_LABEL in udev

What is ID_FS_LABEL in udev? Also why doesn't it show up when I execute this command : sudo udevadm info --root --name=/dev/sdb The output that I get for the above command : vineet@vineet:~$ sudo ...
63
votes
5answers
9k views

I can read from /dev/null; how to fix it?

I read the Wikipedia article on /dev/null and was playing around by moving files to /dev/null. For this I created a test_file and put some contents in it: $ touch test_file $ echo "This is written ...
0
votes
0answers
133 views

What is the difference between /dev/tty* and /dev/bus/usb/001/002?

When I plug in a device that uses the LUFA USB framework (or any USB<->serial peripheral), Ubuntu creates a /dev/ttyACM* device file. It also creates a /dev/bus/usb/001/002 file and a ...
2
votes
1answer
92 views

Usb udev rule never worked for me

I try to have a USB device recognized as being part of my user group. So I don't have to issue a sudo during development time when I debug my program which access those devices. Especially painful ...
1
vote
1answer
251 views

Identify udev subsystems and devtypes

I have to write a python script to monitor for usb mass storage devices. To successfully filter the required media it must be identified by its subsystem and DEVTYPE. Does anyone know the required ...