[Jde] Problema con driver Firewire

Roberto Calvo rocapal en gsyc.es
Sab Oct 11 18:30:28 CEST 2008


Yo tuve muchos problemas con el driver firewire. Utiliza librerías
firewire relativamente antiguas (la versión 13).

Te adjunto un driver que medio trampe para que utilizará las librerías
más modernas de firewire (la versión 22). No está hecha la parte de leer
el fichero de conf, y únicamente registra 1 cámara firewire.

Para cargar el módulo únicamente es necesario poner esto en jde.conf

driver firewire_22
end_driver

A ver si tienes suerte y así te funciona.

Un saludo!

El vie, 10-10-2008 a las 19:20 +0200, Gonzalo Abella escribió:
> Buenas,
> 
> estoy trabajando con las cámaras firewire y el driver me está dando
> problemas en las máquinas nuevas, en concreto en "ordago". El jde
> carga todo, pero cuando inicias "colorA" revienta. Usando "gdb" esta
> es la traza:
> 
> (gdb) run conf-project 
> Starting program: /users/g.dago/bin/jde conf-project
> [Thread debugging using libthread_db enabled]
> jdec 4.2-svn
> Configuration from conf-project
> Reading configuration...
> [New Thread 0xb7dd96b0 (LWP 6565)]
> graphics_gtk driver loaded (driver 0)
> Loading GTK support...
> [New Thread 0xb62dcb90 (LWP 6568)]
> [New Thread 0xb5adbb90 (LWP 6569)]
> GTK support loaded.
> graphics_xforms driver loaded (driver 1)
> Loading Xform support...
> [New Thread 0xb5233b90 (LWP 6570)]
> Xforms support loaded.
> firewire driver loaded (driver 2)
> CAMERA INFO
> ===============
> Node: 0
> CCR_Offset: 65536x
> UID: 0x000a2700040211b8
> Vendor: Apple Computer, Inc.    Model: 
> 
> [New Thread 0xb48c1b90 (LWP 6571)]
> firewire driver started up: number 0
> firewire thread in sleep mode
> colorA autofocus feature: on
> colorA schema loaded (id 0)
> firewire driver started up
> pantilt driver loaded (driver 3)
> pantiltencoders driver started up
> [New Thread 0xb4060b90 (LWP 6572)]
> [New Thread 0xb385fb90 (LWP 6573)]
> ptencoders schema loaded (id 1)
> pantiltmotors driver started up
> [New Thread 0xb305eb90 (LWP 6574)]
> ptmotors schema loaded (id 2)
> pantilt driver started up
> mastergui schema loaded (id 3)
> mastergui schema started up
> hsvtuner schema loaded (id 4)
> hsvtuner schema started up
> [New Thread 0xb2592b90 (LWP 6575)]
> project schema loaded (id 5)
> project schema started up
> [New Thread 0xb1c1ab90 (LWP 6576)]
> Init colorspaces v1.3.0 ... 
> Table 'LUT_RGB2HSV' create with 6 bits (262144 values)
> Starting cronos...
> [New Thread 0xb1419b90 (LWP 6577)]
> Starting shell...
> jdec$  Minimum Pan = -158.62
>  Maximum Pan = 158.62
>  Minimun Tilt = -46.03
>  Maximun Tilt = 30.60
> colorA schema resume (firewire driver)
> firewire thread woke up
> 
> Program received signal SIGFPE, Arithmetic exception.
> [Switching to Thread 0xb48c1b90 (LWP 6571)]
> 0xb4a1ae7b in _dc1394_dma_multi_capture_private ()
> from /usr/lib/libdc1394_control.so.13
> (gdb) bt
> #0  0xb4a1ae7b in _dc1394_dma_multi_capture_private ()
> from /usr/lib/libdc1394_control.so.13
> #1  0xb4a1b12d in dc1394_dma_single_capture ()
> from /usr/lib/libdc1394_control.so.13
> #2  0xb52cfcb4 in firewire_thread (id=0xb52d7640) at firewire.c:765
> #3  0xb7f584fb in start_thread ()
> from /lib/tls/i686/cmov/libpthread.so.0
> #4  0xb7eb0e5e in clone () from /lib/tls/i686/cmov/libc.so.6
> 
> 
> 
> Cuando lo ejecutas normal te sale lo siguiente:
> 
> root en ordago:/users/g.dago/config-jde# ../bin/jde conf-project
> jdec 4.2-svn
> Configuration from conf-project
> Reading configuration...
> graphics_gtk driver loaded (driver 0)
> Loading GTK support...
> GTK support loaded.
> graphics_xforms driver loaded (driver 1)
> Loading Xform support...
> Xforms support loaded.
> firewire driver loaded (driver 2)
> CAMERA INFO
> ===============
> Node: 0
> CCR_Offset: 65536x
> UID: 0x000a2700040211b8
> Vendor: Apple Computer, Inc.    Model: 
> 
> firewire driver started up: number 0
> colorA autofocus feature: on
> colorA schema loaded (id 0)
> firewire driver started up
> firewire thread in sleep mode
> pantilt driver loaded (driver 3)
> pantiltencoders driver started up
> ptencoders schema loaded (id 1)
> pantiltmotors driver started up
> ptmotors schema loaded (id 2)
> pantilt driver started up
> mastergui schema loaded (id 3)
> mastergui schema started up
> hsvtuner schema loaded (id 4)
> hsvtuner schema started up
> project schema loaded (id 5)
> project schema started up
> Init colorspaces v1.3.0 ... 
> Table 'LUT_RGB2HSV' create with 6 bits (262144 values)
> Starting cronos...
> Starting shell...
> jdec$  Minimum Pan = -158.62
>  Maximum Pan = 158.62
>  Minimun Tilt = -46.03
>  Maximun Tilt = 30.60
> colorA schema resume (firewire driver)
> firewire thread woke up
> Exepción de coma flotante
> 
> 
> No tengo ni idea de que puede ser, pero seguiré investigando. Un poco
> de ayuda será bien recibida. xD
> 
> 
> Saludos
> 
> _______________________________________________
> Jde-developers mailing list
> Jde-developers en gsyc.es
> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
-- 
Roberto Calvo Palomino          | Libre Software Engineering Lab (GSyC)
Tel: (+34)-914 888 105          | Universidad Rey Juan Carlos
rocapal en gsyc.es                 | Edif. Departamental II - Despacho 116
http://libresoft.urjc.es/       | c/Tulipán s/n 28933 Móstoles (Madrid)

GPG-KEY: http://gsyc.es/~rocapal/rocapal.gpg
------------ próxima parte ------------
Se ha borrado un mensaje que no está en formato texto plano...
Nombre     : firewire-22.tgz
Tipo       : application/x-compressed-tar
Tamaño     : 7399 bytes
Descripción: no disponible
Url        : http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20081011/bc8e07e2/attachment.bin 
------------ próxima parte ------------
Se ha borrado un mensaje que no está en formato texto plano...
Nombre     : no disponible
Tipo       : application/pgp-signature
Tamaño     : 197 bytes
Descripción: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
	digitalmente
Url        : http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20081011/bc8e07e2/attachment.pgp 


More information about the Jde-developers mailing list