You are not logged in.

#1 2008-07-31 20:33:37

Camelon
Member
Registered: 2008-07-31
Posts: 9

[Problem] Xorg.conf and Razer DeathAdder Mouse

First of all, Hy everyone smile Its my first time on Arch, and after a lot of reading and reading, and some more reading, i managed to install it with windows xp on a dual boot. After installing xorg with pacman, and configuring my xorg.conf look like this:

Section "ServerLayout"
    Identifier     "Layout[all]"
    Screen      0  "aticonfig-Screen[0]" 0 0
    InputDevice    "Keyboard[0]" "CoreKeyboard"
    InputDevice    "Mouse[1]" "CorePointer"
    Option        "Clone" "off"
    Option        "Xinerama" "off"
    Option        "AIGLX" "on"
EndSection

Section "Files"
    InputDevices   "/dev/gpmdata"
    InputDevices   "/dev/input/mice"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/URW"
    FontPath     "/usr/share/fonts/Speedo"
    FontPath     "/usr/share/fonts/cyrillic"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/uni:unscaled"
    FontPath     "/opt/kde3/share/fonts"
EndSection

Section "Module"
    Load  "dbe"
    Load  "type1"
    Load  "freetype"
    Load  "extmod"
    Load  "glx"
    Load  "dri"
EndSection

Section "ServerFlags"
    Option        "AllowMouseOpenFail" "on"
EndSection

Section "InputDevice"
    Identifier  "Keyboard[0]"
    Driver      "kbd"
    Option        "Protocol" "Standard"
    Option        "XkbLayout" "pt-latin1.map.gz"
    Option        "XkbModel" "logitech"
    Option        "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
    Option        "XkbRules" "xfree86"
    Option        "XkbVariant" "basic,extended"
EndSection

Section "InputDevice"
    Identifier  "Mouse[1]"
      Driver      "mouse"
      Option    "Name" "Razer DeathAdder"
      Option      "corepointer"
      Option      "Protocol" "ExplorerPS/2"
      Option      "ZAxisMapping" "4 5"
    Option    "Device" "/dev/input/mice"
    Option    "Buttons" "7"
    Option    "ButtonsMapping" "1 2 3 6 7"
    Option    "Resolution" "900"
    Option    "SampleRate" "1000"
EndSection

Section "Monitor"
    Identifier   "aticonfig-Monitor[0]"
    Option        "DPMS" "true"
EndSection

Section "Device"
    Identifier  "aticonfig-Device[0]"
    Driver      "fglrx"
        Option      "XAANoOffscreenPixmaps" "on"
        Option      "VideoOverlay" "off"
        Option      "OpenGLOverlay" "off"
    Option        "TexturedVideo" "on"
    Option        "Textured2D" "on"
    Option        "TexturedXrender" "off"
    Option        "UseFastTLS" "1"
        Option      "BackingStore" "on"
        Option      "mtrr" "on"
EndSection

Section "Screen"
    Identifier "aticonfig-Screen[0]"
    Device     "aticonfig-Device[0]"
    Monitor    "aticonfig-Monitor[0]"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes    "1680x1050_60" "1152x864_75" "1024x768_85" "800x600_100" "640x480_100"
    EndSubSection
EndSection

Section "DRI"
        Group       "Video"
    Mode         0666
EndSection

Section "Extensions"
    Option        "RENDER" "Enable"
    Option        "DAMAGE" "Enable"
    Option        "Composite" "Enable"
EndSection

The problem is, when i do :

X -config /root/X11/xorg.conf

i see a black screen with the cross pointer of the mouse, but i cant move the mouse, and i cant quit from with tried CTRL+ALT+BACKSPACE, nothing, i do ALT+F2, and open a new shell, and then i dot ALT+F1 to return to the old one, and i see some erros, like, device "mouse" not found device "kbd" not found.. :S

Then i tried

Cat /dev/input/mice

and i move the mouse, and click, and everything seems to work just fine.

Sorry if this in the wrong section, or the problem itself is dumb, but i tried everything belive me. If someone could help, i would apreciate. Btw, not an english person, i have a very bad english indeed lol smile

Tks in advance

Last edited by Camelon (2008-07-31 20:58:16)

Offline

#2 2008-08-01 01:11:36

Diaz
Member
From: Portugal
Registered: 2008-04-16
Posts: 366

Re: [Problem] Xorg.conf and Razer DeathAdder Mouse

i have a nvidia 6600 and a deathadder, i'll post my xorg.conf and see you you can get something useful:

#===============================
#ecra, output devices
#===============================
Section "Monitor"
    Identifier     "Default Monitor"

    HorizSync       30.0 - 70.0
    VertRefresh     50.0 - 160.0

    Option         "DPMS"
    Option         "DPI" "96 x96"
EndSection

Section "Device"
    Identifier     "Default nvidia Device"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Ecra"
    Device         "Default nvidia Device"
    Monitor       "Default Monitor"

    Option         "RenderAccel" "true"
    Option         "AddARGBGLXVisuals" "true"
    Option         "TripleBuffer" "true"
    Option         "NoLogo" "true"
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

#===============================
#rato, teclado, input devices
#===============================
Section "InputDevice"
    Identifier     "Rato"
    Option        "Device" "/dev/input/mouse_udev"
    Driver         "mouse"

    Option         "Resolution" "1800"
    Option         "SampleRate" "1000"
    Option         "ButtonMapping" "1 2 3 6 7"

EndSection

Section "InputDevice"
    Identifier     "Teclado"
    Driver         "kbd"

    Option         "XkbLayout" "pt"
EndSection

