Re: [PATCH,RESEND] Basic braille screen reader support

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Samuel Thibault <samuel.thibault@...>
Cc: <torvalds@...>, <linux-kernel@...>, Dmitry Torokhov <dtor@...>, Jiri Kosina <jkosina@...>
Date: Tuesday, February 5, 2008 - 8:58 pm

On Tue, 5 Feb 2008 22:00:54 +0000
Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:


Could you feed it through scritps/checkpatch.pl please?  That finds a lot
of trivial stuff which we'd prefer be fixed.


This can (and hence should!) be impemented in a C function (I think?).


Unneeded initialisation (checkpatch will tell you about this)


`lastwrite' is a kernel-wide singleton and hence at least needs some
locking protecting its consistency.

If this is a single-opener-only device then I _guess_ this approach is OK. 
If not, `lastwrite' really should be some dynamically-allocated, per-open thing,
presumably accessed by file.private_data.


hm.  Is it appropriate that this driver wire itself directly into
serial8250?  What if the screen reader is attached to some other sort of
uart, or a terminal server, or...

Maybe this all should be implemented as a line discipline, or something
like that?


Maybe Dmitry and Jiri would have time to review this code?


That's pretty ungainly.  Again, if we had some clear spearation between the
protocol layer and the device-driver layer and some way of binding them
under userspace control (like a line discipline), all this would get better.


That's cute, but perhaps we should be boring and call it
CONFIG_ACCESSIBILITY.  That would be more accessible ;)


And that would get very lengthy.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Basic braille screen reader support, Samuel Thibault, (Sun Feb 3, 11:18 pm)
[PATCH,RESEND] Basic braille screen reader support, Samuel Thibault, (Tue Feb 5, 6:00 pm)
Re: [PATCH,RESEND] Basic braille screen reader support, Andrew Morton, (Tue Feb 5, 8:58 pm)
Re: [PATCH,RESEND] Basic braille screen reader support, Samuel Thibault, (Tue Feb 5, 10:04 pm)
[PATCH2] Basic braille screen reader support, Samuel Thibault, (Thu Feb 21, 8:28 pm)
Re: [PATCH2] Basic braille screen reader support, Andrew Morton, (Sat Feb 23, 4:04 am)
Re: [PATCH2] Basic braille screen reader support, Samuel Thibault, (Sat Feb 23, 9:10 am)
Re: [PATCH2] Basic braille screen reader support, Samuel Thibault, (Wed Apr 23, 8:39 pm)
Re: [PATCH2] Basic braille screen reader support, Alan Cox, (Thu Apr 24, 6:21 am)
Re: [PATCH2] Basic braille screen reader support, Samuel Thibault, (Thu Apr 24, 7:09 am)
Re: [PATCH2] Basic braille screen reader support, Andrew Morton, (Thu Apr 24, 12:46 am)
[PATCH] Braille screen reader documentation, Samuel Thibault, (Sat Feb 23, 9:17 am)
[PATCH] Braille screen reader fixes, Samuel Thibault, (Sat Feb 23, 9:15 am)
Re: [PATCH] Basic braille screen reader support, Samuel Thibault, (Mon Feb 4, 1:24 pm)
Re: [PATCH] Basic braille screen reader support, Samuel Thibault, (Mon Feb 4, 2:15 pm)
Re: [PATCH] Basic braille screen reader support, Samuel Thibault, (Sun Feb 3, 11:22 pm)