[BRLTTY] Bindings

Jean-Philippe MENGUAL mengualjeanphi at free.fr
Sat Aug 16 17:32:17 EDT 2008


Le Saturday 16 August 2008 à 05:19:45PM, Dave Mielke a écrit :
> [quoted lines by Jean-Philippe MENGUAL on 2008/08/16 at 22:49 +0200]
> 
> >No Dave I don't use the developpement release. It's impossible since the
> >Eurobraille driver goes on segfault or bindings don't work. 
> 
> Are you being helped with those problems? Fixing them would be a reason to do 
> another brltty release.
I'm trying studying the issue with Yannick. I hope we'll solve that. 

> >So I use 3.8 release now.
> 
> Okay ... that may explain why you're having those sorts of problems.
I use the attached patch did Sam for 3.8 for me.  

> >Tell me what you think of that, maybe I dinn't explain correctly the
> >problem explained by Sam :D
> 
> I'll check with him to be sure I understand it correctly, and then we'll test 
> to see if 3.10 still has the same problem or not.
Ok..

> 
> It's hard for me, personally, to reproduce your problem because I've only ever 
> used a qwerty keyboard. 
Doesn't the log I sent help?

> one like yours, i.e. an azerty keyboard, and then also tell me what such a 
> keyboard is laid out like, then I can do some testing within an environment 
> that's closer to yours.
I'm ready to do all necessary tests for you. I've tools, I can send you
necessary results, logs... I hope log helps you.

Sincerely,

JP
-------------- next part --------------
--- Bindings/Python/brlapi.pyx.orig	2008-08-13 19:32:15.000000000 +0100
+++ Bindings/Python/brlapi.pyx	2008-08-13 19:32:29.000000000 +0100
@@ -484,7 +484,7 @@
 		else:
 			return { "type":ekc.type, "command":ekc.command, "argument":ekc.argument, "flags":ekc.flags }
 	
-	def ignoreKeys(self, type, set):
+	def ignoreKeys(self, the_type, set):
 		"""Ignore some key presses from the braille keyboard.
 		See brlapi_ignoreKeys(3).
 		
@@ -495,7 +495,7 @@
 		cdef c_brlapi.brlapi_rangeType_t c_type
 		cdef c_brlapi.brlapi_keyCode_t *c_set
 		cdef unsigned int c_n
-		c_type = type
+		c_type = the_type
 		c_n = len(set)
 		c_set = <c_brlapi.brlapi_keyCode_t*>c_brlapi.malloc(c_n * sizeof(c_set[0]))
 		for i from 0 <= i < c_n:
@@ -509,7 +509,7 @@
 		else:
 			return retval
 
-	def acceptKeys(self, type, set):
+	def acceptKeys(self, the_type, set):
 		"""Accept some key presses from the braille keyboard.
 		See brlapi_ignoreKeys(3).
 		
@@ -520,7 +520,7 @@
 		cdef c_brlapi.brlapi_rangeType_t c_type
 		cdef c_brlapi.brlapi_keyCode_t *c_set
 		cdef unsigned int c_n
-		c_type = type
+		c_type = the_type
 		c_n = len(set)
 		c_set = <c_brlapi.brlapi_keyCode_t*>c_brlapi.malloc(c_n * sizeof(c_set[0]))
 		for i from 0 <= i < c_n:
