You are not logged in.

#1 2010-03-26 21:17:32

BimoZX
Member
Registered: 2010-03-26
Posts: 116

Can't get headphones jack sense to work

I just got thinkpad edge just a few months ago, and got most of the things worked out except for:
-touchpad hotplugging
-bluetooth
-headphone
-turning off mic, and webcam with the Fn keys.

But what's really bugging me is the headphone problems
here are some information

cat /proc/asound/card0/codec#* | grep Codec

Codec: Conexant CX20582 (Pebble)
Codec: Intel G45 DEVCTG

lspci -vv -s 00:1b.0

Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
    Subsystem: Lenovo Device 21b4
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 31
    Region 0: Memory at f0800000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [50] Power Management version 2
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Address: 00000000fee0300c  Data: 41b9
    Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
        DevCap:    MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
            ExtTag- RBE- FLReset+
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
            RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
            MaxPayload 128 bytes, MaxReadReq 128 bytes
        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
        LnkCap:    Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
            ClockPM- Surprise- LLActRep- BwNot-
        LnkCtl:    ASPM Disabled; Disabled- Retrain- CommClk-
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
    Capabilities: [100 v1] Virtual Channel
        Caps:    LPEVC=0 RefClk=100ns PATEntryBits=1
        Arb:    Fixed- WRR32- WRR64- WRR128-
        Ctrl:    ArbSelect=Fixed
        Status:    InProgress-
        VC0:    Caps:    PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
            Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
            Ctrl:    Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
            Status:    NegoPending- InProgress-
        VC1:    Caps:    PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
            Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
            Ctrl:    Enable- ID=0 ArbSelect=Fixed TC/VC=00
            Status:    NegoPending- InProgress-
    Capabilities: [130 v1] Root Complex Link
        Desc:    PortNumber=0f ComponentID=02 EltType=Config
        Link0:    Desc:    TargetPort=00 TargetComponent=02 AssocRCRB- LinkType=MemMapped LinkValid+
            Addr:    00000000fed1c000
    Kernel driver in use: HDA Intel
    Kernel modules: snd-hda-intel

lsmod | grep snd

snd_seq_dummy           1439  0 
snd_seq_oss            29023  0 
snd_seq_midi_event      5316  1 snd_seq_oss
snd_seq                50558  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          5181  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_hda_codec_intelhdmi    11750  1 
snd_hda_codec_conexant    25053  1 
snd_hda_intel          21874  4 
snd_pcm_oss            39011  0 
snd_mixer_oss          17299  1 snd_pcm_oss
snd_hda_codec          63659  3 snd_hda_codec_intelhdmi,snd_hda_codec_conexant,snd_hda_intel
snd_hwdep               6340  1 snd_hda_codec
snd_pcm                70222  4 snd_hda_intel,snd_pcm_oss,snd_hda_codec
snd_timer              18799  3 snd_seq,snd_pcm
snd                    57408  18 snd_seq_oss,snd_seq,snd_seq_device,snd_hda_codec_intelhdmi,snd_hda_codec_conexant,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               6095  1 snd
snd_page_alloc          7033  2 snd_hda_intel,snd_pcm

cat /proc/asound/cards

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xf0800000 irq 31

amixer

Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 74
  Mono:
  Front Left: Playback 45 [61%] [-29.00dB] [on]
  Front Right: Playback 45 [61%] [-29.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic B',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive penum
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [on]
Simple mixer control 'Mic C',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive penum
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Mic E',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive penum
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Mic F',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive penum
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 80
  Front Left: Capture 80 [100%] [6.00dB] [on]
  Front Right: Capture 80 [100%] [6.00dB] [on]
Simple mixer control 'Analog Mic Boost',0
  Capabilities: cenum
  Items: '0dB' '10dB' '20dB' '30dB' '40dB'
  Item0: '0dB'
Simple mixer control 'Digital',0
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 120 [100%] [30.00dB]
  Front Right: Capture 120 [100%] [30.00dB]

ls -l /dev/snd

total 0
drwxr-xr-x  2 root root       60 Mar 27 00:33 by-path
crw-rw----+ 1 root audio 116,  9 Mar 27 00:33 controlC0
crw-rw----+ 1 root audio 116,  8 Mar 27 00:33 hwC0D0
crw-rw----+ 1 root audio 116,  7 Mar 27 00:33 hwC0D1
crw-rw----+ 1 root audio 116,  6 Mar 27 00:33 pcmC0D0c
crw-rw----+ 1 root audio 116,  5 Mar 27 00:53 pcmC0D0p
crw-rw----+ 1 root audio 116,  4 Mar 27 00:33 pcmC0D1p
crw-rw----+ 1 root audio 116,  3 Mar 27 00:33 pcmC0D3p
crw-rw----+ 1 root audio 116, 10 Mar 27 00:33 seq
crw-rw----+ 1 root audio 116,  2 Mar 27 00:33 timer

if you need any information please do tell, and I've tried the "model=" thing, but none work so far.

Any help would be appreciated.

Last edited by BimoZX (2010-03-26 21:18:06)

Offline

#2 2010-03-26 21:42:51

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,728

Re: Can't get headphones jack sense to work

No guarantees, but you might try adding the following line to /etc/modprobe.d/modprobe.conf

options snd-hda-intel enable_msi=1

It won't hurt anything.  It enable message signaled interrupts for the intel HD audio.  My HP Pavilion required this for the pin inputs to be detected.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2010-03-26 21:51:45

BimoZX
Member
Registered: 2010-03-26
Posts: 116

Re: Can't get headphones jack sense to work

Did that already on sound.conf .

cat /etc/modprobe.d/modprobe.conf

options snd-hda-intel index=0

options usbcore autosuspend=1

cat /etc/modprobe.d/sound.conf

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

options snd-hda-intel model=3stack enable_msi=1 enable=1 index=0

but did nothing, thanks for the suggestion anyway.

Offline

#4 2010-03-29 15:55:56

g0ju
Member
From: Chemnitz, Germany
Registered: 2009-08-08
Posts: 23

Re: Can't get headphones jack sense to work

Hi,

you could add the following line to the end of your modprobe.conf

options snd-hda-intel model="olpc-xo-1_5"

That worked for my Edge.

Offline

#5 2010-03-30 08:42:30

BimoZX
Member
Registered: 2010-03-26
Posts: 116

Re: Can't get headphones jack sense to work

Thanks, it really works, it really means a lot to me.

While I'm at it, did you get the touchpad hotplugging and the bluetooth to work?

Offline

#6 2010-03-31 21:31:10

g0ju
Member
From: Chemnitz, Germany
Registered: 2009-08-08
Posts: 23

Re: Can't get headphones jack sense to work

The bluetooth doesn't work here either.
What do you mean with touchpad hotplugging?

Offline

#7 2010-04-02 11:32:01

BimoZX
Member
Registered: 2010-03-26
Posts: 116

Re: Can't get headphones jack sense to work

So do you think it'll have any chance to work in the future, cause it's not even detected on mine?

The multi touch with HAL on the touchpad, but nevermind got that worked out already.

Offline

Board footer

Powered by FluxBB