LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 03-16-2002, 04:48 AM   #1
havitush99
LQ Newbie
 
Registered: Feb 2002
Location: Jerusalem, Israel
Posts: 18

Rep: Reputation: 0
Unhappy did anybody succeed installing RH on Compaq Presario 700 or similer ???


Hey. BIG problems installing the Xconfig. I couldn't find the appropriate drivers for more than two months.... (screen and display adapter).
I tried to install RH 7.0 as well as 7.2 but neither of them could detect the drivers... I looked on the net (linux-for-l.t. and many others) but ... couldnt find.
really hopeless.
Thanks a lot!!!

(The computer comes with a flat tft 14. inch screen, and S3 display adapter.
 
Old 03-24-2002, 07:48 PM   #2
JimmyD
LQ Newbie
 
Registered: Mar 2002
Posts: 9

Rep: Reputation: 0
This is my XF86Config-4 file from Debian. It should work with only a little bit of work on most other setups... I've managed to do some major playing and now have it working on FreeBSD. But first you might need to go to s3graphics.com and pick up the drivers for the S3 Twister.

after you extract the drivers try putting
s3switch in /usr/local/bin, and savage_drv.o in /usr/X11R5/lib/modules/drivers

then you might be able to use this XF86Config file and have it work

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "pex5"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
Load "xie"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "savage"
Option "UseFBDev" "true"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30-57
VertRefresh 43-72
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection
 
Old 03-26-2002, 08:19 PM   #3
havitush99
LQ Newbie
 
Registered: Feb 2002
Location: Jerusalem, Israel
Posts: 18

Original Poster
Rep: Reputation: 0
THANKS A LOT !!!!

I downloaded the files, and copied them exactly as you told me to. Should copying the XConfig file you gave me to the appropriate library and then running xstart, do the work ? because xstart doesnt work after doing it ... Is there another thing I have to do ?
Sorry about the buggings ...
Thanks, M.
 
Old 03-26-2002, 08:44 PM   #4
JimmyD
LQ Newbie
 
Registered: Mar 2002
Posts: 9

Rep: Reputation: 0
you might be able to copy the XF86Config file and use it as your own. However there may be a slight problem, that is all of the indentations have been lost (no tabs). Try copying the file and running startx, xstart, XFree86, or what have you. If that doesn't work then find a file that redhat has created (in order to get various paths correct, ie. fontpaths) and then copy in the relevant info.

And just out of curiousity have you managed to get sound to work on your laptop? I am having some MAJOR issues with it... ie. it just didn't work... the device worked but it wouldn't play anything... I think it's a problem to do with the sound card audio output but i just don't know.

Either way I hope that works for you, and if all else fails. Debian and Slackware both worked better for me then redhat or mandrake
 
Old 03-26-2002, 09:08 PM   #5
havitush99
LQ Newbie
 
Registered: Feb 2002
Location: Jerusalem, Israel
Posts: 18

Original Poster
Rep: Reputation: 0
Smile THANKS, Ill try that

about the sound ... everytime I tried to configurate the sound the laptop was stuck .... I even tried talking to the nice and gentle people at Compaq, but they didnt even want to trálk about other OS than windows ...
 
Old 03-26-2002, 09:35 PM   #6
JimmyD
LQ Newbie
 
Registered: Mar 2002
Posts: 9

Rep: Reputation: 0
well if you get a chance check out www.alsa-project.org then... supposedly it works with that particular chip. However I decided to try FreeBSD instead, to be quite honest it seems to work a bit better and the sound should work easily enough but it doesn't. If I manage to get it working I'll try and remember to post it somewhere.
 
Old 03-26-2002, 09:46 PM   #7
manaskb
Member
 
Registered: Jan 2002
Location: India
Distribution: Suse , Mandrake
Posts: 121

Rep: Reputation: 15
you can also try this to get the X to work.

I have a 702us. I also have the problem with sound and really curious to know how to make sound work. In frustration I tried RH7.2 , Suse 7.3 , Mdk 8.2 but somehow the the sound would not work. I can see that the AC97 drivers are loaded. But when I open the sound mixer it says "unknown device" and of course no sound. I have tried recompiling the kernel too, but no success with sound yet.

About problem with the X, all the distros I had tried were able to to auto detect the S3 Twister and the X is working fine in 1024x768, colordepth 24. If you are still having the problem with the X , try this. Login as root and do
XFree86 -configure - this will load generate a XF86config.new file in /root
Now try to start the X using this config file. If it works copy it to your /etc/X11.
 
Old 03-27-2002, 08:34 PM   #8
havitush99
LQ Newbie
 
Registered: Feb 2002
Location: Jerusalem, Israel
Posts: 18

Original Poster
Rep: Reputation: 0
major problems ... no success

Hi, I fixed the XF86Config file using the original file on /etc/X11 but it didnt work :
- when trying to run startX I got :
"execve failed for /etc/X11/X (errno 2)
giving up
Xinit:connection refused (errno 111):unable to connect to X server
Xinit:no such process (errno3) server error"

- Xfree86 provided :
"parse error on line 1 os section module (which is the same as the file Ive got untill now....)
" is no a valid keyword in this section
(EE) problem parsing the config file
(EE) Error from XF86HandleConfig file)
Fatal screen error
no screens found

help, Im hopeless ...

tnx a lot.

- when trying to run Xfree86 -configurate I got : "
" Fatal server error
XFree has found a valid control configuration
 
