udev
Listen for harware change events from the linux kernel or udev
I need to run some code on storage device mounting and unmounting. How can i listen for these event开发者_StackOverflow中文版s on linux?[详细]
2023-01-07 15:55 分类:问答Get link speed programmatically?
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 o[详细]
2022-12-31 04:27 分类:问答How do I use udev to find info about inserted video media (e.g. DVDs)
I\'m trying to port an application from using HAL to using pure udev. It is written in python and will use the gudev library, though I would love to see examples in any language. I\'m able to get all[详细]
2022-12-30 13:55 分类:问答How to support udev in a kernel module?
I\'m porting a linux kernel module. It used to create a device file for itself (using dirty hacks with syscalls from kernelspace), but now I want to do this in udev. Where can I find documentation on[详细]
2022-12-29 09:57 分类:问答Is udev thread-safe?
I\'d like to know if there are dangers with spawning multiple threads that each create their own udev context and start monitoring hardware changes. It would think tha开发者_如何学JAVAt if each thread[详细]
2022-12-28 18:54 分类:问答Problems with blocking reads using libudev on Linux
We are using the following routine (on Linux, with libudev) to read data from a PIC microcontroller configured as a USB HID device.The data is sent only when a button connected to the PIC microcontrol[详细]
2022-12-28 08:06 分类:问答Alternative to udev functionality on OSX
I\'m trying to create a custom file/check in check out script for external hardrives, however part of the script is from a Linux machine, which I have tested works fine, but uses udevinfo, OS X doesn\[详细]
2022-12-25 21:27 分类:问答Script in udev rule doesn't run
I\'m running Ubuntu 9.10 (Karmic Koala) on a laptop and would like NumLock to automatically toggle depending on whether my USB keyboard is plugged in (numlock on) or unplugged (numlock off).[详细]
2022-12-16 06:21 分类:问答auto permissions on udev'd device files?
This is a dupe from SuperUser.com . Folks over there weren\'t smart enough or willing to help me out; maybe it\'s more a programmer question than an administrator one:[详细]
2022-12-11 17:09 分类:问答
加载中,请稍侯......