Oups, I forgot the list...
Hi,
Thanks for your answer. I'll try to find more about usb (modprobe) Does
anyone have idea where I can find more info about thoose interrupts ?
pcscd is a long time known problem; it insists on polling the hardware
very frequently unfortunately....
Yes, I found this code and it seems to ask for polling hardware too often.
I'll try to discuss with the developpers and fix this anoying bug.
If someone is interrested, I think the (bad) code is here :
void HPEstablishUSBNotifications(void)
{
int i, do_polling;
/* libusb default is /dev/bus/usb but the devices are not yet visible
there
* when a hotplug is requested */
setenv("USB_DEVFS_PATH", "/proc/bus/usb", 0);
usb_init();
/* scan the USB bus for devices at startup */
HPRescanUsbBus();
/* if at least one driver do not have IFD_GENERATE_HOTPLUG */
do_polling = FALSE;
for (i=0; i<driverSize; i++)
if (driverTracker[i].libraryPath)
if ((driverTracker[i].ifdCapabilities & IFD_GENERATE_HOTPLUG) ==
0)
{
Log2(PCSC_LOG_INFO,
"Driver %s does not support IFD_GENERATE_HOTPLUG",
driverTracker[i].bundleName);
if (HPForceReaderPolling < 1)
HPForceReaderPolling = 1;
break;
}
if (HPForceReaderPolling)
{
Log2(PCSC_LOG_INFO,
"Polling forced every %d second(s)", HPForceReaderPolling);
do_polling = TRUE;
}
while (do_polling)
{
SYS_Sleep(HPForceReaderPolling);
HPRescanUsbBus();
}
}
_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power