| View previous topic :: View next topic |
| Author |
Message |
klemi Guru

Joined: 26 May 2004 Posts: 494 Location: Erbach b. Ulm
|
Posted: Sat Jul 22, 2006 11:14 am Post subject: |
|
|
Paul,
what is your Xorg 7 - configuration for this mouse. Do you need entries in xmodmap in combination with the razertool?
Thanks for information.
Greetings
Klemi _________________ Gentoo 2.6.16-r12; AMD Athlon 3GHz; NVidia GeForce 5700; Hauppauge nexus-s |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 6609
|
Posted: Sat Jul 22, 2006 12:24 pm Post subject: |
|
|
| klemi wrote: | | what is your Xorg 7 configuration for this mouse |
Here is the entry in /etc/X11/xorg.conf
| Code: | Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "9"
Option "ZAxisMapping" "6 7" # For mouse wheel
Option "Emulate3Buttons" "off"
Option "Dev Name" "Razer Razer Copperhead Laser Mouse" # cat /proc/bus/input/devices
Option "Resolution" "800"
Option "SendCoreEvents" "true"
EndSection |
| Quote: | | Do you need entries in xmodmap |
Yes, see my entry earlier in this thread. |
|
| Back to top |
|
 |
klemi Guru

Joined: 26 May 2004 Posts: 494 Location: Erbach b. Ulm
|
Posted: Sat Jul 22, 2006 1:00 pm Post subject: |
|
|
Ok, thanks
but in another thread I have read that with Xorg 7 itz is better to use "evdev" as driver in xorg.conf.
With
| Code: | xmodmap -pp
There are 32 pointer buttons defined.
Physical Button
Button Code
1 1
2 3
3 2
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 11
12 12
13 13
14 14
15 15
16 16
17 17
18 18
19 19
20 20
21 21
22 22
23 23
24 24
25 25
26 26
27 27
28 28
29 29
30 30
31 31
32 0 |
xmodmap declare 32 button for the mouse.
But no all buttons are idetified from evdev.
Can you explane it to me?
How must I give the entries with xmodmap?
Thank you very much. _________________ Gentoo 2.6.16-r12; AMD Athlon 3GHz; NVidia GeForce 5700; Hauppauge nexus-s |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 6609
|
Posted: Sat Jul 22, 2006 1:07 pm Post subject: |
|
|
| klemi wrote: | | but in another thread |
Which other thread?
| Quote: | | better to use "evdev" as driver |
State reasons.
| Quote: | | There are 32 pointer buttons defined. |
The Razer Copperhead mouse does not have 32 buttons
It doesn't have 13 buttons either, but pretending that it does, keeps xmodmap happy  |
|
| Back to top |
|
 |
klemi Guru

Joined: 26 May 2004 Posts: 494 Location: Erbach b. Ulm
|
Posted: Sat Jul 22, 2006 6:36 pm Post subject: |
|
|
Hi,
the left butto for Razer Mouse don ´ t work.
I have in ~.kde/Autostart -folder
| Quote: | klemens@tux ~/.kde/Autostart $ ls -la
insgesamt 16
drwx------ 2 klemens users 4096 22. Jul 20:20 .
drwx------ 4 klemens users 4096 22. Jul 20:19 ..
-rw-r--r-- 1 klemens users 1767 27. Mai 00:05 .directory
-rw-r--r-- 1 klemens users 42 5. Jul 19:34 xmodmap~
|
And in xmodmap
| Code: | #!/bin/sh
xmodmap /etc/X11/xinit/.Xmodmap |
and in .Xmodmap
| Code: | | pointer = 1 2 3 6 7 4 5 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
Was this correct????
How can I start the execute script for xbindkeys???
Thanks
Klemi _________________ Gentoo 2.6.16-r12; AMD Athlon 3GHz; NVidia GeForce 5700; Hauppauge nexus-s |
|
| Back to top |
|
 |
Polynomial-C Developer


Joined: 01 Jun 2003 Posts: 1341 Location: germany
|
Posted: Mon Aug 07, 2006 4:31 pm Post subject: |
|
|
Hi,
Paul could you incorporate this patch in your ebuild? It fixes the left and right mousebuttons being interchanged in razertool-gtk.
Cheers
Poly-C _________________ The manual said "WindowsXP or better" so I installed GNU/Linux...
my portage overlay
Need a stage1 tarball? (Unofficial builds) |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 6609
|
Posted: Tue Aug 08, 2006 3:38 am Post subject: |
|
|
Patch added, thanks
Is anyone else getting random USB disconnects with the mouse recently? It could be a problem with my Via USB chipset, rather than the mouse itself.
Edit: OK, so I disassembled the mouse, put it back together again (removing the bit of plastic for the underside button because it's so darn fiddly), and the random disconnects mysteriously vanished. Presumably the problem was a loose connection somewhere within the mouse.
Edit again: The random disconnects continued at a rate of 2-5 per day, so I bought a new Copperhead (this one doesn't have "first edition" stamped on it). The left mouse button is a bit too loose, and it rattles, without a tiny bit of putty placed on its edge On the plus side, The "razerflash" command works to update the firmware 
Last edited by PaulBredbury on Fri Aug 18, 2006 11:12 pm; edited 1 time in total |
|
| Back to top |
|
 |
orlfman n00b

Joined: 31 Jul 2006 Posts: 66
|
Posted: Wed Aug 16, 2006 10:15 pm Post subject: |
|
|
| Code: | linux razertool # ebuild razertool-0.0.6.ebuild install
Appending /usr/local/portage to PORTDIR_OVERLAY...
>>> Downloading http://distfiles.gentoo.org/distfiles/razertool_0.0.6.orig.tar.gz
--15:10:34-- http://distfiles.gentoo.org/distfiles/razertool_0.0.6.orig.tar.gz
=> `/usr/portage/distfiles/razertool_0.0.6.orig.tar.gz'
Resolving distfiles.gentoo.org... 156.56.247.195, 216.165.129.135, 64.50.236.52, ...
Connecting to distfiles.gentoo.org|156.56.247.195|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
15:10:35 ERROR 404: Not Found.
No digest file available and download failed.
>>> Downloading http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/razertool_0.0.6.orig.tar.gz
--15:10:35-- http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/razertool_0.0.6.orig.tar.gz
=> `/usr/portage/distfiles/razertool_0.0.6.orig.tar.gz'
Resolving distro.ibiblio.org... 152.2.210.109
Connecting to distro.ibiblio.org|152.2.210.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
15:10:35 ERROR 404: Not Found.
No digest file available and download failed.
>>> Downloading http://kent.dl.sourceforge.net/sourceforge/razertool/razertool_0.0.6.orig.tar.gz
--15:10:35-- http://kent.dl.sourceforge.net/sourceforge/razertool/razertool_0.0.6.orig.tar.gz
=> `/usr/portage/distfiles/razertool_0.0.6.orig.tar.gz'
Resolving kent.dl.sourceforge.net... 212.219.56.167
Connecting to kent.dl.sourceforge.net|212.219.56.167|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 157,521 (154K) [application/x-tar]
100%[====================================>] 157,521 131.75K/s
15:10:37 (131.44 KB/s) - `/usr/portage/distfiles/razertool_0.0.6.orig.tar.gz' saved [157521/157521]
!!! Manifest file not found: '/usr/local/portage/app-misc/razertool/Manifest'
|
Eh? Help lol. _________________ Orlfman |
|
| Back to top |
|
 |
Polynomial-C Developer


Joined: 01 Jun 2003 Posts: 1341 Location: germany
|
Posted: Wed Aug 16, 2006 10:19 pm Post subject: |
|
|
Hi,
you forgot to create the digest:
| Code: | | ebuild /usr/local/portage/app-misc/razertool/razertool-0.0.6.ebuild digest |
after this just run
(presumed you have PORTDIR_OVERLAY="/usr/local/portage" in your /etc/make.conf)
Cheers
Poly-C _________________ The manual said "WindowsXP or better" so I installed GNU/Linux...
my portage overlay
Need a stage1 tarball? (Unofficial builds) |
|
| Back to top |
|
 |
orlfman n00b

Joined: 31 Jul 2006 Posts: 66
|
Posted: Wed Aug 16, 2006 10:28 pm Post subject: |
|
|
| Code: |
linux razertool # emerge razertool
Calculating dependencies
emerge: there are no ebuilds to satisfy "razertool".
linux razertool #
|
Eh?
| Code: | | PORTDIR_OVERLAY=/usr/local/portage | is in make.conf =/ _________________ Orlfman |
|
| Back to top |
|
 |
Polynomial-C Developer


Joined: 01 Jun 2003 Posts: 1341 Location: germany
|
Posted: Wed Aug 16, 2006 10:35 pm Post subject: |
|
|
Hi,
strange...
Did you save the ebuild in /usr/local/portage/app-misc/razertool/?
What arch is this gentoo?
Poly-C _________________ The manual said "WindowsXP or better" so I installed GNU/Linux...
my portage overlay
Need a stage1 tarball? (Unofficial builds) |
|
| Back to top |
|
 |
orlfman n00b

Joined: 31 Jul 2006 Posts: 66
|
Posted: Wed Aug 16, 2006 10:39 pm Post subject: |
|
|
Yes I saved it to /usr/local/portage/app-misc/razertool/ and I am running X86 gentoo.
I tried | Code: | | ebuild/usr/local/portage/app-misc/razertool/ razertool-0.0.6.ebuild install | again and got this:
| Code: |
linux pieman # ebuild /usr/local/portage/app-misc/razertool/razertool-0.0.6.ebuild install
Appending /usr/local/portage to PORTDIR_OVERLAY...
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking razertool_0.0.6.orig.tar.gz ;-)
>>> Checking razertool_0.0.6.orig.tar.gz's mtime...
>>> /usr/local/portage/app-misc/razertool/razertool-0.0.6.ebuild has been updated; recreating WORKDIR...
>>> Unpacking source...
>>> Unpacking razertool_0.0.6.orig.tar.gz to /var/tmp/portage/razertool-0.0.6/work
* Fixing left/right button mixup.
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/razertool-0.0.6/work/razertool-0.0.6 ...
./configure --prefix=/usr --host=i386-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-gtk --build=i386-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for i386-pc-linux-gnu-gcc... i386-pc-linux-gnu-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 i386-pc-linux-gnu-gcc accepts -g... yes
checking for i386-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking dependency style of i386-pc-linux-gnu-gcc... gcc3
checking for library containing strerror... none required
checking for i386-pc-linux-gnu-gcc... (cached) i386-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i386-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i386-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed
checking dependency style of i386-pc-linux-gnu-gcc... (cached) gcc3
checking for i386-pc-linux-gnu-gcc... (cached) i386-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i386-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i386-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed
checking dependency style of i386-pc-linux-gnu-gcc... (cached) gcc3
checking for i386-pc-linux-gnu-ranlib... i386-pc-linux-gnu-ranlib
checking how to run the C preprocessor... i386-pc-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for i386-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libusb... configure: error: Package requirements (libusb >= 0.1.0) were not met:
No package 'libusb' 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 libusb_CFLAGS
and libusb_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/razertool-0.0.6/work/razertool-0.0.6/config.log
!!! ERROR: app-misc/razertool-0.0.6 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
razertool-0.0.6.ebuild, line 51: Called econf '--enable-gtk'
ebuild.sh, line 541: Called die
!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! This ebuild is from an overlay: '/usr/local/portage'
|
I see the "libusb" thing not found but I did eix libusb and shows that I have it installed =/
| Code: |
* dev-libs/libusb
Available versions: 0.1.8 0.1.10a ~0.1.11 ~0.1.12
Installed: 0.1.10a
Homepage: http://libusb.sourceforge.net/
Description: Userspace access to USB devices
Found 1 matches
linux pieman #
|
Eh? _________________ Orlfman |
|
| Back to top |
|
 |
Polynomial-C Developer


Joined: 01 Jun 2003 Posts: 1341 Location: germany
|
Posted: Wed Aug 16, 2006 10:45 pm Post subject: |
|
|
Hi,
you need libusb-0.1.12 because version 0.1.10 doesn't provide pkg-config files which are needed by razertool.
Just put
| Code: | | ~dev-libs/libusb-0.1.12 |
into your /etc/portage/package.keywords file and run
then rerun
| Code: | | ebuild/usr/local/portage/app-misc/razertool/razertool-0.0.6.ebuild install qmerge |
(note the extra qmerge at the end of that line which actually merges the package into your system)
Poly-C _________________ The manual said "WindowsXP or better" so I installed GNU/Linux...
my portage overlay
Need a stage1 tarball? (Unofficial builds) |
|
| Back to top |
|
 |
orlfman n00b

Joined: 31 Jul 2006 Posts: 66
|
Posted: Wed Aug 16, 2006 10:52 pm Post subject: |
|
|
| Code: |
linux pieman # ebuild /usr/local/portage/app-misc/razertool/razertool-0.0.6.ebuild install qmerge
Appending /usr/local/portage to PORTDIR_OVERLAY...
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking razertool_0.0.6.orig.tar.gz ;-)
>>> Checking razertool_0.0.6.orig.tar.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
>>> Compiling source in /var/tmp/portage/razertool-0.0.6/work/razertool-0.0.6 ...
./configure --prefix=/usr --host=i386-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-gtk --build=i386-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for i386-pc-linux-gnu-gcc... i386-pc-linux-gnu-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 i386-pc-linux-gnu-gcc accepts -g... yes
checking for i386-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking dependency style of i386-pc-linux-gnu-gcc... gcc3
checking for library containing strerror... none required
checking for i386-pc-linux-gnu-gcc... (cached) i386-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i386-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i386-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed
checking dependency style of i386-pc-linux-gnu-gcc... (cached) gcc3
checking for i386-pc-linux-gnu-gcc... (cached) i386-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i386-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i386-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed
checking dependency style of i386-pc-linux-gnu-gcc... (cached) gcc3
checking for i386-pc-linux-gnu-ranlib... i386-pc-linux-gnu-ranlib
checking how to run the C preprocessor... i386-pc-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for i386-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libusb... yes
checking for GTKLIBS... 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 locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating gtk/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
make all-recursive
make[1]: Entering directory `/var/tmp/portage/razertool-0.0.6/work/razertool-0.0.6'
Making all in src
make[2]: Entering directory `/var/tmp/portage/razertool-0.0.6/work/razertool-0.0.6/src'
if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=i686 -O2 -pipe -MT razerlib.o -MD -MP -MF ".deps/razerlib.Tpo" -c -o razerlib.o razerlib.c; \
then mv -f ".deps/razerlib.Tpo" ".deps/razerlib.Po"; else rm -f ".deps/razerlib.Tpo"; exit 1; fi
if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=i686 -O2 -pipe -MT razerfirmware.o -MD -MP -MF ".deps/razerfirmware.Tpo" -c -o razerfirmware.o razerfirmware.c; \
then mv -f ".deps/razerfirmware.Tpo" ".deps/razerfirmware.Po"; else rm -f ".deps/razerfirmware.Tpo"; exit 1; fi
rm -f librazer.a
ar cru librazer.a razerlib.o razerfirmware.o
i386-pc-linux-gnu-ranlib librazer.a
if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=i686 -O2 -pipe -MT razertool.o -MD -MP -MF ".deps/razertool.Tpo" -c -o razertool.o razertool.c; \
then mv -f ".deps/razertool.Tpo" ".deps/razertool.Po"; else rm -f ".deps/razertool.Tpo"; exit 1; fi
i386-pc-linux-gnu-gcc -march=i686 -O2 -pipe -o razertool razertool.o razerlib.o -lusb
if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=i686 -O2 -pipe -MT razerflash.o -MD -MP -MF ".deps/razerflash.Tpo" -c -o razerflash.o razerflash.c; \
then mv -f ".deps/razerflash.Tpo" ".deps/razerflash.Po"; else rm -f ".deps/razerflash.Tpo"; exit 1; fi
i386-pc-linux-gnu-gcc -march=i686 -O2 -pipe -o razerflash razerflash.o razerlib.o razerfirmware.o -lusb
make[2]: Leaving directory `/var/tmp/portage/razertool-0.0.6/work/razertool-0.0.6/src'
Making all in gtk
make[2]: Entering directory `/var/tmp/portage/razertool-0.0.6/work/razertool-0.0.6/gtk'
if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I"../src" -DPACKAGE_DATA_DIR=\""/usr/share/razertool"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/librsvg-2 -march=i686 -O2 -pipe -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I"../src" -DPACKAGE_DATA_DIR=\""/usr/share/razertool"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/librsvg-2 -march=i686 -O2 -pipe -MT support.o -MD -MP -MF ".deps/support.Tpo" -c -o support.o support.c; \
then mv -f ".deps/support.Tpo" ".deps/support.Po"; else rm -f ".deps/support.Tpo"; exit 1; fi
if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I"../src" -DPACKAGE_DATA_DIR=\""/usr/share/razertool"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/librsvg-2 -march=i686 -O2 -pipe -MT interface.o -MD -MP -MF ".deps/interface.Tpo" -c -o interface.o interface.c; \
then mv -f ".deps/interface.Tpo" ".deps/interface.Po"; else rm -f ".deps/interface.Tpo"; exit 1; fi
if i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I"../src" -DPACKAGE_DATA_DIR=\""/usr/share/razertool"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/librsvg-2 -march=i686 -O2 -pipe -MT callbacks.o -MD -MP -MF ".deps/callbacks.Tpo" -c -o callbacks.o callbacks.c; \
then mv -f ".deps/callbacks.Tpo" ".deps/callbacks.Po"; else rm -f ".deps/callbacks.Tpo"; exit 1; fi
callbacks.c:17:32: librsvg/rsvg-cairo.h: No such file or directory
callbacks.c:314: error: syntax error before "razer_svg_dims"
callbacks.c:314: warning: data definition has no type or storage class
callbacks.c: In function `drawingarea1_calc_matrix':
callbacks.c:649: error: request for member `width' in something not a structure or union
callbacks.c:650: error: request for member `height' in something not a structure or union
callbacks.c:656: error: request for member `width' in something not a structure or union
callbacks.c:657: error: request for member `height' in something not a structure or union
callbacks.c: In function `on_drawingarea1_size_allocate':
callbacks.c:820: warning: assignment makes pointer from integer without a cast
callbacks.c:840: error: request for member `height' in something not a structure or union
make[2]: *** [callbacks.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/razertool-0.0.6/work/razertool-0.0.6/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/razertool-0.0.6/work/razertool-0.0.6'
make: *** [all] Error 2
!!! ERROR: app-misc/razertool-0.0.6 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
razertool-0.0.6.ebuild, line 52: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! This ebuild is from an overlay: '/usr/local/portage'
linux pieman #
Called dyn_compile
ebuild.sh, line 939: Called src_compile
razertool-0.0.6.ebuild, line 52: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! This ebuild is from an overlay: '/usr/local/portage'
linux pieman #
|
I don't think it likes me =/ lol _________________ Orlfman |
|
| Back to top |
|
 |
orlfman n00b

Joined: 31 Jul 2006 Posts: 66
|
Posted: Wed Aug 16, 2006 11:04 pm Post subject: |
|
|
Nvm got it to work. I updated some of its dep. on my own and it installed  _________________ Orlfman |
|
| Back to top |
|
 |
Polynomial-C Developer


Joined: 01 Jun 2003 Posts: 1341 Location: germany
|
Posted: Wed Aug 16, 2006 11:04 pm Post subject: |
|
|
Hi,
that's why I said to run instead of ebuild... install
razertool has a dependency on three further packages beside libusb. These are >=gnome-base/librsvg-2.0, >=x11-libs/cairo-1.0.0 and >=x11-libs/gtk+-2.8.0. razertool complaind about not finding a file from librsvg so you haven't installed that package.
I must strongly recommend you to make emerge razertool working as this also checks for missing dependencies.
Poly-C _________________ The manual said "WindowsXP or better" so I installed GNU/Linux...
my portage overlay
Need a stage1 tarball? (Unofficial builds) |
|
| Back to top |
|
 |
orlfman n00b

Joined: 31 Jul 2006 Posts: 66
|
Posted: Wed Aug 16, 2006 11:08 pm Post subject: |
|
|
I got it installed but wondering how can I get my back and forward button to work? I tried razertool -8 ALT_LEFT but it's saying only up to 7? O_O
Edit:
| Code: |
Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "Buttons" "8 9"
Option "ZAxisMapping" "4 5"
EndSection
|
Mouse conf in xorg.conf. Is there anything in there I should change? _________________ Orlfman |
|
| Back to top |
|
 |
Polynomial-C Developer


Joined: 01 Jun 2003 Posts: 1341 Location: germany
|
Posted: Wed Aug 16, 2006 11:12 pm Post subject: |
|
|
Use razertool-gtk and maximize it. The GUI shows you which number each button has. _________________ The manual said "WindowsXP or better" so I installed GNU/Linux...
my portage overlay
Need a stage1 tarball? (Unofficial builds) |
|
| Back to top |
|
 |
orlfman n00b

Joined: 31 Jul 2006 Posts: 66
|
Posted: Wed Aug 16, 2006 11:45 pm Post subject: |
|
|
Ah, ok Thanks. _________________ Orlfman
Last edited by orlfman on Thu Aug 17, 2006 2:11 am; edited 1 time in total |
|
| Back to top |
|
 |
swimmer Veteran


Joined: 15 Jul 2002 Posts: 1260 Location: Netherlands
|
Posted: Thu Aug 17, 2006 1:35 am Post subject: |
|
|
You can add the "~amd64" keyword to the ebuild - it works all as suspected
Greetz
swimmer |
|
| Back to top |
|
 |
node@are-b.org n00b

Joined: 20 Apr 2005 Posts: 44
|
Posted: Fri Aug 25, 2006 3:04 pm Post subject: |
|
|
Don't wanna intrude guys, but I started a thread on bugzilla (sinds I couldn't find anything on razer on the bugzilla)
There's a preliminairy (sp) ebuild on there (without ~amd64) but it doesn't work yet. in the sense that it fails on 'make install' with a permission denied. Dunno what's up with that, other then that the ebuild works just fine.
http://bugs.gentoo.org/show_bug.cgi?id=144982 |
|
| Back to top |
|
 |
sliwowitz Apprentice

Joined: 21 Jan 2005 Posts: 168 Location: Europe/Prague
|
Posted: Tue Aug 29, 2006 6:57 pm Post subject: |
|
|
I have Razer Diamondback and am very happy with it except one bug, which Razer solved in the windows drivers (no music for linux):
When you move the mouse slowly to one side (ie. left) and then change to the other (right....) it skips one pixel thus moving by two pixels instead of just one. This is very annoying when working with graphics (if you misalign something by one pixel, you have either to zoom in, or move further to the other side and then get back. imagine you overshoot it again and perhaps once more....)
Can someone who owns a Copperhead try and post if it's also affected? Because if it isn't I'll get one immediately.
my 100th post  |
|
| Back to top |
|
 |
wschlich Developer

Joined: 06 Sep 2002 Posts: 40 Location: Bad Breisig, Rhineland-Palatinate, Germany, Old Europe
|
Posted: Tue Aug 29, 2006 10:08 pm Post subject: |
|
|
My copperhead should arrive tomorrow, if you can wait, I will see how it behaves. _________________ Wolfram Schlich <wolfram@schlich.org>
Gentoo <wschlich@gentoo.org> |
|
| Back to top |
|
 |
swimmer Veteran


Joined: 15 Jul 2002 Posts: 1260 Location: Netherlands
|
Posted: Tue Aug 29, 2006 11:16 pm Post subject: |
|
|
| sliwowitz wrote: | | When you move the mouse slowly to one side (ie. left) and then change to the other (right....) it skips one pixel thus moving by two pixels instead of just one. This is very annoying when working with graphics (if you misalign something by one pixel, you have either to zoom in, or move further to the other side and then get back. imagine you overshoot it again and perhaps once more....) |
Yep - same here ...
Greetz
swimmer |
|
| Back to top |
|
 |
PaulBredbury Watchman


Joined: 14 Jul 2005 Posts: 6609
|
Posted: Sat Oct 07, 2006 6:03 am Post subject: |
|
|
This command slows the mouse cursor down enough to use with 2000 dpi (factory profile 1, identified by 1 light blink after pressing the underside button):
man xset explains it. Put the command in the startup section of your window manager, e.g. in Gnome, the System - Preferences - Sessions - Startup Programs menu.
The razertool ebuild is now in bugzilla. |
|
| Back to top |
|
 |
|