Help - Search - Members - Calendar
Full Version: New Laptop, Old Linux
Scot's Newsletter Forums > Main > All Things Linux
ross549
http://forums.scotsnewsletter.com/index.php?showtopic=18213

So, my new massive behemoth laptop came in today. Nice!

Since I am not currently on broadband, I had someone send me some linux CDs in the mail, but they have yet to arrive. Last night, because i knew the laptop was coming I downloaded xubuntu, and birned it to disc, so i could boot this laptop for the first time in linux. Everything worked well, with the exception of sound.

I played around in Vista for a while, which was, to put it mildly, painful. Not very well programmed, IMO. sad.gif

I thought (when i got home from work)..... why not go ahead and move my old hard drive over and adapt my current 6.06 release over to the new laptop?

Well, it worked.... about 80%. I had to reconfigure xorg, and got a working screen, but no nividia driver is present, nor is sound working.

I am using this page to try to get alsa working..... https://help.ubuntu.com/community/HdaIntelSoundHowto

I will post my experience here as i go.... We shall see! wink.gif

Adam
ross549
CODE
<adam> holy crap
<adam> I just compiled something


This is from an IRC channel I live at. This is the first time I have compiled anything! w00t.gif

Adam
LilBambi
You 'ole, errr, young geek you! thumbsup.gif
ross549
Notes for troubleshooting:

CODE
adam@babyblue:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.13.
Compiled on Mar 28 2007 for kernel 2.6.15-28-386.

CODE
adam@babyblue:~$ cat /proc/asound/card0/codec#0 Codec: Conexant ID 5045
Address: 0
Vendor Id: 0x14f15045
Subsystem Id: 0x1179ff31
Revision Id: 0x100100
Default PCM: rates 0x140, bits 0x0e, types 0x1
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x10 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
  Amp-Out vals:  [0x2b 0x2b]
  Pincap 0x0810014: OUT EAPD Detect
  Pin Default 0x95170110: [Fixed] Speaker at Int Top
    Conn = Analog, Color = Unknown
  Pin-ctls: 0x40: OUT
  Power: 0x0
  Connection: 2
     0x19* 0x17
Node 0x11 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
  Amp-Out vals:  [0xab 0xab]
  Pincap 0x08113c: IN OUT HP Detect
  Pin Default 0x4221101f: [N/A] HP Out at Ext Front
    Conn = 1/8, Color = Black
  Pin-ctls: 0x00:
  Power: 0x0
  Connection: 2
     0x19* 0x17
Node 0x12 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
  Amp-Out vals:  [0xab 0xab]
  Pincap 0x08113c: IN OUT HP Detect
  Pin Default 0x02811020: [Jack] Line In at Ext Front
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Power: 0x0
  Connection: 2
     0x19* 0x17
Node 0x13 [Pin Complex] wcaps 0x400301: Stereo Digital
  Pincap 0x0810: OUT
  Pin Default 0x02441140: [Jack] SPDIF Out at Ext Front
    Conn = RCA, Color = Black
  Pin-ctls: 0x00:
  Connection: 1
     0x18
Node 0x14 [Pin Complex] wcaps 0x400081: Stereo
  Pincap 0x081124: IN Detect
  Pin Default 0x02a1102e: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Black
  Pin-ctls: 0x24: IN
Node 0x15 [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x0820: IN
  Pin Default 0x59330060: [N/A] CD at Int ATAPI
    Conn = ATAPI, Color = Unknown
  Pin-ctls: 0x00:
Node 0x16 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
  Amp-Out caps: ofs=0x07, nsteps=0x07, stepsize=0x0b, mute=1
  Amp-Out vals:  [0x06]
Node 0x17 [Audio Mixer] wcaps 0x20050b: Stereo Amp-In
  Amp-In caps: ofs=0x14, nsteps=0x2b, stepsize=0x05, mute=1
  Amp-In vals:  [0x94 0x94] [0x94 0x94] [0x94 0x94] [0x94 0x94] [0x94 0x94]
  Power: 0x0
  Connection: 5
     0x19 0x14 0x12 0x11 0x15
Node 0x18 [Audio Output] wcaps 0x211: Stereo Digital
  PCM: rates 0x040, bits 0x06, types 0x5
Node 0x19 [Audio Output] wcaps 0xc11: Stereo
  PCM: rates 0x540, bits 0x0e, types 0x1
  Power: 0x0
Node 0x1a [Audio Input] wcaps 0x100d0b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x17, stepsize=0x05, mute=1
  Amp-In vals:  [0x17 0x17] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]
  Power: 0x0
  Connection: 5
     0x17 0x14* 0x12 0x11 0x15
