On 22-10-2014 10:39, Sainadh J wrote:

> On Wednesday, 22 October 2014 7:04 PM, Sainadh J <[email protected]> wrote:
> On Wednesday, 22 October 2014 5:08 PM, Christopher Gregory 
> <[email protected]> wrote:
> On Wed, 2014-10-22 at 17:36 +0800, Sainadh J wrote:

>  .I always follows my friends suggestion so that I
>> rebuild the both LFS/BLFS same version i.e
>  7.6 but still I getting the
>> same problem again, i installed every package very carefully,i also
>> installed

I understand you are using the classic sysV books.

>> You should not have an xorg.conf file unless you need it for Glamor 
>> Acceleration.
> 
>> If you have followed the book exactly the mouse and keyboard will work
>> out of the box without the need for an xorg.conf file.


>> With the drivers section of xorg you must only install what drivers your
>> hardware needs.

>> You need to do as it suggests on the top of the xorg drivers page and
>> use lspci to determine what hardware you have and to only install the
>> xorg drivers that match your hardware.
> 
>> Try removing the xorg.conf file and see if that solves the issue.



> as you said i remove the xorg.conf file and i do startx i getting the error 
> the error image is attached to this
>  mail.without delete the xorg.conf file it opens the xorg windows but didn't 
> work mouse and keyboard when i delete the xorg.conf file couldn't opens the 
> xorg windows.
> i follows LFS/BLFS 7.6 book.i don't know which driver is needed for my 
> hardware so i installed all the drivers in xorg drivers section.
> my sytem lspci output is:
> 
> root [ / ]# lspci

> 00:07.7 System
>  peripheral: VMware Virtual Machine Communication Interface (rev 10)
> 00:0f.0 VGA compatible controller: VMware SVGA II Adapter

> 00:11.0 PCI bridge: VMware PCI bridge (rev 02)

> 02:00.0 USB controller: VMware USB1.1 UHCI Controller

> 02:03.0 USB controller: VMware USB2 EHCI Controller
> 
> so kindly suggest which driver is suitable for me and how to remove remaining 
> drivers?
> 
> i completed installation of Fluxbox-1.3.5 in BLFS 7.6 book chpater 26(windows 
> managers) there also my mouse and keyboard is not working if i delete the 
> xorg.conf file fluxbox windows manger also doesn't open when i run "startx" 
> with xorg.conf file fluxbox window manager is open but mouse and keyboard is 
> not working.
> 
> 
>  kindly please help me.thanks in advance.
> 
> edited:i forgot to attach a error images so i resend this mail.
> 
> 
> --sainadh j


Sorry for the delay, Sainadh.

As Armin wrote, for the keyboard and mouse, xf86-input-evdev is enough.

I understand mouse and keyboard are USB connected, right?

You have a boot problem with sshd. I will leave it out for the moment,
and concentrate in Xorg. Please, remember us about this sshd problem
when/if the Xorg problem is solved.

Both Armin and Christopher have also wrote that xorg.conf is not used
anymore. Instructions are in files at /usr/share/X11/xorg.conf.d

I recommend you to install also xf86-video-vmware-13.0.2:

http://www.linuxfromscratch.org/blfs/view/7.6/x/x7driver.html#xorg-vmware-driver

You need to use startx as normal user, not root.

When you loging, run

$ groups

It should output something like:


dude ... video ...

This means you must be in the video group.

If not, as written at page:

http://www.linuxfromscratch.org/blfs/view/7.6/x/xorg-config.html

you need to run, as root:

usermod -a -G video <username>

wher you replace <username> by dude (this is your username, right?

Then you have to exit root user, exit dude, login again as  dude, and
run the command groups, to seee if the name video appears.

Now you are in position to do the rest of this post and then run
"startx" or start your fluxbox.



Now my minimum to Xorg work:

$ ls -l /usr/share/X11/xorg.conf.d
total 8
-rw-r--r-- 1 root root 1099 Set 16 11:25 10-evdev.conf
-rw-r--r-- 1 root root  165 Out 25 09:42 20-vmware-minimum.conf


Here

10-evdev.conf: this is the one that will make *keyboard and mouse* to
work; it was installed when you installed xf86-input-evdev, I think, but
will paste the contents

20-vmware-minimum.conf: this will be used to bring up the display

I believe that is all. Please, someone help here, if I am wrong.

I use a more complex *vmaware*.conf, to obtain a particular resolution,
but this discussion can be postponed, if you wish to discuss, to when
everything is working.

Following was written by me to give the minimum necessary for the display:

$ cat 20-vmware-minimum.conf
Section "Device"
    Identifier  "Card0"
    Driver      "vmware"
    VendorName  "VMware"
    BoardName   "SVGA II Adapter"
    BusID       "PCI:0:15:0"
EndSection


Following is the default installed for the mouse and keyboard:

$ cat 10-evdev.conf
#
# Catch-all evdev loader for udev-based systems
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection


-- 
[]s,
Fernando
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to