Re: 2.6.9 & 2.6.10 unresponsive to keyboard upon bootup

Dmitry Torokhov
2005-01-09T16:02:56Z

On Sunday 09 January 2005 09:24 am, Roey Katz wrote:
> I tried (at the top of 2.6.9rc2-bk3/ ), "cat
> dmitrys-patch | patch -p1". It complained of rejecting hunks and whatnot:
>
> patching file drivers/Makefile
> Hunk #1 FAILED at 21.
> Hunk #2 FAILED at 43.
> 2 out of 2 hunks FAILED -- saving rejects to file drivers/Makefile.rej
>
> I tried this in 2.6.10/, but got the same response.
>

Most likely you selected and then pasted the patch while in X. This caused
whitespace damage to the patch (tabs were converted to spaces). Try saving
the entire message into a file with your MUA and feed the result to the
"patch" command.

Alternatively, just edit drivers/Makefile and move the line mentioning
"input/serio" to be just above the line mentioning "input".

> > ===== drivers/Makefile 1.50 vs edited =====
> > --- 1.50/drivers/Makefile 2004-12-01 01:00:21 -05:00
> > +++ edited/drivers/Makefile 2005-01-09 00:33:32 -05:00
> > @@ -21,9 +21,6 @@
> > obj-$(CONFIG_FB_I810) += video/i810/
> > obj-$(CONFIG_FB_INTEL) += video/intelfb/
> >
> > -# we also need input/serio early so serio bus is initialized by the time
> > -# serial drivers start registering their serio ports
> > -obj-$(CONFIG_SERIO) += input/serio/
> > obj-y += serial/
> > obj-$(CONFIG_PARPORT) += parport/
> > obj-y += base/ block/ misc/ net/ media/
> > @@ -46,6 +43,7 @@
> > obj-$(CONFIG_TC) += tc/
> > obj-$(CONFIG_USB) += usb/
> > obj-$(CONFIG_USB_GADGET) += usb/gadget/
> > +obj-$(CONFIG_SERIO) += input/serio/
> > obj-$(CONFIG_INPUT) += input/
> > obj-$(CONFIG_GAMEPORT) += input/gameport/
> > obj-$(CONFIG_I2O) += message/
> >
>

--
Dmitry