amilo-forum.de

Inoffizielles Forum rund um die Notebooks der Amilo- und Lifebook-Serien von Fujitsu

Linux auf amilo M3438G

Alle Fragen, die sich speziell um Linux oder andere Unix-ähnliche Betriebssysteme drehen.

Beitragvon cybercoder » 18.09.2005 02:08

timmhelbig hat geschrieben:Realtek did something..... and they did :D Go to the realtek site and download the Linux Driver:
http://www.realtek.com.tw/downloads/dlh ... tware=True

This is quite funny: I also read about the RealTek drivers and tried the drivers...
...but they didn't work for me! - No Errors, but also no Sound.
I don't remember why I tried these drivers also, maybe I thought I could get the Master-Mute Toggle in the mixer, which didn't appear, but afterwards I called lshw ( = List Hardware, you can emerge lshw if you use gentoo) and found out my soundchip is an Intel 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller.

So it seems that Siemens/Fujitsu used two different sondchips for the different versions of the Amilo M3438 Series.

To find out, which Hardware you exactly have, install lshw, this really lists your Hardware in the format you like it.
(Gentooers do an "emerge lshw")

I would say: KLG, you have already installed my alsa-cvs-update script, so why wait for days:
Code: Alles auswählen
emerge --unmerge alsa-driver alsa-lib alsa-util
emerge cvs
cd /usr/src/alsa;        # I think you already created that directory
/usr/src/alsa/alsa-cvs-update
alsaconf
reboot

Just enter these few lines and try it...
If that won't work, then try the RealTek packet.

Don't wait...
...just enter the few lines ;-)

yours Henri
cybercoder
 
Beiträge: 17
Registriert: 05.07.2005 00:16

Beitragvon timmhelbig » 18.09.2005 13:51

This is quite funny: I also read about the RealTek drivers and tried the drivers...


Did you tried the Version 3.4.0 from 12 September?

So it seems that Siemens/Fujitsu used two different sondchips for the different versions of the Amilo M3438

This is my output from lspci:
Code: Alles auswählen
0000:00:1b.0 Class 0403 Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 4)

So seems to be different?

If you open alsamixer it shows you on the top left of the screen what chipset it recognized. I have a Realtek ALC880.

Did you compiles everything? I means alsa-driver, alsa-lib, alsa-tools?
There is no master volume, the control for the Speakers is "External Speaker". Check the headphones. From which plug will you hear sound?

Also check, that soundcore is either compiled into kernel or available as a module. Everything else under Alsa or OSS must be out. Check in your modules directory, that all stuff from previous build attempts.

I used the install script from realtek. I recommend this, because using a different prefix will not work unless you edit the alsasound init.d script.

emerge --unmerge alsa-driver alsa-lib alsa-util


That's a start, but must be completet with
Code: Alles auswählen
emerge --unmerge alsa-headers

[/code]
Zuletzt geändert von timmhelbig am 19.09.2005 12:26, insgesamt 1-mal geändert.
Timm
timmhelbig
 
Beiträge: 4
Registriert: 17.09.2005 16:33

Beitragvon corrosif » 18.09.2005 21:32

Cybercoder,

I am also an owner of a FS Amilo M3438G-75005.
I tried your idea to install the cvs version of alsa.
I am currently running a gentoo-sources-2.6.13-r1 (with only core sound support enabled, no alsa).
I carefully unmerged alsa-*

And then I ran:

Code: Alles auswählen
$ cd /usr/src
$ mkdir alsa
$ cd alsa
$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/alsa co .
$ make


I then edited my /etc/modules.d/alsa to have the following:

Code: Alles auswählen
alias char-major-116 snd
alias char-major-14 soundcore

alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-card-0

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

options snd cards_limit=1


And finally:

Code: Alles auswählen
$ rc-update add alsasound boot
$ /etc/init.d/alsasound start
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
 *   Loading: snd-seq-oss ...
 *   Loading: snd-pcm-oss ...
 *   Error: Failed to load necessary drivers
 *   Restoring Mixer Levels ...
 *   No mixer config in /etc/asound.state, you have to unmute your card!


What could I have forgot to have such an error?
S'il n'y a pas de solution, alors il n'y a pas de problème (logique Shadok).
corrosif
 
Beiträge: 5
Registriert: 18.09.2005 21:22

Beitragvon corrosif » 18.09.2005 21:36

