Re: kernel 2.6.24 speakup

2008-03-28 Thread Samuel Thibault
maximilian attems, le Thu 27 Mar 2008 21:13:49 +0100, a écrit :
 On Thu, 27 Mar 2008, Samuel Thibault wrote:
 
  Erf, it looks like I've brought even more confusion with that braille
  patch.  I'll try to be clearly sum up:
  
  - Vanilla 2.6.24 has keyboard/VT notifier support
  - both braille module and speakup need additional 4 exports to work
 
 ok understood, thanks :)
  
  Now, I was not talking about importing the whole braille module patch
  into the debian kernel, but just the 4 exports, so that speakup can be
  compiled as modules.  So
  
  - either (as I originally said in the thread) apply Speakup's
  speakup/patches/kernel-integration-2.6.24-source.patch ,
  - or use the equivalent exerpt of the -mm braille patch, attached to
  this mail.
 
 cool applies fine to 2.6.25-rc7, add to current linux-2.6 trunk.
 will be in the next 2.6.25 upload, that can be expected soon.

Cool, thanks!

Samuel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-27 Thread Samuel Thibault
Hello,

maximilian attems, le Wed 26 Mar 2008 14:58:57 +0100, a écrit :
 On Tue, 25 Mar 2008, Samuel Thibault wrote:
 
  Ah, so since Lenny's d-i is supposed to use 2.6.24, speakup won't make
  it into it :/
 
 as otavio said we gonna release with  2.6.24
 for debian 2.6.24 stuff would have to go through the stable releases.
 
 7 out of 9 hunks FAILED -- saving rejects to file
 drivers/char/keyboard.c.rej
 12 out of 16 hunks FAILED -- saving rejects to file drivers/char/vt.c.rej
 1 out of 2 hunks FAILED -- saving rejects to file
 include/linux/keyboard.h.rej
 1 out of 1 hunk FAILED -- saving rejects to file
 include/linux/notifier.h.rej
 1 out of 1 hunk FAILED -- saving rejects to file include/linux/vt.h.rej
   (+) FAIL notifier-integration.patch
 
 notifier-integration.patch taken from HEAD
 465da369435f5dc853656bb01731c59759d0a5e2

Little wonder you get so many failures: you don't need to apply that
patch: keyboard/vt notifiers are _already_ in 2.6.24 kernels.

Again, the only patch you need to apply to 2.6.24 is
speakup/patches/kernel-integration-2.6.24-source.patch
and then you can compile speakup as an independant module from the src/
directory.  No need to fetch other patches like the one below

 it'be nice if your git repo would feature a gitweb and a git server.
 anyway the -mm patch
 ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/broken-out/input-put-ledstate-in-the-keyboard-notifier.patch
 seems to apply fine for 2.6.25, but has none of the wanted exports.

It indeed isn't needed at all for speaup.

Samuel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-27 Thread Samuel Thibault
maximilian attems, le Wed 26 Mar 2008 14:58:57 +0100, a écrit :
 anyway the -mm patch
 ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/broken-out/input-put-ledstate-in-the-keyboard-notifier.patch
 seems to apply fine for 2.6.25, but has none of the wanted exports.

BTW, the patch that adds the export is
basic-braille-screen-reader-support.patch

Samuel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-27 Thread maximilian attems
On Thu, Mar 27, 2008 at 03:39:42PM +0100, Samuel Thibault wrote:
 maximilian attems, le Wed 26 Mar 2008 14:58:57 +0100, a écrit :
  anyway the -mm patch
  ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/broken-out/input-put-ledstate-in-the-keyboard-notifier.patch
  seems to apply fine for 2.6.25, but has none of the wanted exports.
 
 BTW, the patch that adds the export is
 basic-braille-screen-reader-support.patch

i have head ache today, so i'll keep it short.
it would be great if this messy thread comes to some result.

the braille module itself unless merged would be in
linux-modules-extra. does it still need a specific patch in linux-2.6
itself for 2.6.25 and if yes please point to the mm one instead
of letting people fish in the dark, thanks :)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-27 Thread Samuel Thibault
maximilian attems, le Thu 27 Mar 2008 17:13:58 +0100, a écrit :
 On Thu, Mar 27, 2008 at 03:39:42PM +0100, Samuel Thibault wrote:
  maximilian attems, le Wed 26 Mar 2008 14:58:57 +0100, a écrit :
   anyway the -mm patch
   ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/broken-out/input-put-ledstate-in-the-keyboard-notifier.patch
   seems to apply fine for 2.6.25, but has none of the wanted exports.
  
  BTW, the patch that adds the export is
  basic-braille-screen-reader-support.patch
 
 i have head ache today, so i'll keep it short.
 it would be great if this messy thread comes to some result.
 
 the braille module itself unless merged would be in
 linux-modules-extra. does it still need a specific patch in linux-2.6
 itself for 2.6.25 and if yes please point to the mm one instead
 of letting people fish in the dark, thanks :)

Erf, it looks like I've brought even more confusion with that braille
patch.  I'll try to be clearly sum up:

- Vanilla 2.6.24 has keyboard/VT notifier support
- both braille module and speakup need additional 4 exports to work
- to get braille module in -mm, I had to stuff the 4 exports in its
  patch

Now, I was not talking about importing the whole braille module patch
into the debian kernel, but just the 4 exports, so that speakup can be
compiled as modules.  So

- either (as I originally said in the thread) apply Speakup's
speakup/patches/kernel-integration-2.6.24-source.patch ,
- or use the equivalent exerpt of the -mm braille patch, attached to
this mail.

and then speakup can be compiled as separate modules in
linux-modules-extra.

Samuel
diff -puN drivers/char/consolemap.c~basic-braille-screen-reader-support 
drivers/char/consolemap.c
--- a/drivers/char/consolemap.c~basic-braille-screen-reader-support
+++ a/drivers/char/consolemap.c
@@ -277,6 +277,7 @@ u16 inverse_translate(struct vc_data *co
return p-inverse_translations[m][glyph];
}
 }
+EXPORT_SYMBOL_GPL(inverse_translate);
 
 static void update_user_maps(void)
 {
diff -puN drivers/char/keyboard.c~basic-braille-screen-reader-support 
drivers/char/keyboard.c
--- a/drivers/char/keyboard.c~basic-braille-screen-reader-support
+++ a/drivers/char/keyboard.c
@@ -109,6 +109,7 @@ const int max_vals[] = {
 const int NR_TYPES = ARRAY_SIZE(max_vals);
 
 struct kbd_struct kbd_table[MAX_NR_CONSOLES];
+EXPORT_SYMBOL_GPL(kbd_table);
 static struct kbd_struct *kbd = kbd_table;
 
 struct vt_spawn_console vt_spawn_con = {
@@ -259,6 +260,7 @@ void kd_mksound(unsigned int hz, unsigne
} else
kd_nosound(0);
 }
+EXPORT_SYMBOL_GPL(kd_mksound);
 
 /*
  * Setting the keyboard rate.
diff -puN drivers/char/vt.c~basic-braille-screen-reader-support 
drivers/char/vt.c
--- a/drivers/char/vt.c~basic-braille-screen-reader-support
+++ a/drivers/char/vt.c
@@ -4003,6 +4003,7 @@ u16 screen_glyph(struct vc_data *vc, int
c |= 0x100;
return c;
 }
+EXPORT_SYMBOL_GPL(screen_glyph);
 
 /* used by vcs - note the word offset */
 unsigned short *screen_pos(struct vc_data *vc, int w_offset, int viewed)


Re: kernel 2.6.24 speakup

2008-03-27 Thread maximilian attems
On Thu, 27 Mar 2008, Samuel Thibault wrote:

 Erf, it looks like I've brought even more confusion with that braille
 patch.  I'll try to be clearly sum up:
 
 - Vanilla 2.6.24 has keyboard/VT notifier support
 - both braille module and speakup need additional 4 exports to work

ok understood, thanks :)
 
 Now, I was not talking about importing the whole braille module patch
 into the debian kernel, but just the 4 exports, so that speakup can be
 compiled as modules.  So
 
 - either (as I originally said in the thread) apply Speakup's
 speakup/patches/kernel-integration-2.6.24-source.patch ,
 - or use the equivalent exerpt of the -mm braille patch, attached to
 this mail.

cool applies fine to 2.6.25-rc7, add to current linux-2.6 trunk.
will be in the next 2.6.25 upload, that can be expected soon.
 
bonne soirée
max


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-26 Thread maximilian attems
On Tue, 25 Mar 2008, Samuel Thibault wrote:

 Ah, so since Lenny's d-i is supposed to use 2.6.24, speakup won't make
 it into it :/

as otavio said we gonna release with  2.6.24
for debian 2.6.24 stuff would have to go through the stable releases.

7 out of 9 hunks FAILED -- saving rejects to file
drivers/char/keyboard.c.rej
12 out of 16 hunks FAILED -- saving rejects to file drivers/char/vt.c.rej
1 out of 2 hunks FAILED -- saving rejects to file
include/linux/keyboard.h.rej
1 out of 1 hunk FAILED -- saving rejects to file
include/linux/notifier.h.rej
1 out of 1 hunk FAILED -- saving rejects to file include/linux/vt.h.rej
  (+) FAIL notifier-integration.patch

notifier-integration.patch taken from HEAD
465da369435f5dc853656bb01731c59759d0a5e2
it'be nice if your git repo would feature a gitweb and a git server.
anyway the -mm patch
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc5/2.6.25-rc5-mm1/broken-out/input-put-ledstate-in-the-keyboard-notifier.patch
seems to apply fine for 2.6.25, but has none of the wanted exports.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-25 Thread Otavio Salvador
Samuel Thibault [EMAIL PROTECTED] writes:

 Hello,

 Mario Lang, le Tue 25 Mar 2008 17:28:32 +0100, a écrit :
 Samuel Thibault [EMAIL PROTECTED] writes:
  (speakup can now be compiled fully independently)
 
 linux-modules-extra-2.6 seems like the perfect place for speakup, now that it
 does not require the kernel to be patched anymore.

 Well, a small patch is still needed, but it just boils down to
 GPL-exporting 4 symbols, and that is already in the -mm tree, so
 backporting it to the debian kernel shouldn't be a problem..

It would be nice if you could talk to Debian Kernel Team (just added
it to cc list) and see if this could be added for next 2.6.24 upload
or later. That would allow the module to be build from
linux-modules-extra-2.6 and later to be added to d-i if needed.

-- 
O T A V I OS A L V A D O R
-
 E-mail: [EMAIL PROTECTED]  UIN: 5906116
 GNU/Linux User: 239058 GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
-
Microsoft sells you Windows ... Linux gives
 you the whole house.



Re: kernel 2.6.24 speakup

2008-03-25 Thread maximilian attems
On Tue, Mar 25, 2008 at 03:06:58PM -0300, Otavio Salvador wrote:
 Samuel Thibault [EMAIL PROTECTED] writes:
 
  Hello,
 
  Mario Lang, le Tue 25 Mar 2008 17:28:32 +0100, a écrit :
  Samuel Thibault [EMAIL PROTECTED] writes:
   (speakup can now be compiled fully independently)
  
  linux-modules-extra-2.6 seems like the perfect place for speakup, now that 
  it
  does not require the kernel to be patched anymore.
 
  Well, a small patch is still needed, but it just boils down to
  GPL-exporting 4 symbols, and that is already in the -mm tree, so
  backporting it to the debian kernel shouldn't be a problem..
 
 It would be nice if you could talk to Debian Kernel Team (just added
 it to cc list) and see if this could be added for next 2.6.24 upload
 or later. That would allow the module to be build from
 linux-modules-extra-2.6 and later to be added to d-i if needed.

ok thanks for informing us. :)

afair we had a discussion about speakup and it would point to
security troubles of that patch.
but i don't remember the cicurmstances why it got droped
when going from 2.4 to 2.6?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-25 Thread Samuel Thibault
Samuel Thibault, le Tue 25 Mar 2008 18:39:54 +, a écrit :
 Apply patches/kernel-integration-2.6.24-source.patch to the main kernel
 source to GPL-export 4 symbols,

Note: by that, I mean to pick that patch into the regular linux-2.6
kernel.  That patch is already in the -mm tree actually.

Samuel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-25 Thread Samuel Thibault
Frans Pop, le Tue 25 Mar 2008 19:29:56 +0100, a écrit :
 (Please don't CC me on list mail.)

Then tell your mailer to use followup-to :)

 On Tuesday 25 March 2008, Samuel Thibault wrote:
  The idea is to compile the speakup module out-of-tree but still include
  it in d-i.
 
 Why would you want to compile a module that is in-tree as an out-of-tree 
 module?

Mmm, maybe I don't understand what you mean by in-tree.

The idea is not to compile speakup built into the kernel, but just as a
module, and then it doesn't need to be integrated to the kernel build
system, but just be compiled separately, just like exmap, ndiswrapper,
spca5xx etc.

Samuel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-25 Thread Samuel Thibault
Hello,

maximilian attems, le Tue 25 Mar 2008 19:31:03 +0100, a écrit :
 On Tue, Mar 25, 2008 at 03:06:58PM -0300, Otavio Salvador wrote:
  Samuel Thibault [EMAIL PROTECTED] writes:
  
   Hello,
  
   Mario Lang, le Tue 25 Mar 2008 17:28:32 +0100, a écrit :
   Samuel Thibault [EMAIL PROTECTED] writes:
(speakup can now be compiled fully independently)
   
   linux-modules-extra-2.6 seems like the perfect place for speakup, now 
   that it
   does not require the kernel to be patched anymore.
  
   Well, a small patch is still needed, but it just boils down to
   GPL-exporting 4 symbols, and that is already in the -mm tree, so
   backporting it to the debian kernel shouldn't be a problem..
  
  It would be nice if you could talk to Debian Kernel Team (just added
  it to cc list) and see if this could be added for next 2.6.24 upload
  or later. That would allow the module to be build from
  linux-modules-extra-2.6 and later to be added to d-i if needed.
 
 ok thanks for informing us. :)
 
 afair we had a discussion about speakup and it would point to
 security troubles of that patch.
 but i don't remember the cicurmstances why it got droped
 when going from 2.4 to 2.6?

Well, things have evolved a lot since then.  Speakup used to need to
patch the kernel quite heavily in order to get keyboard  screen access.
I have worked with lkml to integrate that part much more nicely with
notifiers, and it is now part of 2.6.24.  The result is that the patch
that Speakup needs is now reduced to exporting the inverse_translate,
kbd_table, kd_mksound, and screen_glyph symbols, which is already the
case in the -mm tree.  As a consequence, speakup can now be compiled
as a separate module which can be loaded only when necessary (blind
people).

Samuel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-25 Thread Samuel Thibault
Hello,

Otavio Salvador, le Tue 25 Mar 2008 15:06:58 -0300, a écrit :
 Samuel Thibault [EMAIL PROTECTED] writes:
  Mario Lang, le Tue 25 Mar 2008 17:28:32 +0100, a écrit :
  Samuel Thibault [EMAIL PROTECTED] writes:
   (speakup can now be compiled fully independently)
  
  linux-modules-extra-2.6 seems like the perfect place for speakup, now that 
  it
  does not require the kernel to be patched anymore.
 
  Well, a small patch is still needed, but it just boils down to
  GPL-exporting 4 symbols, and that is already in the -mm tree, so
  backporting it to the debian kernel shouldn't be a problem..
 
 It would be nice if you could talk to Debian Kernel Team (just added
 it to cc list)

Oh, right, it was still not included.

 and see if this could be added for next 2.6.24 upload
 or later. That would allow the module to be build from
 linux-modules-extra-2.6 and later to be added to d-i if needed.

Basically, all is needed is to

git clone http://linux-speakup.org/speakup.git

Apply patches/kernel-integration-2.6.24-source.patch to the main kernel
source to GPL-export 4 symbols, and then run

make $(cat allmodules.mk) SUBDIRS=$PWD -C /some/where/linux-whatever

from src/

Samuel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-25 Thread maximilian attems
On Tue, Mar 25, 2008 at 06:50:01PM +, Samuel Thibault wrote:
 Samuel Thibault, le Tue 25 Mar 2008 18:39:54 +, a écrit :
  Apply patches/kernel-integration-2.6.24-source.patch to the main kernel
  source to GPL-export 4 symbols,
 
 Note: by that, I mean to pick that patch into the regular linux-2.6
 kernel.  That patch is already in the -mm tree actually.

once it is in next we can maybe backport, other wise we'll just pick it
up when merged. 2.6.24 window is closed anyway.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-25 Thread Bastian Blank
On Tue, Mar 25, 2008 at 06:39:54PM +, Samuel Thibault wrote:
 make $(cat allmodules.mk) SUBDIRS=$PWD -C /some/where/linux-whatever

