LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 02-19-2014, 03:35 PM   #1
kel_en
Member
 
Registered: Jun 2005
Location: Virginia, USA
Distribution: Slackware, Debian, MX
Posts: 125

Rep: Reputation: 17
Invisible touchpad/mouse cursor


I am installing Gentoo on an old Averatec 3260 laptop. The install went very well except the touchpad/mouse cursor is invisible. The cursor moves, tracking the touchpad, or mouse, and the buttons work, but the cursor is not visible. First, I tried xfce4 and was unable to solve this within the xfce4 settings. Then, I tried LXDE to see if it behaves the same, and it does. This laptop uses the VIA KM400 unichrome graphics chip set so Xorg is using the openchrome driver. This laptop previously had Debian based distributions on it, most recently AntiX-13 which uses a 3.7 kernel, as does Gentoo. The AntiX live CD xorg.conf and synaptics.conf files produce the invisible cursor when substituted for the Gentoo versions of these files in Gentoo, but when the AntiX live CD is running, the cursor is visible, as it was when AntiX was installed. The AntiX version of Xorg uses earlier versions of openchrome, VESA and fbdev modules. Searching the Internet leads me to suspect a VGA problem but I disabled the VGA framebuffer IAW the Gentoo Xorg WIKI. Any suggestions would be very welcome. Thanks.
 
Old 02-19-2014, 06:09 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
First, stable kernel in Gentoo is 3.10.25 - you should be using it.
Second, what is your VIDEO_CARDS variable set to?
Third, if you have native driver for your graphics you do not need VESA or fbdev, they can be useful for fallback, though.
Fourth, many open source Xorg graphics drivers use KMS nowadays and won't work without it.
 
1 members found this post helpful.
Old 02-19-2014, 07:18 PM   #3
kel_en
Member
 
Registered: Jun 2005
Location: Virginia, USA
Distribution: Slackware, Debian, MX
Posts: 125

Original Poster
Rep: Reputation: 17
Thanks for the reply.
My error on the kernel, sorry. The Gentoo kernel is 3.10.25 whereas the AntiX kernel is 3.7.10.
Not sure what you mean by VIDEO_CARDS variable. In xorg.conf, Graphics Device Section, I used
Section "Device"
Identifier "any supported Openchrome chip"
Driver "openchrome"
.......
I get the same result with the xorg.conf file containing that section as with no xorg.conf file at all. Xorg created only 2 conf files in /usr/share/X11/xorg.conf.d/ and they are 10-evdev.conf and 50-synaptics.conf. I copied them to /etc/X11/xorg.conf.d/
I emerged the modules openchrome, VESA and fbdev IAW the WIKI. VESA and fbdev are being unloaded according to Xorg.0.log.
KMS is being used according to Xorg.0.log.
 
Old 02-19-2014, 07:24 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Can you post the whole Xorg log in some pastebin site?
 
Old 02-19-2014, 08:14 PM   #5
kel_en
Member
 
Registered: Jun 2005
Location: Virginia, USA
Distribution: Slackware, Debian, MX
Posts: 125

Original Poster
Rep: Reputation: 17
Done. Just opened an account at pastebin.com. The paste is called Xorg.log by kel_en. It is public.
This Xorg.log includes shutting down the X server at the end.
Thanks for your help.
 
Old 02-19-2014, 08:25 PM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Can you please post a direct link into pastebin? FYI, wgetpaste utility will give you a link no account required.
 
Old 02-20-2014, 05:26 AM   #7
kel_en
Member
 
Registered: Jun 2005
Location: Virginia, USA
Distribution: Slackware, Debian, MX
Posts: 125

Original Poster
Rep: Reputation: 17
Maybe. Not sure how long it will take. I emerged wgetpastebin and it is not intuitive, nor is the help very useful. It will take some time to figure out how to use it, and then create the paste on a supported site. Thanks.
 
Old 02-20-2014, 12:09 PM   #8
kel_en
Member
 
Registered: Jun 2005
Location: Virginia, USA
Distribution: Slackware, Debian, MX
Posts: 125

Original Poster
Rep: Reputation: 17
The paste can be seen here:
http://bpaste.net/show/181194
Thanks again for your help. I found an explanatory article for wgpaste and it is easy.
 
Old 02-20-2014, 07:14 PM   #9
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
(EE) open /dev/dri/card0: No such file or directory
You should turn it on in kernel, it may be the reason of your cursor trouble.
 
Old 02-21-2014, 08:57 AM   #10
kel_en
Member
 
Registered: Jun 2005
Location: Virginia, USA
Distribution: Slackware, Debian, MX
Posts: 125

