linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev and irda-usb trouble
@ 2004-12-21 21:17 Chris Horn
  2004-12-21 23:50 ` Kay Sievers
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Chris Horn @ 2004-12-21 21:17 UTC (permalink / raw)
  To: linux-hotplug

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"

Not that it really matters, but I'm working with an Extended Systems, 
Inc.
XTNDAccess IrDA Dongle.  lsusb and usbview tell me lots about the 
device, but
nothing particularly useful.

# l /sys/bus/usb/drivers/irda-usb/
total 0
lrwxrwxrwx  1 root root 0 Dec 21 02:34 2-2.6:1.0
-> ../../../../devices/pci0000:00/0000:00:10.0/usb2/2-2/2-2.6/2-2.6:1.0

Why won't udev make my irda-usb device a node?  It does for everything 
else
I've asked it to - namely 'sd[a-z][0-9]' type devices.

Some relevant /var/log/messages output:
Dec 21 02:34:30 snozberry kernel: usb 2-2.6: new full speed USB device 
using address 10
Dec 21 02:34:30 snozberry kernel: NET: Registered protocol family 23
Dec 21 02:34:30 snozberry kernel: IRDA-USB found at address 10, Vendor: 
8e9, Product: 100
Dec 21 02:34:30 snozberry usb.agent[4317]:      irda-usb: loaded 
successfully
Dec 21 02:34:30 snozberry usb.agent[4317]:      ir-usb: blacklisted
Dec 21 02:34:30 snozberry kernel: IrDA: Registered device irda0
Dec 21 02:34:30 snozberry kernel: usbcore: registered new driver 
irda-usb
Dec 21 02:34:30 snozberry kernel: USB IrDA support registered
Dec 21 02:45:45 snozberry irattach: executing: '/sbin/modprobe irda0'
Dec 21 02:45:45 snozberry irattach: executing: 'echo snozberry > 
/proc/sys/net/irda/devname'
Dec 21 02:45:45 snozberry irattach: executing: 'echo 1 > 
/proc/sys/net/irda/discovery'
Dec 21 02:45:45 snozberry irattach: Starting device irda0
Dec 21 03:03:16 snozberry kernel: usb 2-2.7: control timeout on ep0in

I always get a lot of those ep0in timeout messages; I'm pretty sure 
they're harmless.


Please cc: me, as I'm not a list member.  Many thanks in advance.
Chris Horn.

** I'm using Debian's latest testing version of irda-utils.



-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-12-22  1:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-21 21:17 udev and irda-usb trouble Chris Horn
2004-12-21 23:50 ` Kay Sievers
2004-12-22  0:05 ` Chris Horn
2004-12-22  0:26 ` Greg KH
2004-12-22  0:43 ` Chris Horn
2004-12-22  0:52 ` Greg KH
2004-12-22  0:54 ` Chris Horn
2004-12-22  1:01 ` Greg KH
2004-12-22  1:12 ` Chris Horn
2004-12-22  1:23 ` Greg KH
2004-12-22  1:23 ` Kay Sievers
2004-12-22  1:35 ` Chris Horn

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).