It is currently Thu May 23, 2013 11:23 pm

All times are UTC




Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: [solved] no sound on "compal IFL90" notebook
PostPosted: Fri Jan 11, 2008 10:01 am 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Wed Jun 06, 2007 4:18 pm
Posts: 122
Hi,

I installed Zenwlak 5.0 béta and Zenwalk 4.8 (with "alsa" upgrade) on the "compal IFL90" notebook, but the twice I have no sound :(
Zenwalk 5.0 use the last version of "alsa" :
http://www.alsa-project.org/main/index.php/Main_Page

On Internet, I often found this solution to add the line "options snd-hda-intel model=XXXXXX" in the file "/etc/modprobe.d/sound",
but is "/etc/modprobe.d/sound" the good file with Zenwalk ?
Or have I to use an another file for that ?

examples of models were found here :
http://www.mjmwired.net/kernel/Document ... ration.txt
The driver used is "snd-hda-intel" and the chipset is "ALC268" :)

These commands work fine without error :
- speaker-test
- play an_audio_file.xxx
- aplay an_audio_file.xxx
- cat an_audio_file.xxx > /dev/dsp

but ....... without sound :(

Any idea to solve this problem ?
Thanks :)


Last edited by abourgeo on Fri Jan 25, 2008 4:50 pm, edited 1 time in total.

 Profile Send private message  
 
 Post subject: Re: no sound on "compal IFL90" notebook
PostPosted: Fri Jan 11, 2008 4:44 pm 
Global Moderator
Global Moderator
User avatar

Joined: Fri Mar 10, 2006 4:46 am
Posts: 3631
Location: Still on IPv4
Obvious question, but since you don't mention it, it has to be asked: did you check your volumes with alsamixer? Is mute on?

_________________
Leenucks - the greatest thing since evolution theory || Questions about forum etiquette? Feel free to PM me.


 Profile Send private message  
 
 Post subject: Re: no sound on "compal IFL90" notebook
