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

learn more… | top users | synonyms

1
vote
1answer
320 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
58 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 ...
6
votes
1answer
995 views

Make the zoom slider of Microsoft Natural Ergonomic Keyboard 4000 and 7000 scroll up and down, in 14.04 (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
158 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
27 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
108 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
229 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
26 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
118 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
36 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
43 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
46 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
1k 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
292 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
256 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
81 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
158 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
112 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
292 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
329 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
38 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 ...
3
votes
1answer
1k 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
345 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
161 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 ...
64
votes
5answers
11k 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
246 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
120 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
561 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 ...
1
vote
0answers
214 views

udev rules for pendrive (/dev/sdb1) to change owner, group, permissions

Ubuntu 13.10 - Need udev rule to change owner/permissions for /dev/sdb1 (usb pendrive) when plugged into computer. All combinations tried so far under /etc/udev/rules.d/99-pendrive have failed to ...
0
votes
1answer
312 views

Multiseat in Ubuntu 13.10

I have a Ubuntu 13.10 Desktop machine with one Intel Integrated graphic card and one PCI graphic card.I want to implement Multiseat (2 seats) configuration with own set of keyboards, mice, and ...
1
vote
0answers
78 views

Alternative for removing ignore_device option in udev?

Recently, the option ignore_device has been removed from udev rules. What is the alternative to deny a device to mount or to connect to system in udev rules?
0
votes
1answer
186 views

Why does my udev rule run several times?

I want to when I plug an usb device to my laptop, a script will be run just one time. So I use the udev rules system in UBUNTU 12.04. I wrote the below udev rule: ACTION=="add", SUBSYSTEMS=="usb", ...
0
votes
0answers
304 views

How to write a udev rules file for /dev/sda

How to write a udev rules file to change permission of /dev/sda for permanent change of ownership to normal user (even after reboot).
0
votes
0answers
43 views

After converting KVM machine to native environment, system boot is slow

A coworker set up a Ubuntu 12.04 system that will eventually be used for booting without a disk via the network with KVM. Everything works as it should on native hardware, except a delay of 113-114 ...
0
votes
1answer
223 views

How to require mount with password of other internal hdd partitions for all mount-style applications (with udev)

I am trying to block access to other partitions with different file systems on the same physical hdd (layout: gpt) by preventing any partition mounting without requiring a password. FSTAB takes care ...
1
vote
0answers
250 views

Ubuntu Server 12.04: Boot hangs with error "udevd[538] inotify_add_watch(…) failed: invalid argument

I'm currently faced with the following situation: when rebooting a Ubuntu 12.04 LTS server after updating (it ran perfectly for a year or so, I updated it around two months ago and rebooted with no ...
1
vote
1answer
612 views

auto rip CD with morituri (or launch custom script on CD insert)

How can I automaticaly start ripping my CD when I insert a CD. There used to be a custom command option in the settings where you could run a custom command on CD insert. The I could use a bash script ...
2
votes
0answers
218 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, ...
0
votes
1answer
492 views

udev + xrandr to set display gamma when plugging in a display works briefly, but gets overridden

I'm using a script like this to set the gamma values of my laptop screen and external monitor: #!/bin/bash export DISPLAY=:0 export XAUTHORITY=/home/peat/.Xauthority xrandr --output LVDS1 --gamma ...
0
votes
0answers
179 views

Egistec ES603 fprin_demo Shows No Device found

On ubuntu 12.04 LTS amd64 I have used the following commands to get fprint_demo. sudo apt-get install libfprint0 fprint-demo libpam-fprint gksu-polkit wget ...
0
votes
0answers
323 views

Simulate USB reconnect to change device number

I have a PS3 controller strangely doesn't work if it's connected as /dev/bus/usb/006/002. If it gets assigned any other device number (like /dev/bus/usb/006/003) then it starts working (which can be ...
0
votes
0answers
217 views

PS3 controller only works after unplugging and plugging in again

I use xboxdrv for my PS3 controllers which I connect via USB. I start xboxdrv with the following command (using daemon because I don't have the controllers connected all the time): sudo ...
0
votes
0answers
51 views

Where is the udev error log located?

I'm trying to add some rules to udev. I've added usb_log="info" in /etc/udev/udev.conf, but I can't figure out where the messages end up. They used to be in syslog, didn't they? I just installed ...
1
vote
0answers
365 views

How to store LXC container's files in another folder

Well the answer seems to be given on https://help.ubuntu.com/13.04/serverguide/lxc.html#lxc-hostsetup page under Using a separate filesystem for the container store title but it doesn't work for me. ...
0
votes
0answers
101 views

Ubuntu 13.10 - how to apply kernel patch?

In Ubuntu how can i change this modifications safely? One manufacturer given me the PATCH to apply. "faulty USB2 cameras on USB3 Linux systems. patch" --- linux/drivers/usb/core/hub.c.orig ...
2
votes
1answer
952 views

udev rules seem ignored; can not prevent modem manager from grabbing device

I am trying to prevent modem manager from running when I plug my cell phone into a USB port. I have tried to add a custom rule with udev, but my custom rules seem ignored. I created a file ...
1
vote
1answer
461 views

Automatically disable mouse acceleration whenever mouse is plugged

I have a laptop and I often use a Logitech G5 mouse with it. I don't like acceleration while using the mouse. Thus I have to disable the acceleration every time I plug the mouse. Is there a way to ...
0
votes
1answer
178 views

Connect K8055n Experiment Board to Ubuntu

I purchased a K8055n Velleman Experimental Board and for some reason every program I run or if I try to access the board I get the following error: Could not open the k8055 (port:0) Please ensure ...
-1
votes
0answers
128 views

/var/log/boot.log incomplete

My core issue is that something is causing udev to spew thousands of messages during boot, slowing down boot by 10 minutes. My interrim issue however is that there are so many messages during boot ...
0
votes
1answer
5k 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 ...