From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Grischa Stegemann" Date: Tue, 07 Mar 2006 22:13:40 +0000 Subject: udev does not create ttyUSB devices for Visor Message-Id: <1469.1141769620@www024.gmx.net> 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 a Handspring Visor device which is supposed to communicate with my = computer using the usb-serial driver. =20 =20 My udev version is 056 (Debian stable, Kernel 2.6.15.1) and it fails to=20 create the appropriate device nodes ttyUSB0 and ttyUSB1. When I hit the =20 hotsync-button on the cradle the kernel recognizes the device correctly: =20 =20 localhost kernel: usb 1-2: Handspring Visor now attached to ttyUSB0 =20 localhost kernel: usb 1-2: Handspring Visor now attached to ttyUSB1 =20 =20 The simple udev-rule =20 KERNEL=3D"ttyUSB[0-9]*", NAME=3D"%k" =20 should now yield the corresponding devices, but it does not. It is =20 perfectly ignored by udev and I cannot figure out why. There's no problem = with any other device. =20 =20 It becomes even weirder (for me) if I create the device-nodes by hand: =20 mknod /dev/ttyUSB0 c 188 0; mknod /dev/ttyUSB1 c 188 1 =20 =20 Now I can communicate with my Visor. BUT once the hotsync-procedure is =20 finished, the visor disconnects completely from the computer, the =20 usb-driver deregisters the device and -guess what!- NOW udev removes the =20 corresponding ttyUSB-nodes.:( =20 =20 How comes udev is ignoring the device during registering but removes the =20 device nodes during deregistering the device? =20 It also removes them if I have absolutely no rule concerning ttyUSB =20 at all. =20 =20 Any suggestion and/or clarification is greatly appretiated. =20 =20 Grischa =20 =20 --=20 "Feel free" mit GMX FreeMail! Monat f=FCr Monat 10 FreeSMS inklusive! http://www.gmx.net ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=110944&bid$1720&dat=121642 _______________________________________________ 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