Linux Hotplug development
 help / color / mirror / Atom feed
* udev_device_get_sysattr_value upon device remove
@ 2010-12-03 19:19 Stefan Harjes
  2010-12-03 23:12 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Harjes @ 2010-12-03 19:19 UTC (permalink / raw)
  To: linux-hotplug

Hi folks,

when I get an udev_device from the udev_monitor, because the device has been 
unplugged, the 'udev_device_get_sysattr_value()' call returns 'null' (in my 
case I was looking for the "serial" of an usb_device). From my understanding 
this value should still be cached, even if the device is already removed?

Is there any other way to get this value?

Best

Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-03 23:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-03 19:19 udev_device_get_sysattr_value upon device remove Stefan Harjes
2010-12-03 23:12 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox