PDA

View Full Version : Linux Sagers Install Guide 1


laclasse
03-08-2003, 11:00 AM
Linux Install Guide for Sager/Clevo/Eurocom/Alienware/Promedion 56XX and 888X series.
__________________________________________________________________________________ ___

Disclaimer:

All manipulations and instructions in the following are not issued or garranteed by any computer hardware vendor or manufacturer, therefore it is understated that all of these will be the entire solely responsability of the personn performming them, and that, in ANY situations, I will never be liable for things such as data loss and hardware damage. Do this at your own risks.

Note: I wrote this document after owning the laptop for just a month. So please feel free to correct me. Any efficient addition will be published, and the dark points could be lit up by any one who wishes to contribute. The goal is to make the machine use 100% of what it has been sold as and for, this running free/GPL'd Operating Systems.


1)Hardware Specifications:

The laptops covered are the 5660 series sagers and clones, as well as the 8886/7 sager series and clones. Some laptops will have an Hyper Threading able bios, and some not. Some could be upgraded, and some not. The point is not there. The sagers laptops and clones are already very fast performing machines under linux. I own a non HT one, and am very happy with it. In this section i will concentrate on what is important to know to make linux perform and use all the capabilities of the machine. The type or brand of RAM for example isn't important as long as it works.

First thing to do on a linux/unix machine, a lspci: here it is on my sager 5660 :

00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 11)
00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 11)
00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02)
00:1f.3 SMBus: Intel Corp. 82801CA/CAM SMBus (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio (rev 02)
00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf [Radeon Mobility 9000 M9] (rev 01)
02:04.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
02:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:07.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller
02:0a.0 USB Controller: VIA Technologies, Inc. USB (rev 50)
02:0a.1 USB Controller: VIA Technologies, Inc. USB (rev 50)
02:0a.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)

Yes from there, having the info, and the actual real 'ie not translated' pci info, let's work our way.

The chipset is a Brookdale Intel i845E (HT suppport). It is connected to a SouthBridge ICH3M, which provides no less than firewire, 5.1 6 channel ac97codec based audio, dual ata100 ide channels, 4x USB 2.0, modem and ethernet. I believe the chipset/setup is the same on all models, regardless of their options and processor speed.

The VGA controller is as publicised an ATI Radeon 9000 mobility ( M9 ) with 64/128 Meg DDR SDRAM. It connect to the AGP intel Bridge and is 4 x able.

The Sound Chipset is a Intel 82801CA-ICH3 connected to a Avance Logic ALC200/200P rev 0 chip. This gives us digital spdif/optical 5.1 out, as well as one capture, one headphone. It is a good sound chipset, only somewhat limited by the speakers quality found on laptop. I have a simple 2.1 Cambridge SoundWorks speaker set, and it rocks. Note that one of the hardware flaws/design of the intel8x0 chipsets was the non ability to output at lower than 48000 Hertz by default, where 16 bit sound expects/works at 44100 Hertz. Majority of software mixers nowadays allow resampling, so it is not a problem anymore.

The SMBus is the hardware sensors bus, this is were the sensors of your motherboards reports to, like temperature, fans states, ram states etc ...Honestly i haven't fool around them yet, but will very soon.

The cardbus pcmcia port 02:07.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller, worried me, until i used the kernel drivers of 2.4.21-pre4 (now pre5) kernel. Then i successfully made my 3com lan card work, using the 3c95x and serial_cs modules.

The integrated ethernet is a Realtek 8139C chipset, not the newest 8139C+. Somehow, this is the weakest device in term of quality of the whole notebook. They are cheap, small and somehow reliable, still i would have loved to see a 3com or an Intel eepro chipset on these machines.

The modem appears to be a Conexant chipset, but being directly attached to the ICH3M SouthBridge, it is listed as :
00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem (rev 02)
All my effort to make this work have failed, this is a genuine 'WIN Modem'. Hope someone will get it working soon.

FireWire is a Texas Instrument powerless mini connector, bizarelly not using the integrated firewire channel on the SouthBridge. This deviced works properly, I just lack a IEEE 1394 device to test it fully.

The USB is supplied by Via, the hcd 2.0 USB hub as well. There is 4 USB 2.0 ports on this machine, all backward compatible to the old slow USB 1.1. This means you can connect basically anything being USB.

2) Power management:

These machines have the great performance of a full blown Pentium 4 478 pins, desktop models. Not having a mobility chip means we gonna have to limit the processor in the way it consummes energy. Advanced Power Management is the old way (APM). Advanced Control Programmable Interface ( ACPI ) is the new way of doing it, and our P4 has enhanced support for it. So a few kernel patches will be needed.


3) Kernel Configuration:

First of all, i want to stress how important it is to recompile your own kernel, for your needs. The major of vendors will have very good kernels, but they might not cover exactly all your needs, or have too much. Keeping the kernel small is one of my goal. A vanilla kernel from www.kernel.org is a good starting point. Then visit the sourceforge acpi pages and get the patches for acpi support and acpi software suspend for the kernel version you are planning to use.

Consider that patching source code is tricky, usually the patches do refer to a particular kernel version, and i will advise not to mix and match. Pay particular attention to the patches your are downloading.

