usb touchscreen breakage in 2.6.21-rc5-mm4 ?
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?
Helge Hafting
Quoted 21 lines · Helge Hafting
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 TouchControllerand 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.
Quoted 2 lines
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.
Signature · 1 line
Dmitry
Quoted 22 lines · Dmitry Torokhov
Quoted 21 lines · Helge Hafting
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 TouchControllerand 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.
Quoted 5 lines
Quoted 2 lines
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_TOUCHSCREENturned on.
Unfortunately, I have:CONFIG_USB_TOUCHSCREEN=yCONFIG_USB_TOUCHSCREEN_EGALAX=y
Anything else I may have missed?
Helge Hafting
Quoted 26 lines · On Tue, 10 Apr 2007 00:36:43 +0200 Helge Hafting <[email protected]> wrote:
Quoted 25 lines · Dmitry Torokhov
Quoted 23 lines · Helge Hafting
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 TouchControllerand 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?
Quoted 8 lines
Quoted 2 lines
Please make sure that you have
CONFIG_USB_TOUCHSCREENturned on.Unfortunately, I have:
CONFIG_USB_TOUCHSCREEN=yCONFIG_USB_TOUCHSCREEN_EGALAX=yAnything else I may have missed?
Is 2.6.21-rc6 OK?
If so, please keep a close eye on 2.6.22-rcX, let us know if/when we've moved this breakage into mainline :(
Quoted 5 lines · Andrew Morton
Is 2.6.21-rc6 OK?
If so, please keep a close eye on 2.6.22-rcX, let us know if/when we've moved this breakage into mainline :(
2.6.21-rc6 is ok.
Here, I get messages from usbtouchscreen, something rc5-mm4 failed to produce.
The egalax driver gets /class/input/input3, usbcore registers usbtouchscreen, and the touchscreen works.
Well, it became /dev/input/event3 while
2.6.18 placed it at /dev/input/event1, but I think that is more of a udev problem...
Helge Hafting
Quoted 26 lines · Helge Hafting
Quoted 25 lines · Dmitry Torokhov
Quoted 23 lines · Helge Hafting
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 TouchControllerand 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?
Quoted 8 lines
Quoted 2 lines
Please make sure that you have
CONFIG_USB_TOUCHSCREENturned on.Unfortunately, I have:
CONFIG_USB_TOUCHSCREEN=yCONFIG_USB_TOUCHSCREEN_EGALAX=yAnything 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?
Signature · 1 line
Dmitry
Quoted 5 lines · Dmitry Torokhov
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_initcallto see with what error code usbtouchscreen initialization fails?
Here is the dmesg from a boot with debug_initcall. I can't see any messages from usbtouchscreen.
For me, it looks like the touchscreen is discovered and then nothing happens to it.
Helge Hafting
Quoted 11 lines · Helge Hafting
Quoted 5 lines · Dmitry Torokhov
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_initcallto see with what error code usbtouchscreen initialization fails?Here is the dmesg from a boot with
debug_initcall. I can't see any messages from usbtouchscreen.
For me, it looks like the touchscreen is discovered and then nothing happens to it.
*sigh* When will I learn to spell names of kernel parameters correctly? It is initcall_debug, not debug_initcall :( Could you try again, please?
Signature · 1 line
Dmitry
Quoted 4 lines · Dmitry Torokhov
*sigh* When will I learn to spell names of kernel parameters correctly? It is
initcall_debug, notdebug_initcall:( Could you try again, please?
Here is the dmesg for rc5mm4 with initcall_debug, showing how no usbtouch function is called at all.
I also attached a similiar dmesg for 2.6.21-rc6, where things work normally.
I also decompressed the rc5mm4 image, to check
that USB touchscreen really is compiled into this image. These USB options are on:CONFIG_USB_HID=yCONFIG_USB_HIDDEV=yCONFIG_USB_ARCH_HAS_HCD=yCONFIG_USB_ARCH_HAS_OHCI=y CONFIG_USB_ARCH_HAS_EHCI=yCONFIG_USB=yCONFIG_USB_DEBUG=yCONFIG_USB_DEVICEFS=yCONFIG_USB_DEVICE_CLASS=yCONFIG_USB_EHCI_HCD=yCONFIG_USB_EHCI_SPLIT_ISO=y CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_EHCI_TT_NEWSCHED=yCONFIG_USB_UHCI_HCD=yCONFIG_USB_STORAGE=yCONFIG_USB_STORAGE_DEBUG=y CONFIG_USB_STORAGE_DATAFAB=y CONFIG_USB_STORAGE_ISD200=y CONFIG_USB_STORAGE_DPCM=yCONFIG_USB_STORAGE_USBAT=y CONFIG_USB_STORAGE_SDDR09=y CONFIG_USB_STORAGE_SDDR55=y CONFIG_USB_STORAGE_JUMPSHOT=y CONFIG_USB_STORAGE_ALAUDA=yCONFIG_USB_LIBUSUAL=yCONFIG_USB_TOUCHSCREEN=y CONFIG_USB_TOUCHSCREEN_EGALAX=yCONFIG_USB_SERIAL=yCONFIG_USB_SERIAL_PL2303=y
Helge Hafting
Quoted 8 lines · Helge Hafting
Quoted 4 lines · Dmitry Torokhov
*sigh* When will I learn to spell names of kernel parameters correctly? It is
initcall_debug, notdebug_initcall:( Could you try again, please?Here is the dmesg for rc5mm4 with
initcall_debug, showing how no usbtouch function is called at all.
Helge,
I don't have any explanation why we don't see usbtouch_init called at all in -rc5-mm4. Could it be toolchain misbehaving? Do you see references to usbtouch_init in the kernel image itself?
Signature · 1 line
Dmitry
Quoted 10 lines · Dmitry Torokhov
Quoted 8 lines · Helge Hafting
Quoted 4 lines · Dmitry Torokhov
*sigh* When will I learn to spell names of kernel parameters correctly? It is
initcall_debug, notdebug_initcall:( Could you try again, please?Here is the dmesg for rc5mm4 with
initcall_debug, showing how no usbtouch function is called at all.
Quoted 6 lines
Helge,
I don't have any explanation why we don't see
usbtouch_initcalled at all in -rc5-mm4. Could it be toolchain misbehaving? Do you see references tousbtouch_initin the kernel image itself?
I unpacked it, ran "strings" on it, and found no usbtouch in there. There were plenty of other usb names, such as usbfs, usbserial, usbcore and tons of messages that usb mass storage and usb serial might need to produce.
Versions of some tools, I don't know if there are any known issues:
$ gcc --version gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) $ ld --version GNU ld (GNU Binutils for Debian) 2.17.50.20070406 $ dpkg -l binutils ii binutils 2.17.20070406c The GNU assembler, linker and binary
Helge Hafting