Sorry, my failure... snd-intel8x0 was not the right choice (the good one was snd-hda-intel).
I launched alsaconf, and it detected properly my card.
Many thanks for your advice, now I will see if I can play a sound.
S'il n'y a pas de solution, alors il n'y a pas de problème (logique Shadok).
corrosif
 
Beiträge: 5
Registriert: 18.09.2005 21:22

Beitragvon corrosif » 18.09.2005 21:59

Well it *still* doesn't work!
I get this when trying to start alsa:

Code: Alles auswählen
$ /etc/init.d/alsasound start
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
WARNING: Error inserting snd_timer (/lib/modules/2.6.13-gentoo-r1/alsa-driver/acore/snd-timer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.13-gentoo-r1/alsa-driver/acore/snd-pcm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
...
 * Error: Failed to load necessary drivers
 * Restoring Mixer Levels ...
 * No mixer config in /etc/asound.state, you have to unmute your card!


Any idea, someone?
May it be due to the fact that I generated my kernel using genkernel?
S'il n'y a pas de solution, alors il n'y a pas de problème (logique Shadok).
corrosif
 
Beiträge: 5
Registriert: 18.09.2005 21:22

Beitragvon corrosif » 18.09.2005 22:51

I solved my problem by doing the following.
First, I cleaned all the mess in my modules:

Code: Alles auswählen
$ rm -rf /lib/modules/2.6.13-gentoo


Then I rebuild my kernel:

Code: Alles auswählen
$ genkernel all


And reemerged all binary drivers:

Code: Alles auswählen
$ emerge ieee80211 ipw2200 ipw2200-firmware nvidia-kernel


I reinstalled the alsa drivers (keeping my old config):

Code: Alles auswählen
$ cd /usr/src/alsa
$ make
$ rc-update add alsasound boot


And immediately rebooted...
Now alsa loads fine, without errors, and xmms can play files without complaining.
Anyway, I still don't hear anything... although I have tried to unmute channels via alsamixer (Headphone is off - how can we put it on? - and PCM is 100%).

One more thing: the first times I tried to use xmms with alsa support, it told me that:

Code: Alles auswählen
** WARNING **: alsa_setup_mixer(): Failed to find mixer element: PCM


... but now, strangely, it doesn't complain anymore (but I still can't hear anything through the loudspeakers).

P.S.: through lshw, I saw that I had also an Intel 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller.
S'il n'y a pas de solution, alors il n'y a pas de problème (logique Shadok).
corrosif
 
Beiträge: 5
Registriert: 18.09.2005 21:22

Beitragvon timmhelbig » 19.09.2005 12:25

Headphone is off - how can we put it on? - and PCM is 100%

Either unmute the Headphone control or try the other plug. That means plug your headphone into the microphone plug. If you hear something, the driver seems not be ready, that was the behaviour that I had before using the "right" drivers.

I recommend that you go to the Realtek webiste and try their drivers. At least for me it's working. These are patched drivers 1.0.9.
Timm
timmhelbig
 
Beiträge: 4
Registriert: 17.09.2005 16:33

Beitragvon cybercoder » 19.09.2005 13:39

@corrosif:

Again:
run alsaconf after recompiling alsa in /usr/src/alsa !

snd-timer needs the realtime-clock (RTC) enabled in the kernel.
You probabely forgot to check it in the kernel sources?
Or it is compiled as a module and not loaded at startup?
Find it under Device-Drivers -> Character-Devices.

To make a fast test where to find a module and see if it is installed, run...

make menuconfig
...and then enter: /RTC

The / with a searchword afterwards let's you search for modules and shows some info about it.

If you recompiled the kernel, you MUST also recompile the alsa sources!

Hope this helps,
yours Henri
cybercoder
 
Beiträge: 17
Registriert: 05.07.2005 00:16

Beitragvon KLG » 19.09.2005 15:04

when i unmerged alsa-lib and make a revdep-rebuild i get a missing libasound.so error and it brakes. If i execute the script, will this problem be fixed automatically, or the dependencies work only with gentoo alsa-lib ebuild?
KLG
 
Beiträge: 18
Registriert: 17.07.2005 20:53

Beitragvon corrosif » 19.09.2005 18:29

Thank you cybercoder... I forgot in fact to launch alsaconf again (I thought it only modified /etc/modules.d/alsa).

Now I have sound working and I can hear it :)

By the way, is it normal that the volume control button on the left side of the Amilo (the plastic one :) ) doesn't affect the volume under linux?
I can only affect volume under alsamixer...
S'il n'y a pas de solution, alors il n'y a pas de problème (logique Shadok).
corrosif
 
Beiträge: 5
Registriert: 18.09.2005 21:22

Beitragvon cybercoder » 19.09.2005 20:01

timmhelbig hat geschrieben:This is my output from lspci:
Code: Alles auswählen
0000:00:1b.0 Class 0403 Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 4)

So seems to be different?

If you open alsamixer it shows you on the top left of the screen what chipset it recognized. I have a Realtek ALC880.


My alsamixer says:
Card: HDA Intel
Chip: Generic 163c Si3054

So it really seems that they used at least two different soundchips.

yours Henri
cybercoder
 
Beiträge: 17
Registriert: 05.07.2005 00:16

Beitragvon KLG » 20.09.2005 00:42

No, no no no no. It just can't work

In detail:
1. my lspci shows
Code: Alles auswählen
0000:00:1b.0 Class 0403: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)


2. Kernel 2.6.13r1

3. I couldn't make henri's script working, but i manually used alsa-cvs to downloas drivers, kernel, utils. etc .. nothing could compile correctly, so i downloaded and manually installed alsa-1.0.10rc1 ...

(Cleared modules, re make kernel etc)

When i run alsaconf i get an " i can load snd*** module" error, i managed to stop that by copying
Code: Alles auswählen
         
          alias char-major-116 snd
          alias snd-card-0 snd-xxxx     
       
          alias char-major-14 soundcore
          alias sound-slot-0 snd-card-0
 
          alias sound-service-0-0 snd-mixer-oss
          alias sound-service-0-1 snd-seq-oss
          alias sound-service-0-3 snd-pcm-oss
          alias sound-service-0-8 snd-seq-oss
          alias sound-service-0-12 snd-pcm-oss


to /etc/modules.d/alsa and /etc/modprobe.conf

then run alsaconf and everything ok

the problem is that when i run alsamixer i also saw

Code: Alles auswählen
Card: HDA Intel
Chip: Generic 163c Si3054


and i have no sound, speakers don't work, and when I connect external speakers, they don't work either

But when i emerged the alsa-driver from gentoo portage and run alsamixer i saw:
Code: Alles auswählen
Card: HDA Intel
Chip: ALC880


and i had sound working, (no internal speakers) only external (connected in microphone)

What is going on? which driver do u compile??????

How can i use these realtek patches? what do i dow with hda_codec.c and patch_realtek.c ????
KLG
 
Beiträge: 18
Registriert: 17.07.2005 20:53

Beitragvon cybercoder » 20.09.2005 02:36

Oh, NOoooooo!

that's not true? - Is it? - And I wrote so many hints, scripts...

. . . O.K. . . . Please, wait a few days...
... I'll try to make you an gentoo-laptop-workstation-beginners script!
(But in the meanwhile : recompile your kernel, check RTC (RealTimeClock) is checked and ask me why you couldn't get my script running, what's the problem?... No problem to ask, I will help you and you'll help the next one with what you've learned then.)

Hey: Why do you laugh? gentoo-laptop-workstation-beginners system just means to create a basic running system with network, firewall, sound and video.

But please give me a few days,
(I fortunately at the moment also have some customers and a girlfriend to satisfy ;-) )

yours Henri
cybercoder
 
Beiträge: 17
Registriert: 05.07.2005 00:16

Beitragvon KLG » 20.09.2005 03:45

nah, don't get dissapointed, after we discovered 2-3 gentooists ewith the same laptop....

About your script:
after i logged in alsa-cvs i couln't do anything..
i decided to run the commands manually, and instead of
Code: Alles auswählen
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/alsa co .


i did

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/alsa alsa-kernel alsa-driver alsa-lib alsa-utils

and everything was downloaded, after i started making and compiling but it failed... dunno why...

... dont take the blame on you.

amyway what audio chipset am i using? from windows i see realtek alc880 and now new alsa drivers got me this #@$!$ . i am using realtek linux drivers and will posr results
KLG
 
Beiträge: 18
Registriert: 17.07.2005 20:53

Beitragvon KLG » 20.09.2005 03:50

YEEEEEEEEEEEEEEEEEEEEEESSSSSSSS

Realtek worked
i am so excited!!!!

In Greece it is 04:43 AM and i was testing sound with a katatonia mp3, and it was very loud......

it very strange that i get errors when loadin alsasound, but!!!! i habe sound
KLG
 
Beiträge: 18
Registriert: 17.07.2005 20:53

VorherigeNächste

Zurück zu Linux / Unix / BSD