This guide is not a how to on kernel compilation so i won't devellop the subject, just get yourself a kernel HOW TO at the www.tldp.org linux Documentation Project. Compiling a kernel is great as it does gives you an inside to as how powerful, versatile and modular a linux kernel is. Especially when we will shifting towards the 2.6 generation of kernels, and even more support to new hardware is added.
If you have never done it, it will takes you a few tries to get it right.

__________________________________________________________________________________ _

Patching the kernel ...

After seeing a lot of people wondering, here is a short description of the steps needed to patch a kernel source tree.

Note that these instructions are valid for a 'VANILLA' kernel, i mean a plain kernel source downloaded from www.kernel.org or one of the mirror. I cannot give instructions for 'Vendor' kernels such as RH, Mandrake or SuSE. Why ?

1) Cause i don't use them
2) Cause it has proven difficult to find out the exact patches appplied by the vendors.

So, first download a kernel source from www.kernel.org or a mirror. The latest is 2.4.20.
Once the file linux-2.4.20.tar.gz is on your hdd, put it anywhere ( your home dir is fine ), and untar/decompress it with

$ tar -xvzf linux-2.4.20.tar.gz
( or tar -xvjf linux-2.4.20.tar.bz2 if ya download the bzip2 file )

==> This will last for a while, and produce lots of output, showing you what is getting de compressed and where. The whole decompressed source is 274 megs or so, so plan some space.

Then go and download the patches you need. www.google.com/linux , enter kernel patches as a search string, you will find a lot. The patches can be anything from .patch, to .txt to .diff extensions. Note that a lot of them are compressed, like "patch.kernel-2.4.20.diff.gz "

In this case you have to :
$ gzip -d patch.kernel-2.4.20.diff.gz
$

Now the patch will have lost his .gz extension.
Next we are gonna apply the patch:

$ pwd
/home/user
$ ls
linux-2.4.20 linux-2.4.20.tar.gz patch.kernel-2.4.20.diff
$ cd linux-2.4.20
$ patch -p1 < ../patch.kernel-2.4.20.diff

( lots of output, watch out for :
Hunk Succeed IF ya have a lot of Hunk Failed at blAHBLAH...that doesn't look too good. Once patch is successfull, apply the others ( if so ), then make xconfig and you will see the new options of your patches ( acpi, Preemptive Kernel, Lock Break for the preemptive kernel, ACPI options, ACPI suspend etc ......).

__________________________________________________________________________________ __


Here is my current kernel configuration file for a 2.4.20 kernel patched with:

- 2.4.21-pre5 patch
- preemptible kernel ( preempt-kernel-rml-2.4.21-pre1-1.patch )
- acpi ( acpi-20030228-2.4.21-pre4.diff )
- acpi suspend ( patch-acpi-acpi20030228-swsusp19 )

You can see/save/dll the my configuration by clicking here (http://activate.kicks-ass.org/~laclasse/KernelConfig_2.4.21-pre5.txt)

Note that i do not have IDE cdrom support, iinstead i have scsi emulation and scsi cdrom support built in the kernel, and that is what you want if you want to burn cds.

As well, i have in my /etc/lilo.conf the following statement: append="idebus=66 iide0=autotune ide1=autotune"
This sets a defaulft bus speed of 66 Mhz for pio / non dma modes, as well as letting the kernel tune the ide channels in the best way possible.

4) Graphic Video Drivers

Making the ATI M9 working accelerated has proven to be a difficult point, as no current distribution, at the time of writing, detects it properly. Maybe Slackware 9.0rc2 with XFree 4.3.0 does. Not tested yet.

Instead majority of distro automated configuration tool of the X server will assign a generic 'vesa' driver, wich is fine for 2D, but no 3D hardware acceleration.

As well lets clarify the fact that the 9000 R250 Desktop chipset ant the R250 mobility M9 chip are very similar. Indeed the ati drivers work for both. The mobility chip adds power saving futures to the card.

ATI provides extended instructions on how to install these drivers on www.ati.com , click the 'Find a Driver' links, then enter Linux/XFree as operating system, and Radeon 9000 Pro as product. This will bring you to a page where you will find 2 differents packs, one for older 4.1.x XFree86 versions, one for 4.2.x ones. Download the one you need, "X -version" in a terminal will help you identify your current running version.
On the same page, there a Driver Release Note, as well as an "Driver installation Notes". I will STRONGLY recommend to print/copy them both for a later reference.

The install of the package should be FORCED, as stated in the site instructions.
ATI provides a few extra tools: fglrxinfo will give the similar less detailled information as glxinfo:

laclasse@screamer:~$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon 9000/Mobility Fire GL 8800 Prototype DDR Pentium 4 (SSE2)
OpenGL version string: 1.3.3477 (X4.2.0-2.5.1)

laclasse@screamer:~$

fglrxconfig will help you configure the server and save the file as /etc/X11/XF86Config-4.

Finally, fgl_glxgears will launch the ati demonstration of the pBuffer extension of the OpenGL library, and counts the number of Frames per second in the rotating gears cube.

Main thing to archieve is to enable the Direct Rendering of the display. You can check it by issuing the command "glxinfo | grep rendering" in a terminal, after launching the X server. This will insure that all is fine and dandy, and that 3D hardware acceleration is avalaible.

Here is more detail on the driver install itself.
http://sagerforums.com/forums/showt...=&threadid=1555

5) Sound

I currently use the Alsa modules ( www.alsa-project.org )in their latest version, 0.9rc8a. DO NOT USE the alsa stable branch ( 0.5 ) as it is deprecated, and WILL NOT work. I believe Mandrake comes with Alsa, and a few other should have the option avalaible. I install mine by hand and compile the sound modules on the machine.
3 packs are essential: alsa-driver, alsa-libs and alsa-tools.
Decompress / untar them all in a directory of your choice, then go to the alsa-driver drirectory. I use these options:

$ ./configure --with-kernel=/where/your/kernel/sources/are --with-cards=intel8x0 --with-sequencer=yes --with-oss=yes =with-isapnp=auto

A "./configure --help" will give you all extra compilation options or optimization avalaible by the package.

There is a good alsa How To on the main project site, so please read it, as it can be little confusing. Once again the performance resulting is worth the time spent on it. Alsa gives me digital out control, plus depth and center/bass settings. Cool, i have a red laser light coming out of my SPdif out port ;)

6) Earlier experiments:

Here is some comment made earlier, and i thought it was of interest.

After several kernels being compiled and tried, here are the conclusions of 4 days work. I own a 5600D Clevo/Sager/Pr omedion, specs as follow: P4 2.4, 512 DDR 1 slot, ati 9000 Mobility 64 DDR, 1400x1050 TFT, 40 gigs HDD, DVD/CDRW Combo, floppy.

This is a true exploration throught hardware. The first thing i would like to bring is the design: My machine is built around a 82845 845 (Brookdale) Chipset labelled i845E by Intel connected to a ICH3M Southbridge. The ICH3M southbridge is a implementation for ata100 on ultra mobiles systems, and is adapted to mobile pentium III processor.
Next is the fact that the i845E chipset is supposed to be connected to a ICH4 chipset, as it is shown in the manufactu rer design here http://www.intel.com/design/chipsets/845e/index.htm?iid=ipp_desk_chip+prod_845e&

Is it a special implementation on our laptops ? If yes where is it documented ? These questions have made me consider a hardware flaw, but i am not sure.

I have compiled and run successfully 2.4.18, 2.4.20, 2.4.20 with preempt, ide, acpi,acpi-swsp patches in the stable category, and 2.5.54, 2.5.62 in the devel category.
I'm currently running a 2.4.21-pre4 kernel, with the latest acpi patches. This is running of my choice distro, Debian/GNU Linux Sid Testing/Unstable.

With this i am glad to say that:

1) USB 2.0 works :
ehci-hcd 02:0a.2: VIA Technologies, Inc. USB 2.0
ehci-hcd 02:0a.2: irq 5, pci mem e091fc00
usb.c: new USB bus registered, assigned bus number 3
ehci-hcd 02:0a.2: USB 2.0 enabled, EHCI 0.95, driver 2002-Dec-20

2) Firewire modules are loading
Module Size Used by Tainted:
ohci1394 17512 0 (unused)
ieee1394 34060 0 [ohci1394]

ohci1394: $Rev: 693 $ Ben Collins <bcollins@debian.org>
ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=[11] MMIO=[e0204000-e02047ff] Max Packet=[2048]
ieee1394: SelfID completion called outside of bus reset!
ieee1394: Host added: Node[00:1023] GUID[0000000000140816] [Linux OHCI-1394]


Unfortunately no firewire device, so maybe someone could try it.

3) Sound : I use Alsa 0.9rc7 compiled from source with this options:
./configure --with-cards=intel8x0 --with-sequencer=yes --with-oss=yes --with-isapnp=auto --with-kernel=/home/laclasse/linux-2.4.21-pre4

I have compiled the OSS intel kernel drivers as modules, and i would recommend anybody to install Alsa. There is a huge performance boost on all sound apps, games as well. Doc to compile and download of source packages can be found at http://www.alsa-project.org

4) DMA transfers on the ICH3M Southbridge are a problems to me. I bet they are a problem to anybody cause i suspect a hardware flaw as commented earlier
First on normal kernels (2.4.18 to 2.4.20 unpatched):

ICH3M: IDE controller at PCI slot 00:1f.1
PCI: Disabling device 00:1f.1 due to ressources collisions
ICH3M: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda: pio, hdb: pio
ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc: pio, hdd: pio

So this is of interest, as the we can see that the IDE controller is in pio mode and not DMA.
at this point i run # hdparm -t /dev/hda
Timing buffered disk reads: 64 MB in 3.49 seconds = 18.33 MB/sec

Now according to http://www.intel.com/support/graphics/linux/udma.htm , this is a burst pio mode. Not DMA. I challenge ANYBODY to go in the bios of their Sager/Eurocom/Alienware/Promedion/Clevo 5600D and manage to CHANGE the default [pio/dm a2] to UDAM5, as the chipset should support, and as advertised.

Then i run a 2.4.21-pre4 pre patched with the latest hedrix ide-patches, ide-2.4.20-pre5-ac4 and here is thbe difference :

ICH3M: IDE controller at PCI slot 00:1f.1
PCI: Enabling device 00:1f.1 (0005 -> 0007)
ICH3M: chipset revision 2
ICH3M: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda: pio, hdb: pio
ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc: pio, hdd: pio

:cry: Halas still no DMA enabled. Off course the hardisk reports
hda: host protected area => 1
hda: 78140160 sectors (40008 MB) w/2048KiB Cache, CHS=4864/255/63, UDMA(100)

