Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HP Pavilion zv5380us + AMD64 + ALSA ( snd8x0 )(SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
fasorud
n00b
n00b


Joined: 17 Mar 2005
Posts: 24

PostPosted: Sat Apr 23, 2005 4:46 am    Post subject: HP Pavilion zv5380us + AMD64 + ALSA ( snd8x0 )(SOLVED) Reply with quote

Hey all,

I just got rid of my awesome gentoo x86 partition to replace it with AMD64. Of course (as expected) I ran into problems. I get a "No soundcards found"

Part of my dmesg ( i typed it in btw, cause i'm on my Gentoo desktop):

Quote:

Intel 810 + AC97 Audio, version...
ACPI...
i810: NVIDIA nForce Audio found at IO 0x1c00 and 0x1400, MEM 0x0000 and 0x0000, IRQ 201
i810_audio: Audio Controller supports 6 channels
i810_audio: Defaulting to base 2 channel mode
i810_audio: Resetting connection 0
ac97_codec: AC97 Audio code...
i810_audio: setting clocking to 48648
Advanced Linix Sound Architecture Driver version...
ALSA device list:
No soundcards found


has anyone gotten this running on 64 bit?

Thanks!


Last edited by fasorud on Mon Apr 25, 2005 4:05 am; edited 1 time in total
Back to top
View user's profile Send private message
shade266
Guru
Guru


Joined: 29 Oct 2003
Posts: 593
Location: Internal

PostPosted: Sat Apr 23, 2005 4:45 pm    Post subject: Reply with quote

Did you compile your kernel manually or use genkernel? Can you post the sections of your menuconfig
relevant to your soundcard and Alsa/Oss?
_________________
I've been away for a long time, bear with me.
Back to top
View user's profile Send private message
Janax
Apprentice
Apprentice


Joined: 17 Aug 2004
Posts: 162
Location: Iowa

PostPosted: Sat Apr 23, 2005 4:50 pm    Post subject: Reply with quote

I have a zv5340us and have never had problems with the sound. I started with 2004.3 and now have 2005.0 running. Looking around, I see that I have alsa-libs, alsa-oss, alsa-headers, and alsa-utils packages all built in my system, and I have a custom-built kernel from gentoo-sources-2.6.11-r5 with the intel_8x0 compiled as a module.

Code:

(%:~)- lsmod
Module                  Size  Used by
ndiswrapper           162152  0
snd_ioctl32            28032  0
snd_pcm_oss            57056  0
snd_mixer_oss          20224  1 snd_pcm_oss
snd_seq_oss            36096  0
snd_seq_midi_event      9536  1 snd_seq_oss
snd_seq                59008  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          9808  2 snd_seq_oss,snd_seq
snd_intel8x0           36032  0
snd_ac97_codec         82896  1 snd_intel8x0
snd_pcm               100748  4 snd_ioctl32,snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              27272  2 snd_seq,snd_pcm
snd                    59816  10 snd_ioctl32,snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              12064  1 snd
snd_page_alloc         11080  2 snd_intel8x0,snd_pcm
nls_iso8859_1           5504  1
nls_cp437               7232  1
vfat                   15488  1
fat                    42224  1 vfat
nls_base                9984  4 nls_iso8859_1,nls_cp437,vfat,fat
tsdev                   9024  0
nvidia               4569148  12
psmouse                28876  0
usbhid                 28608  0
ohci_hcd               22664  0
ehci_hcd               34952  0
8139too                27328  0

Code:

(%:~)- uname -a
Linux oculus 2.6.11-gentoo-r6 #3 Mon Apr 11 09:19:01 CDT 2005 x86_64 AMD Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
fasorud
n00b
n00b


Joined: 17 Mar 2005
Posts: 24

PostPosted: Mon Apr 25, 2005 4:20 am    Post subject: Reply with quote

OK I can now see the audio card in the ALSA devices.

Besides the nVidia card, there was another card selected in my kernel which was causing a conflict. Somehow I missed it. Anyway I removed that, recompiled the kernel, and I can now see my card.

I am not sure if it works or not yet but I am going to find out as soon as I figure out how to get the damn nvidia video card working!!!!!

Any help on that will be accpeciated!
If someone can post their xorg.conf That would be nice :)
Back to top
View user's profile Send private message
Janax
Apprentice
Apprentice


Joined: 17 Aug 2004
Posts: 162
Location: Iowa

PostPosted: Mon Apr 25, 2005 2:26 pm    Post subject: Reply with quote

Here is mine...

Code:

# startx -- -layout twinview

Section "Files"
        FontPath        "unix/:7100"                    # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/share/fonts/corefonts"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/75dpi"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
EndSection
# Comment out some modules - functionality is provided by nvidia
Section "Module"
#       Load    "GLcore"
#       Load    "synaptics"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
#       Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
EndSection

Section "Extensions"
        Option "Composite"      "true"
        Option "RENDER"         "true"
EndSection

Section "InputDevice"
        Identifier      "HP Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us"
        Option          "XkbOptions"    "grp:shift_toggle,grp_led:scroll"
EndSection


# These parameters obtained from a mailing list post somewhere...
#Section "InputDevice"
#       Identifier      "Alps Touchpad"
#       Driver          "synaptics"
#       Option          "CorePointer"
#       Option          "Device"                "/dev/input/event2"
#       Option          "Protocol"              "auto-dev"
#       Option          "LeftEdge"              "60"
#       Option          "RightEdge"             "830"
#       Option          "TopEdge"               "70"
#       Option          "BottomEdge"            "650"
#       Option          "FingerLow"             "25"
#       Option          "FingerHigh"            "30"
#       Option          "MaxTapTime"            "180"
#       Option          "MaxTapMove"            "110"
#       Option          "EmulateMidButtonTime"  "75"
#       Option          "VertScrollDelta"       "50"
#       Option          "HorizScrollDelta"      "50"
#       Option          "MinSpeed"              "0.2"
#       Option          "MaxSpeed"              "0.5"
#       Option          "AccelFactor"           "0.01"
#       Option          "EdgeMotionSpeed"       "40"
#       Option          "UpDownScrolling"       "1"
#       Option          "TouchpadOff"   "0"
#EndSection

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

# This section is only used for non-twinview layout
Section "Modes"
        # Here is the optimal mode: 1280x800 @ 60.0Hz
        Identifier "16:10"
        # 1280x800 @ 60.00Hz (GTF) hsync: 49.68kHz; pclk: 83.46MHz
        ModeLine "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
EndSection

# Twinview setup
# The external monitor is configured to pan to the full resolution of
# the internal LCD.
Section "Device"
        Identifier      "NVidia GeForce4 440 Go 64M Twin"
        Driver          "nvidia"
        Option          "NvAgp"                 "3"
        Option          "NoLogo"                "0"
        Option          "UseEdidFreqs"          "1"
        Option          "FlatPanelProperties"   "Scaling = aspect-scaled"
        Option          "TwinView"              "1"
        Option          "TwinViewOrientation"   "Clone"
        Option          "SecondMonitorHorizSync"        "30-90"
        Option          "SecondMonitorVertRefresh"      "50-75"
        Option          "MetaModes"             "1024x768 @1280x800,1280x800 @1280x800"
        Option          "NoRenderExtension"     "false"
#       Option          "RenderAccel"           "true"
        Option          "AllowGLXWithComposite" "true"
        Option          "CursorShadow"          "true"
        Option          "CursorShadowAlpha"     "32"
        Option          "BackingStore"          "true"
EndSection

# Non-twinview setup
Section "Device"
        Identifier      "NVidia GeForce4 440 Go 64M"
        Driver          "nvidia"
        Option          "NvAgp"                 "3"
        Option          "NoLogo"                "0"
        Option          "UseEdidFreqs"          "1"
#       Option          "IgnoreEdid"            "1"
        Option          "FlatPanelProperties"   "Scaling = aspect-scaled"
# Added from http://forums.gentoo.org/viewtopic-t-319201.html?sid=05c8153cd8706cf853db374f41e16023
        Option          "NoRenderExtension"     "false"
#       Option          "RenderAccel"           "true"
        Option          "AllowGLXWithComposite" "true"
        Option          "CursorShadow"          "true"
        Option          "CursorShadowAlpha"     "32"
        Option          "BackingStore"          "true"
EndSection

# This monitor is only needed in the non-twinview setup
Section "Monitor"
        Identifier      "WXGA LCD"
        UseModes        "16:10"
        HorizSync       30-90
        VertRefresh     50-75
        Option          "UseEdidFreqs"          "1"
        Option          "FlatPanelProperties"   "Scaling = aspect-scaled"
EndSection

# In twinview, the external monitor is the primary and the laptop
# LCD is the secondary.  The modeline here is not needed for the
# external monitor, but gets passed to the nvidia driver, which
# needs it for the internal LCD
Section "Monitor"
        Identifier      "External"
#       ModeLine "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828
        ModeLine "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
#       Option          "UseEdidFreqs"          "1"
        Option          "UseEdidFreqs"          "1"
EndSection

Section "Screen"
        Identifier      "External Screen"
        Device          "NVidia GeForce4 440 Go 64M Twin"
        Monitor         "External"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1024x768" "800x600" "640x480"
        Virtual 1280 800
        EndSubSection
EndSection

# This screen is only used in the non-twinview layout
Section "Screen"
        Identifier      "WXGA Screen"
        Device          "NVidia GeForce4 440 Go 64M"
        Monitor         "WXGA LCD"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1280x800"
        Virtual 1280 800
        EndSubSection
EndSection

Section "ServerLayout"
#       Identifier      "twinview"
        Identifier      "Default Layout"
        Screen          "WXGA Screen"
        InputDevice     "HP Keyboard"
#       InputDevice     "Alps Touchpad"
        InputDevice     "USB Mouse"
EndSection

Section "ServerLayout"
#       Identifier      "Default Layout"
        Identifier      "twinview"
        Screen          "External Screen"
        InputDevice     "HP Keyboard"
#       InputDevice     "Alps Touchpad"
        InputDevice     "USB Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection


Note that "RenderAccel" is turned off. Right now there seems to be a problem with the kde 3.4 splashscreen, locking the display. It works fine under other WMs, I believe, though I've only tried blackbox.

I've also disabled the "Alps Touchpad" device since I've been too lazy to fix it up after 2.6.10 came out. It merged the syaptics kernel patches directly into the kernel, causing the driver version to mismatch and thust stop working temporarily. I'm sure it's fixed by now though, and I guess I should go about re-enabling it...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum