Re: [CBLX] BRLTTY et ESYS

[ Thread Index | Date Index | More lists.tuxfamily.org/carrefourblinux Archives ]


Samuel Thibault wrote on Fri, Jul 31, 2009 at 12:37:39AM +0200
> Dominique Asselineau, le Thu 30 Jul 2009 21:14:36 +0200, a écrit :
> > Bon, maintenant je m'attaque à l'ESYS.  D'après les messages qui sont passés 
> > sur la liste en juin, l'ESYS devrait normalement fonctionner en USB.  
> > Le problème est que l'appareil s'obstine à me dire "Cable USB débranché..."
> 
> Donne à brltty les options
> 
> -l debug -e -n > /tmp/log 2>&1

Je n'ai pas mis exactement ces options car je voulais exécuter un lsof
pour voir qui occupe le port usb, mais j'ai tout exécuté sous la
commande script.

La commande lançant BRLTTY, elle-même placée dans la commande ./esys,
est donc

# /usr/local/bin/brltty -b eu -d usb: -t fr-vs -l 7 -e 2>/root/esys.log

En pièces jointes, il y a 
 - le log de BRLTTY (esys.log), 
 - le résultat de la commande script (esys.script).
J'ai également mis 
 - une copie d'écran de ce qui se passe lorsque je branche l'ESYS en USB 
   (usb.log)
car il semble être vu comme un disque amovible...  Au passage, lorsque 
l'ESYS reste branché au redémarrage de la machine, ce redémarrage reste 
bloqué sans que je puisse voir réellement pourquoi car je n'ai pas la main 
à ce moment-là.

Le log de BRLTTY semble indiquer que le port USB est occupé alors
qu'une commande "lsof /dev/sdb" ne confirme pas.

dom
--
BRLTTY 4.0 [http://mielke.cc/brltty/]
brltty: Working Directory: /usr/local/etc/brltty
brltty: Writable Directory: /usr/local/lib/brltty/rw
brltty: Configuration File: /usr/local/etc/brltty.conf
brltty: Data Directory: /usr/local/etc/brltty
brltty: Library Directory: /usr/local/lib/brltty
brltty: Tables Directory: /usr/local/etc/brltty
brltty: file opened: /usr/local/etc/brltty/fr-vs.ttb fd=3
brltty: including data file: /usr/local/etc/brltty/fr-vs.ttb
brltty: file opened: /usr/local/etc/brltty/letters-latin.tti fd=4
brltty: including data file: /usr/local/etc/brltty/letters-latin.tti
brltty: file opened: /usr/local/etc/brltty/numbers-french.tti fd=4
brltty: including data file: /usr/local/etc/brltty/numbers-french.tti
brltty: file opened: /usr/local/etc/brltty/common.tti fd=4
brltty: including data file: /usr/local/etc/brltty/common.tti
brltty: file opened: /usr/local/etc/brltty/spaces.tti fd=5
brltty: including data file: /usr/local/etc/brltty/spaces.tti
brltty: file opened: /usr/local/etc/brltty/boxes.tti fd=5
brltty: including data file: /usr/local/etc/brltty/boxes.tti
brltty: Text Table: fr-vs
brltty: Attributes Table: attributes
brltty: Contraction Table: none
brltty: Key Table: none
brltty: Keyboard Property: type=
brltty: Keyboard Property: vendor=
brltty: Keyboard Property: product=
brltty: checking for screen driver: lx
brltty: initializing screen driver: lx
brltty: device directory: /dev
brltty: checking screen device: /dev/vcsa
brltty: screen device: vcsa
brltty: checking console device: /dev/tty0
brltty: console device: tty0
brltty: device opened: /dev/vcsa: fd=3
brltty: screen opened: vcsa: fd=3
brltty: device opened: /dev/tty0: fd=4
brltty: console opened: tty0: fd=4
brltty: Screen Font Map Size: 297
brltty: VGA Character Count: 256(small)
brltty: attributes masks: font=0000 unshifted=FF00 shifted=0000
brltty: Screen Driver: lx [Linux]
brltty: Linux Screen Driver:
brltty: Screen Parameter: charset=
brltty: Screen Parameter: hfb=
brltty: Screen Parameter: debugsfm=
brltty: BrlAPI Server: release 0.5.3
brltty: API Parameter: auth=
brltty: API Parameter: host=
brltty: API Parameter: stacksize=
brltty: socket 1 established (fd 6)
brltty: exit status: 0
brltty: Console opened: fd=8
brltty: regions: text=0.0 status=0.0
brltty: shifts: full=1 half=0 vertical=5
brltty: checking braille device: usb:
brltty: checking for braille driver: eu
brltty: linking local socket lock: Le fichier existe.
brltty: socket 0 established (fd 5)
brltty: initializing braille driver: eu -> usb:
brltty: Detecting param 
brltty: verifying file system path: usbfs: /dev/bus/usb
brltty: USBFS Root: /dev/bus/usb
brltty: USB: testing: vendor=0B97 product=7762
brltty: USB: testing: vendor=0B97 product=7761
brltty: USB: testing: vendor=413C product=A005
brltty: USB: testing: vendor=1D6B product=0002
brltty: USB: testing: vendor=1D6B product=0001
brltty: USB: testing: vendor=1D6B product=0001
brltty: USB: testing: vendor=C251 product=1124
brltty: USB configuration set error 16: Périphérique ou ressource occupé.
brltty: USB interface in use: 0 (usbhid)
brltty: USB: no serial operations: vendor=C251 product=1124
brltty: USB: ept=81 dir=in xfr=int pkt=64 ivl=16ms
brltty: USB Language: 409
brltty: USB: Manufacturer Name: Eurobraille
brltty: USB: Product Description: ys HID/Memory?Eurobraille Esys?Esys HID?Esys Memory????
brltty: USB: Serial Number: Eurobraille Esys
brltty: Initializing EsysIris protocol.
brltty: eu: Unable to connect to Braille display.
brltty: USB: ept=81 dir=in xfr=int pkt=64 ivl=16ms
brltty: braille driver initialization failed: eu -> usb:
brltty: braille driver not found
brltty: Braille Display Dimensions: 1 row, 80 columns
brltty: regions: text=0.80 status=0.0
brltty: shifts: full=80 half=40 vertical=5
brltty: no autodetectable speech drivers
brltty: checking for speech driver: no
brltty: initializing speech driver: no
brltty: Speech Driver: no [NoSpeech]
brltty: NoSpeech Speech Driver:
brltty: Speech FIFO: none
brltty: Screen Font Map Size: 297
brltty: VGA Character Count: 256(small)
brltty: attributes masks: font=0000 unshifted=FF00 shifted=0000
brltty: checking braille device: usb:
brltty: checking for braille driver: eu
brltty: initializing braille driver: eu -> usb:
brltty: Detecting param 
brltty: verifying file system path: usbfs: /dev/bus/usb
brltty: USBFS Root: /dev/bus/usb
brltty: USB: testing: vendor=0B97 product=7762
brltty: USB: testing: vendor=0B97 product=7761
brltty: USB: testing: vendor=413C product=A005
brltty: USB: testing: vendor=1D6B product=0002
brltty: USB: testing: vendor=1D6B product=0001
brltty: USB: testing: vendor=1D6B product=0001
brltty: USB: testing: vendor=C251 product=1124
brltty: USB configuration set error 16: Périphérique ou ressource occupé.
brltty: USB: no serial operations: vendor=C251 product=1124
brltty: USB: ept=81 dir=in xfr=int pkt=64 ivl=16ms
brltty: USB Language: 409
brltty: USB: Manufacturer Name: Eurobraille
brltty: USB: Product Description: ys HID/Memory?Eurobraille Esys?Esys HID?Esys Memory????
brltty: USB: Serial Number: Eurobraille Esys
brltty: Initializing EsysIris protocol.
brltty: eu: Unable to connect to Braille display.
brltty: USB: ept=81 dir=in xfr=int pkt=64 ivl=16ms
brltty: braille driver initialization failed: eu -> usb:
brltty: braille driver not found
brltty: Braille Display Dimensions: 1 row, 80 columns
brltty: regions: text=0.80 status=0.0
brltty: shifts: full=80 half=40 vertical=5
brltty: beeper enabled
brltty: tone: msec=60 note=64
brltty: tone: msec=60 note=57
brltty: console closed: fd=4
brltty: screen closed: fd=3
brltty: beeper disabled
Script started on sam 01 aoû 2009 21:00:54 CEST
2) darkstar:~# lsof /dev/sdb 
2) darkstar:~# /etc/init.d/brltty stop
Stopping Braille terminal driver: brltty.
2) darkstar:~# ./esys
2) darkstar:~# lsof /dev/sdb 
2) darkstar:~# exit
exit

Script done on sam 01 aoû 2009 21:02:19 CEST
1) darkstar:~# [  393.979121] usb 2-2: new full speed USB device using uhci_hcd
and address 2
[  394.141292] usb 2-2: configuration #1 chosen from 1 choice
[  394.151065] usb 2-2: New USB device found, idVendor=c251, idProduct=1124
[  394.151065] usb 2-2: New USB device strings: Mfr=4, Product=32, SerialNumber=
60
[  394.151065] usb 2-2: Product: ys HID/Memory?Eurobraille Esys?Esys HID?Esys Me
mory�???
[  394.151065] usb 2-2: Manufacturer: Eurobraille
[  394.151065] usb 2-2: SerialNumber: Eurobraille Esys
[  394.324014] Initializing USB Mass Storage driver...
[  394.324014] scsi2 : SCSI emulation for USB Mass Storage devices
[  394.324014] usbcore: registered new interface driver usb-storage
[  394.324014] USB Mass Storage support registered.
[  394.338313] usbcore: registered new interface driver hiddev
[  394.341947] hiddev96hidraw0: USB HID v1.00 Device [Eurobraille ys HID/Memory?
Eurobraille Esys?Esys HID?Esys Memory�???] on usb-0000:00:1d.1-2
[  394.342195] usbcore: registered new interface driver usbhid
[  394.342262] usbhid: v2.6:USB HID core driver
[  399.327102] scsi 2:0:0:0: Direct-Access     Erb      Esys Disk        1.0  PQ
: 0 ANSI: 0 CCS
[  399.335453] sd 2:0:0:0: [sdb] 1966851 512-byte hardware sectors (1007 MB)
[  399.343589] sd 2:0:0:0: [sdb] Write Protect is off
[  399.343589] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[  399.355628] sd 2:0:0:0: [sdb] 1966851 512-byte hardware sectors (1007 MB)
[  399.358665] sd 2:0:0:0: [sdb] Write Protect is off
[  399.358665] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[  399.358665]  sdb:
[  399.399538] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[  399.399538] sd 2:0:0:0: Attached scsi generic sg2 type 0


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/