First: s/SUBDIRS/M/.
Second:
| $ make -C /usr/src/linux-headers-2.6.24-1-powerpc M=$(pwd) $(cat allmodule.mk)
| make: Entering directory `/usr/src/linux-headers-2.6.24-1-powerpc'
|   CC [M]  /home/waldi/linux/speakup/src/synth.o
| /home/waldi/linux/speakup/src/synth.c:20:58: error: asm-ppc/pc_serial.h: No 
such file or directory
| make[1]: *** [/home/waldi/linux/speakup/src/synth.o] Error 1
| make: *** [_module_/home/waldi/linux/speakup/src] Error 2
| make: Leaving directory `/usr/src/linux-headers-2.6.24-1-powerpc'

asm-ppc is so legacy that this hurts.

Bastian

-- 
You can't evaluate a man by logic alone.
-- McCoy, I, Mudd, stardate 4513.3


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-25 Thread Samuel Thibault
maximilian attems, le Tue 25 Mar 2008 20:13:30 +0100, a écrit :
 On Tue, Mar 25, 2008 at 06:50:01PM +, Samuel Thibault wrote:
  Samuel Thibault, le Tue 25 Mar 2008 18:39:54 +, a écrit :
   Apply patches/kernel-integration-2.6.24-source.patch to the main kernel
   source to GPL-export 4 symbols,
  
  Note: by that, I mean to pick that patch into the regular linux-2.6
  kernel.  That patch is already in the -mm tree actually.
 
 once it is in next

in next?

 we can maybe backport, other wise we'll just pick it
 up when merged.

Ah, but it will probably not happen before 2.5.26 since it didn't make
it into 2.5.25, whose window is closed since a long time now.

 2.6.24 window is closed anyway.

You mean the upstream or the Debian?

Samuel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-25 Thread Frans Pop
On Tuesday 25 March 2008, Samuel Thibault wrote:
 It is not part of the upstream kernel.

OK. I misunderstood that. My apologies.

Anyway, it still needs to be included in linux-2.6 and l-e-m before we can 
really discuss inclusion in the installer.
Having it in l-m-e should not be a problem for us. We already do have other 
modules (loop-aes and squashfs) we take from that.

Cheers,
FJP


signature.asc
Description: This is a digitally signed message part.


Re: kernel 2.6.24 speakup

2008-03-25 Thread Samuel Thibault
Hello,

Bastian Blank, le Tue 25 Mar 2008 21:22:25 +0100, a écrit :
 On Tue, Mar 25, 2008 at 06:39:54PM +, Samuel Thibault wrote:
  make $(cat allmodules.mk) SUBDIRS=$PWD -C /some/where/linux-whatever
 
 First: s/SUBDIRS/M/.

Oh, right.

 | $ make -C /usr/src/linux-headers-2.6.24-1-powerpc M=$(pwd) $(cat 
 allmodule.mk)
 | make: Entering directory `/usr/src/linux-headers-2.6.24-1-powerpc'
 |   CC [M]  /home/waldi/linux/speakup/src/synth.o
 | /home/waldi/linux/speakup/src/synth.c:20:58: error: asm-ppc/pc_serial.h: No 
 such file or directory
 | make[1]: *** [/home/waldi/linux/speakup/src/synth.o] Error 1
 | make: *** [_module_/home/waldi/linux/speakup/src] Error 2
 | make: Leaving directory `/usr/src/linux-headers-2.6.24-1-powerpc'
 
 asm-ppc is so legacy that this hurts.

Oh, right, I could not test non-x86 archs myself.  I've pushed a fix.

Thanks,
Samuel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-25 Thread Samuel Thibault
Frans Pop, le Tue 25 Mar 2008 21:40:24 +0100, a écrit :
 On Tuesday 25 March 2008, Samuel Thibault wrote:
  It is not part of the upstream kernel.
 
 OK. I misunderstood that. My apologies.

No problem.

 Anyway, it still needs to be included in linux-2.6 and l-e-m before we can 
 really discuss inclusion in the installer.

Yes, sure.

 Having it in l-m-e should not be a problem for us. We already do have other 
 modules (loop-aes and squashfs) we take from that.

Ok, leaving the debian-boot Cc for now then.