Node 0x1b [Vendor Defined Widget] wcaps 0xf00000: Mono

CODE
adam@babyblue:~$ lspci | fgrep Audio 0000:00:1b.0 0403: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
ross549
OK,

I have compiled a newer version of the alsa driver for my system. it looks like the driver is being loaded, and that everything is as it should be, but I am not getting a peep out of the speakers. This is very confusing....... sad.gif
ross549
From what I am reading... this issue seems to be tied to the specific codec being used on the sound chip in this laptop. I am researching in the alsa bug tracker and the mailing list... hopefully something will turn up.

Adam
ross549
Hold the presses!

I have sound in XMMS (using OSS), VLC, and in th flash plugin. I think that is good enough for this tired old distro. tongue.gif

Now to move on to instaling the nvidia driver.

Adam
rolanaj
Hey congrats on getting sound.
ross549
Thanks! I also have installed the nvidia driver via Automatix. smile.gif

Adam


QUOTE
Scot's Newsletter Forums does not encourage or condone violating any law regarding copyright or DRM/DMCA (U.S. Digital Millennium Copyright Act) in the USA, or similar laws that may exist in other countries. Some of the software mentioned in this thread may be illegal to use in your location. Copying certain CDs/DVDs may also be illegal in your location. Even if you may believe these laws to be unconstitutional, unethical, silly, and a violation of consumer fair use rights, please check the laws for your location before following the advice in this thread. . . . . .
-- Forum Admins & Moderators
zlim
Eventually, when you get a picture of the new laptop posted at cowsmilk, post the link so we all can drool over the new gear and maybe get a whiff of that new computer smell. hysterical.gif
Malachite
Hey Adam,

Congrats on the new laptop. You actually saved up for it rather than maxing out your credit cards? COOL!!! My new laptop arrives tomorrow but it's specs are nowhere near yours. I'm envious. icon8.gif I wouldn't call 6.06 a "tired old distro". Keep us posted as to how it all goes.
I remember Eric started a thread about how many frames per second his distros could do. I think it was using the command "glxgears -printfps". How many frames does your new laptop do per second - a gazillion? hysterical.gif
Good luck!

Malachite
ross549
Thanks, Malachite. smile.gif

As per your request......

CODE
42848 frames in 5.0 seconds = 8569.574 FPS
44697 frames in 5.0 seconds = 8939.386 FPS
44812 frames in 5.0 seconds = 8962.210 FPS
44701 frames in 5.0 seconds = 8940.164 FPS


Nice and fast...... whistling.gif

Adam
Bruno
QUOTE (ross549 @ Mar 28 2007, 11:56 PM) *
Well, it worked.... about 80%. I had to reconfigure xorg, and got a working screen, but no nividia driver is present, nor is sound working.
Not bad at all Adam !

QUOTE (ross549 @ Mar 29 2007, 01:28 AM) *
Hold the presses!
I have sound in XMMS (using OSS), VLC, and in th flash plugin. I think that is good enough for this tired old distro. tongue.gif
Now to move on to instaling the nvidia driver.
Even better !

QUOTE (ross549 @ Mar 29 2007, 01:48 AM) *
Thanks! I also have installed the nvidia driver via Automatix. smile.gif
And: Hurrray !! We have a winner !!! Congrats with your laptop Adam thumbsup.gif


