public inbox for eudev@lists.gentoo.org
 help / color / mirror / Atom feed
* [eudev] Error message on unplugging USB device
@ 2014-11-07 21:13 Dark Templar
  0 siblings, 0 replies; only message in thread
From: Dark Templar @ 2014-11-07 21:13 UTC (permalink / raw
  To: eudev

Hi,

I'm using eudev since it appeared in Gentoo tree. Recently I noticed
error messages appearing on my TTY1: "Error opening USB device
'descriptors' files". A bit of experimenting showed that these messages
appear when I unplug USB device. Further tests showed that when I
downgrade eudev to 1.10-r2 and restart eudev daemon messages no longer
appear, and they reappear when I upgrade to 2.1.1 and restart eudev.
Btw, after restart error messages appear on terminal I used to restart
eudev.
I've found that problem is in file "src/udev-builtin-usb_id.c" on line 178:
 fprintf(stderr, "error opening USB device 'descriptors' file\n");

I think these messages, if they're important, should go to some log, not
to stdout/stderr. And I don't actually consider this being an error on
unplugging device.

Thanks.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-07 21:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-07 21:13 [eudev] Error message on unplugging USB device Dark Templar

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