I then made a script to run at boot :
#!/bin/bash
hdparm -c1d1X69 /dev/hda ;
hdparm -u1 -k1 /dev/hda ;
echo "Forcing DMA and 32bit transfert ......................done" ;
echo "Enabling ATA 100 Mode

................................done" ;

As well i have append="idebus=66 ide0=autotune ide1=autotune" in /etc/lilo.conf. So i get

Kernel command line: BOOT_IMAGE=Linux-2.4.21pre ro root=301 idebus=66 ide0=autotune ide1=autotune
ide: Assuming 66MHz system bus speed for PIO modes

now a hdparm -t /dev/hda reads :
Timing buffered disk reads: 64 MB in 3.43 seconds = 18.66 MB/sec

Well wasn't worth the patches. Note that i am using a 25 % throttle on the p4 at all times, because playing RtCW in linux for 2 hours without has brought the lappy to 89 Celcius, and i will not recommend it. The acpi patches to whatever kernel you are running are essential. Get them here http://sourceforge.net/projects/acpi
and you can try the software suspend here
http://sourceforge.net/projects/swsusp

After the ACPI is successful, you can control the processor throttle, limit temperature, as well as checking the temperature. There is a gkrellm patch to monitor the temperature throught acpi at http://gkacpi.sourceforge.net

You can see the throttling states by issuing
#cat /proc/acpi/processor/CPU0/throttlingstate count: 8
active state: T2
states:
T0: 00%
T1: 12%
*T2: 25%
T3: 37%
T4: 50%
T5: 62%
T6: 75%
T7: 87%

As you can see i use a 25 % throttle. you can change that by doing :
# echo -n 0 > /proc/acpi/processor/CPU0/throttling
#
this will set your processor at 100 %, no throttle.

...to be completed and continued.

NeoCORE
03-10-2003, 04:51 AM
Cheers for all the info. I am holding my breath from that cliff hanger you left us all :P


Cheers again!

NeoCORE

NeoCORE
03-11-2003, 12:30 PM
Quick question... as you said about throttling your CPU... is it possible to throttle the m9 as well? This would be extremly handy if I wasnt going to play games and just wanted to make the battery last as long as possible.

Cheers again

NeoCORE

chiphart
03-11-2003, 04:15 PM
FWIW, laclasse, I get 25.4 MB/s when I run my hdparm test. When I got my machine, all I did was:

1) Add to /etc/modules.conf:
options ide-cd dma=1

2) Edit /etc/sysconfig/harddisks to include:
USE_DMA=1
XTRA_PARAMS="-u1"

25.4 vs. 18 is 40% increase...worth noting.

laclasse
03-12-2003, 10:57 AM
As far as i am aware, the power savings features of the M9 are pretty good. Do not know if oclocking ( or under clocking ) the M9 would be possible on Linux. Definately possible on Windows. I have a Hercules Core Accelerator app that overclocks the ram and the GPU of my 9000 Pro.

On linux, it was an app for changing core clocks of nvidia, was called nvclock. Haven't heard of similar apps for ATI yet, maybe to come.
Chipart, nice stuff. Got about the same here now.

chiphart
03-12-2003, 11:09 AM
Originally posted by laclasse

Chipart, nice stuff. Got about the same here now.

Let me know if you also turn on the -c1d1X69 and -k1 options. Busy today :-)

bneumeier
03-12-2003, 05:06 PM
This is great information, thanks for posting it. I am confused by the section about the IDE controllers and DMA modes, so I think that one or the other of us is confused as to how it works.

Originally posted by laclasse
ICH3M: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda: pio, hdb: pio
ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc: pio, hdd: pio

So this is of interest, as the we can see that the IDE controller is in pio mode and not DMA.


The "ide0" and "ide1" message lines above are generated out of ide-dma.c, in the function ide_setup_dma. I believe these messages basically mean: "DMA has been enabled on this interface, even though it is not enabled in the BIOS."

I'm not an expert with the linux IDE driver, but it looks to me as though the message that would be generated if DMA couldn't be activated is something like:

ide0: BM-DMA at 0x1860-0x1867 -- ERROR, UNABLE TO ALLOCATE DMA TABLES

Also, hdparm -i /dev/hda on my computer says that as far as hdparm is concerned, the drive is in udma5 mode. So that also makes me think that you don't have to worry about these messages; they just mean that the BIOS doesn't have DMA enabled. In Linux, the BIOS settings don't really matter very much...does that make sense, or am I being stupid?

(I also saw a message from Alan Cox on a mailing list some time ago that made me think that my interpretation of those messages is correct.)

Cheers,

Brett Neumeier

davkenrem
03-13-2003, 12:17 AM
I would like to install a distro of Linux on my 5660, but I am pretty "Linux-challenged".

I have installed Redhat 7.0 and Mandrake 8.2 on my desktops before but those are pretty easy installs.

All this talk of compiling your own kernal and stuff makes me nervous.

Can some of you "leet" Linux mavins point me to some good beginner info on compiling Linux and maybe some good books on Basic Linux and it's command line.

I know running any GUI is much easier if you know the command line.

I used to try to teach people how to run Winblows that never understood DOS and an understanding of DOS makes running Winblows much easier.
Thanks in Advance.

Also do any of you guys have your integrated wireless working under Linux?

Dave

:banana: :banana: :banana: :banana: :banana:

chiphart
03-13-2003, 07:49 AM
You don't have to recompile the kernel, etc., to get RH to work quite well. In fact, if you grab the 8.1Beta (or wait a few weeks for the official release), you won't have to do anything to get decent Radeon drivers.

