LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-07-2005, 11:23 AM   #1
silkcom
LQ Newbie
 
Registered: Jul 2005
Posts: 6

Rep: Reputation: 0
Setting up my hp pavilion ze4420


Ok, I am trying to move from windows xp to gentoo on my laptop, and runnin into some stumpers.

I'm wondering if anyone has any recent experience with my particular laptop. Someone runnin gentoo on it right now would be way cool.

Here's what specifically doesn't work (however, I'm sure that most of the drivers for my video etc aren't done right):

I want to compile the kernel so that it really does have everything for my hardware, and only stuff for my hardware, nice and clean

I want to find out how to get suspend to work

and it would be nice to otherwise get help .

let me know

-silkcom
 
Old 07-08-2005, 03:59 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
If you post the output of lspci, I can probably help. HP/Compaqs are pretty similar. There are going to be some things that you could build into the kernel that aren't completely necessary. For instance:

Do you really use your 9pin serial ports?
Are you using any add-on pcmcia cards?

Your modem is likely to be NOT supported. (though I really don't think you'd care).

I'll try and help as much as possible. Let me know if you have any questions. I'll lookup your model on HPs website.

<edit>
it looks like it uses the same video chipset as mine, so FYI the s-video output isn't supported

Last edited by musicman_ace; 07-08-2005 at 04:02 AM.
 
Old 07-08-2005, 10:35 AM   #3
silkcom
LQ Newbie
 
Registered: Jul 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Here's my info, sorry if it's too much

<B>LSPCI
----------------------------------------------</b>

0000:00:00.0 Host bridge: ATI Technologies Inc RS200/RS200M AGP Bridge [IGP 340M] (rev 02)
Flags: bus master, 66Mhz, medium devsel, latency 64
Memory at d4000000 (32-bit, prefetchable)
Memory at d0005000 (32-bit, prefetchable) [size=4K]
Capabilities: [a0] AGP version 2.0

0000:00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 340M] (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 99
Bus: primary=00, secondary=01, subordinate=01, sec-latency=68
I/O behind bridge: 00009000-00009fff
Memory behind bridge: d0300000-d03fffff
Prefetchable memory behind bridge: d8000000-dfffffff
Expansion ROM at 00009000 [disabled] [size=4K]

0000:00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company: Unknown device 002a
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at d0000000 (32-bit, non-prefetchable)
Capabilities: [60] Power Management version 2

0000:00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
Subsystem: Hewlett-Packard Company: Unknown device 002a
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at 1000
Memory at d0001000 (32-bit, non-prefetchable) [disabled] [size=4K]
Capabilities: [dc] Power Management version 2

0000:00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
Subsystem: ALi Corporation ALI M1533 Aladdin IV ISA Bridge
Flags: bus master, medium devsel, latency 0
Capabilities: [a0] Power Management version 1

0000:00:08.0 Modem: ALi Corporation M5457 AC'97 Modem Controller (prog-if 00 [Generic])
Subsystem: Hewlett-Packard Company: Unknown device 002a
Flags: medium devsel, IRQ 10
Memory at d0002000 (32-bit, non-prefetchable)
I/O ports at 1400 [size=256]
Capabilities: [40] Power Management version 2

0000:00:0a.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0 CardBus/SmartCardBus Controller
Subsystem: Hewlett-Packard Company: Unknown device 002a
Flags: bus master, stepping, slow devsel, latency 168, IRQ 11
Memory at d0003000 (32-bit, non-prefetchable)
Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
Memory window 0: d0200000-d02ff000 (prefetchable)
Memory window 1: d0100000-d01ff000
I/O window 0: 00001c00-00001cff
I/O window 1: 00001800-000018ff
16-bit legacy interface ports at 0001

0000:00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4) (prog-if fa)
Subsystem: Hewlett-Packard Company: Unknown device 002a
Flags: bus master, medium devsel, latency 32
I/O ports at 2000 [size=16]
Capabilities: [60] Power Management version 2

0000:00:11.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
Subsystem: Hewlett-Packard Company: Unknown device 002a
Flags: medium devsel

0000:00:12.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
Subsystem: Hewlett-Packard Company: Unknown device 002a
Flags: bus master, medium devsel, latency 90, IRQ 10
I/O ports at 2400
Memory at d0004000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2

0000:01:05.0 VGA compatible controller: ATI Technologies Inc Radeon IGP 330M/340M/350M (prog-if 00 [VGA])
Subsystem: Hewlett-Packard Company: Unknown device 002a
Flags: stepping, fast Back2Back, 66Mhz, medium devsel, IRQ 255
Memory at d8000000 (32-bit, prefetchable)
I/O ports at 9000 [size=256]
Memory at d0300000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2


<b>This is the huge lsmod from gentoo's live cd</b>

Module Size Used by
ipv6 185472 10
floppy 44912 0
rtc 8488 0
yenta_socket 14808 1
rsrc_nonstatic 6768 1 yenta_socket
pcmcia_core 27712 2 yenta_socket,rsrc_nonstatic
evdev 6368 0
slamr 297348 0
natsemi 19712 0
parport_pc 27876 0
parport 22088 1 parport_pc
ahci 7604 0
sata_qstor 6100 0
sata_uli 4368 0
sata_sis 4240 0
sata_sx4 9716 0
sata_nv 5620 0
sata_via 5364 0
sata_svw 4596 0
sata_sil 5620 0
sata_promise 6900 0
libata 27700 10 ahci,sata_qstor,sata_uli,sata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil,sata_promise
dm_mirror 15320 0
dm_mod 38080 1 dm_mirror
sbp2 16920 0
ohci1394 25812 0
ieee1394 59704 2 sbp2,ohci1394
sl811_hcd 9392 0
ohci_hcd 15384 0
uhci_hcd 23936 0
usb_storage 47680 0
usbhid 25696 0
ehci_hcd 22872 0
usbcore 75064 7 sl811_hcd,ohci_hcd,uhci_hcd,usb_storage,usbhid,ehci_hcd
livecd gen

let me know if you need anything else.

also, I do use my pcmcia (actually that's been one of the biggest troubles, i use it for a wavebuddy wireless card, ive gotten it to work in suse, but that's about it)

I don't use serial.

thank you,

silkcom
 
Old 07-09-2005, 02:38 AM   #4
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Code:
 
Code Maturity Level Options --->[*] Prompt for development/incomplete code/drivers[*] Select only drivers expected to compile cleanly

General Setup  --->[*] Support for Paging of anaonymous memory[*] System V IPC    [*] BSD Process Accounting[*] BSD Processing Accounting version 3 format[*] Sysctl support[*] Kernel Userspace Events[*] Kernel .config support[*] Enable access to .config through /proc/config.gz

Loadable Module Support --->[*] Enable Loadable Module Support[*] Module Unloading[*] Forced module unloading[*] Automatic kernel module loading

Processor Type & Features --->
  Subarchitecture Type (PC-compatible)
  Processor Family (Athlon,Duron,K7)[*] HPET Timer Support[*] Preemtible Kernel[*] Preempt The Big Kernel Lock[*] Local APIC support[*] IO-APIC support[*] Machine Check Exception[*] Check for non-fatal errors on AMD Athlon/Duron[*] MTRR Support[*] Use register arguments (Experimental)

Power Management Options --->[*] Power Management Support[*] ACPI Support[*] AC Adapter[*] Battery[*] Button[*] Fan[*] Processor

Bus Options --->[*] PCI support
         PCI access mode (any)[*] Legacy /proc/pci interface[*] PCI device name database
      PCCARD (PCMCIA/Cardbus Support) ---->[*] 32-bit cardbus support[*] Cardbus Yenta bridge support

Executable File Formats --->[*] Kernel Support for ELF binaries[*] Kernel Support for a.out & ECOFF binaries[*] Kernel Support for MISC binaries

Device Drivers --->
   Generic Driver Options --->[*] Select only drivers that don't need compile-time external firmware[*] Prevent firmware from being built
   Parrallel Port Support
   [M] Parallel port Support
   Plug & Play support[*] Plug & Play support[*] Plug & Play ACPI support (experimental)
   Block Devices[*] Loopback Device[*] Packet writing on CD/DVD media
   I/O Schedulers ---->[*] Deadline
    ATA/ATAPI/MFM/RLL support ---->[*] Enhanced IDE/MFM/RLL disk.......[*] Include IDE/ATA-2 support[*] Include IDE/ATAPI CDROM support[*] PCI IDE chipset support[*] Generic PCI bus-master DMA[*] USE PCI DMA by default[*] Enable DMA for disks[*] Generic PCI IDE chipset Support[*] generic / default IDE chipset support[*] PNP EIDE support[*] ALI M15x3 chipset support
   SCSI device support ---->[*] SCSI disk support[*] SCSI generic support
   Networking Support ---->[*] Network device support
        Ethernet (10 or 100Mbit) ---->[*] EISA,VLB,PCI & onboard controllers[*] Natinoal Semiconductor DP8381x
   Input device Support ---->[*] Provide legacy /dev/psaux device[*] PS/2 mouse 
   Character Devices ---->[*] Enhanced Real Time Clock[*] /dev/agpgart [*] ATI chipset support[*] Direct rendering Manager[*] ATI Radeon
   I2C Support ---->[*] I2C device interface
       I2C Algorithms ---->[*] I2C bit-banging interface
   Graphics Support ----->[*] VESA VGA graphics [*] ATI Radeon Display Support
       Console Display Driver Support ---->[*] Video mode Selection[*] Framebuffer console support
   Sound ----->[*] Sound Card Support
       Advanced Linux Sound Achitecture ----->[*] Sequencer Support[*] OSS Mixer API[*] OSS Sequencer API
       PCI Devices ---->[*] ALi M5451 PCI Audio Controller

   USB Support[*] USB device filesystem[*] UHCI HCD support[*] USB mass storage support
