public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Stefan Sassenberg <stefan.sassenberg@gmx.de>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: /proc/bus/input/devices changing while booting
Date: Sat, 18 Apr 2009 16:36:10 -0700	[thread overview]
Message-ID: <20090418233608.GC32346@dtor-d630.eng.vmware.com> (raw)
In-Reply-To: <49CA59E8.7080201@gmx.de>

Hi Stefan,

On Wed, Mar 25, 2009 at 05:20:56PM +0100, Stefan Sassenberg wrote:
> Hello,
>
> while booting, an init-script on my machine greps the Handlers entry of  
> a certain device (USB touchscreen) from /proc/bus/input/devices. It ends  
> with "event2", so I configure my software to listen for events in  
> /dev/input/event2. A few seconds later /proc/bus/input/devices changes,  
> the order of the devices is different and the Handlers entry for my  
> device ends with event1 making my device misconfigured and thus unusable.
>
> Can anybody explain that behaviour? How can I get the final eventX  
> device file?
>
> I'm using kernel 2.6.28.8 on an Intel Celeron, chipset ICH5.
>

Something causes disconnect of your touchscreen. I think this can happen of 
EHCI is loaded after UHCI/OHCI and they all figure our which devices should be 
driven by whom. Does it help if you compile EHCI in kernel or make sure it 
gets loaded first?

-- 
Dmitry

      reply	other threads:[~2009-04-18 23:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-25 16:20 /proc/bus/input/devices changing while booting Stefan Sassenberg
2009-04-18 23:36 ` Dmitry Torokhov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090418233608.GC32346@dtor-d630.eng.vmware.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stefan.sassenberg@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox