From: Andreas Jellinghaus <aj@ciphirelabs.com>
To: linux-kernel@vger.kernel.org
Subject: 8/16bit usb minor device number problem
Date: Wed, 27 Sep 2006 11:00:14 +0200 [thread overview]
Message-ID: <451A3D9E.6040709@ciphirelabs.com> (raw)
I have the minor number of usb devices in /dev/bus/usb trunkated.
where do I look for debugging this problem? kernel? filesystem code?
udev? glibc? something else?
foo:/dev/bus/usb/003# ls -l
total 0
crw-rw-r-- 1 root root 189, 0 Sep 26 11:52 001
crw-rw-r-- 1 root root 189, 1 Sep 26 11:52 002
foo:/dev/bus/usb/003# cat /sys/class/usb_device/usbdev3.2/dev
189:257
foo:/dev/bus/usb/003#
no wonder my app fails talking to the device, it was
created with the wrong minor device number.
debian package with backport to sarge:
Version: 0.100-1~bpo.1
udev config:
# usbfs-like devices
SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k;
K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", \
NAME="%c"
for now I can work around it with "rm -rf /dev/bus", but can
someone help me finding the real solution?
Thanks, Andreas
next reply other threads:[~2006-09-27 9:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-27 9:00 Andreas Jellinghaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-09-27 9:33 8/16bit usb minor device number problem Andreas Jellinghaus
2006-09-27 15:22 ` Greg KH
2006-09-27 16:03 ` Andreas Jellinghaus
2006-09-27 17:17 ` Greg KH
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=451A3D9E.6040709@ciphirelabs.com \
--to=aj@ciphirelabs.com \
--cc=linux-kernel@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 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.