All the stuff we're talking about is "tweaking" and getting the most out of our machines (and, frankly, about 1/2 of it is just "seeing what happens when we do X").

Don't be afraid! :D

NeoCORE
03-13-2003, 10:33 AM
hey laclasse,

check your pm's mate... let me know what you think?


Cheers again :)

NeoCORE

sagerrookie
05-10-2003, 04:19 PM
Note: I haven't made this work yet, but I am getting the research done.

Regarding laclasse's comment on the install guide, "The modem appears to be a Conexant chipset, but being directly attached to the ICH3M SouthBridge, it is listed as :
00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem (rev 02)
All my effort to make this work have failed, this is a genuine 'WIN Modem'. Hope someone will get it working soon."

Intel has some linux support at http://developer.intel.com/design/modems/support/drivers_linux.htm

However, my modem reports the same as above using lspci, and reports vendor=8086, device=2486 from a Conexant utility in windows. Conexant does provide "Winmodem" support in linux for this HSF ICH modem under the Intel MC97 section at http://www.linuxant.com/drivers/hsf/index.html. See the HSF driver section on the left frame.

There is a larger discussion on getting "Winmodems" to work under linux at http://linmodems.org.

Hope this helps, and please report if anyone (myself included) follows up.

Thx.

sagerrookie
05-10-2003, 04:24 PM
Also Note:

HSF Linuxant drivers DO NOT support v.92 or pre-emptible kernels.

The drivers should work on most current Linux distributions, based on the 2.4.x kernels. A Pentium processor with the MMX enhancements is required. Some systems may require kernel recompilation with special ACPI patches. Preemptible kernels are not yet supported.

kranich
08-14-2003, 02:27 PM
I search drivers for 4760/D470W To Audio/Modem/Webcam
hello (sorry, my language english is verry bad, I speak French).

The Model Sager 4760 (D470W) or Sager 4060 D400E/D410E use chipset SIS 7018 and SIS 7013 (audio and Modem) and the webcam Z-STAR inside.

I use Red Hat 9.0 (install with /NOPROB for boot)



do you have the Drivers for the models.


Thank you,
Br,
Eric Kranich in FRANCE.

Icefluxx
10-06-2003, 12:11 PM
first off, my syaptics touch pad doesnt work (usb mouse does) and i have drake 9.1. and how do you install eterm? ive got the program, but im not sure how to install it. I know the basic commands, but install still does not work.
any taker? or are yall still in the same boat as me?

gsferrari
10-06-2003, 12:33 PM
I am converted!! :banana:

Just took the easy route first time with RH9.0

Installed with no problems and everything works except the Firewire...who cares!!

I love the look of the thing...is it called GNOME ?? or GRUB ?? theres also a desktop called KDE - how do I activate it??

I wanna install a media player for DVD, MP3 etc. - any suggestions and instructions??

Thanks yall!!

:cheers:

chiphart
10-06-2003, 02:12 PM
Originally posted by gsferrari
I love the look of the thing...is it called GNOME ?? or GRUB ?? theres also a desktop called KDE - how do I activate it??

You have a somewhat limitless choice in desktop managers - gnome and kde are among the more popular (at least, via RH). While the two have become more similar over the years, there are still some differences (I love pieces of each). To check out KDE, you'll find a menu option on the Login Screen that will change your windows managers. Be a little careful, as moving from one to the other can cause goofy problems.

Meanwhile:


I wanna install a media player for DVD, MP3 etc. - any suggestions and instructions??


...this should already be done, though I think RH still makes you hunt down the mp3 plugin for xmms due to copyright reasons.

Either way: xmms is the "winamp" of linux mp3 players. In fact, it looks and acts just like winamp2. You can get really fancy with noatun (i.e., skins), but I don't find it to be worthwhile.

You should also have gmplayer already installed on your machine, I believe. That'll play your mp3s...and DVDs, etc.

Good luck. Don't turn back!

gsferrari
10-06-2003, 02:20 PM
I cant find any gmplayer...This is my first attempt at linux and I think its really cool...looks a lot like the macOS that i love :love:

Does anyone mind giving me instructions to install a media player to play DVD's and MP3's ??

Also - when I have a DVD in the drive, the player does not recognize it...nothing shows up - it plays audio CD's and opens Data CD's just fine - but DVD's are nowhere to be found...:confused:

Icefluxx
10-06-2003, 02:59 PM
hahaha!!! youre late gs!!!
Dude, does youre touch pad work?
also, mr late commer, you can try mandrake.
theres an option to switch desktop managers to kde...youll love kde...

Icefluxx
10-06-2003, 03:01 PM
xine...i think it sucks....it does not play out of the box and you have to dl some other stuff for it to work....

chiphart
10-06-2003, 04:13 PM
Originally posted by Icefluxx
xine...i think it sucks....it does not play out of the box and you have to dl some other stuff for it to work....

If having to download a really nice, free software program is what causes you to feel like the program sucks, then I'd go buy a PC or even a MAC. Cripes.

xine works great for me - and all the cool skins you can eat. I don't remember whether xine worked for me out of the box or not but, gsf, you'll quick learn about the world of RPMs (quite nice!). Familiarize yourself with apt-get or synaptic pretty quickly and you'll not believe what's out there.

