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...
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...
4
Solved
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?
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'.
>...
2
Solved
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...
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...
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...
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...
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...
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...
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?
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 ...
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...
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*[!...
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 ...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.