On Wed, Jun 12, 2002 at 10:29:42AM -0700, Greg KH wrote:
> On Wed, Jun 12, 2002 at 09:36:42AM -0700, Tom Rini wrote:
> > On Wed, Jun 12, 2002 at 09:29:47AM -0700, Tom Rini wrote:
> > > On Wed, Jun 12, 2002 at 12:02:52AM +0200, Jeroen Vreeken wrote:
> > > > Is it possible to add some printk() calls in the probe function to
> > > > determine where it goes wrong?
> > [snip]
> > > And the prink I inserted at the top of the function never gets called.
> > 
> > ... which is because se401_probe is __devinit (which turns into __init,
> > since CONFIG_HOTPLUG=n, and __init turns into '' when in a module).
> > Here's the lightly tested patch (for 2.4 and 2.5).
> 
> And here's one that should get all of the __devinit issues for
> 2.4.19-pre10.  I'll go make up a 2.5.21 version of this too.

Oddly enough I couldn't sync my visor (compiled in, CONFIG_HOTPLUG=n)
unless I changed the id_table_combined in drivers/usb/serial/visor.c to
not be __devinitdata.  I'm not quite sure why, but although dmesg
printed out all the ususal information about it, pilot-xfer just sat
around.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to