patchThe GNU Hurd - Patches: patch #2797, Starting XFree from the new console


You are not allowed to post comments on this tracker with your current authentication level.

patch #2797: Starting XFree from the new console

Submitted by:  Marco Gerards <marco_g>
Submitted on:  Sat Mar 13 00:24:31 2004  
Category: ConsolePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: Marcus Brinkmann <marcus>Open/Closed: Open
Planned Release: None
Wiki-like text discussion box: 

Thu May 20 22:42:41 2004, comment #2:

Updated to use argp.

Marco Gerards <marco_g>
Project Member
Sat Mar 13 17:38:17 2004, comment #1:

This new patch updates imnproves locking (one that does not affect Xfree) and I cleaned up the patch according to some suggestions by Alfred. The ChangeLog entry was improved as well.

Marco Gerards <marco_g>
Project Member
Sat Mar 13 00:24:31 2004, original submission:

Here is a patch to make it able to start XFree from the Hurd console.
When starting the console client you should pass the arguments
`--repeat /dev/kbd' to the pc_kbd plugin.

After that the /dev/kbd node can be used just by XFree to gain access
to the keyboard (for now that is reading scancodes). It should not be
too hard to modify the console client (pc_kbd actually) so it can use
that as well (console client in a console client). Same for svgalib,
and stuff like that.

There is just a small problem with this patch. Sometime s XFree locks
up when I start it. I expect this is something in my sourcecode and
it is some kind of race problem or a problem with select (or O_ASYNC,
but I have no idea how that works). I believe I did not have this
problem at first, before I added some synchronization stuff, but of
course I can be wrong here.

Marco Gerards <marco_g>
Project Member


Attached Files
file #7482:  console_switch3.patch added by marco_g (23kB - application/octet-stream)
file #7120:  console_switch2.diff added by marco_g (21kB - application/octet-stream)
file #7117:  console_switch.patch added by marco_g (22kB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.


Please enter the title of George Orwell's famous dystopian book (it's a date):



Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu May 20 22:42:41 2004marco_gAttached File-=>Added console_switch3.patch, #3291
Sat Mar 13 17:38:17 2004marco_gAttached File-=>Added console_switch2.diff, #2916
Sat Mar 13 00:24:31 2004marco_gAttached File-=>Added console_switch.patch, #2913

Back to the top

Powered by Savane 3.1-cleanup1