
¡Únete al Club!
|
|
Foro de MandrivaNavegaciónInicio de sesión de usuarionoticiasDrakeEn líneaActualmente hay 8 Usuarios registrados y 345 Invitados en línea.
Usuarios en línea:
Nuevos
Mandriva LinuxMandriva SecurityPlaneta BlogDrakeBusqueda de BUGs![]() Licencia |
¿Como configuro una Tableta Gráfica wp8060? (Solucionado)
Enviado por shang el 6 Noviembre, 2008 - 17:57.
Hola Todos... Soy nuevo en Mandriva.. De hecho a penas lo instalé hace ya casi 24 horas y pues todo muy lindo y fácil (Antes usaba Ubuntu y me cambié por cuestiones de hardware) , pero tengo el pequeño inconveniente con mi tableta gráfica Manhattan basada en wizard pen WP8060U. Necesito saber cómo hago que funcione aquí. Yo soy diseñador y pues es parte de mi herramienta de trabajo, por no decir que es esencial para mi(en Ubuntu sí la sé configurar y tengo el driver). Cualquier luz o link donde expliquen cómo hacerlo sería de gran ayuda para mí. Ya busqué en Google y sólo aparece la info para Ubuntu. Gracias a todos |
Bienvenido a BlogDRAKE![]()
BuscarEncuesta¿Varios dias despues de descargar Mandriva 2009, que tal ha funcionado? Me encanta, es mejor que Mandriva 2008.1 36% Esta bien pero tiene KDE 4 8% Me da problemas que no tenia en Mandriva 2008.1 31% Todavia no la he descargado 13% Ni bien ni mal 8% No me ha gustado para nada 2% Total de votos: 178 Envíos recientes de blog
Nuevas discusionesDiscusiones activas |
# 64225: .
Pon al menos un enlace para que te ayudemos con la "traducción" de las instrucciones
LA' YUME' NUM T'OX MUK'IL IN TIAL
# 64226: Si conecta por usb
Postea el resultado de cat /proc/bus/usb/devices
Bravas,el DoctorBofh
«Hay una fuerza motriz más poderosa que el vapor, la electricidad y la energía atómica: la voluntad.»Albert Einstein
# 64228: Devices
T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 2.06
S: Manufacturer=Linux 2.6.27-desktop586-0.rc8.2mnb uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:10.3
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 2.06
S: Manufacturer=Linux 2.6.27-desktop586-0.rc8.2mnb uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:10.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 11/900 us ( 1%), #Int= 1, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 2.06
S: Manufacturer=Linux 2.6.27-desktop586-0.rc8.2mnb uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:10.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0458 ProdID=003a Rev= 1.00
S: Manufacturer=Genius
S: Product=Optical Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=10ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 14/900 us ( 2%), #Int= 1, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 2.06
S: Manufacturer=Linux 2.6.27-desktop586-0.rc8.2mnb uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:10.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=5543 ProdID=0005 Rev= 0.00
S: Manufacturer=UC-LOGIC
S: Product=Tablet WP8060U
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 8
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 2.06
S: Manufacturer=Linux 2.6.27-desktop586-0.rc8.2mnb ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:10.4
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
# 64229: El problema no es de traducción
Hola Katnatek, El problema no es de traducción porque yo hablo Español e Inglés, el lío es que no he encontrado cómo hacerlo en Mandriva... :|
# 64232: .
Por eso lo puse entre comillas, en fin, ya le has dado la información a vfmmeo
LA' YUME' NUM T'OX MUK'IL IN TIAL
# 64227: Y a las malas
Explícanos cómo la configurabas en Ubuntu, y te ayudaremos a "adaptar" los pasos a Mandriva. Después de todo, Linux es Linux es Linux...
Atentamente,
El BOFH anteriormente conocido como vfmmeo. No había nadie mejor disponible.
He visto cosas que vosotros no creeríais.
Como a AdamW respondiendo dudas sobre Mandriva en foros de la Superdistro...
# 64231: te dejo el link del proceso
HOla vfmmeo, te dejo el enlace del wiki con el cual lo hago en Ubuntu :)
https://help.ubuntu.com/community/TabletSetupWizardpenGutsy
# 64233: Me lo miraré esta tarde
Cuando salga del currelo, empiezo a investigar. Si alguien quiere ir adelantando trabajo...
Atentamente,
El BOFH anteriormente conocido como vfmmeo. No había nadie mejor disponible.
He visto cosas que vosotros no creeríais.
Como a AdamW respondiendo dudas sobre Mandriva en foros de la Superdistro...
# 64235: Gracias
Gracias, la verdad quiero quedarme aquí a ver cómo se comporta Mandriva y hasta el momento me ha gustado mucho.
# 64248: Ya estoy en ello
Empieza por pasarte por el centro de control, sección hardware, a ver cómo te reconoce la tarjeta, porque detectada está:
Atentamente,
El BOFH anteriormente conocido como vfmmeo. No había nadie mejor disponible.
He visto cosas que vosotros no creeríais.
Como a AdamW respondiendo dudas sobre Mandriva en foros de la Superdistro...
# 64251: Ya revisé en hardware
Hola, Bueno te cuento que ya revisé y te escribo a continuación lo que aparece:
Ratón
* Optical Mouse (mi ratón normal supongo)
* Tablet WP8060U
Desconocidos/otros
* UC-Logic Tablet WP8060U
En la sección de Ratón, le dí clic en Definir opciones corrientes de controlador y me salió esta información
Características
Rueda emulada: No
Conexión
Bus: USB
Bus PCI nº: 2
Dispositivo PCI nº: 2
ID del fabricante: 0x5543
ID del dispositivo: 0x0005
Sub-ID del fabricante: 0x0000
Sub-ID del dispositivo: 0x0000
Varios
Fabricante: UC-LOGIC
Descripción: Tablet WP8060U
Clase de soporte: Human Interface Device|Boot Interface Subclass|Mouse
Módulo: usbhid
# 64246: Es muy sencillo....
Te bajas el driver necesario (que por cierto es el mismo que utilizan las tablas gráficas Genius Wizardpen 4x3, 8x6, etc.), wizardpen-driver-0.5.0.tar.gz, en este tarball
, en él encontrarás las indicaciones en detalle para la correspondiente configuración y puesta en marcha de la tabla gráfica.
(conjunto de ficheros empaquetados y comprimidos)buscas el fichero README y te lo leesSalu2!!!
P.D. Ojalá te veamos por acá Creación de una sección para artwork Mandrivero, ¿Que opinan?
# 64259: Hice lo del README y mirá
[root@localhost wizardpen-driver-0.5.0]# xmkmf
imake -DUseInstalled -I/usr/share/X11/config
En el fichero incluído de /usr/share/X11/config/Imake.tmpl:2194,
de Imakefile.c:35:
./Imakefile:5: error: /usr/X11R6/lib/X11/config/Server.tmpl: No existe el fichero o el directorio
imake: Exit code 1.
Stop.
Ese fue el resultado así que no puedo compilar el driver.
# 64264: Voy a desempolvar mi neurona
Voy a desempolvar mi neurona gráfica y la tabla, la configuro en base al tarball que te comenté y subo un tutorial, vale???
salu2.
¡¡¡Perdón por la demora!!! acá está el tuto, shang aprovecha de chequearlo, cualquier duda o anexo me avisas.
# 64266: Esto va a ser por los paquetes que ando buscando
En el tutorial que posteaste, había una serie de paquetes -dev (en mandriva -devel) que hay que instalar a priori para compilar el driver.
A ver si te puedo subir la lista.
Atentamente,
El BOFH anteriormente conocido como vfmmeo. No había nadie mejor disponible.
He visto cosas que vosotros no creeríais.
Como a AdamW respondiendo dudas sobre Mandriva en foros de la Superdistro...
# 64279: Empieza instalando esto:
Como root:
Acepta las dependencias y cuando acabe de instalar, vuelve a intentar compilar.
Atentamente,
El BOFH anteriormente conocido como vfmmeo. No había nadie mejor disponible.
He visto cosas que vosotros no creeríais.
Como a AdamW respondiendo dudas sobre Mandriva en foros de la Superdistro...
# 64295: ESto me devolvió la terminal cuando traté de instalar
Hola Esto fue lo que me dijo la terminal cuando tratar de instalar lo anterior
[root@localhost santiago]# urpmi urpmi x11-util-cf-files libx11_6-devel libx_6-static-devel libxext6-devel libxext-static-devel
Ningún paquete llamado libx_6-static-devel
[root@localhost santiago]#
:)
# 64298: .
Cambia libx_6-static-devel por libx11_6-static-devel
LA' YUME' NUM T'OX MUK'IL IN TIAL
# 64307: Ya instale los programas pero...
Ya inastalé lo de la línea de comandos pero cuando ejecuté... salió:
[root@localhost wizardpen-driver-0.5.0]# xmkmf
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/share/X11/config
En el fichero incluído de /usr/share/X11/config/Imake.tmpl:2194,
de Imakefile.c:35:
./Imakefile:5: error: /usr/X11R6/lib/X11/config/Server.tmpl: No existe el fichero o el directorio
imake: Exit code 1.
Stop.
Lo mismo que hacía rato :|
# 64335: .
Encontre e el archivo, el problema es que no esta en la misma trayectoria y no se si es posible indicar que use este y no el que por omisión busca ó se tendra que hacer "trampa" para que lo reconozca.
Por si alguien te puede ayudar la ruta del archivo es /usr/share/X11/config/Server.tmpl
LA' YUME' NUM T'OX MUK'IL IN TIAL
# 64372: Buscaré a ver si encuentro
Busacaré en google a ver si encuentro algo.
# 64276: +1
Tengo una tableta del mismo modelo, y te comento que seguí los pasos del minituto y logré instalar y que la reconociera, el problema es que nunca llegué a usarla por que al reiniciar las x, simplemente no cargó, a pesar de que edité el archivo xorg.conf como explicaba.
No seguí experimentando por que la tableta no es mía (es de mi hermano, quizás se la robe un momento para seguir probando ;), al respecto y ya que andamos en esto, me serviría a mi también alguna orientación. A mi no me ha quedado claro eso de modificar el archivo en /etc/udev/rules.d/xxx_local.rules, (no he encontrado el archivo que menciona el tuto (he modificado el archivo "49_hso-udev.rules"), imagino que por diferencias entre ambas distribuciones, supongo que sucede algo parecido con la configuración específica de xorg.conf).
No trato de hacer secuestro de hilo, tengo exactamente la misma duda, quizás un poco más específicas (por esto del archivo "local.rules" y la configuración posterior de xorg.conf) y considero que a nuestro amigo shang también le es útil esta aclaración.
Saludos
--
Para tener lo que los demás no tienen, hay que hacer lo que los demás no hacen.
# 64431: Seguí el tutorial de vfm pero...
Hola... He estado tratando de seguir el tutorial de vfm Aquí... A continuación describo los pasos a ver qué es lo que no me da.
PRIMERO
santiago@localhost:~/wizardpen-0.6.0.2$ ./configure --with-xorg-module-dir=/usr/lib/xorg/modules && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking if RANDR is defined... no
checking if XINPUT is defined... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... configure: error: Package requirements (xorg-server >= 1.0.99.901 xproto ) were not met:
No package 'xorg-server' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
SEGUNDO
[root@localhost wizardpen-0.6.0.2]# make install
Making install in src
make[1]: se ingresa al directorio `/home/santiago/wizardpen-0.6.0.2/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT wizardpen.lo -MD -MP -MF .deps/wizardpen.Tpo -c -o wizardpen.lo wizardpen.c
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT wizardpen.lo -MD -MP -MF .deps/wizardpen.Tpo -c wizardpen.c -fPIC -DPIC -o .libs/wizardpen.o
In file included from wizardpen.c:28:
../config.h:4:25: error: xorg-server.h: No such file or directory
wizardpen.c:50:18: error: misc.h: No such file or directory
wizardpen.c:51:18: error: xf86.h: No such file or directory
wizardpen.c:55:25: error: xf86_OSproc.h: No such file or directory
wizardpen.c:56:18: error: xisb.h: No such file or directory
wizardpen.c:57:24: error: xf86Xinput.h: No such file or directory
wizardpen.c:58:22: error: exevents.h: No such file or directory
wizardpen.c:59:24: error: xf86Module.h: No such file or directory
In file included from wizardpen.c:76:
wizardpen.h:74: error: expected specifier-qualifier-list before 'XISBuffer'
wizardpen.h:105: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DeviceControl'
wizardpen.h:106: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DeviceOn'
wizardpen.h:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DeviceOff'
wizardpen.h:108: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DeviceClose'
wizardpen.h:109: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DeviceInit'
wizardpen.h:110: warning: parameter names (without types) in function declaration
wizardpen.h:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ConvertProc'
wizardpen.h:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ReverseConvertProc'
wizardpen.h:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'QueryHardware'
wizardpen.h:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WizardPenGetPacket'
wizardpen.h:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WizardPenPreInit'
wizardpen.h:118: warning: parameter names (without types) in function declaration
wizardpen.h:119: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'USBQueryHardware'
wizardpen.h:121: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WizardPenAutoDevProbe'
wizardpen.c:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'InputDriverRec'
wizardpen.c: In function 'IsUSBLine':
wizardpen.c:179: error: 'X_PROBED' undeclared (first use in this function)
wizardpen.c:179: error: (Each undeclared identifier is reported only once
wizardpen.c:179: error: for each function it appears in.)
wizardpen.c: At top level:
wizardpen.c:196: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fd_query_wizardpen'
wizardpen.c:216: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WizardPenAutoDevProbe'
wizardpen.c:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WizardPenPreInit'
wizardpen.c:500: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DeviceControl'
wizardpen.c:527: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DeviceOn'
wizardpen.c:571: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DeviceOff'
wizardpen.c:596: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DeviceClose'
wizardpen.c:606: error: expected ')' before 'dev'
wizardpen.c:614: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DeviceInit'
wizardpen.c:716: error: expected ')' before 'local'
wizardpen.c:885: error: expected ')' before 'local'
wizardpen.c:895: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ConvertProc'
wizardpen.c:920: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ReverseConvertProc'
wizardpen.c:938: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'QueryHardware'
wizardpen.c:984: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'USBQueryHardware'
wizardpen.c: In function 'NewPacket':
wizardpen.c:1033: error: 'struct ' has no member named 'packeti'
wizardpen.c: At top level:
wizardpen.c:1037: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'WizardPenGetPacket'
make[1]: *** [wizardpen.lo] Error 1
make[1]: se sale del directorio `/home/santiago/wizardpen-0.6.0.2/src'
make: *** [install-recursive] Error 1
TERCERO
[root@localhost wizardpen-0.6.0.2]# cat /sys/bus/usb/devices/*/product
Tablet WP8060U
Optical Mouse
Generic Digital camera
EHCI Host Controller
UHCI Host Controller
UHCI Host Controller
UHCI Host Controller
UHCI Host Controller
CUARTO
[root@localhost wizardpen-0.6.0.2]# grep -5 Tablet /proc/bus/input/devices|grep event
H: Handlers=kbd event3
H: Handlers=mouse0 event4
QUINTO
Edito el XORG.CONF.
Al editarlo y al darle ctrl alt backspace, me quedo sin video y me toca restaurarlo. Diría que es error mío al editarlo, pero en eso sí tengo experiencia ya que es lo mismo que en Ubuntu. Revisé en el /usr/lib/xorg/modules/input y no aparece el archivo wizardpen_drv.so
¿Qué podrá ser?
# 64443: He actualizado el tutorial...
Te sería muy útil leerte este tutorial de compilación...
Lo que te falta es instalar el paquete x11-server-devel, para saber esto es cosa de tomar el error que te da:
y aplicar un:
de lo que se desprende un necesario:
Resumiendo:
En el Wizarpedn 0.6.x no se llegó a buen fin con la compilación, por ende es impropio aplicar un make istall.
...en fin, una sutil advertencia amigo shang... sino te funciona y sales con un me vualvo a: Te prometo que te penaré en el foro al que te vayas!!!
Salu2!!!
# 64552: No seás tan paranóico...
Ay Guala... yo no soy de los que dicen me devuelvo a... Simplemente si no me funciona la tabla pues obviamente tengo que encontrar una solución práctica, porque es tiempo de trabajo que estoy perdiendo. Sin embargo, En el otro disco duro instalé winbugs mientras soluciono el inconveniente de la tableta... Así que no hay problema. En este instante me voy a poner a instalar todo ya que anoche reinstalé mandriva desde cero a ver cómo me va.
# 64433: Probé con la versión 0.5 del driver
La versión 0.5 del driver sí compiló y sí se copió a modulos, pero cuando pongo el código de la tableta en el xorg.conf no incian las X... Aquí dejo una copia de mi xorg.conf (con estos cambios no cargan las X)
# File generated by XFdrake (rev 247269)
# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************
Section "ServerFlags"
#DontZap # disable (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
#DontZoom # disable / (resolution switching)
EndSection
Section "Module"
Disable "dri"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbVariant" "intl"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Tablet"
Option "Name" "Tablet WP8060U"
Option "SendCoreEvents" "true"
driver "wizardpen"
Option "Device" "/dev/input/event4"
Option "Type" "stylus"
Option "Mode" "Absolute"
Option "TopX" "826"
Option "MaxX" "32747"
Option "BottomY" "32762"
Option "TopY" "2626"
Option "BottomX" "32747"
Option "TopZ" "128"
Option "MaxY" "32762"
Option "MaxZ" "1024"
Option "BottomZ" "1024"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Samsung"
ModelName "SyncMaster 753DF(X)/703DF(X)/783DF(X)/CD173A(T)"
HorizSync 30-71
VertRefresh 50-160
Option "PreferredMode" "1280x1024"
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce FX series"
Driver "nvidia"
Option "DPMS"
Option "DynamicTwinView" "false"
Option "AddARGBGLXVisuals"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
InputDevice “Tablet” “AlwaysCore”
EndSection
# 64448: mmmmmm....
No estoy seguro, pero con la versión 0.5 podrías necesitar un regla udev, bájate este fichero y colócalo en /etc/udev/rules.d/ (necesitas tener privilegios de root).
...dee mi experiencia con Wizardpen 0.5, en algún momento me dio problemas similares el xorg.conf, no se si fue por la última actualización de kernels y módulo nvidia pero en fin, me fuí a la tty1 (Ctrl+Alt+F1), me loguie como root, apliqué XFdrake y reconfiguré el video, maté KDM y lo ejecuté nuevamente, para finalmente volver a meterle mano al fichero xorg.conf, reinicié el servidor X (Ctrl+Alt+Backspace) y listo!!! luego eliminé el driver de la 0.5 y realicé lo referente al 0.6 sencillamente porque creo que es lo má cuerdo.
Salu2.
# 64455: Sí, recuerdo que
Hola Guala, sí, recuerdo que en ubuntu uno añadía esa línea.. Voy a ver si funciona y esperaré a ver qué diablos le pasa al driver 0.6 que no compila o bueno eso supongo porque en la terminal sale ese montón de cosas que pegué anteriormente.
POr si acaso estoy usando una versión de mdv de 32 bits..... i586,
# 64560: Instalado x11-server-devel, pero...
Hola Guala, ya instalé el x11* pero pues ahora me salió otro error...
[root@localhost wizardpen-0.6.0.2]# ./configure --with-xorg-module-dir=/usr/lib/xorg/modules && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking if RANDR is defined... yes
checking if XINPUT is defined... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... configure: error: Package requirements (xorg-server >= 1.0.99.901 xproto randrproto inputproto) were not met:
No package 'xproto' found
No package 'randrproto' found
No package 'inputproto' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Ahora qué será?
# 64565: Eso de: "Ahora qué será?"
Solo denota nuestra más clásica falta como usuarios de la red, No leemos con detención, por ende no comprendemos...
Estimado shang, mi problema en esto de los foros no es la voluntad, sino que la disponibilidad a responder a quien quiere todo dado en bandeja, eso no me incentiva mucho que digamos, mi gusto personal va por aportar con guías y cultura linuxera general, en fin, te dejo un enlace a la respuesta del "Ahora qué será?", la cual ya fue dada en esta entrada.
Good reading!
# 64603: Me excuso por mi descuido
hola Guala, yo no quiero nada en bandeja de plata, simplemente estoy haciendo una consulta de novato. pero también reconozco que soy despistado y muchas veces se me pierden las cosas. Voy a compilar el driver a ver qué pasa... De nuevo disculpas, es que yo no entiendo lo de la terminal
# 64608: ¡Driver Compilado! Pero...
Bueno la compilación ya resultó y la instalación también... Ahora el lío es que cuando pongo los parámetros en la sección "Server Layout" al reiniciar las X me quedo sin entorno gráfico...
InputDevice "Tablet" "AlwaysCore"
InputDevice "Tablet" "SendCoreEvents"
Probé con ambas opciones... Porque en ubuntu me funcionaba con AlwaysCore nada más... Por si acaso, probé ingresar lo de la calibración de la tabla en la sección inputdevice y pues reinicié y normal todo (pero pues la tabla no funcionaba) pero cuando inserto el parámetro en server layout y reinicio viene el problema
# 64677: Intenta darte una vuelta por...
El Cliente IRC del foro.
Vamos con la lata primero:
Sobre la bandeja de plata tómatelo con humor
pero aprovecha el consejo ya que ser novato o no entender la terminal, en verdad, son harina de otro costal, yo por ejemplo no nací con ese conocimiento y me atrevo a decir que tampoco le sucedió a ninguno de los que acá participan, aunque también lo más probable es que todos hayamos pasado por esa etapa de "aversión a la consola" en algún momento estudiantil o laboral, pero yo apunto a otra cosa, y es a lo básico, a la comprensión de lectura
que enseñan en el colegio... en fin, obviamente acá entra en juego mi poca pazzzzciencia, pero tampoco es el tema.
Ahora con posibles soluciones:
Salu2!!!
P.D.1 Mientras estés haciendo pruebas con xorg.conf necesitarás reiniciar, pero por favor entiéndase bien esto, se refiere a Reiniciar el servidor X Window (sin S final) y no el sistema por completo, y esto se hace aplicando un ctrl+alt+Backspace, y si X no inicia quedaremos en una pantalla negra o bien nos deja en la consola en el TTY1, si sucede lo primero seremos nosotros los encargados de ir a la tty1 vía ctrl+alt+F1 y seguimos los pasos que comenté acá, lo que nos obligará a agregar las secciones correspondientes en xorg.conf nuevamente.... como dije, teniendo mucho cuidado en verificar que todo esté bien escrito, es decir, a semejanza de los escritos que ya existen en el fichero xorg.conf que nos crea la herramienta XFdrake.
P.D.2 Una de las ventajas de utilizar el comando vi (editor de texto de consola) es que nos colorea las palabras y caracteres según su función, eso claramente nos facilita la tarea de verificar que todo esté bien escrito, cosa que no hace por ejemplo el editor gráfico gedit, y si lo hacen kwrite y kate, OjO que no me refiero a "bien escrito" desde la perspectiva ortográfica.
# 64692: Me devuelvo a.... Es broma...
Voy a probar... Hoy sí me toca trabajar un poquito, pero cuando haga lo que tengo planeado me pongo en esas :)... Sobre la bandeja de plata, no te preocupés que yo todo lo tomo con humor... :P Siempre... No me gano nada ponerme a discutir. Además vos tenés razón, lo que pasa es que muchas veces de tanto insistir con esto uno se cansa y más cuando necesito la computadora funcionando para trabajar :)
# 64895: Ya probé con # y no funcionó
Ya probé comentando la entrada del ratón y tampoco, Adjunto una copia del xorg.conf... Mirá mi xorg.conf con tabla... Así no funciona...
# File generated by XFdrake (rev 247269)
# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************
Section "ServerFlags"
#DontZap # disable (server abort)
#DontZoom # disable / (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection
Section "Module"
Disable "dri"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us(alt-intl)"
Option "XkbOptions" "compose:rwin"
EndSection
Section "InputDevice"
Identifier "Tablet"
Option "Name" "Tablet WP8060U"
Option "SendCoreEvents" "true"
driver "wizardpen"
Option "Device" "/dev/input/event4"
Option "Type" "stylus"
Option "Mode" "Absolute"
Option "TopX" "826"
Option "MaxX" "32747"
Option "BottomY" "32762"
Option "TopY" "2626"
Option "BottomX" "32747"
Option "TopZ" "128"
Option "MaxY" "32762"
Option "MaxZ" "1024"
Option "BottomZ" "1024"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "SyncMaster"
HorizSync 30-71
VertRefresh 50-160
Option "PreferredMode" "1280x1024"
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce FX series"
Driver "nvidia"
Option "DPMS"
Option "DynamicTwinView" "false"
Option "AddARGBGLXVisuals"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
# InputDevice "Mouse1" "CorePointer"
InputDevice “Tablet” “AlwaysCore”
#InputDevice “Tablet” “SendCoreEvents”
Screen "screen1"
EndSection
Cuando reinicio el X Window (sin S) automaticamente me sale un pantallazo azul pidiéndome que lo configure y no arranca por más startx que le haga... sólo cuando restablezco el xorg.org normal sin entradas en ServerLayout... Adjunto copia del normal, si a este le agrego lo de la calibración funciona como expliqué anteriormente, pero al anadirle en ServerLAyout... Adios X Window...
# File generated by XFdrake (rev 247269)
# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************
Section "ServerFlags"
#DontZap # disable (server abort)
#DontZoom # disable / (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection
Section "Module"
Disable "dri"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us(alt-intl)"
Option "XkbOptions" "compose:rwin"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "SyncMaster"
HorizSync 30-71
VertRefresh 50-160
Option "PreferredMode" "1280x1024"
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce FX series"
Driver "nvidia"
Option "DPMS"
Option "DynamicTwinView" "false"
Option "AddARGBGLXVisuals"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
por si acaso lo pongo
Este es el resultado del GREP
$ grep -5 Tablet /proc/bus/input/devices|grep event
H: Handlers=kbd event3
H: Handlers=mouse0 event4
Ya me está dando depre.. y yo que me quiero quedar usando mandriva... :(... Espero poder solucionar esto.
# 64940: Tengo unas dudas
Tengo unas dudas todavía....
¿Con que driver estás trabajando - 0.6 ó 0.5?
¿Seguro que llegó a buen fin la compilación del driver elegido?
Si el driver no está compilado como corresponde es obvio que X se trabará.
Salu2!!!
# 64969: Estoy con el 0.6
Bueno te cuento que compilé el 0.6, Voy a hacer algo hoy cuando amanezca... voy a compilar paso por paso y te lo voy copiando y pegando aquí ¿te Parece? :D
# 64991: OK
# 65090: :( NO existe emoticón que exprese lo que siento
PASOS QUE SEGUÍ PARA COMPILAR EL DRIVER :)
Instalación de los paquetes respectivos (ya los tengo instalados, pero es para que verifiqués que sí):
[root@localhost santiago]# urpmi task-c-devel
El paquete task-c-devel-2009.0-1mdv2009.0.noarch ya está instalado
[root@localhost santiago]# urpmi x11-server-devel
El paquete x11-server-devel-1.4.2-7mdv2009.0.i586 ya está instalado
Ya bajé el driver e ingreso a dicha carpeta
[santiago@localhost ~]$ cd wizard*
[santiago@localhost wizardpen-0.6.0.2]$
Ahora viene lo divertido:
[santiago@localhost wizardpen-0.6.0.2]$ ./configure --with-xorg-module-dir=/usr/lib/xorg/modules && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking if RANDR is defined... yes
checking if XINPUT is defined... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... yes
checking for ANSI C header files... (cached) yes
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking sysfs/libsysfs.h usability... no
checking sysfs/libsysfs.h presence... no
checking for sysfs/libsysfs.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make all-recursive
make[1]: se ingresa al directorio `/home/santiago/wizardpen-0.6.0.2'
Making all in src
make[2]: se ingresa al directorio `/home/santiago/wizardpen-0.6.0.2/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT wizardpen.lo -MD -MP -MF .deps/wizardpen.Tpo -c -o wizardpen.lo wizardpen.c
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT wizardpen.lo -MD -MP -MF .deps/wizardpen.Tpo -c wizardpen.c -fPIC -DPIC -o .libs/wizardpen.o
mv -f .deps/wizardpen.Tpo .deps/wizardpen.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -module -avoid-version -o wizardpen_drv.la -rpath /usr/lib/xorg/modules/input wizardpen.lo
rm -fr .libs/wizardpen_drv.la .libs/wizardpen_drv.lai .libs/wizardpen_drv.so
gcc -shared .libs/wizardpen.o -Wl,-soname -Wl,wizardpen_drv.so -o .libs/wizardpen_drv.so
creating wizardpen_drv.la
(cd .libs && rm -f wizardpen_drv.la && ln -s ../wizardpen_drv.la wizardpen_drv.la)
make[2]: se sale del directorio `/home/santiago/wizardpen-0.6.0.2/src'
Making all in man
make[2]: se ingresa al directorio `/home/santiago/wizardpen-0.6.0.2/man'
make[2]: No se hace nada para `all'.
make[2]: se sale del directorio `/home/santiago/wizardpen-0.6.0.2/man'
make[2]: se ingresa al directorio `/home/santiago/wizardpen-0.6.0.2'
make[2]: se sale del directorio `/home/santiago/wizardpen-0.6.0.2'
make[1]: se sale del directorio `/home/santiago/wizardpen-0.6.0.2'
MAKE INSTALL
[root@localhost wizardpen-0.6.0.2]# make install
Making install in src
make[1]: se ingresa al directorio `/home/santiago/wizardpen-0.6.0.2/src'
make[2]: se ingresa al directorio `/home/santiago/wizardpen-0.6.0.2/src'
make[2]: No se hace nada para `install-exec-am'.
test -z "/usr/lib/xorg/modules/input" || /bin/mkdir -p "/usr/lib/xorg/modules/input"
/bin/sh ../libtool --mode=install /usr/bin/install -c 'wizardpen_drv.la' '/usr/lib/xorg/modules/input/wizardpen_drv.la'
/usr/bin/install -c .libs/wizardpen_drv.so /usr/lib/xorg/modules/input/wizardpen_drv.so
/usr/bin/install -c .libs/wizardpen_drv.lai /usr/lib/xorg/modules/input/wizardpen_drv.la
PATH="$PATH:/sbin" ldconfig -n /usr/lib/xorg/modules/input
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/xorg/modules/input
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: se sale del directorio `/home/santiago/wizardpen-0.6.0.2/src'
make[1]: se sale del directorio `/home/santiago/wizardpen-0.6.0.2/src'
Making install in man
make[1]: se ingresa al directorio `/home/santiago/wizardpen-0.6.0.2/man'
make[2]: se ingresa al directorio `/home/santiago/wizardpen-0.6.0.2/man'
make[2]: No se hace nada para `install-exec-am'.
test -z "/usr/local/share/man/man4" || /bin/mkdir -p "/usr/local/share/man/man4"
/usr/bin/install -c -m 644 'wizardpen.4' '/usr/local/share/man/man4/wizardpen.4'
make[2]: se sale del directorio `/home/santiago/wizardpen-0.6.0.2/man'
make[1]: se sale del directorio `/home/santiago/wizardpen-0.6.0.2/man'
make[1]: se ingresa al directorio `/home/santiago/wizardpen-0.6.0.2'
make[2]: se ingresa al directorio `/home/santiago/wizardpen-0.6.0.2'
make[2]: No se hace nada para `install-exec-am'.
make[2]: No se hace nada para `install-data-am'.
make[2]: se sale del directorio `/home/santiago/wizardpen-0.6.0.2'
make[1]: se sale del directorio `/home/santiago/wizardpen-0.6.0.2'
Aquí en el directorio /urs/lib/xorg/modules/input ya está el driver
wizardpen_drv.la
wizardpen_drv.so
CONFIGURO MI XORG.CONF
# File generated by XFdrake (rev 247269)
# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************
Section "ServerFlags"
#DontZap # disable (server abort)
#DontZoom # disable / (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection
Section "Module"
Disable "dri"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us(alt-intl)"
Option "XkbOptions" "compose:rwin"
EndSection
Section "InputDevice"
Identifier "Tablet"
Option "Name" "Tablet WP8060U"
Option "SendCoreEvents" "true"
driver "wizardpen"
Option "Device" "/dev/input/event5"
Option "Type" "stylus"
Option "Mode" "Absolute"
Option "TopX" "826"
Option "MaxX" "32747"
Option "BottomY" "32762"
Option "TopY" "2626"
Option "BottomX" "32747"
Option "TopZ" "128"
Option "MaxY" "32762"
Option "MaxZ" "1024"
Option "BottomZ" "1024"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "SyncMaster"
HorizSync 30-71
VertRefresh 50-160
Option "PreferredMode" "1280x1024"
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce FX series"
Driver "nvidia"
Option "DPMS"
Option "DynamicTwinView" "false"
Option "AddARGBGLXVisuals"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
# InputDevice "Mouse1" "CorePointer"
Screen "screen1"
InputDevice “Tablet” “AlwaysCore”
EndSection
CTRL ALT BACKSPACE PARA REINICIAR Y... FRITO... NADA DE XWINDOW... Traté de ser lo más específico posible aquí... Espero encontrés algún error a ver si por fin migro a Mandriva 2009.
# 65101: .
.
# 65103: ...tengo dudas con el
Veo todo bien, SALVO UNA COSA... ¿QUE SI TERMINA SIENDO EL PROBLEMA?
...Por favor digle a alguien que ""A minombre" te patee el trasero, el tema es el siguiente mmmmmmmmm.... copipasteo literalmente lo escrito en la respuesta # 64677 que casualmente es mía
:
¡¡¡Y PARA QUE TE QUEDE CLARO!!! tomo la última parte del último xorg.conf que mandaste y la copio acá:
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
# InputDevice "Mouse1" "CorePointer"
Screen "screen1"
InputDevice “Tablet” “AlwaysCore”
EndSection
y por si no lo notaste:
# 65105: Hahahahahha Guala Casi que no veo la diferencia :P
Compadre, pues la verdad casi que no la noto.... oki entonces voy a poner las comillas manualmente. :P A ver qué sucede... Pero quiero añadir... Que también copié y pegué dicha sección desde mi xorg.conf actual, el que uso en ubuntu y no me arrancó el video... Ya regreso no más reinicie por mandriva
# 65106: ¿no la ves?
las comillas están mal...
está la comilla simple '
y la comilla doble "
y si pones 2 simples '' parece una doble, pero no lo es.
ahora lo ves?
# 65107: mmm... Sí hehehehehe
Bueno el hecho es que ya me funcionó, pero pues cuando pongo dos comillas en mi teclado quedan separadas...Ej: (' ') aquí le hice un espacio porque cuando doy publicar quedan iguales a las que me pusiste... En mi xorg.conf si las escribo quedan separadas. Bueno el hecho es que ya me funcionó, copié y pegué el del teclado y le reemplacé los valores. Una pregunta... ¿O sea que todos el contenido de xorg.conf es con dos comillas sencillas y no dobles... o sea ' ' y no "?...
# 65110: Ah y lo último
Agradecerles por tanta paciencia... en especial a vos Guala... Y no te preocupés que yo busco quién me patee en tu nombre... Total no falta el que quiera hacerlo :) GRACIAS... GRACIAS... Ahora a ver algunos detalles como el compiz y más efectos porque este viene con muy poquitos y yo ya estoy acostumbrado a llamitas y cosas de esas... Que aunque no son muy útiles me han ayudado para que mucha gente se cambie a Linux... Y completar la migración totalmente esta semana :)
# 65124: ¿Has solucionado tu problema con el dispositivo?
Si tienes otras dudas, abre otro hilo. Comenta si has solucionado tu problema para poder cerrar el post.
# 65163: Annubis...yo sé
Hola... yo sé... sólo estaba explicando lo que me faltaba, eso lo preguntaré en otro hilo. :)
# 65162: La última inquietud...
Bueno, Guala... cuando usás la tableta gráfica, ¿podés arrastrar ventanas con ella? Porque a mí eso no me funciona aunque es secundario... Sin embargo tengo esa duda.
# 65164: ...
Tienes que responder si has podido solucionar tu problema original, porque sino este post se va a hacer eterno...
NOTA: "Pedazo" de post (No te quejaras, te esta ayudando toda la comunidad, jeje...)
Comentas...
Saludos!!!!
Registered Linux user #472290
MiniBOFH / MediumBOFH / KapyBOFH# 65198: Sí me funcionó....
Sí me funcionó, pero pues tengo la duda con lo de las ventanas... Por eso dejé la pregunta antes de cerrar este post....... ¿O abro un hilo con la pregunta de las ventanas? :P
# 65216: Creo que es mejor que abras
Creo que es mejor que abras otro hilo para el problema de las ventanas, si no va a ser imposible que alguien lo encuentre luego con el buscador.
Además un hilo con demasiados posts acaba siendo bastante poco útil si otra persona viene buscando información concreta.
Saludos,
luismago
--
JID: luismago@jabber.org
Ceterum censeo Carthaginem esse delendam. -Marco Porcio Catón