cool.gif Bruno
striker
This has to be a ten pound hammer machine ! I would sure like to see that one in action ! wink.gif
Congrats Adam on your new laptop, may it shine and fly thumbsup.gif
ross549
QUOTE (Bruno @ Mar 29 2007, 01:08 AM) *
And: Hurrray !! We have a winner !!! Congrats with your laptop Adam thumbsup.gif


We are certainly close. I would be more happy if whatever broken part of the sound system was fixed...... wink.gif

But since I will be away for a couple months very soon........ I wil have to live with it.

Adam


PS- I also need to move my install over to the new drive, since I am using the old one right now. That's gonna be fun........
BarryB
Adam

Congrats on the new arrival! Nothing like the joy of a new system to play with! biggrin.gif
ross549
Thanks! smile.gif

Adam
BarryB
I know the feeling, just got my new toy monday...(LOL wife is about done with me and computers... hysterical.gif )
ross549
I can imagine!

OK, I now have a somewhat challenging task ahead of me.......... I want to try to migrate this entire Ubuntu to the new hard drive. Assuming this is possible using a USB ext enclosure, I am guessing that the process would simply be

1. Copy the entire root over.
2. Installing GRUB to the MBR of the new drive
3. Adapting fstab

Taking into account, of course, the new partition numbers. Am I missing anything at all?

Adam
ross549
Got my bundle 'o distros in the mail today. PCLos 2007 TR3 boots up and detects the video, wireless and everything else correctly, with the exception of sound. My speakers have not made a peep. I kind of knew this would be a problem, based on the problems I had getting it going in Ubuntu.

We shall see how my other distros fare.

Adam
Bruno
QUOTE (ross549 @ Mar 30 2007, 07:10 PM) *
Am I missing anything at all?
Adapting fstab maybe ??


cool.gif Bruno
ross549
QUOTE
1. Copy the entire root over.
2. Installing GRUB to the MBR of the new drive
3. Adapting fstab


Hehehehe, Bruno..... that is what I meant..... tongue.gif

Tried Linux Mint. Not bad, again, no sound, but since it is based on Ubuntu I could have figured it out eventually. In any case, i was not able to get online, since kppp was not installed , and I need to feed my cellular card a specific command to get online.

I have Ubuntu Edgy and Ubuntu Ultimate left... and hoping I get better results with one of those. i may have to download the Feisty Beta tonight too.... gonna take about 12 hours......

Adam
Bruno
QUOTE (ross549 @ Mar 30 2007, 10:27 PM) *
Hehehehe, Bruno..... that is what I meant..... tongue.gif

hysterical.gif . . . . . . . LOL . . . . nice try Adam !! . . . . hysterical.gif
( I had to check my mail to verify if i had missed something wink.gif )


cool.gif Bruno
ross549
biggrin.gif

Off to try Edgy.... wish me luck!

Adam
ross549
No sound in Edgy..... a friend is grabbing the Feisty Beta for me.... he has highspeed internet. We'll see. smile.gif

Adam
ross549
Feisty may be the ticket....... I saw this in a commit log for 2.6.20, which Feisty runs.....

CODE
commit 82f30040ada635d5d42a244b6eb84607d9881f5a
Author: Tobin Davis <tdavis@dsl-only.net>
Date:   Tue Feb 13 12:45:44 2007 +0100

    [ALSA] hda-codec - More fixes for Conexant HD Audio support
    
    Renamed Conexant 5045 to CX20549 (Venice) per Conexant Documentation
    Renamed Conexant 5047 to CX20551 (Waikiki) per Conexant Documentation
    Fixed automute on HP Laptops with CX20551 codec.
    Fixed recording issues on Toshiba Satelite P100/P105 series laptops
    Added HP DV8000, DV2000Z, Fujitsu Si1520 support
    More work to be done on CX20549 based systems, but CX20551 Systems are
    much better now.
    
    Signed-off-by: Tobin Davis <tdavis@dsl-only.net>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Jaroslav Kysela <perex@suse.cz>


We shall see. I may have to compile my own kernel too *shudder*

Adam
ross549
Ah ha!

https://launchpad.net/ubuntu/+source/linux-...6.20/+bug/76741

The feisty download is almost done We'll see how well it works. smile.gif

Adam
Bruno
QUOTE (ross549 @ Mar 31 2007, 01:36 AM) *
Ah ha!

https://launchpad.net/ubuntu/+source/linux-...6.20/+bug/76741

The feisty download is almost done We'll see how well it works. smile.gif

Adam
A bug in Alsa ?? . . . . . No wonder all those distros you tested had no sound . . . . wink.gif
Well, it means that there is hope the sound will work in the next versions thumbsup.gif


cool.gif Bruno
ross549
It's not really a bug, so much as it is a new chip that has not been fully supported at all in the main kernel tree. I just got an e-mail from Tobin Davis, who has been working on the issue. He sent me the patch to make it work, as well as instructions. I will keep everyone posted. smile.gif

Adam
Urmas
QUOTE (ross549 @ Mar 31 2007, 02:01 PM) *
I just got an e-mail from Tobin Davis, who has been working on the issue. He sent me the patch to make it work, as well as instructions.


How was it again? Oh yeah... Linux = no support. Yes, that was it. hysterical.gif
ross549
Yeah, I know. biggrin.gif

All this patching, compiling, and repatching is making me hungry. Time to get some breakfast!

wink.gif

Adam
securitybreach
I do not understand why your audio does not work. I bought the same laptop about 4 months except I got the Intel 945gm graphics with 128 shared and the 120 gb hdd. Well now that I look at it, it must be different because mine has the Intel HD Audio with the harmon/kardon speakers instead of the Conexant HD Audio. Also, I was wondering does your laptop run hot most of the time? I average about 107F when doing normal tasks.
ross549
Do this command:

CODE
cat /proc/asound/card0/codec#0


to see what your codec chip is.

My laptop does not run hot at all.

Adam
securitybreach
Mine uses the Realtek ALC861 codec. If you think thats hot you should see when I convert an avi to a dvd, it usually gets at about 125F. Gotta love having the fan on the bottom.

Thanks
ross549
Yours and mine use different motherboards. You have Intel Graphics, I have nvidia. You have a realtek chip, I have a Conexant.

It turns out that in order to have sound, I have to leave ACPI disabled. Now the fan runs all the time... not a big deal because it is not loud at all.

The problem is not with the sound chip, since that issue has ben fixed in the latest release of the alsa software. It is the way that ACPI is implemented on my computer. If there was one available, I would grab a DSDT file from http://acpi.sourceforge.net/index.html and I may have good results.

Oh, well. At least I know what is working and what is not here.

Adam
ross549
More progress!

I discovered (don't ask me how) that KDE does allow you to send sound events through OSS if you want. Since my KDE setup was broken before, I went in and blew the .kde folder away, and logged in, and set everything up.

So, I now have sound events, such as when someone pings my chat and IM windows, as well as the logon and logoff sounds.

I think I am about 98% there with a working linux system, if the band-aids hold well over the next few weeks. biggrin.gif

Adam
Bruno
QUOTE (ross549 @ Apr 1 2007, 12:12 AM) *
So, I now have sound events, such as when someone pings my chat and IM windows, as well as the logon and logoff sounds.

That means the aRts soundsystem is working ! ( /usr/bin/artsplay )


cool.gif Bruno
ross549
Even more news!

If I disable ACPI at boot, I have sound in PCLos! Wow! I am impressed. smile.gif

Adam
LilBambi
thumbsup.gif

Yea! biggrin.gif

And just in time too!! You take off on your 'cruise' tomorrow!!
Bruno
QUOTE (ross549 @ Apr 1 2007, 03:39 PM) *
Even more news!

If I disable ACPI at boot, I have sound in PCLos! Wow! I am impressed. smile.gif
thumbsup.gif Hurrrray !!! . . . . . Congrats Adam !


cool.gif Bruno
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.