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

learn more… | top users | synonyms

1
vote
2answers
19 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
0answers
16 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
17 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
21 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
10 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
1answer
3k 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
0answers
23 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
59 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
7 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
42 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
30 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 ...
-1
votes
0answers
49 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 ...
2
votes
2answers
57 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
30 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
0answers
32 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
129 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
49 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
30 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
156 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
36 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
133 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, ...
4
votes
1answer
312 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
24 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
86 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
30 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
65 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
74 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 ...
25
votes
9answers
37k 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
62 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 ...
3
votes
1answer
4k views

How do I make udev rules work?

I would like to learn udev rules. Here is what I do: victor@X301A1:~$ ls /etc/udev/rules.d/ 70-persistent-cd.rules 70-persistent-net.rules README Then: victor@X301A1:~$ sudo gedit ...
1
vote
1answer
27 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' ...
6
votes
6answers
2k views

How can I tell linux kernel to completely ignore a disk as if it was not even connected?

Notice Please scroll down for the answer (it has 0 points but it is the correct one). The problem is solved by a patch that will be in kernel 3.12.7 and up; I hope it will back-ported to earlier ...
2
votes
3answers
3k views

udev Run commands not running

I'm trying to create a udev rule to unlock my computer when I connect my phone by USB. I could not find that that rule was being ran and so I tried a much simpler rule. This is the rule (anonymized) ...
0
votes
0answers
25 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
41 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
322 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
169 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 ...
5
votes
2answers
754 views

Can I prevent an IDENTIFY PACKET DEVICE command to a specific device at boot?

This is related to a previous question related to installation that is now resolved. I'm opening a new question, because I still need to get my DVD drive working. Problem: Failed boot when my ASUS ...
0
votes
0answers
123 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
41 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 ...
5
votes
3answers
9k views

How to get Bus and Device relationship for a /dev/ttyUSB

I need to write an script for restart USB dongles. I have all tools but I can't link my /dev/ttyUSBx to physical BUS and DEVICE. An issue is that I have three dongles with the same id vendor and id ...
2
votes
0answers
81 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
58 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
48 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 ...
15
votes
3answers
2k views

How are key codes mapped to the appropriate action?

After figuring out how to change the mapping of scan codes to key codes using udev, see this question, I was wondering how those key codes (or events if you will) are mapped to the appropriate action. ...
3
votes
2answers
102 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
32 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 ...