Find the answer to your Linux question:
Results 1 to 5 of 5
I have a Fujitsu Siemans Amilo A1630 installed with squeeze and am having problems making the headphone jack work with ALSA, there is no sound from this port and jack ...
  1. #1
    Just Joined!
    Join Date
    Apr 2011
    Posts
    4

    Laptop headphone jack not working in squeeze

    I have a Fujitsu Siemans Amilo A1630 installed with squeeze and am having problems making the headphone jack work with ALSA, there is no sound from this port and jack auto-detect does not work. All drivers are present and correct and necessary modules for my sound device appear to be loading properly, the device seems fully functional except for headphones.

    Any help with this would be greatly appreciated...

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Please post the output of
    Code:
    head -n 1 /proc/asound/card0/codec*
    You should get output that looks like
    Code:
    Codec: SigmaTel STAC9205
    Search here for options for your codec.

    For example, mine reads
    Code:
    325	STAC9205/9254
    326	=============
    327	  ref		Reference board
    328	  dell-m42	Dell (unknown)
    329	  dell-m43	Dell Precision
    330	  dell-m44	Dell Inspiron
    331	  eapd		Keep EAPD on (e.g. Gateway T1616)
    332	  auto		BIOS setup (default)
    Test various module options and see if one works. For example, remove the sound module and reload with the option

    Code:
    sudo modprobe -r  snd-hda-intel
    sudo modprobe snd-hda-intel model=dell-m42
    And so on through the list.

    Other possible options can be gleaned from modinfo
    Code:
    reed@reed-laptop ~ % modinfo snd-hda-intel
    filename:       /lib/modules/2.6.37-ARCH/kernel/sound/pci/hda/snd-hda-intel.ko.gz
    description:    Intel HDA driver
    license:        GPL
    depends:        snd-hda-codec,snd-pcm,snd,snd-page-alloc
    vermagic:       2.6.37-ARCH SMP preempt mod_unload
    parm:           index:Index value for Intel HD audio interface. (array of int)
    parm:           id:ID string for Intel HD audio interface. (array of charp)
    parm:           enable:Enable Intel HD audio interface. (array of bool)
    parm:           model:Use the given board model. (array of charp)
    parm:           position_fix:DMA pointer read method.(0 = auto, 1 = LPIB, 2 = POSBUF, 3 = VIACOMBO). (array of int)
    parm:           bdl_pos_adj:BDL position adjustment offset. (array of int)
    parm:           probe_mask:Bitmask to probe codecs (default = -1). (array of int)
    parm:           probe_only:Only probing and no codec initialization. (array of int)
    parm:           single_cmd:Use single command to communicate with codecs (for debugging only). (bool)
    parm:           enable_msi:Enable Message Signaled Interrupt (MSI) (int)
    parm:           patch:Patch file for Intel HD audio interface. (array of charp)
    parm:           beep_mode:Select HDA Beep registration mode (0=off, 1=on, 2=mute switch on/off) (default=1). (array of int)
    parm:           power_save:Automatic power-saving timeout (in second, 0 = disable). (int)
    parm:           power_save_controller:Reset controller in power save mode. (bool)
    (All the things starting parm)

    In my case, to get the headphone jack on my laptop to work, I use
    Code:
    sudo modprobe snd-hda-intel model=eapd probe_mask=1 position_fix=1
    To make those options load at boot, add a line to the file /etc/modprobe.d/modprobe.conf reading

    Code:
    options snd-hda-intel <options>
    For example, you could add as so (or with any text editor)
    Code:
    echo "options snd-hda-intel model=eapd probe_mask=1 position_fix=1" | sudo tee -a /etc/modprobe.d/modprobe.conf

  3. #3
    Just Joined!
    Join Date
    Apr 2011
    Posts
    4
    Thanks for your response.

    This is the output I get with...

    Code:
    anon@sasha:~$ head -n 1 /proc/asound/card0/codec97#0/ac97#0-0
    0-0/0: Realtek ALC655 rev 0
    I assume this what you asked me to post?

    ...was unable to find otions for this codec as you suggested, any ideas?

    Also...

    Code:
    anon@sasha:~$ sudo modinfo snd-hda-intel
    filename:       /lib/modules/2.6.32-5-amd64/kernel/sound/pci/hda/snd-hda-intel.ko
    description:    Intel HDA driver
    license:        GPL
    depends:        snd-pcm,snd,snd-page-alloc,snd-hda-codec
    vermagic:       2.6.32-5-amd64 SMP mod_unload modversions 
    parm:           index:Index value for Intel HD audio interface. (array of int)
    parm:           id:ID string for Intel HD audio interface. (array of charp)
    parm:           enable:Enable Intel HD audio interface. (array of bool)
    parm:           model:Use the given board model. (array of charp)
    parm:           position_fix:Fix DMA pointer (0 = auto, 1 = none, 2 = POSBUF). (array of int)
    parm:           bdl_pos_adj:BDL position adjustment offset. (array of int)
    parm:           probe_mask:Bitmask to probe codecs (default = -1). (array of int)
    parm:           probe_only:Only probing and no codec initialization. (array of bool)
    parm:           single_cmd:Use single command to communicate with codecs (for debugging only). (bool)
    parm:           enable_msi:Enable Message Signaled Interrupt (MSI) (int)
    parm:           patch:Patch file for Intel HD audio interface. (array of charp)
    parm:           power_save:Automatic power-saving timeout (in second, 0 = disable). (int)
    parm:           power_save_controller:Reset controller in power save mode. (bool)
    anon@sasha:~$ ~
    ...I am unsure of how to make good use of this information, my experience with this sort of thing is reasonably limited.

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Can you post the output of
    Code:
    lsmod | grep snd

  5. #5
    Just Joined!
    Join Date
    Apr 2011
    Posts
    4
    Code:
    anon@sasha:~$ lsmod | grep snd
    snd_hda_intel          20035  0 
    snd_hda_codec          54244  1 snd_hda_intel
    snd_hwdep               5380  1 snd_hda_codec
    snd_intel8x0           24218  1 
    snd_intel8x0m          10024  1 
    snd_ac97_codec         99186  2 snd_intel8x0,snd_intel8x0m
    ac97_bus                1086  1 snd_ac97_codec
    snd_pcm                60503  5 snd_hda_intel,snd_hda_codec,snd_intel8x0,snd_intel8x0m,snd_ac97_codec
    snd_seq                42881  0 
    snd_timer              15582  2 snd_pcm,snd_seq
    snd_seq_device          4493  1 snd_seq
    snd                    46446  14 snd_hda_intel,snd_hda_codec,snd_hwdep,snd_intel8x0,snd_intel8x0m,snd_ac97_codec,snd_pcm,snd_seq,snd_timer,snd_seq_device
    soundcore               4598  1 snd
    snd_page_alloc          6249  4 snd_hda_intel,snd_intel8x0,snd_intel8x0m,snd_pcm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •