[Trac #602] evdev startup is taking too long

Zarro Boogs per Child bugtracker at laptop.org
Mon Jan 8 07:56:03 EST 2007


#602: evdev startup is taking too long
-----------------------------+----------------------------------------------
 Reporter:  ajax             |        Owner:  warp   
     Type:  defect           |       Status:  new    
 Priority:  normal           |    Milestone:  BTest-3
Component:  x window system  |   Resolution:         
 Keywords:                   |  
-----------------------------+----------------------------------------------
Changes (by warp):

  * milestone:  BTest-2 => BTest-3

Comment:

 Alright, with a bit more poking, and with talking with Daniel Stone
 (upstream xkb maintainer person), the problem has been found.

 Basicly, there is this tiny problem with forking, running xkbcomp, parsing
 the file it produces, then deleating that file again.

 He had the following to say as far as possible solutions goes:

 {{{
  you should be able to easily get rid of the most egregious fuckups
  a) define HAS_STRCASECMP or whatever, that's 50% right there
  b) turn it into a library, and have it hand back your XkbDescPtr instead
 of forking, serialising to xkm,
  and pulling back out of xkm, then removing the file

  i'll fanboy you forever if you fix xkbcomp, because tbh it's not
 something i want to do
  but also can't avoid it forever

  that code is a freakshow nightmare; i delved into the parsing once, but
 ran away in terror.
 }}}

 And jg says that this doesn't make the cut for B2.

-- 
Ticket URL: <http://dev.laptop.org/ticket/602#comment:4>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list