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

learn more… | top users | synonyms

2
votes
1answer
2k views

NTFS partitions mount as root instead of user as set in /etc/fstab

I recently upgraded a server to Ubuntu 12.04 with a fresh install and my NTFS partitions won't mount as user at boot but I can mount them as user manually from the console with $ sudo mount -a. Using ...
3
votes
1answer
534 views

Can I hide a partition in Nautilus for a specific user/group?

I'm trying to hide a partition form a specific group of users in Ubuntu 12.04. I have created a new rule in /etc/udev/rules.d/99-hide-disk.rules with KERNEL="sda3",ENV{UDISKS_PRESENTATION_HIDE}="1" ...
0
votes
1answer
489 views

how to set owner and permission to a cryptsetup made device?

I have an encrypted loopback volume. I need to mount and umount the volume manually, so I use cryptsetup luksOpen and cryptsetup luksClose . However, under all sessions (gnome/xfce/kde/unity), when I ...
0
votes
1answer
3k views

What does udevd process do during the boot time?

Ubuntu 11.04 boot time is 80 seconds 67 of which belong to the udevd process. Here's what dmesg shows: [ 6.534288] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null) [ ...
0
votes
2answers
248 views

How USB drives goes after system hard drives

I am using 12.04. My hard drives usually comes as: sda, with sudo blkid and if I plug-in any USB drive, they comes as: sdb, sdc etc; after sda. That's fine. But problem arises after I restart my ...
10
votes
2answers
1k views

What happens under the hood when an USB drive is inserted?

Some systems use udev / pmount to automatically mount thumbdrives. How is that solved in Ubuntu (specifically, Ubuntu 12.04)? Apparently, neither the pmount package nor the corresponding udev rules ...
2
votes
2answers
3k views

How do I get Ubuntu Server to recognize and automount a hotplugged SATA drive?

AHCI is on and I can manually mount but as this device is destined to be a headless device used by people with no clue about the terminal so I need something as idiotproof as possible. I expect I ...
4
votes
1answer
2k views

Udev webcam rule read, but not respected?

I have two usb-webcams on them machine, but at boot they sometimes switch /dev/video number. The solution to this problem seems to be creating a new udev rule. I have added this rule ...
2
votes
2answers
845 views

automount USB drive in VirtualBox via udev in ubuntu 12.04

How do you automount usb drives directly to VirtualBox in ubuntu 12.04
3
votes
1answer
2k views

udev rule group ownership not working

I have added a udev rule for my Arduino, but the symlink gets the ownership "root root" instead of "root dialout". $ cat /etc/udev/rules.d/47-Arduino.rules SUBSYSTEM=="usb", ATTR{idVendor}=="2341", ...
7
votes
3answers
10k 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 ...
3
votes
1answer
918 views

automatically starting crashplan backup when a usb harddisc is connected

Using CrashPlan I've configured two backup sets: online backup in crashplan's cloud (this is running perfectly) a local backup on a usb harddisc directly connected to the local laptop. The USB ...
1
vote
2answers
1k views

udev not updating usb permissions and group

I am using ubuntu 10.04 LTS - Locid Lynx. I have a requirement to set specific group and permissions for any usb stick file/directories on mount. I have tried overwriting the udev rules. Here is what ...
0
votes
1answer
3k views

What are these “unknown key 'BUS'” errors during boot?

I'm trying to optimize the boot process on my Ubuntu 12.04 laptop, and while analyzing the /var/log/boot.log file I found many unknown key 'BUS'.... How can I get rid of them? Here's the relevant ...
1
vote
1answer
388 views

Auto-run script when iPad plugged in

The way that Ubuntu handles documents on the iPad is awesome (without any configuration required). It beats windows, even with iTunes installed. I want to have the documents in certain iPad apps ...
4
votes
1answer
4k views

How do I configure libfitbit?

To use Ubuntu to upload FitBit data you need libfitbit which is available as ppa now. However I couldn't find configuration instructions. I also wonder if cuttlefish could help to get the same ...
3
votes
1answer
465 views

virutalbox always get back the same ip

