[Musix-usuarios] tableta digitalizadora MousePen, algunos problemas

Daniel Vidal Chornet vidal_dan en hotmail.com
Sab Feb 9 18:44:52 CET 2008


Saludos

     Algunos de los errores de la compilación deben resolverse al ejecutar el script que te adjunto. Hay que ejecutarlo como root o con sudo... Si te aparecen mas errores vuelve a pastearlos...
      Te lo envio gzipeado...

Salud y Suerte!!!
----------------------------------------
> Date: Sat, 9 Feb 2008 17:52:15 +0100
> From: lopezfrancisco1985 en gmail.com
> To: musix-usuarios en lists.ourproject.org
> Subject: [Musix-usuarios] tableta digitalizadora MousePen, algunos problemas
>
> Hola lista!
> Ayer me compré la tableta Genius MousePen 8x6.
> La enchufé y prendì la computadora y entré a Musix.
> Abrí el GImp y fuí a Preferencias -Dispositivos de entrada -
> Configurar los dispositivos de entrada extendidos.
> Ahí se me abre un diálogo que me permite configurar un Mouse USB (mi
> mouse no es USB, lo único que tengo conectado por USB a la computadora
> es la tableta) y me da unas opciones de configuración. Lo pongo en
> modo "ventana" y cuando abro una imágen nueva me toma los clicks de la
> tableta, pero no el movimiento.
>
> Como me llamaba la atención que me lo tome como un mouse y no con
> algún otro nombre, supuse que iba a tener que instalarme el driver
> WizardPen.
> En internet encontré este tutorial:
> http://alfonsoycia.blogspot.com/2007/11/cmo-instalar-una-tableta-digitalizadora.html
>
> Y lo fuí siguiendo sin mayores problemas hasta que tengo que hice el
> make, que me tiró un montón de errores (que copio al final del mail
> por si a alguien le sirve de algo).
> Si alguien tiene un poco de paciencia y ganas, me podría indicar dónde
> está el error y qué problemas de compatibilidad puedo tener entre ese
> tutorial (para ubuntu) y Musix.
> Cuando tenga armando la tableta podría armar un tutorial de
> instalación para Musix, ya que es uno de los modelos de tableta más
> comunes acá en argentina.
>
>
> Muchas gracias,
> -Fran
>
>
>
>
> root en box:/home/fran/wizardpen-driver-0.5.0# make
> rm -f wizardpen.o
> gcc -m32 -g -O2 -fno-strict-aliasing   -fPIC  -I../Xincludes -I.
> -IXincludes/xc/programs/Xserver/hw/xfree86/common
> -IXincludes/xc/programs/Xserver/hw/xfree86/loader
> -IXincludes/xc/programs/Xserver/hw/xfree86/os-support
> -IXincludes/xc/programs/Xserver/include
> -IXincludes/xc/programs/Xserver/mi -IXincludes/xc/exports/include/X11
>         -IXincludes/xc/include/extensions     -Dlinux -D__i386__
> -D_POSIX_C_SOURCE=199309L                -D_POSIX_SOURCE
> -D_XOPEN_SOURCE                          -D_BSD_SOURCE -D_SVID_SOURCE
>                                -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64
>             -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP
> -DXCSECURITY -DTOGCUP   -DXF86BIGFONT -DDPMSExtension   -DXPRINT
> -DPIXPRIV -DPANORAMIX         -DRENDER -DRANDR       -DXFIXES -DDAMAGE
> -DCOMPOSITE -DXEVIE    -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV
> -DSINGLEDEPTH                                -DXFreeXDGA -DXvExtension
>            -DXFree86LOADER -DDLOPEN_HACK -DXFree86Server
>              -DXF86VIDMODE                        -DXvMCExtension
>                     -DSMART_SCHEDULE
> -DBUILDDEBUG -DXResExtension
> -DX_BYTE_ORDER=X_LITTLE_ENDIAN
> -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((9) * 100000) + ((0) *
> 1000) + 0)" -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE
> -DXFree86Module -DLINUX_INPUT   -c wizardpen.c
> wizardpen.c:38:23: error: asm/types.h: No existe el fichero o el directorio
> wizardpen.c:39:25: error: linux/input.h: No existe el fichero o el directorio
> In file included from wizardpen.c:62:
> wizardpen.h:163: warning: 'struct input_event' declared inside parameter list
> wizardpen.h:163: warning: its scope is only this definition or
> declaration, which is probably not what you want
> wizardpen.h:164: warning: 'struct input_event' declared inside parameter list
> wizardpen.h:165: warning: 'struct input_event' declared inside parameter list
> wizardpen.h:166: warning: 'struct input_event' declared inside parameter list
> wizardpen.c: In function 'IsUSBLine':
> wizardpen.c:193: error: 'EVIOCGVERSION' undeclared (first use in this function)
> wizardpen.c:193: error: (Each undeclared identifier is reported only once
> wizardpen.c:193: error: for each function it appears in.)
> wizardpen.c: At top level:
> wizardpen.c:1363: warning: 'struct input_event' declared inside parameter list
> wizardpen.c:1364: error: conflicting types for 'USBInputABS'
> wizardpen.h:163: error: previous declaration of 'USBInputABS' was here
> wizardpen.c: In function 'USBInputABS':
> wizardpen.c:1367: error: dereferencing pointer to incomplete type
> wizardpen.c:1369: error: 'ABS_X' undeclared (first use in this function)
> wizardpen.c:1370: error: 'ABS_Z' undeclared (first use in this function)
> wizardpen.c:1371: error: dereferencing pointer to incomplete type
> wizardpen.c:1371: error: dereferencing pointer to incomplete type
> wizardpen.c:1376: error: dereferencing pointer to incomplete type
> wizardpen.c:1379: error: 'ABS_Y' undeclared (first use in this function)
> wizardpen.c:1380: error: 'ABS_RX' undeclared (first use in this function)
> wizardpen.c:1381: error: dereferencing pointer to incomplete type
> wizardpen.c:1381: error: dereferencing pointer to incomplete type
> wizardpen.c:1386: error: dereferencing pointer to incomplete type
> wizardpen.c:1389: error: 'ABS_PRESSURE' undeclared (first use in this function)
> wizardpen.c:1390: error: dereferencing pointer to incomplete type
> wizardpen.c:1394: error: dereferencing pointer to incomplete type
> wizardpen.c:1398: error: dereferencing pointer to incomplete type
> wizardpen.c:1398: error: dereferencing pointer to incomplete type
> wizardpen.c: At top level:
> wizardpen.c:1405: warning: 'struct input_event' declared inside parameter list
> wizardpen.c:1406: error: conflicting types for 'USBInputREL'
> wizardpen.h:164: error: previous declaration of 'USBInputREL' was here
> wizardpen.c: In function 'USBInputREL':
> wizardpen.c:1409: error: dereferencing pointer to incomplete type
> wizardpen.c:1410: error: 'REL_X' undeclared (first use in this function)
> wizardpen.c:1411: error: dereferencing pointer to incomplete type
> wizardpen.c:1413: error: dereferencing pointer to incomplete type
> wizardpen.c:1416: error: 'REL_Y' undeclared (first use in this function)
> wizardpen.c:1417: error: dereferencing pointer to incomplete type
> wizardpen.c:1419: error: dereferencing pointer to incomplete type
> wizardpen.c:1422: error: 'REL_Z' undeclared (first use in this function)
> wizardpen.c:1423: error: dereferencing pointer to incomplete type
> wizardpen.c:1428: error: 'REL_WHEEL' undeclared (first use in this function)
> wizardpen.c:1429: error: dereferencing pointer to incomplete type
> wizardpen.c:1432: error: dereferencing pointer to incomplete type
> wizardpen.c:1436: error: dereferencing pointer to incomplete type
> wizardpen.c:1436: error: dereferencing pointer to incomplete type
> wizardpen.c: At top level:
> wizardpen.c:1443: warning: 'struct input_event' declared inside parameter list
> wizardpen.c:1444: error: conflicting types for 'USBInputKEY'
> wizardpen.h:165: error: previous declaration of 'USBInputKEY' was here
> wizardpen.c: In function 'USBInputKEY':
> wizardpen.c:1447: error: dereferencing pointer to incomplete type
> wizardpen.c:1449: error: 'BTN_TOUCH' undeclared (first use in this function)
> wizardpen.c:1450: error: 'BTN_SIDE' undeclared (first use in this function)
> wizardpen.c:1451: error: dereferencing pointer to incomplete type
> wizardpen.c:1451: error: dereferencing pointer to incomplete type
> wizardpen.c:1456: error: dereferencing pointer to incomplete type
> wizardpen.c:1459: error: 'BTN_STYLUS' undeclared (first use in this function)
> wizardpen.c:1460: error: 'BTN_EXTRA' undeclared (first use in this function)
> wizardpen.c:1461: error: dereferencing pointer to incomplete type
> wizardpen.c:1461: error: dereferencing pointer to incomplete type
> wizardpen.c:1466: error: dereferencing pointer to incomplete type
> wizardpen.c:1469: error: 'BTN_STYLUS2' undeclared (first use in this function)
> wizardpen.c:1470: error: 'BTN_FORWARD' undeclared (first use in this function)
> wizardpen.c:1471: error: dereferencing pointer to incomplete type
> wizardpen.c:1471: error: dereferencing pointer to incomplete type
> wizardpen.c:1476: error: dereferencing pointer to incomplete type
> wizardpen.c:1479: error: 'BTN_LEFT' undeclared (first use in this function)
> wizardpen.c:1480: error: dereferencing pointer to incomplete type
> wizardpen.c:1482: error: dereferencing pointer to incomplete type
> wizardpen.c:1485: error: 'BTN_MIDDLE' undeclared (first use in this function)
> wizardpen.c:1486: error: dereferencing pointer to incomplete type
> wizardpen.c:1489: error: dereferencing pointer to incomplete type
> wizardpen.c:1492: error: 'BTN_RIGHT' undeclared (first use in this function)
> wizardpen.c:1493: error: dereferencing pointer to incomplete type
> wizardpen.c:1496: error: dereferencing pointer to incomplete type
> wizardpen.c:1500: error: dereferencing pointer to incomplete type
> wizardpen.c:1500: error: dereferencing pointer to incomplete type
> wizardpen.c: At top level:
> wizardpen.c:1507: warning: 'struct input_event' declared inside parameter list
> wizardpen.c:1508: error: conflicting types for 'USBInputSYN'
> wizardpen.h:166: error: previous declaration of 'USBInputSYN' was here
> wizardpen.c: In function 'USBInputSYN':
> wizardpen.c:1511: error: dereferencing pointer to incomplete type
> wizardpen.c:1512: error: 'SYN_REPORT' undeclared (first use in this function)
> wizardpen.c:1513: error: dereferencing pointer to incomplete type
> wizardpen.c:1518: error: dereferencing pointer to incomplete type
> wizardpen.c:1518: error: dereferencing pointer to incomplete type
> wizardpen.c: In function 'USBReadInput':
> wizardpen.c:1529: error: invalid application of 'sizeof' to incomplete
> type 'struct input_event'
> wizardpen.c:1541: error: increment of pointer to unknown structure
> wizardpen.c:1541: error: arithmetic on pointer to an incomplete type
> wizardpen.c:1542: error: dereferencing pointer to incomplete type
> wizardpen.c:1543: error: 'EV_ABS' undeclared (first use in this function)
> wizardpen.c:1544: warning: passing argument 2 of 'USBInputABS' from
> incompatible pointer type
> wizardpen.c:1547: error: 'EV_REL' undeclared (first use in this function)
> wizardpen.c:1548: warning: passing argument 2 of 'USBInputREL' from
> incompatible pointer type
> wizardpen.c:1551: error: 'EV_KEY' undeclared (first use in this function)
> wizardpen.c:1552: warning: passing argument 2 of 'USBInputKEY' from
> incompatible pointer type
> wizardpen.c:1555: error: 'EV_SYN' undeclared (first use in this function)
> wizardpen.c:1556: warning: passing argument 2 of 'USBInputSYN' from
> incompatible pointer type
> wizardpen.c:1560: error: dereferencing pointer to incomplete type
> wizardpen.c:1560: error: dereferencing pointer to incomplete type
> wizardpen.c:1560: error: dereferencing pointer to incomplete type
> wizardpen.c: In function 'USBQueryHardware':
> wizardpen.c:1667: error: storage size of 'abs_features' isn't known
> wizardpen.c:1674: error: 'ABS_X' undeclared (first use in this function)
> wizardpen.c:1682: error: 'ABS_Y' undeclared (first use in this function)
> wizardpen.c:1690: error: 'ABS_PRESSURE' undeclared (first use in this function)
> make: *** [wizardpen.o] Error 1
> root en box:/home/fran/wizardpen-driver-0.5.0# sudo make
> rm -f wizardpen.o
> gcc -m32 -g -O2 -fno-strict-aliasing   -fPIC  -I../Xincludes -I.
> -IXincludes/xc/programs/Xserver/hw/xfree86/common
> -IXincludes/xc/programs/Xserver/hw/xfree86/loader
> -IXincludes/xc/programs/Xserver/hw/xfree86/os-support
> -IXincludes/xc/programs/Xserver/include
> -IXincludes/xc/programs/Xserver/mi -IXincludes/xc/exports/include/X11
>         -IXincludes/xc/include/extensions     -Dlinux -D__i386__
> -D_POSIX_C_SOURCE=199309L                -D_POSIX_SOURCE
> -D_XOPEN_SOURCE                          -D_BSD_SOURCE -D_SVID_SOURCE
>                                -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64
>             -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP
> -DXCSECURITY -DTOGCUP   -DXF86BIGFONT -DDPMSExtension   -DXPRINT
> -DPIXPRIV -DPANORAMIX         -DRENDER -DRANDR       -DXFIXES -DDAMAGE
> -DCOMPOSITE -DXEVIE    -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV
> -DSINGLEDEPTH                                -DXFreeXDGA -DXvExtension
>            -DXFree86LOADER -DDLOPEN_HACK -DXFree86Server
>              -DXF86VIDMODE                        -DXvMCExtension
>                     -DSMART_SCHEDULE
> -DBUILDDEBUG -DXResExtension
> -DX_BYTE_ORDER=X_LITTLE_ENDIAN
> -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((9) * 100000) + ((0) *
> 1000) + 0)" -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE
> -DXFree86Module -DLINUX_INPUT   -c wizardpen.c
> wizardpen.c:38:23: error: asm/types.h: No existe el fichero o el directorio
> wizardpen.c:39:25: error: linux/input.h: No existe el fichero o el directorio
> In file included from wizardpen.c:62:
> wizardpen.h:163: warning: 'struct input_event' declared inside parameter list
> wizardpen.h:163: warning: its scope is only this definition or
> declaration, which is probably not what you want
> wizardpen.h:164: warning: 'struct input_event' declared inside parameter list
> wizardpen.h:165: warning: 'struct input_event' declared inside parameter list
> wizardpen.h:166: warning: 'struct input_event' declared inside parameter list
> wizardpen.c: In function 'IsUSBLine':
> wizardpen.c:193: error: 'EVIOCGVERSION' undeclared (first use in this function)
> wizardpen.c:193: error: (Each undeclared identifier is reported only once
> wizardpen.c:193: error: for each function it appears in.)
> wizardpen.c: At top level:
> wizardpen.c:1363: warning: 'struct input_event' declared inside parameter list
> wizardpen.c:1364: error: conflicting types for 'USBInputABS'
> wizardpen.h:163: error: previous declaration of 'USBInputABS' was here
> wizardpen.c: In function 'USBInputABS':
> wizardpen.c:1367: error: dereferencing pointer to incomplete type
> wizardpen.c:1369: error: 'ABS_X' undeclared (first use in this function)
> wizardpen.c:1370: error: 'ABS_Z' undeclared (first use in this function)
> wizardpen.c:1371: error: dereferencing pointer to incomplete type
> wizardpen.c:1371: error: dereferencing pointer to incomplete type
> wizardpen.c:1376: error: dereferencing pointer to incomplete type
> wizardpen.c:1379: error: 'ABS_Y' undeclared (first use in this function)
> wizardpen.c:1380: error: 'ABS_RX' undeclared (first use in this function)
> wizardpen.c:1381: error: dereferencing pointer to incomplete type
> wizardpen.c:1381: error: dereferencing pointer to incomplete type
> wizardpen.c:1386: error: dereferencing pointer to incomplete type
> wizardpen.c:1389: error: 'ABS_PRESSURE' undeclared (first use in this function)
> wizardpen.c:1390: error: dereferencing pointer to incomplete type
> wizardpen.c:1394: error: dereferencing pointer to incomplete type
> wizardpen.c:1398: error: dereferencing pointer to incomplete type
> wizardpen.c:1398: error: dereferencing pointer to incomplete type
> wizardpen.c: At top level:
> wizardpen.c:1405: warning: 'struct input_event' declared inside parameter list
> wizardpen.c:1406: error: conflicting types for 'USBInputREL'
> wizardpen.h:164: error: previous declaration of 'USBInputREL' was here
> wizardpen.c: In function 'USBInputREL':
> wizardpen.c:1409: error: dereferencing pointer to incomplete type
> wizardpen.c:1410: error: 'REL_X' undeclared (first use in this function)
> wizardpen.c:1411: error: dereferencing pointer to incomplete type
> wizardpen.c:1413: error: dereferencing pointer to incomplete type
> wizardpen.c:1416: error: 'REL_Y' undeclared (first use in this function)
> wizardpen.c:1417: error: dereferencing pointer to incomplete type
> wizardpen.c:1419: error: dereferencing pointer to incomplete type
> wizardpen.c:1422: error: 'REL_Z' undeclared (first use in this function)
> wizardpen.c:1423: error: dereferencing pointer to incomplete type
> wizardpen.c:1428: error: 'REL_WHEEL' undeclared (first use in this function)
> wizardpen.c:1429: error: dereferencing pointer to incomplete type
> wizardpen.c:1432: error: dereferencing pointer to incomplete type
> wizardpen.c:1436: error: dereferencing pointer to incomplete type
> wizardpen.c:1436: error: dereferencing pointer to incomplete type
> wizardpen.c: At top level:
> wizardpen.c:1443: warning: 'struct input_event' declared inside parameter list
> wizardpen.c:1444: error: conflicting types for 'USBInputKEY'
> wizardpen.h:165: error: previous declaration of 'USBInputKEY' was here
> wizardpen.c: In function 'USBInputKEY':
> wizardpen.c:1447: error: dereferencing pointer to incomplete type
> wizardpen.c:1449: error: 'BTN_TOUCH' undeclared (first use in this function)
> wizardpen.c:1450: error: 'BTN_SIDE' undeclared (first use in this function)
> wizardpen.c:1451: error: dereferencing pointer to incomplete type
> wizardpen.c:1451: error: dereferencing pointer to incomplete type
> wizardpen.c:1456: error: dereferencing pointer to incomplete type
> wizardpen.c:1459: error: 'BTN_STYLUS' undeclared (first use in this function)
> wizardpen.c:1460: error: 'BTN_EXTRA' undeclared (first use in this function)
> wizardpen.c:1461: error: dereferencing pointer to incomplete type
> wizardpen.c:1461: error: dereferencing pointer to incomplete type
> wizardpen.c:1466: error: dereferencing pointer to incomplete type
> wizardpen.c:1469: error: 'BTN_STYLUS2' undeclared (first use in this function)
> wizardpen.c:1470: error: 'BTN_FORWARD' undeclared (first use in this function)
> wizardpen.c:1471: error: dereferencing pointer to incomplete type
> wizardpen.c:1471: error: dereferencing pointer to incomplete type
> wizardpen.c:1476: error: dereferencing pointer to incomplete type
> wizardpen.c:1479: error: 'BTN_LEFT' undeclared (first use in this function)
> wizardpen.c:1480: error: dereferencing pointer to incomplete type
> wizardpen.c:1482: error: dereferencing pointer to incomplete type
> wizardpen.c:1485: error: 'BTN_MIDDLE' undeclared (first use in this function)
> wizardpen.c:1486: error: dereferencing pointer to incomplete type
> wizardpen.c:1489: error: dereferencing pointer to incomplete type
> wizardpen.c:1492: error: 'BTN_RIGHT' undeclared (first use in this function)
> wizardpen.c:1493: error: dereferencing pointer to incomplete type
> wizardpen.c:1496: error: dereferencing pointer to incomplete type
> wizardpen.c:1500: error: dereferencing pointer to incomplete type
> wizardpen.c:1500: error: dereferencing pointer to incomplete type
> wizardpen.c: At top level:
> wizardpen.c:1507: warning: 'struct input_event' declared inside parameter list
> wizardpen.c:1508: error: conflicting types for 'USBInputSYN'
> wizardpen.h:166: error: previous declaration of 'USBInputSYN' was here
> wizardpen.c: In function 'USBInputSYN':
> wizardpen.c:1511: error: dereferencing pointer to incomplete type
> wizardpen.c:1512: error: 'SYN_REPORT' undeclared (first use in this function)
> wizardpen.c:1513: error: dereferencing pointer to incomplete type
> wizardpen.c:1518: error: dereferencing pointer to incomplete type
> wizardpen.c:1518: error: dereferencing pointer to incomplete type
> wizardpen.c: In function 'USBReadInput':
> wizardpen.c:1529: error: invalid application of 'sizeof' to incomplete
> type 'struct input_event'
> wizardpen.c:1541: error: increment of pointer to unknown structure
> wizardpen.c:1541: error: arithmetic on pointer to an incomplete type
> wizardpen.c:1542: error: dereferencing pointer to incomplete type
> wizardpen.c:1543: error: 'EV_ABS' undeclared (first use in this function)
> wizardpen.c:1544: warning: passing argument 2 of 'USBInputABS' from
> incompatible pointer type
> wizardpen.c:1547: error: 'EV_REL' undeclared (first use in this function)
> wizardpen.c:1548: warning: passing argument 2 of 'USBInputREL' from
> incompatible pointer type
> wizardpen.c:1551: error: 'EV_KEY' undeclared (first use in this function)
> wizardpen.c:1552: warning: passing argument 2 of 'USBInputKEY' from
> incompatible pointer type
> wizardpen.c:1555: error: 'EV_SYN' undeclared (first use in this function)
> wizardpen.c:1556: warning: passing argument 2 of 'USBInputSYN' from
> incompatible pointer type
> wizardpen.c:1560: error: dereferencing pointer to incomplete type
> wizardpen.c:1560: error: dereferencing pointer to incomplete type
> wizardpen.c:1560: error: dereferencing pointer to incomplete type
> wizardpen.c: In function 'USBQueryHardware':
> wizardpen.c:1667: error: storage size of 'abs_features' isn't known
> wizardpen.c:1674: error: 'ABS_X' undeclared (first use in this function)
> wizardpen.c:1682: error: 'ABS_Y' undeclared (first use in this function)
> wizardpen.c:1690: error: 'ABS_PRESSURE' undeclared (first use in this function)
> make: *** [wizardpen.o] Error 1
>
> _______________________________________________
> Musix GNU+Linux - www.musix.org.ar
> Musix-usuarios mailing list
> Musix-usuarios en lists.ourproject.org
> https://lists.ourproject.org/cgi-bin/mailman/listinfo/musix-usuarios

_________________________________________________________________
MSN Video. 
http://video.msn.com/?mkt=es-es
------------ próxima parte ------------
Se ha borrado un mensaje que no está en formato texto plano...
Nombre     : restore-dev.sh.gz
Tipo       : application/x-gzip
Tamaño     : 1826 bytes
Descripción: no disponible
Url        : /pipermail/musix-usuarios/attachments/20080209/58f40cd2/restore-dev.sh-0001.bin


Más información sobre la lista de distribución Musix-usuarios