[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Teclado do notebook e externo usb



Galerinha,

Uma duvida cruel.

Tenho 2 teclados na minha maquina (notebook X61 thinkpad) e uso debian 5.0 um 
teclado é do notebook com layout us_int, mas eu coloquei um externo USB com 
layout abnt2 para utiliza-lo na minha casa.

Ai vai a pergunta! Quando configurei os 2 teclados no xorg.conf ele entendeu 
os 2 como o abnt2 e não só o usb.
Gostaria que quando eu espeto o teclado USB ele entenda o teclado com suas 
funçoes particulares e o nativo da maquina fique intocado.
ai vai meu xorg.conf

>>>>----BOF------------<<<<<
Section "Files"
        # path to defoma fonts
    ModulePath  "/usr/lib/xorg/modules"
    FontPath    "/usr/share/fonts/X11/misc"
    FontPath    "/usr/share/fonts/X11/100dpi:unscaled"
    FontPath    "/usr/share/fonts/X11/75dpi:unscaled"
    FontPath    "/usr/share/fonts/X11/Type1"
    FontPath    "/usr/share/fonts/truetype"
    FontPath    "/usr/share/fonts/type1"
    FontPath    "/usr/local/share/fonts"
EndSection

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
        Load    "GLcore"
        Load    "record"
        Load    "xtrap"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "thinkpad60"
        Option          "XkbLayout"     "us_intl"
        Option          "XkbOptions"    "altwin:meta_win"
EndSection


Section "InputDevice"
        Identifier      "Keyboard1"
        Driver          "kbd"
#       Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "br"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "TrackPoint"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "EmulateWheel" "on"
  Option       "EmulateWheelButton" "2"
  Option       "InputFashion" "Mouse"
  Option       "Name" "IBM;TPPS/2 TrackPoint"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "EmulateWheel"          "on"
  Option       "EmulateWheelButton"    "2"
  Option       "XAxisMapping" "6 7"
  Option       "YAxisMapping" "4 5"
  Option       "ZAxisMapping" "4 5"
  Option       "CorePointer"
EndSection

Section "Device"
        Identifier      "Video0"
        VendorName      "Intel Corporation"
        BoardName       "Mobile GM965 X3100 Inegrated Graphic Controller"
        Driver          "intel"
        BusID           "PCI:0:2:0"
        VideoRam        262144
        Option          "DRI" "True"
        Option          "RanderAccel" "True"
        Option          "XVideo" "True"
        Option          "MigrationHeuristic" "greedy"
        Option          "AccelMethod" "EXA"
        Option          "CacheLines" "1980"
        Option          "SWcursor" "False"
        Option          "MTRR" "On"
        Option          "NoDDC" "False"
        Option          "XAANoOffscreenPixmaps" "True"
        Option          "LinearAlloc"   "6144"
        Option          "monitor-LVDS" "Builtin LCD"
        Option          "monitor-VGA"   "External VGA"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        VendorName      "LEN"
        ModelName       "LEN4000"
        Option          "DPMS"
        Option          "Above" "Builtin LCD"
        HorizSync       32.24-40.30
        VertRefresh     40.00-50.00
        DisplaySize     250 180
        Gamma           0.80 0.80 0.80
EndSection

Section "Monitor"
        Identifier      "Monitor1"
        VendorName      "LG"
        ModelName       "710E"
#       Option          "VGA"
        Option          "Below" "External VGA"
        #HorizSync      32.24-40.30
        #VertRefresh    40.00-50.00
        #DisplaySize    250 180
#       Gamma           1.20 1.20 1.20
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Video0"
        Monitor         "Monitor0"
        Monitor         "Monitor1"
        Option          "RenderAccel" "True"
        Option          "AllowGLXWithComposite" "True"
        Option          "AddARGBGLXVisuals" "True"
        DefaultDepth    16
        SubSection "Display"
                Depth           1
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768" "800x600" "640x480"
                Virtual         2048    2048
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Keyboard0"
        InputDevice     "Keyboard1"
        InputDevice     "Mouse0"
        InputDevice     "TrackPoint"
        option          "AIGLX" "True"
EndSection

Section "DRI"
        Mode    0666
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection
>>>>>----EOF-----<<<<<<


-- 
Gustavo Andreoni Vieira d'Almeida
gustavo.andreoni@gmail.com


Reply to: