Built-in mouse doesn't work on Desktop 10.10

Asked by Andy Phillips

Hi guys,

After quite a faff I have managed to get my Samsung netbook running Ubuntu 10.10 on the hard drive. Now I have a couple of configuration issues that oddly shouldn't have occurred:

(i) The built-in mouse is not supported but it does work if I go back to running Ubuntu from the USB stick in try-out mode. Weird
(ii) The screen is limited to a horrible default monitor resolution of 800x600 but ran fine at 1200x600 when Ubuntu was run from the USB stick. Weirder

It seems that now I have the Gnome desktop environment up and running from the hard drive it fails to detect the mouse and graphics card and monitor. I have managed to use the xconfig option to generate a file /etc/X11/xorg.conf to specify a mouse and screen resolution of vesa. Obviously all I need to do is find the same config file on the USB stick and away I go right?

I can't find a configuration file for X or gnome that should be copied across onto the hard disc to get everything working. Any idea how to find this holy grail please?

Thanks,

Andy

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xorg Edit question
Assignee:
No assignee Edit question
Solved by:
mycae
Solved:
Last query:
Last reply:
Revision history for this message
mycae (mycae) said :
#1

xorg now can run without an xorg.conf file -- this is only needed to override the automatic detection routines.

Try moving your current xorg.conf to a backup xorg.conf.test, and see if that fixes your problems. If you have overridden xorg.conf and done this incorrectly, this will cause things like keyboard/mouse to not work and resolution limitations.

If this makes things worse, restore your current xorg.conf from the backup, and then post the contents here.

Revision history for this message
Andy Phillips (thestoat) said :
#2

Hi,

The Gnome desktop wouldn't start until I put the config file in place. That didn't work either until I set the display to vesa. I'll try to upload the contents of the config file in a moment from the netbook. I have to start it from the USB stick to get Internet access...

Revision history for this message
Andy Phillips (thestoat) said :
#3

xorg.conf contents are as follows:

Section "ServerLayout"
 Identifier "X.org Configured"
 Screen 0 "Screen0" 0 0
 InputDevice "Mouse0" "CorePointer"
 InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
 ModulePath "/usr/lib/xorg/modules"
 FontPath "/usr/share/fonts/X11/misc"
 FontPath "/usr/share/fonts/X11/cyrillic"
 FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
 FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
 FontPath "/usr/share/fonts/X11/Type1"
 FontPath "/usr/share/fonts/X11/100dpi"
 FontPath "/usr/share/fonts/X11/75dpi"
 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
 FontPath "built-ins"
EndSection

Section "Module"
 Load "record"
 Load "dri"
 Load "dri2"
 Load "extmod"
 Load "glx"
 Load "dbe"
EndSection

Section "InputDevice"
 Identifier "Keyboard0"
 Driver "kbd"
EndSection

Section "InputDevice"
 Identifier "Mouse0"
 Driver "trackpad"
 Option "Protocol" "auto"
 Option "Device" "/dev/input/mice"
 Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
 Identifier "Monitor0"
 VendorName "Monitor Vendor"
 ModelName "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option "NoAccel" # [<bool>]
        #Option "SWcursor" # [<bool>]
        #Option "ColorKey" # <i>
        #Option "CacheLines" # <i>
        #Option "Dac6Bit" # [<bool>]
        #Option "DRI" # [<bool>]
        #Option "NoDDC" # [<bool>]
        #Option "ShowCache" # [<bool>]
        #Option "XvMCSurfaces" # <i>
        #Option "PageFlip" # [<bool>]
 Identifier "Card0"
 Driver "vesa"
 BusID "PCI:0:2:0"
EndSection

Section "Screen"
 Identifier "Screen0"
 Device "Card0"
 Monitor "Monitor0"
 SubSection "Display"
  Viewport 0 0
  Depth 1
 EndSubSection
 SubSection "Display"
  Viewport 0 0
  Depth 4
 EndSubSection
 SubSection "Display"
  Viewport 0 0
  Depth 8
 EndSubSection
 SubSection "Display"
  Viewport 0 0
  Depth 15
 EndSubSection
 SubSection "Display"
  Viewport 0 0
  Depth 16
 EndSubSection
 SubSection "Display"
  Viewport 0 0
  Depth 24
 EndSubSection
EndSection

Thanks,

Andy

Revision history for this message
mycae (mycae) said :
#4

Can you also provide the output of these commands:

lsusb

and

lspci

? We need to know your video card details (and touchpad) to help you further.

Revision history for this message
Andy Phillips (thestoat) said :
#5

Hi,

Here's the output of the lsusb command:

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0ac8:c33f Z-Star Microelectronics Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Here's the output of the lspci command:

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192E Wireless LAN Controller (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

Thanks,

Andy

Revision history for this message
mycae (mycae) said :
#6

Try modifying your Xorg to use the intel driver, instead of the generic vesa (the common VESA standard is really old, and dates back to the likes of SVGA):

Section "Device"
 Identifier "Card0"
 Driver "intel"
EndSection

Revision history for this message
Andy Phillips (thestoat) said :
#7

Hi,

Thanks for the suggestion but when I try that it stops the windows system from booting and I just get a console i.e. a CLI to log in. When I revert the driver to VESA the windows system initialises ok

Cheers,

Andy

Revision history for this message
mycae (mycae) said :
#8

I assume that you simply replaced the Device section in your xorg.conf, not the entire thing?

If so, then something is quite wrong -- the intel driver should work, and indeed does from the USB boot. I am not exactly sure what though. Try reinstalling the xserver-xorg-video-intel packages?

Revision history for this message
Andy Phillips (thestoat) said :
#9

Ok any guidance on how to do that? Can I copy the relevant installation files from the USB stick filesystem? I can't get on the Internet when I boot from the hard disc because I have no mouse

Revision history for this message
mycae (mycae) said :
#10

you can load a terminal by pressing Ctrl+Alt+T, and you can also activate mousekeys to control the cursor:

http://ubuntuguide.net/computertipuse-number-pad-as-mousekeys-to-move-cursor-on-the-screen

try, in the terminal

sudo aptitude update
sudo aptitude reinstall xserver-xorg-video-intel

If that fails, try doing a full system update (this is a bludgeoning technique, but I am not clear what is going on atm)

sudo aptitude update
sudo aptitude safe-upgrade

Revision history for this message
Andy Phillips (thestoat) said :
#11

Ok, I got the mouse keys working but when I get to my network connections it seems they're dead too - no network devices found. It appears this installation has completely failed! So no Internet for me...

Not giving up though so I boot from the USB stick to reinstall to the hard disc. Hey presto the installer fails! Fair enough, I'll use the updater to download the installer program again. Command aptitude not found :-(

Hmmm... I think the simplest way forward is for me to boot off the USB stick and then refresh the installer files before installing to the hard disc again. Can you tell me if there is any way to force a refresh of the installer files please?

Thanks for the help so far,

Andy

Revision history for this message
Best mycae (mycae) said :
#12

I would recommend just reinstalling over "/" again.

Something has gone horribly wrong with your install somewhere. You should have aptitude by default.

You can force a refresh by reinstalling all the packages, again... but you need the internet to do an update. You could use the install disc as the software source, but this is starting to become more complex than just doing the reinstall, particularly so if I can't be sure that the commands I give you aren't going to be missing programs.

Make sure that you check the md5 of the iso that you download. I am not sure that we are seeing the base of your problem, so starting again seems best.

Revision history for this message
Andy Phillips (thestoat) said :
#13

OK, good news - I am posting this from my netbook and without booting off of the USB drive! :-)

I had to download the desktop ISO file again, even though the MD5sum never checked out each time on the previous downloads. Once I had done that I was able to install straight to hard disc including a format and everything just works. I'm on wireless, proper screen resolution, mouse and keyboard all ok

Thanks for all your help and if I have learnt one thing from this it is not to trust the MD5sum. It is only a guide to the successful download of the file and can't guarantee the contents of the ISO file

Thanks again,

Andy

Revision history for this message
Andy Phillips (thestoat) said :
#14

Thanks mycae, that solved my question.