Old 03-27-2002, 09:01 PM   #9
JimmyD
LQ Newbie
 
Registered: Mar 2002
Posts: 9

Rep: Reputation: 0
hmm... that's a weird problem with X... The file that I gave you is an exact copy of my debian file so you may just want to give debian (woody / unstable) that is. It was written for XFree86 4.1, so it should work. As for your error I have no idea what it means. Check out http://www.linux-on-laptops.com/xfree86.html and click on the XF86Config Archive there you will find tonnes of files to try. Try and find a Redhat 7.2 or whatever and then adapt the file to meet the specific settings in the one I gave you. for example don't let something like Driver "voodoo"be left change it to Driver "savage"

Good luck.

As for sound I have had similar problems with both Linux and FreeBSD. I have not tried alsa-project.org yet, for I'm a little FreeBSD obsessed. Other people have told me of similar problems though in linux and it looks like www.alsa-project.org (advanced linux sound architecture) is going to be the only way to get proper support for the time being... that is of course if it even works.
 
Old 03-27-2002, 09:29 PM   #10
manaskb
Member
 
Registered: Jan 2002
Location: India
Distribution: Suse , Mandrake
Posts: 121

Rep: Reputation: 15
Re: major problems ... no success

[
Quote:
Originally posted by havitush99

- Xfree86 provided :
"parse error on line 1 os section module (which is the same as the file Ive got untill now....)
" is no a valid keyword in this section
(EE) problem parsing the config file
(EE) Error from XF86HandleConfig file)
Fatal screen error
no screens found

I also find this problem pretty weird. because I never had problem with X. however I was evaluating Lycoris when I encountered problems with X, but was easily fixed. Coming to the current problem, open your XF86Config and see if you have a Section for screen. The screen scetion should look like this (this is a sample)
Section "Screen0"
Driver "svga"
Device "MyCard"
Monitor "MyMonitor"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

Also you can try to look through the XFree86 and XF86Config man page. if this does not work please let me know. I'll mail you my XF86Config generated by RH7.2 during install. I do not have my laptop with me now. I can send you the file later tonight if you need it.

Some more things you can try.
1. try using xf86config [ this is the default config tool for XFree86]
2. if I remember correctly redhat has a utility called "setup" to configure X, sound, etc from shell.

Best of luck.

- manas
 
Old 03-28-2002, 06:52 PM   #11
havitush99
LQ Newbie
 
Registered: Feb 2002
Location: Jerusalem, Israel
Posts: 18

Original Poster
Rep: Reputation: 0
thanks a lot guys ... but ... it

I think I tried everything. I tried several XF files from linux-on-laptos, and none of the worked, will be glad to try another one, although Im not so optimistic ...
thanks a lot.
 
Old 03-29-2002, 03:21 AM   #12
manaskb
Member
 
Registered: Jan 2002
Location: India
Distribution: Suse , Mandrake
Posts: 121

Rep: Reputation: 15
Re: thanks a lot guys ... but ... it

Quote:
Originally posted by havitush99
I think I tried everything. I tried several XF files from linux-on-laptos, and none of the worked, will be glad to try another one, although Im not so optimistic ...
thanks a lot.
hi ,
I have sent you the XFree86 directly to you by mail. It's pretty big so i did not include it here.


BTW about the other issue:
SOUND - anyone has a idea how to make the sound work on this Compaq Presario 702 ?
SCROLL MOUSE - I cant get the scroll buttons near the touch pad to work. I have set the ZAxisMapping to "4 5" in XF86Config. Anyone has nay idea how to get this to work ?

Thanks.
 
Old 04-15-2002, 03:01 PM   #13
JimmyD
LQ Newbie
 
Registered: Mar 2002
Posts: 9

Rep: Reputation: 0
Search this web site for presario 700, I have sound working and there is a full explanation posted.
 
Old 04-15-2002, 03:29 PM   #14
havitush99
LQ Newbie
 
Registered: Feb 2002
Location: Jerusalem, Israel
Posts: 18

Original Poster
Rep: Reputation: 0
I didnt understand where to look...

Where in this site ?
How the hell did u make the sound work ? people say its impossible!!!
 
Old 04-15-2002, 10:38 PM   #15
JimmyD
LQ Newbie
 
Registered: Mar 2002
Posts: 9

Rep: Reputation: 0
as I am listening to Don MClean's American Pie while typing this running Debian Linux it is quite possible.

go to
http://www.geocities.com/compaq_715US/

read the guy's site. I have to email him because I know the answere to a few of his power managment problems. Down near the bottom you will see the section on sound.

basically get kernel 2.4.18
copy the file you can download ac97_codec.c over the on in your kernels source directory under /drivers/sound. ie /usr/src/linux/drivers/sound/ac97_codec.c
recompile the kernel with via 686 sound support.
It works. and so do the two volume bottons.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing Mandrake 10 on a Compaq Presario soupatech Mandriva 2 08-12-2005 10:40 AM
Compaq presario 700 overheating when redhat 9.0 is installed (722us) shannondoko Linux - Laptop and Netbook 1 03-16-2004 07:21 PM
compaq presario 700 redhat help i netw0rk Linux - Laptop and Netbook 2 10-04-2003 06:46 PM
Slack 9 in Compaq Presario 700. Sound Problems yolopollo Slackware 11 07-08-2003 12:00 AM
Compaq presario 700 installation Nightcast79 Linux - Newbie 2 08-18-2002 02:27 AM


All times are GMT -5. The time now is 11:07 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration