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

learn more… | top users | synonyms

3
votes
0answers
89 views

USB sticks not accessible & system hangs at shut-down: related to udev?

Please notice the update at the end of the post. I installed Lubuntu 14.04.1 on an older Acer Travelmate 4500 using the forcepae option and adjusting upowerd.py according to ...
0
votes
1answer
10 views

Swapping Caps Lock and Ctrl via udev

I want to swap Caps Lock and Ctrl. My solution so far is to edit /etc/default/keyboard and setting XKBOPTIONS="ctrl:nocaps" There are problems with this solution. First it doesn't work with virtual ...
6
votes
3answers
2k views

Rebuild accidentally deleted /dev

How to rebuild /dev/ on an Ubuntu lucid where everything in /dev/ were accidentally deleted? MAKEDEV std and MAKEDEV pty aren't enough, which isn't surprising on a system using udev. I haven't ...
0
votes
0answers
62 views

mounting galaxy s4 ubuntu 14.04

I know this has topic has been touched on a lot, and I have tried just about anything I have read and still have no solution. Be aware, still relatively a noob with linux. The problem is as simple as ...
2
votes
1answer
278 views

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 ...
1
vote
0answers
11 views

Unknown Floppy Drive detected

After a reboot, Ubuntu (and Windows) detect an external floppy drive that isn't even there!It's not a big problem to find a new floppy drive that I can't access, but it really looks strange in the ...
1
vote
1answer
70 views

chroot: Ubuntu 14.04 - udev upgrade Problems!

im running Ubuntu 14.04 (x86) on a OpenELEC (x64) host system. Everything worked great until a few days ago when it tried to upgrade the "udev" package after running apt-get upgrade. apt-get upgrade ...
0
votes
1answer
36 views

How to detect touchscreen devices from a script?

I'm looking for a reliable way to detect if a laptop has a touchscreen device from a script. I know I can parse the output of: $ xinput --list ⎡ Virtual core pointer id=2 ...
-1
votes
0answers
53 views

how ubuntu handles sd card remove from usb card reader

I am looking for some technical information. I have USB SD card reader connected to Ubuntu machine. when i connect sd card to USB card reader, "add" event is triggered and i can see sd card is ...
0
votes
0answers
13 views

After upgrading to Trusty my keymap file isn't working for my tivo_slide remote

I tried creating this file: ‍/etc/udev/hwdb.d/61-keyboard-local.hwdb It looks like this: lee@tv:/etc/udev/hwdb.d$ cat /etc/udev/hwdb.d/61-keyboard-local.hwdb keyboard:usb:v150ap1201* ...
0
votes
0answers
19 views

Cant change name of internal webcam via udev rules Ubuntu 14.04

I need to change device name of internal camera Rule: ACTION=="add", SUBSYSTEM=="video4linux", ATTR{name}=="UVC Camera (046d:0825)", NAME="video2", SYMLINK="usb/video", RUN+="/usr/bin/forudev" I ...
1
vote
0answers
71 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 ...
1
vote
1answer
49 views

How do disable the CD-ROM for all users?

I want to disable CDROM/CDRW/DVDROM/DVDRW for everyone in Ubuntu 14.04.1 desktop 64-bit edition. I have tried following but not worked: Removed user from /etc/group, as following: cdrom:x:24: as ...
0
votes
1answer
56 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
4k views

Huawei e173s 3G USB dongle won't switch into modem mode

Output of lsusb | grep Huawei is Bus 003 Device 003: ID 12d1:1c0b Huawei Technologies Co., Ltd. E173s 3G broadband stick (modem off) I've checked if usb_modeswitch is set up properly as per ...
0
votes
1answer
156 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 ...
0
votes
1answer
37 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 ...
13
votes
4answers
11k views

What is the best way to configure a Thinkpad's TrackPoint?

The previously useful ThinkWiki pages appear quite outdated. I am trying to permanently change my TrackPoint sensitivity and speed settings and enable middle mouse button scrolling. I have tried ...
1
vote
0answers
41 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 ...
2
votes
1answer
25 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 ...
16
votes
6answers
30k views

How to make keyboard backlight Fn buttons work in Samsung Series 9?

I've just installed Ubuntu 12.10 on my Samsung 900X4C. However, I can't get the keyboard backlights to work. I added the keymaps as per community docs - Samsung Series 9 (section Function Keys). But ...
1
vote
0answers
90 views

Problem with cryptdisks-udev service

I am getting an error when I run 'puppet resource services' that complains about the cryptdisks-udev service. The exact error message is as follows: status: Unknown parameter: DEVNAME The error ...
1
vote
2answers
115 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 ...
1
vote
0answers
58 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
1answer
53 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
0answers
35 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
33 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 ...
-1
votes
1answer
126 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
12 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
61 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 ...
0
votes
0answers
43 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
81 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 ...
0
votes
1answer
40 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 ...
5
votes
2answers
4k views

Ubuntu won't save my settings for thinkpad trackpoint

I'm using Ubuntu 12.04 on a Thinkpad X200. To configure the trackpoint, I use "configure TrackPoint". Unfortunately I can't make Ubuntu saving my settings (concerning the sensitivity etc.). Whenever I ...
1
vote
1answer
199 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
120 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
60 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 ...
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: ...
2
votes
0answers
170 views

LVM logical volumes do not activate on boot on 13.10

I am running an UbuntuGNOME 13.10 and I set it up without an LVM during the installation process. I am now running it with to encrypted partitions, one is containing a LVM. This all works fine, ...
1
vote
0answers
63 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
192 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, ...
5
votes
1answer
549 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 ...
0
votes
0answers
36 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 ...
1
vote
0answers
117 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 ...
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: ...
0
votes
0answers
49 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 ...
0
votes
1answer
74 views

How to run a script when I connect a device?

new Linux user here (Ubuntu 12.04)... I've been looking on google and found some scripts that would make what I'm about to ask easier but what I would like to do is write a script that automatically ...
1
vote
0answers
104 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 ...
26
votes
9answers
41k views

What is the correct way to restart udev?

I've changed the name of my eth1 interface to eth0. How to ask udev now to re-read the config? service udev restart and udevadm control --reload-rules don't help. So is there any valid way ...
1
vote
0answers
76 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 ...