Samuel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-25 Thread Samuel Thibault
Frans Pop, le Tue 25 Mar 2008 20:44:03 +0100, a écrit :
  The idea is not to compile speakup built into the kernel, but just as a
  module, and then it doesn't need to be integrated to the kernel build
  system, 
 
 Compiling it into the kernel is not what I'm talking about. It definitely 
 should be built as a module, but as it is part of the upstream kernel,

It is not part of the upstream kernel.

  but just be compiled separately, just like exmap, ndiswrapper, spca5xx
  etc. 
 
 The reason they are in linux-modules extra is exactly because they are _not_ 
 included in the official upstream kernel source, and thus need to be in a 
 different source package.
 If you wanted speakup to be in linux-modules-extra, you should not have sent 
 your patches to lkml for inclusion...

Speakup didn't got to lkml for inclusion.  Only the notifier part did,
and it's now available in Debian.  The few still needed export symbols
didn't get through however, so a very light patch is still needed (see
attachement).

Samuel
diff --git a/drivers/char/consolemap.c b/drivers/char/consolemap.c
index 4b3916f..37c7980 100644
--- a/drivers/char/consolemap.c
+++ b/drivers/char/consolemap.c
@@ -277,6 +277,7 @@
return p-inverse_translations[m][glyph];
}
 }
+EXPORT_SYMBOL_GPL(inverse_translate);
 
 static void update_user_maps(void)
 {
--- a/drivers/char/keyboard.c
+++ b/drivers/char/keyboard.c
@@ -111,6 +111,8 @@
  
 struct kbd_struct kbd_table[MAX_NR_CONSOLES];
+EXPORT_SYMBOL_GPL(kbd_table);
 static struct kbd_struct *kbd = kbd_table;
+EXPORT_SYMBOL_GPL(kd_mksound);
 
 struct vt_spawn_console vt_spawn_con = {
.lock = __SPIN_LOCK_UNLOCKED(vt_spawn_con.lock),
--- a/drivers/char/vt.c
+++ b/drivers/char/vt.c
@@ -3934,6 +3934,7 @@
c |= 0x100;
return c;
 }
+EXPORT_SYMBOL_GPL(screen_glyph);
 
 /* used by vcs - note the word offset */
 unsigned short *screen_pos(struct vc_data *vc, int w_offset, int viewed)


Re: kernel 2.6.24 speakup

2008-03-25 Thread maximilian attems
On Tue, Mar 25, 2008 at 07:43:47PM +, Samuel Thibault wrote:
 maximilian attems, le Tue 25 Mar 2008 20:13:30 +0100, a écrit :
  
  once it is in next
 
 in next?

next is the linux tree of things that are ready for the next
merge window aka 2.6.26 now.
 
  2.6.24 window is closed anyway.
 
 You mean the upstream or the Debian?

debian, see 
- http://wiki.debian.org/DebianKernelPatchAcceptanceGuidelines
 
-- 
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-25 Thread Samuel Thibault
maximilian attems, le Tue 25 Mar 2008 23:27:14 +0100, a écrit :
 On Tue, Mar 25, 2008 at 07:43:47PM +, Samuel Thibault wrote:
  maximilian attems, le Tue 25 Mar 2008 20:13:30 +0100, a écrit :
   
   once it is in next
  
  in next?
 
 next is the linux tree of things that are ready for the next
 merge window aka 2.6.26 now.

Ok.

   2.6.24 window is closed anyway.
  
  You mean the upstream or the Debian?
 
 debian

Ah, so since Lenny's d-i is supposed to use 2.6.24, speakup won't make
it into it :/

Thanks for the info anyway,
Samuel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: kernel 2.6.24 speakup

2008-03-25 Thread Otavio Salvador
Samuel Thibault [EMAIL PROTECTED] writes:

   2.6.24 window is closed anyway.
  
  You mean the upstream or the Debian?
 
 debian

 Ah, so since Lenny's d-i is supposed to use 2.6.24, speakup won't make
 it into it :/

Beta2 is probably going to be released with 2.6.24 but I guess lenny
will still be updated for 2.6.25/2.6.26 (up to kernel team to decide
about it).

-- 
O T A V I OS A L V A D O R
-
 E-mail: [EMAIL PROTECTED]  UIN: 5906116
 GNU/Linux User: 239058 GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
-
Microsoft sells you Windows ... Linux gives
 you the whole house.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]