PostPosted: Fri Jan 11, 2008 10:20 pm 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Wed Jun 06, 2007 4:18 pm
Posts: 122
Quote:
did you check your volumes with alsamixer?
------> Unfortunately yes !
but I have only 4 inputs : master, PCM and 2 Off/On without cursor. I tried all the possibilities : always no sound :(


 Profile Send private message  
 
 Post subject: Re: no sound on "compal IFL90" notebook
PostPosted: Sat Jan 12, 2008 6:53 am 
Senior Zenwalker
Senior Zenwalker

Joined: Fri Aug 10, 2007 7:36 pm
Posts: 298
Quote:
but is "/etc/modprobe.d/sound" the good file with Zenwalk ?


in case you haven't tried it yet, yes this is where you can put sound module options and aliases.

found this:
Code:
# LDD: I added this line for supporting the ALC268 audio chipset.
   options snd-hda-intel model=toshiba


here: http://lddubeau.com/avaktavyam/linux-on-a-compal-ifl90/


 Profile Send private message  
 
 Post subject: Re: no sound on "compal IFL90" notebook
PostPosted: Sun Jan 13, 2008 10:47 pm 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Wed Jun 06, 2007 4:18 pm
Posts: 122
Thanks, but I know this link and I tried "options ......... model=toshiba" : without results :-( :-( :-(


 Profile Send private message  
 
 Post subject: Re: no sound on "compal IFL90" notebook
PostPosted: Mon Jan 14, 2008 12:05 am 
Master of the known universe
Master of the known universe
User avatar

Joined: Thu Mar 29, 2007 2:34 am
Posts: 1253
Location: Taiwan
just making a wild guess: maybe there is a physical volume controller on the notebook which has been set to mute?  :-\

Anyway, I found a post from ubuntu:
http://ubuntuforums.org/showthread.php?t=551615

HTH

:)

_________________
Wisdom begins in wonder. -- Socrates


 Profile Send private message  
 
 Post subject: Re: no sound on "compal IFL90" notebook
PostPosted: Mon Jan 14, 2008 1:54 pm 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Wed Jun 06, 2007 4:18 pm
Posts: 122
Quote:
maybe there is a physical volume controller on the notebook which has been set to mute?
----> there is 4 quick launch buttons to launch a web browser, an e-mail program, WOW Video and Audio and to mute the sound ! But they are not managed by zenwalk :http://www.notebookreview.com/default.asp?newsID=3895

Thanks for this link :http://atlas.hasselbalch.com/znote6625wd/
It's interesting :
Quote:
Sometimes, it's not enough to restart the ALSA system. If you experience problems with that, go with a full reboot, and you should be flying.

If you still have no sound, the first thing to check is your mixer settings. Alsa mutes the channels per default, so you need to unmute them. The easiest way is to use an interactive program like alsamixer. Try also to play a little with the volume settings. On this card, there are three main volume-meters: Headphones, PCM and Front. PCM is the Master volume. Headphones controls the volume in the headphones-plug, if anything is plugged in, and the built-in speakers if not. Front controls the built-in speakers, regardless of what's plugged into the headphone plug, so you might want to leave Front muted.

If you're still having problems, there are a few things to try out. First of all, modify the line in /etc/modprobe.d/alsa-base like this

options snd-hda-intel model=toshiba index=0

and restart Alsa like before

but I tried that yet unfortunately without results :-(


 Profile Send private message  
 
 Post subject: Re: no sound on "compal IFL90" notebook
PostPosted: Wed Jan 16, 2008 7:00 pm 
Regular Zenwalker
Regular Zenwalker

Joined: Fri Oct 05, 2007 6:14 pm
Posts: 48
I have another laptop with the same audio card (HP Pavilion) and I can report the same problem. Looks like ZW's kernel doesn't have some patches, because I encounter such problems on every distro with pure vanilla kernel (AFAIK ZW is one) and the only solution apart from compiling custom kernel (or applying patches) is to build alsa-driver package from scratch. The only exception is Arch Linux, whose kernel has some alsa-patches and more. Just take a look:
http://archlinux.org/packages/13318/
There are at least two patches obviously connected to ALSA, but looks like they were made by Archlinux's team. You can say that that isn't acceptable, but my card worked out of box there.


 Profile Send private message  
 
 Post subject: Re: no sound on "compal IFL90" notebook
PostPosted: Wed Jan 16, 2008 7:21 pm 
Regular Zenwalker
Regular Zenwalker

Joined: Mon Jan 29, 2007 6:07 pm
Posts: 76
Location: Germany
Did you try the fixes mentioned in the Ubuntu wiki. I had success with adding something like
Code:
options snd-hda-intel model=toshiba


to /etc/modprobe.d/modprobe.conf

--------------edit-----------------
somehow missed the post above stating the same - so please ignore.

_________________
Those who sacrifice freedom for safety deserve neither.


Last edited by hawk on Thu Jan 17, 2008 1:16 am, edited 1 time in total.

 Profile Send private message  
 
 Post subject: Re: no sound on "compal IFL90" notebook - solution
PostPosted: Thu Jan 17, 2008 1:14 am 
Regular Zenwalker
Regular Zenwalker

Joined: Mon Jan 29, 2007 6:07 pm
Posts: 76
Location: Germany
Ok here is the fix. You need the latest drivers from the alsa project (only the alsa-drivers package)

ftp://ftp.alsa-project.org/pub/driver/a ... 15.tar.bz2

Extract the archive and do

Code:
./configure --with-cards=hda-intel,usb-audio


You can omit the usb-audio and keep on using the old variant that comes with zen (might be the recommended way). Afterwards do make and make install. The last step is then to open /etc/modprobe.d/sound in your favourite text editor as root and add the line

Code:
options snd-hda-intel model=toshiba


at the end. The other two possibilites (acer and 3stack) do not work too well. Reboot and you should have sound. Check your alsamixer. Oh btw. before doing so, check you got indeed an intel hda (ich8) and an alc268 codec.

Code:
cat /proc/asound/card0/codec#0 | grep -i codec


Ah btw: I recommend you recompile xfce4-mixer with alsa support - otherwise your mixer applet options are very limited.

cheers

_________________
Those who sacrifice freedom for safety deserve neither.


 Profile Send private message  
 
 Post subject: Re: no sound on "compal IFL90" notebook
PostPosted: Thu Jan 17, 2008 6:22 am 
Regular Zenwalker
Regular Zenwalker

Joined: Fri Oct 05, 2007 6:14 pm
Posts: 48
Err... IMHO, that's not a solution - since I saw that hardware running flawlessly under ArchLinux with any 2.6.23.x kernel and alsa-lib/alsa-utils 1.0.15. And then everything worked - the internal mics, the headphone/speakers (and correctly), etc. No compiling, no tuning - just the common Arch routine for setting up the sound (adding your user to audio group and unmuting the chanels). All others distro with the same alsa and kernel (debian testing, gentoo, paldo) required to compile alsa-driver. Oh, probably Fedora also worked out-of-box. So could any of ZW's kernel maintainers look at that issue, please? At least check the patches on the page I've mentioned.


 Profile Send private message  
 
 Post subject: Re: no sound on "compal IFL90" notebook
PostPosted: Thu Jan 17, 2008 8:42 am 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Wed Jun 06, 2007 4:18 pm
Posts: 122
Quote:
So could any of ZW's kernel maintainers look at that issue, please? At least check the patches on the page I've mentioned.
----> perhaps it will be done with the Zenwalk 5.0 rc2 kernel  ;) So I wait the rc2 to hope to solve my poblem ............
With the rc 1, nothing :
# locate patch | grep alsa
:'(


 Profile Send private message  
 
 Post subject: Re: no sound on "compal IFL90" notebook
PostPosted: Thu Jan 17, 2008 11:02 am 
Regular Zenwalker
Regular Zenwalker

Joined: Mon Jan 29, 2007 6:07 pm
Posts: 76
Location: Germany
SchwarzeKrause wrote:
Err... IMHO, that's not a solution - since I saw that hardware running flawlessly under ArchLinux with any 2.6.23.x kernel and alsa-lib/alsa-utils 1.0.15. And then everything worked - the internal mics, the headphone/speakers (and correctly), etc. No compiling, no tuning - just the common Arch routine for setting up the sound (adding your user to audio group and unmuting the chanels). All others distro with the same alsa and kernel (debian testing, gentoo, paldo) required to compile alsa-driver. Oh, probably Fedora also worked out-of-box. So could any of ZW's kernel maintainers look at that issue, please? At least check the patches on the page I've mentioned.


This might be due to the possibility, that the arch developers ship a recent version of ALSA alongside their kernel. If I remember right, ZW's policy was to stick to a vanilla kernel as much as possible. And the ALSA version in 2.6.23.x is not 1.0.15 but somwhere in between that version and 1.0.14 It is not the version of alsa-lib/alsa-utils that matters. These are on 1.0.15 on ZW as well. And honestly, it is a simple 4-step solution and even the mic works fine - something you dont get when using ubuntu with the "simple" backports method ;).

_________________
Those who sacrifice freedom for safety deserve neither.


 Profile Send private message  
 
 Post subject: Re: no sound on "compal IFL90" notebook
PostPosted: Thu Jan 17, 2008 4:02 pm 
Regular Zenwalker
Regular Zenwalker

Joined: Fri Oct 05, 2007 6:14 pm
Posts: 48
Oh, BTW, this can be so (I mean, the version of ALSA modules that are built into the kernel) - because one day a kernel update in Arch broke the audio and the output showed, that kernel was using 1.0.14. That was fixed pretty soon.
Ok, probably a way out then is to request for an alsa-driver package in the extra repos. Installing it should solve the problem (and BTW, I didn't change a string in configs - but this probably can be model-specific). This is just a question of policies - which one is more important: the purity of the packages or the useability). Couldn't any of the ZW kernel package maintainers answer in this thread whether it is possible to consider a question of making changes to the kernel or should I make a package request?


 Profile Send private message  
 
 Post subject: Re: no sound on "compal IFL90" notebook
PostPosted: Tue Jan 22, 2008 11:48 am 
Experienced Zenwalker
Experienced Zenwalker
User avatar

Joined: Wed Jun 06, 2007 4:18 pm
Posts: 122
@ GMG : what I did :

# cp ../ftp/alsa-driver-1.0.15_2.6.23.12-i486-50.1.tgz /var/packages/extra/
# mv /lib/modules/2.6.23.12/kernel/sound/ /lib/modules/2.6.23.12/kernel/sound_save
# ls /lib/modules/2.6.23.12/kernel/sound_save

ac97_bus.ko  core  drivers  i2c  isa  pci  soundcore.ko  synth usb
# mv /usr/include/alsa/ /usr/include/alsa_save
# ls /usr/include/alsa_save

alisp.h      control.h global.h  instr.h   pcm.h   pcm_old.h seq.h   sound
asoundef.h  control_external.h  hwdep.h    mixer.h   pcm_external.h  pcm_plugin.h seq_event.h   timer.h
asoundlib.h  conv.h iatomic.h  mixer_abst.h  pcm_extplug.h  pcm_rate.h seq_midi_event.h  version.h
conf.h     error.h input.h    output.h   pcm_ioplug.h   rawmidi.h seqmid.h
# installpkg /var/packages/extra/alsa-driver-1.0.15_2.6.23.12-i486-50.1.tgz
Installing package alsa-driver-1.0.15_2.6.23.12-i486-50.1...
PACKAGE DESCRIPTION:
alsa-driver: alsa-driver (Advanced Linux Sound Architecture drivers)
alsa-driver:
alsa-driver: The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
alsa-driver: functionality to the Linux operating system.  This package contains
alsa-driver: drivers in the form of kernel modules and include files for all of
alsa-driver: the sound cards supported by ALSA.
alsa-driver:
alsa-driver: For more information, see http://alsa-project.org
alsa-driver:
Executing install script for alsa-driver-1.0.15_2.6.23.12-i486-50.1...

# ls /lib/modules/2.6.23.12/kernel/sound

acore  drivers i2c  isa  misc pci  pcmcia  soc  synth  usb
# ls /usr/include/alsa
ls: can't access /usr/include/alsa: no file or directory
# mv /usr/include/alsa_save/ /usr/include/alsa
# ls /usr/include/alsa

alisp.h      control.h global.h  instr.h   pcm.h   pcm_old.h seq.h   sound
asoundef.h  control_external.h  hwdep.h    mixer.h   pcm_external.h  pcm_plugin.h seq_event.h   timer.h
asoundlib.h  conv.h iatomic.h  mixer_abst.h  pcm_extplug.h  pcm_rate.h seq_midi_event.h  version.h
conf.h     error.h input.h    output.h   pcm_ioplug.h   rawmidi.h seqmid.h
# speaker-test
====> always no sound :-(

What do you think of this result GMG ?
have I made a mistake ?
Thanks ;-)


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC


 Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to: