Re: usb touchscreen breakage in 2.6.21-rc5-mm4 ?

From: Dmitry Torokhov
Date: Mon Apr 09 2007 - 22:30:37 EST


On Monday 09 April 2007 18:36, Helge Hafting wrote:
> On Fri, Apr 06, 2007 at 10:37:12PM -0400, Dmitry Torokhov wrote:
> > On Friday 06 April 2007 20:54, Helge Hafting wrote:
> > > I have an usb touchscreen (egalax variety) that works with
> > > the 2.6.18 kernel supplied by debian.
> > >
> > > It fails when I compile 2.6.21-rc5-mm4, tuned to the machine
> > > in question. Unlike the debian kernel, this kernel don't use
> > > modules in order to save boot time.
> > >
> > > The strange thing is, 2.6.21-rc5-mm4 recognizes the device.
> > > dmesg says things like
> > > usb 3-2: Manufacturer: eGalac Inc.
> > > usb 3-2: Product: USB TouchController
> > >
> > > and a lot more. Unlike 2.6.18, it never gets around to say
> > > "usbcore: registered new driver usbtouchscreen"
> > > which seems to indicate a problem.
> > > usbcore registers several other drivers, such as usbserial and pl2303
> > > that makes the gps work. It also registers other drivers like
> > > usb-storage,usbfs,hub,libusual,hiddev,usbhid. But not usbtouchscreen.
> > > I believe I have turned on every config option for usb touchscreen,
> > > this should not be missing.
> > >
> > > Is there something wrong, or could there be a seemingly unrelated option
> > > that I need to turn on?
> >
> > Please make sure that you have CONFIG_USB_TOUCHSCREEN turned on.
> >
> Unfortunately, I have:
> CONFIG_USB_TOUCHSCREEN=y
> CONFIG_USB_TOUCHSCREEN_EGALAX=y
>
> Anything else I may have missed?
>

Hmm, I am concerned because not only you don't have an input device created,
you don't even see the driver being registered with usbcore. Could you please
try booting with debug_initcall to see with what error code usbtouchscreen
initialization fails?


--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/