From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Tue, 21 Dec 2004 23:50:17 +0000 Subject: Re: udev and irda-usb trouble Message-Id: <1103673017.5845.41.camel@localhost.localdomain> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, 2004-12-21 at 16:17 -0500, Chris Horn wrote: > Generally I am quite happy with udev and USB in Linux. One thing, > though, > really bothers me. I haven't been able to write a udev rule to pick up > my > irda-usb based IrDA dongle. > > I can talk to it just fine if I manually create an irda0 node in /dev > with > mknod, but I don't want to keep doing that (udev keeps deleting my > node). > Irattach connects just fine with 'irattach irda0 none -s'** without > the /dev/irda0 node, but my application (jpilot) obviously needs a file > to > talk through. > > Problems: > 1. I can't seem to get any info with udevinfo on any irda or ircomm > node. > 2. Even if I create a /dev/irda0 node, unload all the modules and then > have > usb.agent detect the device plugin event and start up all the modules, > udev > will not make any nodes for me. I even tried rebooting, even though I > know > that shouldn't be necessary. > 3. udev works fine for my other devices. > > The latest rule I've been trying is: > BUS="usb", KERNEL="irda[0-9]", NAME="%k", SYMLINK="%k" Hey, don't use the same value for NAME _and_ SYMLINK. :) Kay ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ 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