Results 1 to 8 of 8

Thread: Couple of Debian Etch Questions

  1. #1
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts

    Couple of Debian Etch Questions

    Firstly, having just (re)installed Debian Etch, I've found that the side buttons (back and foward) on my MX310 no longer work, even though the section for the mouse is the same in my old and new xorg.conf. (For reference, they used to work properly in Firefox, Seamonkey and Opera). Anybody got any idea what I need to do to get them working again? It currently looks likes this:

    Code:
    Section "InputDevice"
            Identifier      "Configured Mouse"
            Driver          "mouse"
            Option          "CorePointer"
            Option          "Device"                "/dev/psaux"
            Option          "Protocol"              "ExplorerPS/2"
            Option          "Emulate3Buttons"       "false"
            Option          "ZAxisMapping"          "4 5"
            Option          "Buttons"               "9"
    EndSection
    Secondly, previously, I've always installed nVidia drivers using the drivers from nvidia.com. Is there really any advantage in doing it the Debian way? And if so, can anybody point me to a decent guide? The instructions seem to vary from site to site.

    Thanks for any help,

    Mike.
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  2. #2
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    Quote Originally Posted by mike_w
    Firstly, having just (re)installed Debian Etch, I've found that the side buttons (back and foward) on my MX310 no longer work, even though the section for the mouse is the same in my old and new xorg.conf. (For reference, they used to work properly in Firefox, Seamonkey and Opera). Anybody got any idea what I need to do to get them working again? It currently looks likes this:

    Code:
    Section "InputDevice"
            Identifier      "Configured Mouse"
            Driver          "mouse"
            Option          "CorePointer"
            Option          "Device"                "/dev/psaux"
            Option          "Protocol"              "ExplorerPS/2"
            Option          "Emulate3Buttons"       "false"
            Option          "ZAxisMapping"          "4 5"
            Option          "Buttons"               "9"
    EndSection
    i'll just give you my equivalent sections:

    /etc/X11/xorg.conf:
    Code:
    Section "InputDevice"
            Identifier      "Configured Mouse"
            Driver          "evdev"
            Option          "CorePointer"
            Option          "Device"                "/dev/input/by-id/usb-Logitech_USB-PS.2_Optical_Mouse-event-mouse"
            Option          "Name"                  "Logitech Mx518"
    EndSection
    ~/.Xmodmap:
    Code:
    pointer = 1 3 2 4 5 8 9 6 7 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
    i use the next-gen "evdev" driver for my input rather than the old ps/2 methods - for one thing it gives proper access to mice with >6 buttons.

    Secondly, previously, I've always installed nVidia drivers using the drivers from nvidia.com. Is there really any advantage in doing it the Debian way? And if so, can anybody point me to a decent guide? The instructions seem to vary from site to site.

    Thanks for any help,

    Mike.
    the nvidia.com installers overwrite assorted system files in /usr without asking, such that the OS may later try to update those system files (and cause problems because of it). the debian packages are designed to avoid this problem. as for method, depends on whether you use i386 or amd64

  3. #3
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    Helpful as ever, Mr. Directhex! I'll try fiddling some more with the mouse a bit later - as the nVidia drivers, I'm on i386.
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  4. #4
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    Quote Originally Posted by mike_w
    Helpful as ever, Mr. Directhex! I'll try fiddling some more with the mouse a bit later - as the nVidia drivers, I'm on i386.
    okay. unfortunately, nvidia drivers are missing from Etch - this is due to the xorg 7 migration in Unstable.

    however, this is what snapshot.debian.net is for.

    1) grab http://snapshot.debian.net/archive/2...756-2_i386.deb and http://snapshot.debian.net/archive/2...756-2_i386.deb

    2) install the packages "module-assistant", "nvidia-kernel-common" and "build-essential"

    3) install your nvidia-kernel-source package with "dpkg -i nvidia-kernel-source_1.0.8756-2_i386.deb"

    4) type "m-a prepare; m-a a-i nvidia"

    5) install your nvidia-glx package with "dpkg -i nvidia-glx_1.0.8756-2_i386.deb"

    6) add "nvidia" to the end of /etc/modules; change xorg.conf to use nvidia instead of nv; reboot

    this ought to work fine.

  5. #5
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    Your instructions went without a hitch - glxgears reaches scores in the 6000s, which is about right if memory serves. Yet another reason to like Debian!

    If I install another kernel, which instructions do I have to follow again to get the driver working again (if any)? And if I change the driver version?

    One last question (hopefully!) - how do I turn off the system speaker i.e. the one that beeps during startup. I assume it is something to do with the kernel - it seems that this one has it turned on, whereas my last didn't. And it is quite annoying to have the machine beep whenever the login screen comes up, or I hit tab in a terminal, and so on. Any ideas?

    Thanks for all the help!
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  6. #6
    Senior Member chrestomanci's Avatar
    Join Date
    Sep 2004
    Location
    Reading
    Posts
    1,614
    Thanks
    94
    Thanked
    96 times in 80 posts
    • chrestomanci's system
      • Motherboard:
      • Asus AMD AM4 Ryzen PRIME B350M
      • CPU:
      • AMD Ryzen 1600 @ stock clocks
      • Memory:
      • 16Gb DDR4 2666MHz
      • Storage:
      • 250Gb Samsung 960 Evo M.2 + 3Tb Western Digital Red
      • Graphics card(s):
      • Basic AMD GPU (OSS linux drivers)
      • PSU:
      • Novatech 500W
      • Case:
      • Silverstone Sugo SG02
      • Operating System:
      • Linux - Latest Xubuntu
      • Monitor(s):
      • BenQ 24" LCD (Thanks: DDY)
      • Internet:
      • Zen FTTC

    Post

    Quote Originally Posted by mike_w
    Secondly, previously, I've always installed nVidia drivers using the drivers from nvidia.com. Is there really any advantage in doing it the Debian way? And if so, can anybody point me to a decent guide? The instructions seem to vary from site to site.
    Try this, I have used it in the past without much difficulty:

    http://home.comcast.net/~andrex/Debi...tallation.html

  7. #7
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    Quote Originally Posted by mike_w
    Your instructions went without a hitch - glxgears reaches scores in the 6000s, which is about right if memory serves. Yet another reason to like Debian!

    If I install another kernel, which instructions do I have to follow again to get the driver working again (if any)? And if I change the driver version?
    "m-a a-i nvidia"; reboot

    One last question (hopefully!) - how do I turn off the system speaker i.e. the one that beeps during startup. I assume it is something to do with the kernel - it seems that this one has it turned on, whereas my last didn't. And it is quite annoying to have the machine beep whenever the login screen comes up, or I hit tab in a terminal, and so on. Any ideas?

    Thanks for all the help!
    easiest way? unplug your system speaker!

    less easy? stop the "pcspkr" module from loading - i can't find a "real" way to do it, so use the cheap way - erase /lib/modules/$(uname -r)/kernel/drivers/input/misc/pcspkr.ko and run "depmod -a"

  8. #8
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    Perfect! After using Debian for all these months, I've finally got it working just the way I want - thanks for all the help in that time.

    Mike.

    Edit: If anybody else is interested, this is how I got the forward and back buttons working:

    Code:
    Section "InputDevice"
            Identifier      "Configured Mouse"
            Driver          "mouse"
            Option          "CorePointer"
            Option          "Device"                "/dev/psaux"
            Option          "Protocol"              "ExplorerPS/2"
            Option          "Emulate3Buttons"       "false"
            Option          "ZAxisMapping"          "4 5"
            Option          "Buttons"               "9"
            Option          "ButtonMapping"         "1 2 3 6 7"
    EndSection
    The only difference from before is the ButtonMapping option. Apparently, this should work in both Xorg 6.9 and 7.0. Presumably, that extra line is needed since I upgraded from Xorg 6.8 to Xorg 6.9. I bet there'll be even more fun when Xorg 7.0 lands in testing.
    Last edited by mike_w; 30-04-2006 at 10:46 PM.
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Couple of questions :D
    By Yohji in forum SCAN.care@HEXUS
    Replies: 1
    Last Post: 03-10-2005, 05:23 PM
  2. Debian Sarge and Etch
    By mike_w in forum Software
    Replies: 9
    Last Post: 01-06-2005, 12:35 PM
  3. Starting to build my rig - couple of questions
    By Taz in forum PC Hardware and Components
    Replies: 2
    Last Post: 03-02-2005, 10:46 AM
  4. Couple of questions before I start flying
    By Ruggerbugger in forum PC
    Replies: 13
    Last Post: 17-01-2005, 06:02 PM
  5. couple of dvd rewriter questions
    By CrapshoT in forum PC Hardware and Components
    Replies: 16
    Last Post: 16-08-2003, 11:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •