LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-12-2002, 10:49 PM   #1
deesto
Member
 
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448

Rep: Reputation: 31
NVIDIA RIVA TNT2 Model 64 and X


Can't get X to start. Slack starts up fine, but no X. When I run startx I get:
(II) VGA(0): initializing int10
(II) VGA(0): Primary V_BIOS segment is: 0xc000
(EE) VGA(0): Driver can't support depth 24
(II) UnloadModule: "vga"
(II) UnloadModule: "int10"
(II) Unloading /usr/X11R6/lib/modules/linux/libint10.a
(EE) Screen(s) found, but none have a usable configuration.

How do I fix this?
Thanks!
 
Old 12-13-2002, 06:44 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
slackware 8.1 run xfree86setup
 
Old 12-13-2002, 09:12 AM   #3
deesto
Member
 
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448

Original Poster
Rep: Reputation: 31
Thanks David... but do I need to know any special HW settings? If I recall, last time I was walked through an extensive menu for all I/O devices, and to be honest, the freedom of choice there is probably what got me in trouble!
 
Old 12-13-2002, 09:37 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
xfree86setup

not xf86setup


it asks no questions
 
Old 12-13-2002, 09:43 AM   #5
deesto
Member
 
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448

Original Poster
Rep: Reputation: 31
Beautiful! Thank you.
 
Old 12-13-2002, 08:19 PM   #6
deesto
Member
 
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448

Original Poster
Rep: Reputation: 31
OK I ran xfree86setup and it worked like a charm for video. But X still wouldn't start due to a bad mouse (USB) , so I ran mouseconfig, chose "imps/2" (as I've seen in this forum for USB mice), and then I chose to run gpm, not knowing what it was. When I did this, and ran startx, I got into XWindows, but the mouse wouldn't work. So I got to a console and rebooted, and from then on, I can't get into Slack because I can't login. Apparently, something (prolly gpm) is preventing my keyboard from working.
Any ideas?
 
Old 12-13-2002, 08:56 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
the device in XF86Config needs to be set to /dev/input/mice

also gpm needs to be

gpm -m /dev/input/mice -t imps2

this is in /etc/rc.d/rc.gpm


maybe boot into the system with

linux single
 
Old 12-13-2002, 10:11 PM   #8
deesto
Member
 
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448

Original Poster
Rep: Reputation: 31
Thanks, that got me to be able to log back in... but still no mouse, /dev/input/mice doesn't exist.
 
Old 12-13-2002, 10:31 PM   #9
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try modprobe usbmouse


or it may be

modprobe mousedev

modprobe usb-uhci

modprobe input


check lsmod and see what's loaded

Last edited by DavidPhillips; 12-13-2002 at 10:34 PM.
 
Old 12-14-2002, 01:30 AM   #10
ExEleven
LQ Newbie
 
Registered: Aug 2002
Location: Australia
Distribution: Red-Hat, Slackware.
Posts: 16

Rep: Reputation: 0
Yea, i had heaps of shit getting a USB Mouse to work in slackware, edit /etc/rc.d/rc.modules and enable the USB related.
 
Old 12-14-2002, 10:32 AM   #11
deesto
Member
 
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448

Original Poster
Rep: Reputation: 31
Running lsmod gave the following:
Module Size Used by Not tainted
usbmouse 1760 0 (unused)
input 3072 0 [usbmouse]
usbcore 48000 0 [usbmouse]
pcmcia_core 40896 0
ide-scsi 7456 0

I then ran modeprobe (usbmouse|mousedev|usb-uhci|input), all of which ran without a return at the prompt.
Afterward, running lsmod returned the same results.
Then startx crashed with the same, familiar error:
(**) Option "Protocol" "imps/2"
(**) Mouse0: Protocol: "imps/2"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/input/mice"
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
No such device.
(EE) Mouse0: cannot open input device
(EE) PreInit failed for input device "Mouse0"
(II) UnloadModule: "mouse"
(II) Keyboard "Keyboard0" handled by legacy driver
(WW) No core pointer registered
No core pointer

Fatal server error:
failed to initialize core devices
 
Old 12-14-2002, 04:32 PM   #12
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
looks like you need these too

modprobe hid
modprobe usb-uhci
modprobe mousedev


I believe what you want to see here is this

usbcore [hid usb-uhci]
input [mousedev hid]


in /dev/input you would need to see a mouse device and it's corresponding event device

Still not working ??



This is supposed to work, however it can be a pain sometimes, I have some machines that work without a problem and some that don't. I am thinking it's something with the hardware.

one thing you can do that I recommend is to use devfs

you will need to enable it in the kernel, there is a document in the kernel docs
 
Old 12-15-2002, 08:20 PM   #13
deesto
Member
 
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448

Original Poster
Rep: Reputation: 31
OK, this is getting wacky... none of the modprobe commands return anything, except "modprobe usb-uhci", which returns a bunch of kernel errors.
I checked and made sure "/dev/input/mice" does exist.
Now when I run "startx" it goes right into XWindows, but the mouse doesn't work! So it gets me stuck there.
Here's the tail of my XFree86.0.log:
===
(**) Option "Protocol" "imps/2"
(**) Mouse0: Protocol: "imps/2"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/input/mice"
(==) Mouse0: Buttons: 3
(II) Keyboard "Keyboard0" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
SetKbdSettings - type: 2 rate: 30 delay: 500 snumlk: 0
SetKbdSettings - Succeeded
AUDIT: Sun Dec 15 21:05:45 2002: 157 X: client 6 rejected from local host
(WW) Open APM failed (/dev/apm_bios) (No such device)
===
 
Old 12-15-2002, 10:19 PM   #14
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
if your getting kernel errors then that means you probably have usb-ohci
 
Old 12-16-2002, 07:03 PM   #15
deesto
Member
 
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448

Original Poster
Rep: Reputation: 31
Ran "modprobe usb-ohci", it crunched for a fwe seconds and came back with no results. Tried X again, crashed. "dmesg" returned a ton of stuff, but here's the tail (only part where ohci is mentioned):
==
usb-ohci.c: USB OHCI at membase 0xcc8c6000, IRQ 12
usb-ohci.c: usb-00:02.3, Silicon Integrated Systems [SiS] 7001 (#2)
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Found IRQ 5 for device 00:02.2
usb-ohci.c: USB OHCI at membase 0xcc8c8000, IRQ 5
usb-ohci.c: usb-00:02.2, Silicon Integrated Systems [SiS] 7001
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device 2 (vend/prod 0x47d/0x1001) is not claimed by any active driver.
==
 
  


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
nvidia drivers riva tnt2 daedalus12 SUSE / openSUSE 7 10-20-2005 03:17 AM
Suse 9.3 Nvidia Riva Tnt2 andersh Linux - Software 1 10-17-2005 03:19 AM
AMD64+Asus MB+NVidia Riva TNT2 prem.mallappa Debian 5 02-21-2005 06:41 PM
NVIDIA Riva TNT2/ Pro XPediTioN Slackware 6 07-02-2004 09:14 AM
nVidia RIVA TNT2 Model 64 (32MB PCI Card) Safearus Slackware 10 05-15-2004 05:47 PM

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

All times are GMT -5. The time now is 11:15 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