File Systems ----->[*] Reiserfs support[*] Kernel automounter version 4
   CD/DVD ----->[*] ISO 9660[*] UDF file system
   Pseudo filesystems ----->[*] /proc/kcore[*] Virtual Memory file system support
   Native Language Support ---->[*] Codepage 437 USA[*] ASCII (USA)[*] NLS UTF8
Now, double check everything I've put up there. I'm assuming a few things (filesystem, USB controller, language supports.). Keep your current running kernel and its .config as a backup. There are many options you could enable. I chose the options that I would want on my laptop. This list was generated from the 2.6.12.2 kernel. Some options may not be in your kernel source, or may be experimental in that source. A good idea might be to download the 2.6.12 release and keep your current kernel source tree intact. I take no responsibility if this destroys your data, laptop, life, career, marriage, or standing with God himself. You Have Been Warned.

<EDIT>
You can probably safely leave off some of the generic IDE drivers.

Last edited by musicman_ace; 07-09-2005 at 03:02 AM.
 
Old 07-09-2005, 09:15 AM   #5
silkcom
LQ Newbie
 
Registered: Jul 2005
Posts: 6

Original Poster
Rep: Reputation: 0
excellent, I will try that stuff out. I have 2 kernel boot options anyway, my stable build, and my test build. So that won't be any problem. I'll let you know how it goes.

-silkcom
 
Old 07-11-2005, 07:55 AM   #6
silkcom
LQ Newbie
 
Registered: Jul 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Ok, I tried everything out. Here's what i've noticed:

Finally my console is full screen - awesome

My wireless card still isn't really detected right, and it's telling me that my pcmcia driver module isn't being loaded correctly.

I'm not sure how to add the wireless card at all

My sound isn't working (kde says it's not found)


as a side note, i would like to know how to autologin. I have created a user account that I would like to automatically boot into, and I would like it to boot all the way up to kde (which is my default WM for now). So when I reboot it will completely boot up to kde as my new user.

thanks for the help u've given already.

-silkcom
 
Old 07-11-2005, 08:50 AM   #7
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
For the sound issue, have you followed the alsa guide.

For wireless, which card and what drivers/wrappers are you using.
 
Old 07-11-2005, 09:21 AM   #8
silkcom
LQ Newbie
 
Registered: Jul 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Good point with the sound, ill play with it.

For the wireless, it's the wavebuddy card. It uses the atmel_cs module, but I compiled that into my kernel (is there any reason to make it a module?). I also have emerged the atmel firmware drivers.

Here's what I don't know about (because suse did it for me), I don't know how to add eth1, and make it think that it is the wireless card. When I can get to that point then I can play with it (and probably come back and ask another question here ).

also as i boot the pcmcia says that it can't load yenta_whatever and so it tries to load another module and that doesn't work either? Why would it be trying to load a module if i have it built into the kernel?

-silkcom
 
Old 07-11-2005, 05:02 PM   #9
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
YENTA is the 32-bit cardbus(PCMCIA) slot. If your having problems with yenta, then its likely that your card is fine, but the driver for the PCMCIA is hosed up.

Another reason I have two kernels is because I couldn't get my pcmcia slot to work under the gentoo mm-sources. This is why I always download at least 1 kernel from kernel.org which doesn't include any gentoo specific patches.
 
Old 07-11-2005, 05:12 PM   #10
silkcom
LQ Newbie
 
Registered: Jul 2005
Posts: 6

Original Poster
Rep: Reputation: 0
ok, but it used to come up fine, a couple of compiles ago. I believe that what I did when making your changes was when it happened, but i'll have to check them.
 
  


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
Latest HP Pavilion brk3 Linux - Laptop and Netbook 17 12-29-2006 10:35 PM
Hp Pavilion dv4000 sethians Linux - Laptop and Netbook 17 05-19-2006 09:22 AM
acpi help on hp pavilion ze4420 laptop running on mandrake 9.2 tinabeans Linux - Laptop and Netbook 0 06-14-2004 05:23 PM
HP Pavilion modem witeshark Linux - Hardware 1 02-04-2004 10:28 PM
RH 7.3 and HP pavilion 422 eluka Linux - Hardware 6 08-26-2002 05:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 03:31 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
Open Source Consulting | Domain Registration