What will shock you, as a windows user, is how small the various programs and their updates are. The aforementioned mplayer is, what, 5MB?

Meanwhile, head to freshrpms.net and go to the Shrike (RH 9) section. You can grab totem, for example, the Gnome front end to xine which should make your DVD experience a lot easier.

Good luck!

gsferrari
10-06-2003, 05:04 PM
i downloaded the rpm's for VLC and some addons but I keep getting a dependency error...

VLC is a media player btw - I will search and find xine...

is there any particular order in which you install the packages with dependencies?? so that you dont get an error??

I just want to play DVD's and listen to my MP3's thats all :p

gsferrari
10-06-2003, 05:10 PM
doanloaded :- saved all files in the same directory

1] xine-0.9.22-1.fr.i386.rpm
2] xine-skins-1.6-1.fr.src.rpm
3] xine-lib-1.0.0-0.1.rc0a.fr.i386.rpm


and ran rpm -U *.rpm in the terminal (Still a n00b so i'll sound real dumb for a while).

this is what I got :-

warning: xine-0.9.22-1.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies:
libaa.so.1 is needed by xine-0.9.22-1.fr
aalib is needed by xine-lib-1.0.0-0.1.rc0a.fr
alsa-lib is needed by xine-lib-1.0.0-0.1.rc0a.fr
flac is needed by xine-lib-1.0.0-0.1.rc0a.fr
libFLAC.so.4 is needed by xine-lib-1.0.0-0.1.rc0a.fr
libaa.so.1 is needed by xine-lib-1.0.0-0.1.rc0a.fr
libasound.so.2 is needed by xine-lib-1.0.0-0.1.rc0a.fr
libasound.so.2(ALSA_0.9) is needed by xine-lib-1.0.0-0.1.rc0a.fr
libfame is needed by xine-lib-1.0.0-0.1.rc0a.fr
libfame-0.9.so.0 is needed by xine-lib-1.0.0-0.1.rc0a.fr
libspeex.so.1 is needed by xine-lib-1.0.0-0.1.rc0a.fr
speex is needed by xine-lib-1.0.0-0.1.rc0a.fr
xvidcore is needed by xine-lib-1.0.0-0.1.rc0a.fr

gsferrari
10-06-2003, 05:23 PM
I tried to install xmms :-

xmms-mp3-1.2.7-21.p.fr1.i386.rpm

and it gives me this error :-

[gsferrari@localhost gsferrari]$ ls
evolution firewire gaim Gentoo mediaplr mp3 VLC xine
[gsferrari@localhost gsferrari]$ cd mp3
[gsferrari@localhost mp3]$ ls
xmms-mp3-1.2.7-21.p.fr1.i386.rpm
[gsferrari@localhost mp3]$ rpm -U *.rpm
warning: xmms-mp3-1.2.7-21.p.fr1.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
[gsferrari@localhost mp3]$




I think I am doing something fundamentally wrong because so far none of my installations have worked save for the initial Red-Hat install :lol: Im not discouraged - if they all dont work then its "gsferrari" who sucks and not the software...

dont care either way - love this linux!!!:dude:

Nothing worked in windows...so I dont mind this either :p

Icefluxx
10-06-2003, 06:06 PM
well, ive been warring with xine for a minute...maybe im missing a file...ill still play with it.

gsferrari
10-06-2003, 06:09 PM
dude...quit the attitude and give mon a solution :lol:

Whassup with this?? Where am I fukin up??:scratch:

Icefluxx
10-06-2003, 06:11 PM
you may have dependencies gs...not sure

gsferrari
10-06-2003, 06:13 PM
Ok then help me out - I wanna watch DVD's and listen to MP3's...

What do I gotta do?? step by step...like the instructions I made for driver installation...

Any website where I can learn command line commands and arguments etc .???

Icefluxx
10-06-2003, 06:21 PM
if im not mistaken...

rpm -ivh (filename) then enter

Icefluxx
10-06-2003, 07:09 PM
and? what happened?
And where the HELL is the chat feature on this board!!!

bsmith
10-07-2003, 12:00 AM
I thought -i was depracated in favor of -U. -U will doo the same that -i will. hey gsf. Have you tried gno rpm yet. Is that still even around. It used to be the gnome ui for rpm. I haven't touched RH since 7 or so.

gsferrari
10-07-2003, 01:37 AM
Go here for the pertinent thread (http://talknotebooks.com/showthread.php3?s=&threadid=8429)

Ive moved the stuff here so that the sticky doesnt get cluttered with my nonsense :)

Yes I use the rpm -U <filename> command

I figured out that I was trying to install stuff from outside the root - this is not my fault because I dont even know what the root is!! Apparently the root is the username and the password is the the one you use when you are right at the beginning of the installation procedure...

Well I have it figured out now - will try all the installs again tomorrow and see if I can get things working again .... DVD's and MP3's are getting impatient and clamoring for attention :lol:

chiphart
10-07-2003, 08:17 AM
Originally posted by gsferrari
I tried to install xmms :-

xmms-mp3-1.2.7-21.p.fr1.i386.rpm

and it gives me this error :-

[gsferrari@localhost mp3]$ rpm -U *.rpm
warning: xmms-mp3-1.2.7-21.p.fr1.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
[gsferrari@localhost mp3]$


Ok, this implies that something is goofed with your rpm database (which keeps track of what's installed, etc.). Things to check:

Are you running an rpm command in another window?
Are you running as root?

If you really did toast your rpm library, you can do this:

[code]
rm /var/lib/rpm/__db*
rpm --rebuilddb[code]

As a newbie, this is good experience.

Two more things:

Read the documenation and google all your error messages - you won't believe how helpful the rest of the world can be (linuxquestions.org, for example). In the meantime, I again encourage you to go grab apt-get or synaptic, as it will help you with your dependencies. Rather than [poorly] explain why you're missing all the other files, those programs will help a lot.

Second - both the -U and -i options have importance and significance when using the rpm command. Most of the time, the -U is the way to go [read: UPGRADE], as it replaces the previous version of the software you're installing.
-i is handy when you want to install another version of the same software - I use this when I get a kernel rpm. That way, I can choose the kernel I want to boot into without screwing anything up!

Keep up the good work and attitude. Having worked with 100s of people in this regard, having a good attitude solves the problem more than anything else.

laclasse
10-09-2003, 06:26 PM
[gsferrari@localhost mp3]$ rpm -U *.rpm
apparently, he wasn't root.
$ => user
#=> root

Hope that helps.

gsferrari
10-09-2003, 06:56 PM
Yeah I noted that :cheers:

gsferrari = dumbass :lol:

But im learning and learning fast...already into hdparam and stuff like that thanks to cliphart...trying out basic UNIX commands...

gotta love linux!!:dude:

NightShade737
10-10-2003, 06:54 AM
My drive was running in UDMA mode 5 by default, but it was in 16 bit mode, so I just changed that to 32bit and changed some other options.

I got 25.6MBp/s on the non-buffered test.

On another note, does anyone here know how I can resize a reiserfs partition without losing the information on the drive? (resize_resierfs doesnt work as it says the filesystem is already the size of the partition). There is 3GB of unpartitoned space directly before the resierfs partiton and I just need to expand it to fit it.

NS

gsferrari
10-11-2003, 11:29 PM
1] You download your kernel - I have these files now : -
linux-2.4.22.tar.bz2
2] I want to install Linux into a system with nothing in it. How do I install this kernel into that system?? Do I create an ISO file?? What do I have to do before I create an ISO file??

3] Do I have to do all this in a free linux distro before I put the new kernel into a system?? I am confused with this :-

to do all this $tar etc. I have to be in a linux environment. If I have this kernel and extract it - will it overwrite my existing kernel ?? I have Redhat 9 installed currently...

Just confused...If I havent been clear please lemme know what you need to know and I will give you all the info you want....

gsferrari
10-11-2003, 11:36 PM
I am assuming that once you extract that kernel, the next time you log in you can select the new kernel ??

:confused:

aah ...you have to compile the kernel....


I am really interested in this but im stuck with the basics like where, what, how...

I have the latest kernel. I want to know what patches will be required and how to install them. Then I wanna know how to compile the final kernel and save it as my own ISO so that I can install into my system everytime without having to go through the whole process again...

laclasse or anyone else please help me out!!!

Icefluxx
10-12-2003, 02:42 AM
modem not initializing..thats my issue with drake. it almost locks up..it says its initializing but never does. Any takers?

bsmith
10-12-2003, 02:05 PM
On my gentoo I just grabbed the source for the slmodem. It's a win modem but they have source drivers at their site also have instructions. this is assuming the same modem in yours as mine. http://www.smlink.com/main/index.php

Icefluxx
10-12-2003, 08:47 PM
ive got a 5660. And im using kppp. its very frustrating because everything else is configured as it should be step by step. And all it says is "initializing modem" and doesnt do anything beyond that.

bsmith
10-12-2003, 11:49 PM
have you tried wvdial? maybe the symlinks are bad?

Icefluxx
10-13-2003, 12:02 AM
no i have not...and im not familiar with simlinks..

Icefluxx
10-13-2003, 12:10 AM
I should have no prob with Kppp. Gs, what are you using? this is sooo frustrating. I believe it has something to do with my modem. And no, its not a winmodem (i have a 5660) and everyone else seems to be getting on the net with no problems...this is sooo frustrating...it should be a very simple process. everythings filled in, dynamic ip, dns, phone number (to call pc), the thing is, i dont even get to this point, it just says "modem initializing". What the hell?????

gsferrari
10-13-2003, 01:54 AM
This is insane...

I just reboot my system into Redhat and without warning the damn touchpad starts working!!!!????!!!! :scratch: :eek: :banana: :surreal: :saywhat:

Its not working very well mind...sorta jumps around...but its working!!!! And the best thing is...I didnt do anything about it...didnt even care about it...didnt want it to work..annoyingest piece of **** hardware these touchpads...

Icefluxx
10-13-2003, 10:22 AM
I guess we just have to wait untill laclasse comes back....i just want to get on the net..WITH my mandrake...

NightShade737
10-13-2003, 12:08 PM
Symlinks are basically shortcuts, but rather than just being a redirection, they pretend they are the actual file, i.e. you couldn't open a shortbut in notepad, you would just get the shortcuts info, but if you opened a symlink in Linux it would open as if it was the actual file it was symlinked too.

Useful when you need the same file in multiple places, as it doesn't take up any space.

NS

Icefluxx
10-13-2003, 01:45 PM
going to try kwvdial..now...i have it downloaded, and are there any dependencies or is that it? i hope it is..

chiphart
10-13-2003, 01:54 PM
Have you tried minicom? It'll let you talk directly to the modem...

Icefluxx
10-13-2003, 02:10 PM
umm...not yet. Ill prolly get it. Ill frist need to check to see if its already installed.

whats the command?

Rpm -q minicom?

or is it even in an rpm form?

chiphart
10-13-2003, 02:23 PM
locate minicom

The 'locate' command is your friend! I'll bet it's already installed...

NightShade737
10-13-2003, 03:11 PM
Type

updatedb

before you run locate otherwise the search database may be a bit old.

NS

Icefluxx
10-13-2003, 03:54 PM
for the commands...the whereis command is one i use too

laclasse
10-15-2003, 10:37 AM
Icefluxx : Modem on the 5660 isn't a winmodem ? I thought it was. Haven't looked at all into making the modem work on my 5660, but hey if ya still desperate for it, post a note here and i'll have a look for ya.

Hope that helps.

Icefluxx
10-15-2003, 10:58 AM
Yeah man, im friggin desperate. I can double check, but it may be, i may be wrong. All i can say is it stays in the "modem initializing" when i use kppp. And its frustrating cuz i set it up properly. Name pass, dial number, dns servers....

laclasse
10-16-2003, 07:48 AM
IceFluxx, please post here the ouput of lspci as root for me, thks.

# lspci [enter]

Icefluxx
10-16-2003, 11:27 PM
[root@localhost icefluxx]# lspci
00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 11)
00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 11)
00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02)
00:1f.3 SMBus: Intel Corp. 82801CA/CAM SMBus (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio (rev 02)
00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4c66 (rev 01)
02:04.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394 Controller (PHY/Link) 1394a-2000
02:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C (rev 10)
02:07.0 CardBus bridge: ENE Technology Inc: Unknown device 1410
02:0a.0 USB Controller: VIA Technologies, Inc. USB (rev 50)
02:0a.1 USB Controller: VIA Technologies, Inc. USB (rev 50)
02:0a.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
[root@localhost icefluxx]#

and i do have minicom

bsmith
10-16-2003, 11:55 PM
ok do you have the smart link driver I linked to earlier.
That matches my lspci for the modem. I checked my /dev and I am using ttySL0 as the modem. minicom works fine.

Icefluxx
10-17-2003, 02:19 PM
ill work with the minicom then. ill do some searches on it since im not familiar with its capabilities and how to actually connect.

bsmith
10-17-2003, 08:36 PM
just check your dialer and make sure that it is pointing at ttySL0 and that you have the modem drivers compiled in.

Icefluxx
10-18-2003, 01:11 PM
modem drivers? Ummm...would they be in by default (drake nine)?

bsmith
10-18-2003, 05:23 PM
issue an lsmod and look for a slmdm and a slamr. If they are listed there the drivers are installed and loaded. If they aren't there, look in /usr/src/linux and do a find or slocate for them if they are there modprobe them. If not you got to compile the drivers from smartlink. Also check dev for ttySLx where x=1-5. Also check what /dev/modem is sylinked to.

allofitsik
12-10-2003, 01:48 PM
Well it looks like this thread has gone to the modem topic, but i have a question about the ACPI stuff. I am running rh9 on my 5660 and was actually able to recompile my kernel and supposedly i have ACPI in it now. i am running 2.4.22 with the correct acpi patch. my boot line has 'acpi=on' (even though im betting it defaults to on). i think that my problem may be with apm. i think i read somewhere that you cannot run both. apm is currently working becuase i am getting battery status information. i dont know too much about the '/proc' filesystem but there is an apm file in there but no acpi folder. i dont want to be a retard and post my whole kernel '.config' but i can if anyone thinks that would help. it is a vanilla kernel patched only with ACPI.

Any help you all can give just to get even the processor throttling working would be much appreciate.

--------------------------------------------------------------------------------------------------------------

okay so after plenty of work i have acpi working on my 5660... did anyone else have to use the 'acpi=force' option because it said that their bios was PRE 92... does that mean what i think it means... that the kernel thought my bios was from before 1992? do i have to update it?

also, does anyone have a nice list of commands for acpi? i have really just seen the processor throttling ones. stuff like 'echo -n 6 > /proc/acpi/processor/CPU0/throttling' to throttle the cpu to some state (6=75%) . lets take the "performance" file as an example is there a similar "echo -n 1 >... " command to change to performace state 1? currently my states are identical... how can i change that and WHAT SHOULD THEY BE? for instance this is what my performace listing:
[root@montag CPU0]# cat performance
state count: 2
active state: P0
states:
*P0: 9999 MHz, 99999 mW, 999 uS
P1: 9999 MHz, 99999 mW, 999 uS


so it is in state 0... but look at the CPU information... ( i am assuming the MHz column refers to cpu) does that really say 10GHz as my design cpu speed? and it is set to use 100 watts of power... no wonder my battery goes so quick. oh yeah... and what is a microS?

next onto the throttleing... i can throttle efficiently enough like i said with the echo thing... but when i unplug my lappy it changes to setting T4... once at this setting... it cannot be changed. how can i change that... this is the prime time that i would want to be able to throttle the cpu and it is the only time that i cannot.....

i suppose that everything else is inconsequential... i have no fan info... and what am i going to do about the thermal stuff if i cant change the other things....

i realize that this sounds a lot like a complaint about ACPI, but i like it much better than apm and just want to learn how to use it... so if yall know anything that would be great.