udev Questions

5

Solved

I have a USB GPIO device with some 3rd party drivers that I want to interface with in a container. Compiles, works fine on host. Also compiles, works fine in the container if I pass --device=/dev/b...
Countrywoman asked 19/12, 2018 at 14:58

2

Solved

I want to check the presence of an SD card, and receive notifications for SD card add/remove. So far I have used libudev, and I've made a small application which listens for SD card events. The c...
Colour asked 11/6, 2012 at 11:22

6

Solved

Using udev I have been able to get this information for a certain USB device: idVendor: 13b1 idProduct: 0018 manufacturer: product: USB 2.0 Network Adapter ver.2 serial: 00FFFF Now I want to g...
Twibill asked 19/7, 2010 at 9:23

4

Solved

I am writing an app autodetect devices is plugged/unplugged. I used C++ with the Qt framework. libudev.h was included on my code. and I actually installed libudev-dev package successful via sudo a...
Echinus asked 2/5, 2019 at 2:39

4

Is there a Bash script and/or daemon that I can write that will detect a specific USB drive and then sync that drive with a directory?
Tetherball asked 15/11, 2010 at 22:15

6

Solved

I have a script that runs from udev when I plug in my external drive. It always worked. But after upgrading from Linux 3.8/Xorg 1.12/Mint 14 (Ubuntu 12.10 compatible) to Linux 3.11/Xorg 1.14/Mint 1...
Address asked 5/12, 2013 at 8:31

2

When building a Flutter app in my linux machine, I encountered this error: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:copyFlutterAssetsDebug'. &gt...
Medieval asked 13/8, 2019 at 7:56

2

Solved

I'm on a laptop with 2 connected keyboards (built-in and USB). I'm obtaining these connected keyboards with libudev and using epoll to poll them for input via the evdev interface: // Compile with $...
Rapid asked 3/10, 2021 at 1:15

2

Solved

I added an udev rule to generate a separate link to a special tty device. I took the vendor and product id from lsusb: Bus 001 Device 016: ID abcd:1234 Foo Device The dmesg output for the device i...
Mirepoix asked 16/4, 2021 at 10:59

2

I have a udev rule for a 4-port USB-to-RS232 hub, created based on this question: SUBSYSTEMS=="usb", DRIVERS=="usb", ATTRS{serial}=="A4018BU0", SYMLINK+="ttyLumagen" It does not create the symlin...
Smallscale asked 11/4, 2015 at 1:50

5

Solved

The normal way to create a videocapture is this: cam = cv2.VideoCapture(n) where n corresponds to the number of /dev/video0, dev/video1 But because I'm building a robot that uses multiple camera...
Predictory asked 6/3, 2016 at 0:47

1

Use docker run -idt -v /dev:/dev --privileged --name delete ubuntu:18.04 /bin/bash to new a container, and in container use apt-get install -y udev to install udev. When start udev, it reports nex...
Selfabuse asked 28/5, 2020 at 8:49

2

In a Docker container, I am looking for a way to get the udev events on the host. Using udevadm monitor, it sends back host's kernel events only in a container. The question is whether there is a...
Subscription asked 6/4, 2018 at 7:14

2

Solved

I need complex and universal udev rule to determine USB-device plugged in certain port of the any USB hub. so, i have to combine parent attributes of different layers of the device tree... I have ...
Anastigmat asked 19/11, 2014 at 12:46

2

Solved

I am using docker bind mount to map the host /dev/serial/ folder generated by Ubuntu (which contains identifying symlinks to serial devices such as /dev/ttyUSB0). The full docker container run comm...
Franchot asked 29/11, 2018 at 21:36

4

I've plain Ubuntu 14.04 Server (64-bit) installation. When use: sudo apt-get update Print this error: .... Hit http://security.ubuntu.com trusty-security/universe Translation-en E: dpkg was in...
Rooseveltroost asked 1/12, 2014 at 18:24

5

Solved

I've got an eeepc with an intel graphics. I'd like to hook a script to the event of a monitor plugged via VGA. How to do that?
Week asked 29/3, 2011 at 8:32

2

Solved

I am writing an application that reports attributes of network devices on the local machine. I need the mac address, mtu, link speed and a few others. I'm using udev for this. I've already figured ...
Aigrette asked 20/5, 2010 at 8:23

1

Solved

I am trying to include an udev rule to create a customized /dev/ entry depending on usb device attribute. I have two different bar code scanner which have the word Bar code Scanner and Barcode Scan...
Polka asked 10/4, 2018 at 17:9

3

Solved

I am unsure if this is the correct place for this question. I am attempting to obtain the axis position values from a joystick /dev/input/js0 on my system. If I run jstest /dev/input/js0 it will gi...
Hydrastis asked 15/4, 2013 at 0:18

0

Using: Linux 4.13.0-26-generic #29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux I've been noticing my system hesitating while working, and finally tracked it dow...
Limitation asked 11/3, 2018 at 16:41

0

Here is my simple udev rule: ACTION=="add",SUBSYSTEM=="usb",DEVPATH=="/devices/pci0000:00/0000:00:14.0/usb3/3-13",RUN+="/opt/usb-libvirt-hotplug/usb-libvirt-hotplug.sh debian_testing" ACTION=="add...
Taunton asked 2/1, 2018 at 22:43

2

Solved

I knew that Android uses volume daemon instead of udevd. Since both of these two daemons act similar as the following: Use netlink socket to receive uevents sent from kernel. Deals with file nod...
Epilate asked 5/5, 2014 at 7:26

1

My goal is to run a Python script on USB flash-drive insertion. I have written a udev rule and a shell script that is called in that rule. udev rule: /etc/udev/rules.d/10-usb.rules KERNEL=="sd*[!...
Nubble asked 4/7, 2017 at 4:25

3

Solved

When I run docker container and list properties of some device with udevadm inside the container, there are only the basic information about the device. When I do the same thing on host, I can see ...
Jemie asked 19/1, 2017 at 22:55

© 2022 - 2024 — McMap. All rights reserved.