On Tue, Apr 11, 2006 at 05:26:44PM +0530, Muhammed Anees wrote:
> i am using debian linux..
> In this how we know that which display driver is using currently??
> 
> for my pentium s system in debian its not getting the display correctly.
> That too only in debian. I tried Win and Redhat but n that and all it is
> ok....
> 
> And i want to know how i will configure the hardware in Debian..
> Like KUDZU in redhat is there any tool in this...

Use 'xf86cfg' or 'dpkg-reconfigure xserver-xfree86'.

xf86cfg:
Before using xf86cfg crete a softlink /dev/mouse pointing to  the 
/dev/psaux (for ps/2 mouse) 
/dev/ttyS0 (com1) or /dev/ttyS1 (com2)
/dev/input/mice (for USB mouse)
and 
issue the command 'xf86cfg'
This will create a file /root/XF86Config.new, start X by reading
this file, a GUI configuration menu will appear. 
Bring mouse pointer over Configure Layout, hold down right mouse button 
and select Configure Screen from the dropdown menu and release the button.

Picture of the monitor will be displayed at the center. Bring mouse
pointer over this, hold down right button, select configure and 
release the button. From the new window select color depth and screen
resolution. Press Ok button and finally Quit button. Say yes for all
file saving options. 

This will create the file XF86Config  in /usr/X11R6/lib/X11 directory.
copy this file to /etc/X11 directory and rename as XF86Config-4. ie
issue the command
cp /usr/X11R6/lib/X11/XF86Config /etc/X11/XF86Config-4
restart xserver by issuing the command
/etc/init.d/gdm restart (if using gdm - the default)
#########################
Enabling scroll mouse
open /etc/X11/XF86Config-4 in a text editor. search for the section
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/mouse"
EndSection

Add the line Option "ZAxisMapping" "4 5" so the the section look like
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/mouse"
        Option "ZAxisMapping" "4 5"
EndSection
##############################




dpkg-reconfigure xserver-xfree86:
(debian configuration utility)
Login  as root user and 
issue the command 'dpkg-reconfigure xserver-xfree86'
follow the instructions. If autodetection fails to identify your
display card, login as root at the next terminal and issue the 
command 'lspci' to identify your display card or use vesa driver
with some reduced features.




with regards
M.Balakrishna Pillai


Reply via email to