From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Jellinghaus Date: Wed, 27 Sep 2006 09:33:13 +0000 Subject: 8/16bit usb minor device number problem Message-Id: <451A4559.80109@ciphirelabs.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org 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=3D"usb_device", PROGRAM=3D"/bin/sh -c 'K=3D%k; K=3D$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", \ NAME=3D"%c" for now I can work around it with "rm -rf /dev/bus", but can someone help me finding the real solution? Thanks, Andreas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel