All of lore.kernel.org
 help / color / mirror / Atom feed
* /dev entry of USB device not disappearing after detach
@ 2014-02-14 17:35 Valentina Manea
  2014-02-14 18:20 ` Greg KH
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Valentina Manea @ 2014-02-14 17:35 UTC (permalink / raw)
  To: linux-hotplug

Hello,

I am working on a driver for a virtual USB host controller. When I attach a USB
device, everything is fine - sysfs files are created, /dev entry is
created, device is usable.
However, when I detach it, the /dev entry still remains. The sysfs
files are removed, as expected. Obviously, the /dev entry is no longer
usable, e.g. it can't be used for mounting.

The output from udevmon is here [1]. vhci_hcd is the device representing the
USB hub and 2-1 is the bus ID of the attached device.

As far as I can tell, udevd receives the remove event but, for some
reason, the /dev entry still remains.

Any help is greatly appreciated.

Thanks,
Valentina

[1] http://pastebin.com/0M2pSGw1

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

end of thread, other threads:[~2014-02-15 16:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-14 17:35 /dev entry of USB device not disappearing after detach Valentina Manea
2014-02-14 18:20 ` Greg KH
2014-02-14 18:21 ` Greg KH
2014-02-15 12:38 ` Valentina Manea
2014-02-15 16:52 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.