public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] mdev: Has anybody managed to get the keyboard and mouse to work under X?
@ 2012-03-14 15:20 Alan Mackenzie
  2012-03-14 21:14 ` Mike Edenfield
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alan Mackenzie @ 2012-03-14 15:20 UTC (permalink / raw
  To: gentoo-user

Hi, Gentoo.

As I've said a few times in the current threads, the only thing
preventing me from moving fully onto mdev is not having a working
keyboard and mouse (evdev??) under X.

Has anybody else tried this, and if so, what results have you had?

-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [gentoo-user] mdev: Has anybody managed to get the keyboard and mouse to work under X?
  2012-03-14 15:20 [gentoo-user] mdev: Has anybody managed to get the keyboard and mouse to work under X? Alan Mackenzie
@ 2012-03-14 21:14 ` Mike Edenfield
  2012-03-15  0:21 ` Pandu Poluan
  2012-03-15  1:16 ` Walter Dnes
  2 siblings, 0 replies; 5+ messages in thread
From: Mike Edenfield @ 2012-03-14 21:14 UTC (permalink / raw
  To: gentoo-user

> From: Alan Mackenzie [mailto:acm@muc.de]
> Sent: Wednesday, March 14, 2012 11:21 AM


> As I've said a few times in the current threads, the only thing preventing
me
> from moving fully onto mdev is not having a working keyboard and mouse
> (evdev??) under X.
> 
> Has anybody else tried this, and if so, what results have you had?

I have not tried it since they removed the HAL dependency, but I believe you
just need to compile xorg with USE=-udev and put the correct device
information into the xorg.conf file. 

What X uses udev for is to enumeration your devices when it starts, and
associate those devices automatically with the right drivers. From what
Pandu has said, X cannot be made to poll mdev for the information it needs
because the conversion is "backwards" from mdev's perspective: instead of
mdev sending new-device events out to listening userspace applications, X is
expecting to initiate a query into the device manager, which mdev cannot do.

However, if you configure that all manually then X has no more need of a
device manager, udev or otherwise.

--Mike




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] mdev: Has anybody managed to get the keyboard and mouse to work under X?
  2012-03-14 15:20 [gentoo-user] mdev: Has anybody managed to get the keyboard and mouse to work under X? Alan Mackenzie
  2012-03-14 21:14 ` Mike Edenfield
@ 2012-03-15  0:21 ` Pandu Poluan
  2012-03-15  1:16 ` Walter Dnes
  2 siblings, 0 replies; 5+ messages in thread
From: Pandu Poluan @ 2012-03-15  0:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 746 bytes --]

On Mar 15, 2012 3:52 AM, "Alan Mackenzie" <acm@muc.de> wrote:
>
> Hi, Gentoo.
>
> As I've said a few times in the current threads, the only thing
> preventing me from moving fully onto mdev is not having a working
> keyboard and mouse (evdev??) under X.
>
> Has anybody else tried this, and if so, what results have you had?
>

Alan, could you post your "init" script here?

I just happened upon this:

http://blackfin.uclinux.org/gf/project/uclinux-dist/scmsvn/?action=browse&path=%2F%2Acheckout%2A%2Ftrunk%2Fuser%2Fbusybox%2Fbusybox-1.18.4%2Fdocs%2Fmdev.txt

and I think the script might need an "mdev -s" line.

Still a conjecture, no guarantees it will work, but if such line does not
exist in your "init" script, won't hurt to try...

Rgds,

[-- Attachment #2: Type: text/html, Size: 1148 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] mdev: Has anybody managed to get the keyboard and mouse to work under X?
  2012-03-14 15:20 [gentoo-user] mdev: Has anybody managed to get the keyboard and mouse to work under X? Alan Mackenzie
  2012-03-14 21:14 ` Mike Edenfield
  2012-03-15  0:21 ` Pandu Poluan
@ 2012-03-15  1:16 ` Walter Dnes
  2012-03-15  1:24   ` Pandu Poluan
  2 siblings, 1 reply; 5+ messages in thread
From: Walter Dnes @ 2012-03-15  1:16 UTC (permalink / raw
  To: gentoo-user

On Wed, Mar 14, 2012 at 03:20:48PM +0000, Alan Mackenzie wrote
> Hi, Gentoo.
> 
> As I've said a few times in the current threads, the only thing
> preventing me from moving fully onto mdev is not having a working
> keyboard and mouse (evdev??) under X.
> 
> Has anybody else tried this, and if so, what results have you had?

  I begin my USE variable with "-*" and add only the necessary stuff.
If you want to run X without udev, then compile xorg-server with
"USE=-udev".  I don't have evdev installed at all.  I've run X without
an xorg.conf.  The only reason I have an xorg.conf now is to allow
xrandr to force a weird 1536x864 video mode on my 1920x1080 monitor when
watching one specific website.

-- 
Walter Dnes <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] mdev: Has anybody managed to get the keyboard and mouse to work under X?
  2012-03-15  1:16 ` Walter Dnes
@ 2012-03-15  1:24   ` Pandu Poluan
  0 siblings, 0 replies; 5+ messages in thread
From: Pandu Poluan @ 2012-03-15  1:24 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 919 bytes --]

On Mar 15, 2012 8:19 AM, "Walter Dnes" <waltdnes@waltdnes.org> wrote:
>
> On Wed, Mar 14, 2012 at 03:20:48PM +0000, Alan Mackenzie wrote
> > Hi, Gentoo.
> >
> > As I've said a few times in the current threads, the only thing
> > preventing me from moving fully onto mdev is not having a working
> > keyboard and mouse (evdev??) under X.
> >
> > Has anybody else tried this, and if so, what results have you had?
>
>  I begin my USE variable with "-*" and add only the necessary stuff.
> If you want to run X without udev, then compile xorg-server with
> "USE=-udev".  I don't have evdev installed at all.  I've run X without
> an xorg.conf.  The only reason I have an xorg.conf now is to allow
> xrandr to force a weird 1536x864 video mode on my 1920x1080 monitor when
> watching one specific website.
>

Of course, needless to say (but I'll say it anyway), when you re-emerge X,
you should re-emerge X drivers.

Rgds,

[-- Attachment #2: Type: text/html, Size: 1209 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-15  1:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-14 15:20 [gentoo-user] mdev: Has anybody managed to get the keyboard and mouse to work under X? Alan Mackenzie
2012-03-14 21:14 ` Mike Edenfield
2012-03-15  0:21 ` Pandu Poluan
2012-03-15  1:16 ` Walter Dnes
2012-03-15  1:24   ` Pandu Poluan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox