From: Martin Pitt <martin.pitt@ubuntu.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: How is /dev/bus/usb created - /dev/bus/usb lost during system
Date: Thu, 18 Mar 2010 08:51:51 +0000 [thread overview]
Message-ID: <20100318085151.GD2077@piware.de> (raw)
In-Reply-To: <1268875500.9683.64.camel@epsilon>
Hello Petr,
Petr Kubánek [2010-03-18 2:24 +0100]:
> I lost /dev/bus/usb during remote system upgrade (Ubuntu 9.04 -> 9.10)
> on Watcher telescope control computer (@Boyden observatory, South
> Africa).
>
> I do not see /dev/bus/usb, and lsusb does not show anything. It worked
> before, USB devices are present in dmesg, so I think USB subsystem is
> working properly.
>
> To debug this it will help me to know how udev creates and
> populates /dev/bus/usb - which rule(s) does this, how to debug what
> might be wrong.
Those are just created by udev, there is no particular rule for it
(it's using the kernel default name).
$ udevadm test /bus/usb/devices/1-8
[...]
udev_rules_apply_to_event: LINK 'char/189:2' /lib/udev/rules.d/50-udev-default.rules:4
udev_rules_apply_to_event: MODE 0664 /lib/udev/rules.d/50-udev-default.rules:62
udev_rules_apply_to_event: RUN 'socket:@/org/freedesktop/hal/udev_event' /lib/udev/rules.d/90-hal.rules:2
udev_event_execute_rules: no node name set, will use kernel supplied name 'bus/usb/001/003'
[...]
udevadm_test: DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-8
udevadm_test: DEVNAME=/dev/bus/usb/001/003
[...]
My best guess is that you are running a custom kernel which perhaps
has CONFIG_SYSFS_DEPRECATED_V2 set, or something similar? What does
"uname -a" say?
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
next prev parent reply other threads:[~2010-03-18 8:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-18 1:24 How is /dev/bus/usb created - /dev/bus/usb lost during system Petr Kubánek
2010-03-18 2:48 ` Greg KH
2010-03-18 8:51 ` Martin Pitt [this message]
2010-03-18 10:03 ` Petr Kubánek
2010-03-18 10:21 ` Kay Sievers
2010-03-18 10:31 ` Petr Kubánek
2010-03-18 10:37 ` Martin Pitt
2010-03-18 10:41 ` Kay Sievers
2010-03-18 10:42 ` Petr Kubánek
2010-03-18 14:26 ` Petr Kubánek
2010-03-18 16:46 ` Scott James Remnant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100318085151.GD2077@piware.de \
--to=martin.pitt@ubuntu.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).