Original Poster
Rep: Reputation: 17
Again, thanks for the reply. The changes that I made to the kernel had no effect. I still get these error messages in Xorg.log:

[ 483.604] (EE) open /dev/dri/card0: No such file or directory
[ 483.733] (EE) CHROME(0): [drm] Failed to open DRM device for pci:0000:01:00.0: No such file or directory
____________________________________________________________________________

This is the current kernel configuration omitting the pages that show no hardware framebuffers enabled:

<*> /dev/agpart (AGP Support) --->
<*> VIA chipset support

<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support --->[*] Allow to specify an EDID data set instead of probing for it


<*> Via unichrome video cards
______________________________________________________________-
The kernel sees the card and this is the lspci entry:

01:00.0 VGA compatible controller: VIA Technologies, Inc. KM400/KN400/P4M800 [S3 UniChrome] (rev 01)
________________________________________________________________
This is the the relevant part of /etc/portage/make.conf:

INPUT_DEVICES="evdev synaptics"
VIDEO_CARDS="openchrome"
_______________________________

Since the driver is openchrome, I called the VIDEO_CARDS variable "openchrome". Should I change it to "via" or to "unichrome" and try that? I assume that change would require some sort of "world update".

Thanks again.

Last edited by kel_en; 02-21-2014 at 09:00 AM. Reason: Hit the enter key by mistake midway though the post
 
Old 02-23-2014, 01:22 PM   #11
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
It may be your AGP is not VIA, I see you have AMD board.
 
Old 02-23-2014, 02:54 PM   #12
kel_en
Member
 
Registered: Jun 2005
Location: Virginia, USA
Distribution: Slackware, Debian, MX
Posts: 125

Original Poster
Rep: Reputation: 17
I changed the /etc/portage/make.conf VIDEO_CARDS variable to "via openchrome" and then did an emerge --changed-use --deep @world which brought in about 18 new packages and rebuilt 2. Then, I found that the modules "via" and "drm" were not being loaded in spite of being listed in /etc/conf.d/modules. If I modprobe via, it loads and brings in drm. Then startx runs without the previous errors involving dri and drm, but has a new error which seems to be common to KM400/KN400 chipsets with the openchrome driver. The Xorg.log can be seen here:
http://bpaste.net/show/182008/

The cursor is still invisible.

Yes the processor is AMD. All of the agp options in the Kernel menu are enabled as modules which allows amd-k7-agp.ko or ati-agp.ko or amd64-agp.ko to be loaded instead of via-agp.ko, if the kernel desired. The processor is a mobile version based on the k7. Adding module amd-k7-agp does not make the cursor visible, nor change the way X loads. I did not remove the module via-agp because the system reported that it is still in use after I added amdk7-agp. I then removed via-agp from /etc/conf.d/modules and added amd-k7-agp but the system still loads the via-agp when booted. What do you suggest?

For some reason, I have to modprobe the via module after booting just like the amd-k7-agp module because it won't load automatically. Perhaps a conflict? I don't understand why.

Thanks for you help.
 
Old 02-23-2014, 05:01 PM   #13
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Do you have xorg.conf ?
FYI Xorg works best without it as long as drivers are open source.
 
Old 02-23-2014, 05:54 PM   #14
kel_en
Member
 
Registered: Jun 2005
Location: Virginia, USA
Distribution: Slackware, Debian, MX
Posts: 125

Original Poster
Rep: Reputation: 17
No xorg.conf in either /etc/X11/xorg.conf.d or /usr/share/xorg.conf.d.
I tried to make an xorg.conf, without success, before I changed the VIDEO_CARDS variable in an effort to solve the two EE entries in Xorg.log. Thanks for the response.
 
Old 02-23-2014, 08:38 PM   #15
kel_en
Member
 
Registered: Jun 2005
Location: Virginia, USA
Distribution: Slackware, Debian, MX
Posts: 125

Original Poster
Rep: Reputation: 17
Invisible touchpad/mouse cursor

I found the answer and have a visible cursor. I now have an xorg.conf file:

Code:
Section "Device"
    Identifier "any supported Openchrome chip"
    Driver     "openchrome"
    Option     "swcursor"  "true"
EndSection
Thank you very much, Emerson.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Invisible Mouse Cursor after updating Debian Squeeze flipjarg Linux - Newbie 2 03-26-2011 09:35 PM
invisible mouse cursor sharapchi Linux - General 2 12-13-2006 02:26 PM
Invisible cursor - but mouse works fine mouldy_punk SUSE / openSUSE 3 10-18-2006 04:36 PM
The amazing invisible cursor rockman Linux - Newbie 5 04-22-2004 09:49 AM
Invisible Mouse Cursor roie Linux - Newbie 1 12-06-2001 12:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 07:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration