From: Paul M. <pa...@pi...> - 2005-01-27 15:06:29
|
> Hi, > I have a slight problem with this driver, when I configure lirc with > "--with-driver=atiusb" only the driver and driver interface for this class of > devices are build, in this case when I call lircd without -H parameter or > with "-H default" it opens /dev/lirc to access the driver and everything > works. > > If I configure lirc with "--with-driver=any" all drivers and driver interfaces > are build into lircd, when I now call it with "-H atilibusb" it tries to > access the driver somewhere under "/proc/bus/usb/.../..." and it gets an > -EBUSY back while doing "ioctl(9, USBDEVFS_CLAIMINTERFACE,..." this comes > from "int usb_driver_claim_interface(struct usb_driver *driver, struct > usb_interface *iface, void* priv)" in usb.c in the kernel (2.6.8.1). > > Why this difference? I'm not so familliar with the usb code in the kernel to > find out more. When you load modules lirc_dev and lirc_atiusb, a /dev/lirc device should be created (assuming you're using udev). Access this device with lirc's default driver. -Paul |