I've come across several posts on this list trying to get the MP-8866
working while I was Googling trying to get my own to work.  I've now
got a hack to make it work, which I'm posting here to help those who
are still struggling.  I also want to call out to any who might know
what's going on with this so that we can get a proper fix and get it
included in the appropriate project.

My hack to make it work:

In the file /etc/hotplug/hotplug.functions, around line 85 you should have this:

    # should we use usbmodules, pcimodules?  not on 2.5+, because sysfs
    # ought to expose the data we need to find all candidate drivers.
    # (on 2.5.48 it does for usb; but maybe not yet for pci.)
    case "$KERNEL" in
    2.2*|2.3*|2.4*)     LISTER=`which ${TYPE}modules` ;;
    *)                  LISTER="" ;;
    esac

Change the 2nd to last line to the following:

    *)                  LISTER=`type -p ${TYPE}modules` ;;

This screams of an error, because now there's essentially no check for
$KERNEL; LISTER will always be usbmodules (we're talking about our USB
device here, ignore other use cases) but we're using kernel 2.6, and
this code was explicitely put in to turn that OFF for 2.6 kernels....

However, I'm not the only one who had this line change work for them. 
See the post on the Gentoo forums here:

http://forums.gentoo.org/viewtopic-t-417681.html

So where does the real problem lie?  Is the USB module not exposing
something properly in the sysfs that the comment in hotplug.functions
refers to?  Is it a shortcoming of sysfs?  Is it a problem in hotplug,
and we really should be using usbmodules even with a 2.6 kernel?  Is
it a problem in hotplug in the way it deals with items when usbmodules
is .not. used?

I would really like a proper fix for this.  I'm happy to try out /
debug anything people can come up with to fix it.

-Andrew


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to