I exported a virtual machine from my work station, and I am trying to renew the ip-address at home. I put one copy on my laptop and one copy on my PC. I've done this sudo rm ...
3
votes
1answer
451 views

dpkg with no shell

How to run dpkg without shell? Here is my problem: I made and autorun.sh script in my USB key. To run this script, I created rules in /etc/udev/rules/49-usb-rules: SUBSYSTEM=="block", ...
1
vote
2answers
1k views

Disable mount for internal HDDs

I'm fairly new to Ubuntu (I'm using 12.04) and I am looking for a way to make it so that when I boot from my USB stick the internal HDDs of the computer I'm using dont mount. I would also like to know ...
4
votes
2answers
6k views

How can I create a new socket in /dev?

I want to create a new socket file in /dev. Does the way to get it is adding a new rule to udev?
4
votes
1answer
3k views

Problem with executing udev rules for olimex's avr-usb-jtag

I'm using Ubuntu 12.04 for programming purposes and recently decided to bring my previous atmel's micro-controller projects from Win to Linux. Namely AVR. I installed the tool chain all right. It ...
1
vote
1answer
3k views

How to make file permissions for ttyS0 stick after reboot?

Every time I restart the computer I have to sudo chmod a+rw /dev/ttyS0 to run any program that uses serial communication.
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 ...
9
votes
2answers
6k views

How can I properly create /dev/dvd?

Certain programs look for /dev/dvd by default to find DVDs. When I first boot my computer without a DVD inserted, /dev/dvd exists and points to the correct place (/dev/sr0). However, when I insert a ...
0
votes
1answer
442 views

Can't install on an Asus EEE PC 900 due to udev timeout error

I have an ASUS EEE PC 900. I am trying to install using a bootable USB drive. I have tried installing Ubuntu 11.10 and 10.04 as well as Lubuntu 11.10. Every time a get a repeating message to the ...
5
votes
1answer
1k views

How do I hide / remove a partition from the Nautilus left panel?

I have a luks setup with encrypted partition. And I don't want everyone on my computer to see that I have such partition. Unfortunately it shows up in the nautilus "devices" panel as "Encrypted ...
0
votes
1answer
1k views

udev creates device file for USB key, but not for partitions

Most USB keys work on my system: plug one in and udev will create a device file for the key as a whole (e.g. /dev/uba), as well as a device file for the partition (e.g. /dev/uba1). I have a specific ...
4
votes
3answers
3k views

Start script when connecting phone through usb

Trying to run a script when my phone is plugged in via USB, a made a udev rule looks like this in /etc/udev/rules.d/85-lazydroid.rule ATTRS{idVendor}=="22b8", ATTRS{idProduct}=="428c", ...
3
votes
0answers
322 views

Define a Policykit action for Upstart

I'm trying to get some user to start, stop and reload services by using the udev Upstart interface. I'm using Ubuntu 10.04. I created the file ...
0
votes
1answer
339 views

Freshly installed system boots slow - unable to understand kernel messages [closed]

When my Ubuntu 10.04 PC stopped booting from one day to the next, I assumed that it is a boot loader problem. I managed to boot from a 11.10 live cd and installed a fresh 11.10 next to the old ...
0
votes
0answers
336 views

Stuck on a blank screen with a flashing cursor and a udevd error [duplicate]

Possible Duplicate: [My computer boots to a black screen, what options do I have to fix it?] (My computer boots to a black screen, what options do I have to fix it?) I have Ubuntu 11.10 ...
2
votes
0answers
136 views

How to manually power-on the webcam?

I have a Clevo laptop with a built in webcam, on the keyboard there's a helpful Fn+F10 hotkey that seems to power the device on and off. I'd like to have some control over the webcam without needing ...
4
votes
0answers
161 views

How can I link some device (given by its device ID) with an specific firmware? [closed]

Imagine I have a new device which it's not working on Linux. I get its device ID with lsusb: Bus 001 Device 003: ID1164:7efdYUAN High-Tech Development Co., Ltd Imagine I know that this device will ...
1
vote
0answers
634 views

NTFS exec mount rights [closed]

