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

learn more… | top users | synonyms

3
votes
1answer
441 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
418 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
940 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
5k 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
2k 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
430 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
2k 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
314 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
331 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
134 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
160 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
606 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 ...
24
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 ...
2
votes
1answer
680 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 ...
16
votes
1answer
9k 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
596 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
4k 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
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) ...
1
vote
0answers
526 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 ...
2
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
747 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
16k 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 ...
2
votes
3answers
2k views

Can udev be used (udev rules) to whitelist certain usb devices?

Can udev be used (udev rules) to whitelist certain usb devices? What I mean is that only devices in a list I create (containing device IDs that I can obtain with lsusb) will be passed on / processed ...
13
votes
3answers
10k 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 ...
4
votes
0answers
940 views

Run script AFTER automounting usb hdd (udev, mount --bind) [duplicate]

Possible Duplicate: How to run a script when a distinct flash-drive is mounted? When plugging-in my USB HDD, it is mounted automatically, as expected. After that event, I'd like to ...
3
votes
1answer
3k views

Assign fixed path to printer (/dev/usb/lp0)

I have two USB printers. They are assigned a path depending on the order of turning them on. The first one is /deb/usb/lp0 and the second one /deb/usb/lp1. However, I sometimes echo to these printers ...
5
votes
1answer
5k views

How does automated hotplug mounting work?

I was reading a bit about gnome-mount, HAL, udev, etc. It left me with a couple of faint ideas how mounting a hotplug device might work in the latest Ubuntu release. Could someone give a detailed ...
4
votes
1answer
2k views

USB device changes using udev and D-Bus

I am trying to get a list of currently plugged in USB devices in Ubuntu 10.10 and monitor changes that happen, like devices being plugged in or out using udev and D-Bus. I'm fairly new to ...
4
votes
3answers
1k views

Rebuild /dev accidentally deleted

How to rebuild /dev on an ubuntu lucid where all files in /dev were accidentally deleted ? MAKEDEV std and MAKEDEV pty aren't enough, which isn't surprising on a system under udev. I haven't reboot ...
7
votes
1answer
13k views

How do I set executable permissions on a removable drive?

I'm using Ubuntu 10.10 and using a usb drive but I'm finding that I can't chmod any programs on the drive to +x. It is being auto-mounted by Gnome (using udev, I think?) so I imagine the problem is a ...
7
votes
3answers
8k views

Configure udev to change permissions on USB HID device?

I have a USB scale, a USB HID. Currently, when it is plugged in, the permissions only allow the superuser to access it. How can I configure udev to let anybody access this device? I have the vendor ...