-------------- next part --------------
BRLTTY 3.8 [http://mielke.cc/brltty/]
brltty: Working Directory: /etc/brltty
brltty: Configuration File: /etc/brltty.conf
brltty: Data Directory: /etc/brltty
brltty: Library Directory: /lib/brltty
brltty: Tables Directory: /etc/brltty
brltty: file opened: /etc/brltty/text.fr-iso01.tbl fd=3
brltty: Text Table: text.fr-iso01.tbl
brltty: Attributes Table: attributes.tbl
brltty: Contractions Directory: /etc/brltty
brltty: Contraction Table: none
brltty: Linux Screen Driver:
brltty: Screen Parameter: hfb=
brltty: Screen Parameter: acm=
brltty: Screen Parameter: debugacm=
brltty: Screen Parameter: debugsfm=
brltty: Screen Parameter: debugctt=
brltty: screen device list: /dev/vcsa /dev/vcsa0 /dev/vcc/a
brltty: checking screen device: /dev/vcsa
brltty: screen device: /dev/vcsa
brltty: console device list: /dev/tty0 /dev/vc/0
brltty: checking console device: /dev/tty0
brltty: console device: /dev/tty0
brltty: opening device: /dev/vcsa
brltty: screen opened: /dev/vcsa: fd=3
brltty: opening device: /dev/tty0
brltty: console opened: /dev/tty0: fd=4
brltty: Application Character Map: iso01
brltty: Screen Font Map Size: 272
brltty: VGA Character Count: 256(small)
brltty: attributes masks: font=00 unshifted=FF shifted=00
brltty: BRLTTY BrlAPI Server: release 0.5.0
brltty: API Parameter: auth=
brltty: API Parameter: host=
brltty: API Parameter: stacksize=
brltty: checking braille device: serial:/dev/ttyS0
brltty: checking for 'eu' braille display.
brltty: initializing braille driver: eu -> serial:/dev/ttyS0
brltty: device directory: /dev
brltty: serial device opened: /dev/ttyS0: fd=6
brltty: socket 0 established (fd 5)
brltty: socket 1 established (fd 7)
brltty: EuroBraille: hardware reset requested
brltty: Detected EuroBraille version CN4 6.60-080007-0D25: 40 columns
brltty: EuroBraille Display detection successfull, cols=40
brltty: Braille Display Dimensions: 1 row, 40 columns
brltty: shifts: fwin=40 hwin=20 vwin=5
brltty: api link
brltty: Braille Driver: eu [EuroBraille]
brltty: EuroBraille Braille Driver: version 1.3.4
brltty: Braille Device: serial:/dev/ttyS0
brltty: Help File: brltty-eu.hlp
brltty: Help Page: /etc/brltty/brltty-eu.hlp[0]
brltty: Preferences File: /etc/brltty-eu.prefs
brltty: cannot open file: /etc/brltty-eu.prefs: Aucun fichier ou répertoire de ce type
brltty: exit status: 0
brltty: Console opened: fd=8
brltty: beeper opened.
brltty: tone: msec=60 note=64
brltty: tone: msec=100 note=69
brltty: looking for speech synthesizer.
brltty: no speech synthesizer found.
brltty: Speech FIFO: none
brltty: api unlink
brltty: command: 000017
brltty: api link
brltty: Screen Font Map Size: 272
brltty: VGA Character Count: 256(small)
brltty: attributes masks: font=00 unshifted=FF shifted=00
brltty: beeper closed.
brltty: looking for speech synthesizer.
brltty: no speech synthesizer found.
brltty: opening device: /dev/tty0
brltty: console closed: fd=4
brltty: console opened: /dev/tty0: fd=9
brltty: Screen Font Map Size: 272
brltty: VGA Character Count: 256(small)
brltty: attributes masks: font=00 unshifted=FF shifted=00
brltty: looking for speech synthesizer.
brltty: no speech synthesizer found.
brltty: BrlAPI connection fd=4 accepted: inet 127.0.0.1:52811
brltty: Authorization key loaded
brltty: Received GetDisplaySize request on fd 4
brltty: Received enterTtyMode request on fd 4
brltty: adding range [0(0)..ffffffff(ffffffff)]
brltty: removing range [20000000(0)..20000000(ffffffff)]
brltty: removing range [20000046(0)..20000047(ffffffff)]
brltty: removing range [2000004a(0)..2000004b(ffffffff)]
brltty: removing range [20060000(0)..2006ffff(ffffffff)]
brltty: removing range [20240000(0)..2024ffff(ffffffff)]
brltty: removing range [20230000(0)..2023ffff(ffffffff)]
brltty: removing range [20250000(0)..2025ffff(ffffffff)]
brltty: allocated tty 0x00000007
brltty: Taking control of tty 0x00000007 (how=0)
brltty: Received IgnoreKeyRanges request on fd 4
brltty: range: [0000000000000000..ffffffffffffffff]
brltty: removing range [0(0)..ffffffff(ffffffff)]
brltty: Received AcceptKeyRanges request on fd 4
brltty: range: [0000000000000000..ffffffff1fffffff]
brltty: adding range [0(0)..1fffffff(ffffffff)]
brltty: Focus on window 0x01800020
brltty: Received Write request on fd 4
brltty: charset ISO-8859-1
brltty: Wchar Charset: UCS-4LE
brltty: looking for speech synthesizer.
brltty: no speech synthesizer found.
brltty: Focus on window 0x00000065
brltty: Received Write request on fd 4
brltty: charset ISO-8859-1
brltty: Focus on window 0x01800020
brltty: Received Write request on fd 4
brltty: charset ISO-8859-1
brltty: Focus on window 0x016002b6
brltty: Received Write request on fd 4
brltty: charset ISO-8859-1
brltty: looking for speech synthesizer.
brltty: no speech synthesizer found.
brltty: command: 00221F
brltty: insert key: 0071
brltty: opening device: /dev/tty0
brltty: console closed: fd=9
brltty: console opened: /dev/tty0: fd=10
brltty: command: 00221F
brltty: insert key: 0071
brltty: opening device: /dev/tty0
brltty: console closed: fd=10
brltty: console opened: /dev/tty0: fd=9
brltty: looking for speech synthesizer.
brltty: no speech synthesizer found.
brltty: command: 002201
brltty: insert key: 0061
brltty: opening device: /dev/tty0
brltty: console closed: fd=9
brltty: console opened: /dev/tty0: fd=10
brltty: command: 002215
brltty: insert key: 006F
brltty: opening device: /dev/tty0
brltty: console closed: fd=10
brltty: console opened: /dev/tty0: fd=9
brltty: command: 002217
brltty: insert key: 0072
brltty: opening device: /dev/tty0
brltty: console closed: fd=9
brltty: console opened: /dev/tty0: fd=10
brltty: command: 002209
brltty: insert key: 0063
brltty: opening device: /dev/tty0
brltty: console closed: fd=10
brltty: console opened: /dev/tty0: fd=9
brltty: looking for speech synthesizer.
brltty: no speech synthesizer found.
brltty: command: 002201
brltty: insert key: 0061
brltty: opening device: /dev/tty0
brltty: console closed: fd=9
brltty: console opened: /dev/tty0: fd=10
brltty: looking for speech synthesizer.
brltty: no speech synthesizer found.
brltty: api unlink
brltty: api link
brltty: command: 000602
brltty: switched to virtual tertminal 3.
brltty: opening device: /dev/tty0
brltty: console closed: fd=10
brltty: console opened: /dev/tty0: fd=9
brltty: Screen Font Map Size: 272
brltty: VGA Character Count: 256(small)
brltty: attributes masks: font=00 unshifted=FF shifted=00
brltty: looking for speech synthesizer.
brltty: no speech synthesizer found.
brltty: api unlink
brltty: api link
brltty: command: 000000
brltty: command: 042209
brltty: insert key: 0003
brltty: opening device: /dev/tty0
brltty: console closed: fd=9
brltty: console opened: /dev/tty0: fd=10
brltty: api unlink
brltty: api link
brltty: api unlink
brltty: beeper opened.
brltty: tone: msec=60 note=64
brltty: tone: msec=60 note=57
brltty: console closed: fd=10
brltty: screen closed: fd=3
brltty: beeper closed.


More information about the BRLTTY mailing list