I have a problem: To let binaries run right from my NTFS flashdrive, I have to umount it and then manually mount (namely, $ mount -t auto /dev/sdb1 /media/Flash works well). I don't want to hardcode ...
1
vote
1answer
3k views

/dev/sdb2: No such file or directory

I was trying to add a swap partition in my secondary drive, I created the partition space with fdisk and when running mkswap I was greeted with an error: $ sudo mkswap -c /dev/sdb2 /dev/sdb2: No such ...
27
votes
10answers
43k 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 ...
2
votes
1answer
762 views

How can I use HAL in recent versions of Ubuntu?

I've found that HAL seems to be the only way to generate events when a CD/DVD/Blu-ray is inserted (if you know of a better way, please reply to this question), so I'm trying to get HAL running on my ...
3
votes
0answers
1k views

Do something when CD/DVD/Blu-Ray inserted [closed]

I have a headless 10.04 server with a BD drive. I'd like to be able to insert a blu-ray or dvd into the drive and have the server immediately begin ripping it with makeMKV/Handbrake. Basically, I need ...
17
votes
1answer
10k views

How do I change the keymap of a single device (Logitech presenter)?

My Logitech R400 presenter sends the following key codes: keycode 112 (keysym 0xff55, Prior) [page up] keycode 117 (keysym 0xff56, Next) [page down] keycode 60 (keysym 0x2e, period) keycode 71 ...
0
votes
1answer
644 views

How to fix udev and upower problem

When I'm charging my my notebook (Sony Vaio E series) and after I've removed the AC adapter since the charge is complete, the battery always shown that "fully charged" so I have write a script to ...
2
votes
1answer
5k views

udev not running remove events

I have two rules one for when a device, my phone, is connected and one for when it is disconnected. The rule for add runs the remove rule does not. Here is my udev rule. I simplified but the remove ...
2
votes
3answers
4k 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) ...
1
vote
0answers
542 views

Why is configuring synaptics udev rules so hard? [closed]

I am trying to configure my Synaptics driver with a few udev rules regarding the behavior of the TapButton options, and has so far been unsuccessful in doing so. No matter what I type in my .rules ...
6
votes
1answer
1k views

How do I make noatime mounts default?

I'm making an Ubuntu derivative, and I want to make noatime the default mount option for all filesystems (instead of relatime which is default in Ubuntu). There seems to be a boolean default_relatime ...
9
votes
4answers
12k views

Auto-switch audio to HDMI when HDMI monitor/receiver plugged into laptop

I have a laptop with an HDMI port. While we're homeless and staying with friends I've been plugging it into their surround sound receiver with an HDMI cable. To get sound working I have to open up the ...
1
vote
1answer
8k views

Fail to plug Samsung Galaxy S2 to Ubuntu 11.04 using USB (with or without debug mode) [closed]

The scenario was working few days ago. I was able to plug my Galaxy S2 to my laptop mount it under Linux Mint 11.04 (Ubuntu), I mean it was fully detected and working. Now, the android device detect ...
3
votes
2answers
1k views

Third mouse-button emulation

Up until version 11.04 of ubuntu I could simply add an option to my X InputClass to emulate a third mouse button for my HP TrackPoint like this: Section "InputClass" Identifier "Trackpoint" ...
1
vote
2answers
769 views

The Fn keys on my HP dv6t are mapped all wrong

I've tried going through the keyboard fixing process documented with that udev README file (as described here), but I get confused pretty much right off the bat. I'm using that "/lib/udev/keymap" tool ...
6
votes
3answers
19k views

How to distinguish between identical USB-to-serial adapters?

I use a number of identical USB-to-serial adapters with my laptop (Ubuntu 9.10). The adapters are manufactured by Sabrent and are built around a Prolific PL2303 IC, as shown by lsusb: Bus 001 Device ...
3
votes
1answer
2k views

How do you change udev rules without restarting (e.g. to change eth1 to eth0)?

TLDR; How do you apply changes to /etc/udev/rules.d/70-persistent-net.rules without restarting? (See this documentation about ethernet interface logical names.) Long version: I have a bootable USB ...