#===========================
#wacom bamboo tablet
#===========================
Section "InputDevice"
    Identifier     "stylus"
    Driver         "wacom"

    Option         "Device" "/dev/input/wacom"
    Option         "Type" "stylus"
    Option         "USB" "on"
EndSection

Section "InputDevice"
    Identifier     "eraser"
    Driver         "wacom"

    Option         "Device" "/dev/input/wacom"
    Option         "Type" "eraser"
    Option         "USB" "on"
EndSection

Section "InputDevice"
    Identifier     "pad"
    Driver         "wacom"

    Option         "Device" "/dev/input/wacom"
    Option         "Type" "pad"
    Option         "USB" "on"
EndSection

#=====================
#the server layout
#=====================
Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Ecra"

    InputDevice    "Teclado" "CoreKeyboard"
    InputDevice    "Rato" "CorePointer"

    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
    InputDevice    "pad"
EndSection

and i think i have some udev rules to create those mouse links:

/etc/udev/rules.d/10-local.rules:

KERNEL=="event*", SYSFS{idVendor}=="056a", NAME="input/%k", SYMLINK="input/wacom"
KERNEL=="mouse*", SYSFS{idProduct}=="0007", NAME="input/%k", SYMLINK="input/mouse_udev"

you can try something like this. hope it helps

Offline

#3 2008-08-01 01:22:26

Camelon
Member
Registered: 2008-07-31
Posts: 9

Re: [Problem] Xorg.conf and Razer DeathAdder Mouse

Tks a lot mate, that helped a lot smile i know have a working mouse and installed kde smile and im also Portuguese smile

Offline

#4 2008-08-02 13:57:40

Camelon
Member
Registered: 2008-07-31
Posts: 9

Re: [Problem] Xorg.conf and Razer DeathAdder Mouse

Diaz , mate how did you enabled the special characters on the keyboard? like the c with "cedilha" or even ALT and ALTGR i cant :S
i changed all my local

LANG=pt_PT.utf8
LC_CTYPE="pt_PT.utf8"
LC_NUMERIC="pt_PT.utf8"
LC_TIME="pt_PT.utf8"
LC_COLLATE=C
LC_MONETARY="pt_PT.utf8"
LC_MESSAGES="pt_PT.utf8"
LC_PAPER="pt_PT.utf8"
LC_NAME="pt_PT.utf8"
LC_ADDRESS="pt_PT.utf8"
LC_TELEPHONE="pt_PT.utf8"
LC_MEASUREMENT="pt_PT.utf8"
LC_IDENTIFICATION="pt_PT.utf8"
LC_ALL=

and keymaps but still nothing

Offline

#5 2008-08-02 19:21:50

Diaz
Member
From: Portugal
Registered: 2008-04-16
Posts: 366

Re: [Problem] Xorg.conf and Razer DeathAdder Mouse

that's something that never gave me any problems, desides my xorg, here's my rc.conf

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

LOCALE="pt_PT.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Portugal"
KEYMAP="pt-latin9"
CONSOLEFONT="default8x16"
CONSOLEMAP=
USECOLOR="yes"


MOD_AUTOLOAD="yes"
#MODULES=(!8139cp !8139too forcedeth 8139too mii slhc snd-mixer-oss snd-pcm-oss snd-seq-oss snd-seq-device snd-seq-midi-event snd-seq snd-hwdep snd-page-alloc snd-pcm snd-rawmidi snd-timer snd snd-mpu401-uart snd-opl3-lib snd-sb-common snd-hda-intel snd-als4000 soundcore it87 coretemp acpi-cpufreq)
#wiki oss: !soundcore
#realtek network card: 8139cp
#onboard net: forcedeth
#sensors: it87 coretemp
#scaling: acpi-cpufreq
MODULES=(!8139cp it87 coretemp acpi-cpufreq)
USELVM="no"

HOSTNAME="home"
NETWORKS=(ethernet0)



#DAEMONS=(syslog-ng !cpufreq @hal @crond @net-profiles !avahi-daemon @alsa !fuse @openntpd !pulseaudio !oss-linux-free !mpd !sensors !fancontrol !transmissiond)

DAEMONS=(syslog-ng crond hal @avahi-daemon @cpufreq @net-profiles @alsa @openntpd @sensors @sshd)
# End of file

in my locale.gen, those are enabled:

pt_PT.UTF-8 UTF-8  
pt_PT ISO-8859-1  
pt_PT@euro ISO-8859-15

that's all i have, never messed with anything else.

Last edited by Diaz (2008-08-02 19:22:48)

Offline

#6 2008-08-03 16:40:21

Camelon
Member
Registered: 2008-07-31
Posts: 9

Re: [Problem] Xorg.conf and Razer DeathAdder Mouse

tks mate, now i finaly have @ and ç hehe big_smile

Offline

#7 2008-08-11 19:37:58

Camelon
Member
Registered: 2008-07-31
Posts: 9

Re: [Problem] Xorg.conf and Razer DeathAdder Mouse

Diaz, i have another question for you smile Could you turn off the leads of the razer, on arch?

Offline

#8 2008-08-11 20:05:24

Diaz
Member
From: Portugal
Registered: 2008-04-16
Posts: 366

Re: [Problem] Xorg.conf and Razer DeathAdder Mouse

didn't try it, but maybe there is some option we can pass in xorg or maybe with some aplication. Sometime ago i was tracking an application that changed various changes in deathadder, but never tried it and lost the link.

Offline

#9 2008-08-11 21:53:48

Camelon
Member
Registered: 2008-07-31
Posts: 9

Re: [Problem] Xorg.conf and Razer DeathAdder Mouse

i found this http://bu3sch.de/deathadder.php but havent worked for me, i install, but i dont know how to use it :S

Offline

Board footer

Powered by FluxBB