You are not logged in.

#1 2007-09-03 21:20:14

Vieira
Member
From: Lisbon, Portugal
Registered: 2007-08-16
Posts: 45

[Solved?!] Speakers don't switch off when headphones are inserted

When I insert my headphones the speakers don't switch off nor does I have any way of disabling them manually keeping the headphones on.
I've tried installing the latest alsa-driver HG (20070901) but the problem persists, tried specifying various models on the modprobe.conf options line, like

options snd-hda-intel model=3stack

but it didn't help neither.

Additional system information:

   1. ################################
   2. ALSA Information Script v 0.4.31
   3. ################################
   4.  
   5. Script ran on: Seg Set  3 13:49:25 WEST 2007
   6.  
   7.  
   8. Linux Distribution
   9. ------------------
  10.  
  11. Arch Linux (Don't Panic) \r (\n) (\l)
  12.  
  13.  
  14. Kernel Information
  15. ------------------
  16.  
  17. Kernel release:    2.6.22-ARCH
  18. Operating System:  GNU/Linux
  19. Architecture:      i686
  20. Processor:         Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
  21. SMP Enabled:       Yes
  22.  
  23.  
  24. ALSA Version
  25. ------------
  26.  
  27. Driver version:     1.0.14
  28. Library version:    1.0.14a
  29. Utilities version:  1.0.14
  30.  
  31.  
  32. Loaded ALSA modules
  33. -------------------
  34.  
  35. snd_hda_intel
  36.  
  37.  
  38. Soundcards recognised by ALSA
  39. -----------------------------
  40.  
  41. 0 [Intel          ]: HDA-Intel - HDA Intel
  42.                      HDA Intel at 0xde300000 irq 21
  43.  
  44.  
  45. PCI Soundcards installed in the system
  46. --------------------------------------
  47.  
  48. 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
  49. 06:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
  50.  
  51.  
  52. Advanced information - PCI Vendor/Device/Susbsystem ID's
  53. --------------------------------------------------------
  54.  
  55. 00:1b.0 0403: 8086:27d8 (rev 02)
  56.         Subsystem: 1179:ff02
  57.  
  58.  
  59. HDA-Intel Codec information
  60. ---------------------------
  61.  
  62. Codec: Realtek ALC861-VD
  63. Address: 0
  64. Vendor Id: 0x10ec0862
  65. Subsystem Id: 0x1179010c
  66. Revision Id: 0x100001
  67. No Modem Function Group found
  68. Default PCM:
  69.    rates [0x160]: 44100 48000 96000
  70.    bits [0xe]: 16 20 24
  71.    formats [0x1]: PCM
  72. Default Amp-In caps: N/A
  73. Default Amp-Out caps: N/A
  74. Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  75.  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  76.  Amp-Out vals:  [0x36 0x36]
  77.  PCM:
  78.    rates [0x160]: 44100 48000 96000
  79.    bits [0xe]: 16 20 24
  80.    formats [0x1]: PCM
  81. Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  82.  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  83.  Amp-Out vals:  [0x00 0x00]
  84.  PCM:
  85.    rates [0x160]: 44100 48000 96000
  86.    bits [0xe]: 16 20 24
  87.    formats [0x1]: PCM
  88. Node 0x04 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  89.  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  90.  Amp-Out vals:  [0x00 0x00]
  91.  PCM:
  92.    rates [0x160]: 44100 48000 96000
  93.    bits [0xe]: 16 20 24
  94.    formats [0x1]: PCM
  95. Node 0x05 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  96.  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  97.  Amp-Out vals:  [0x00 0x00]
  98.  PCM:
  99.    rates [0x160]: 44100 48000 96000
 100.    bits [0xe]: 16 20 24
 101.    formats [0x1]: PCM
 102. Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
 103.  PCM:
 104.    rates [0x160]: 44100 48000 96000
 105.    bits [0x1e]: 16 20 24 32
 106.    formats [0x1]: PCM
 107. Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
 108. Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono
 109. Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
 110.  Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1
 111.  Amp-In vals:  [0x00 0x00]
 112.  PCM:
 113.    rates [0x160]: 44100 48000 96000
 114.    bits [0x6]: 16 20
 115.    formats [0x1]: PCM
 116.  Connection: 1
 117.     0x22
 118. Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
 119. Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
 120.  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
 121.  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
 122.  Connection: 6
 123.     0x18 0x19 0x1a 0x1b 0x1c 0x1d
 124. Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
 125.  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 126.  Amp-In vals:  [0x80 0x80] [0x80 0x80]
 127.  Connection: 2
 128.     0x02 0x0b
 129. Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
 130.  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 131.  Amp-In vals:  [0x80 0x80] [0x80 0x80]
 132.  Connection: 2
 133.     0x03 0x0b
 134. Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
 135.  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 136.  Amp-In vals:  [0x80 0x80] [0x80 0x80]
 137.  Connection: 2
 138.     0x04 0x0b
 139. Node 0x0f [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
 140.  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 141.  Amp-In vals:  [0x80 0x80] [0x80 0x80]
 142.  Connection: 2
 143.     0x05 0x0b
 144. Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
 145. Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
 146. Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono
 147. Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
 148. Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
 149.  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 150.  Amp-Out vals:  [0x00 0x00]
 151.  Pincap 0x081003c: IN OUT HP EAPD Detect
 152.  Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
 153.    Conn = ATAPI, Color = Unknown
 154.  Pin-ctls: 0x40: OUT
 155.  Connection: 1
 156.     0x0c
 157. Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
 158.  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 159.  Amp-Out vals:  [0x80 0x80]
 160.  Pincap 0x0810034: IN OUT EAPD Detect
 161.  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
 162.    Conn = 1/8, Color = Black
 163.  Pin-ctls: 0x20: IN
 164.  Connection: 1
 165.     0x0d
 166. Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
 167.  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 168.  Amp-Out vals:  [0x80 0x80]
 169.  Pincap 0x0834: IN OUT Detect
 170.  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
 171.    Conn = 1/8, Color = Black
 172.  Pin-ctls: 0x20: IN
 173.  Connection: 1
 174.     0x0e
 175. Node 0x17 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
 176.  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 177.  Amp-Out vals:  [0x80 0x80]
 178.  Pincap 0x0834: IN OUT Detect
 179.  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
 180.    Conn = 1/8, Color = Black
 181.  Pin-ctls: 0x20: IN
 182.  Connection: 1
 183.     0x0f
 184. Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
 185.  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
 186.  Amp-In vals:  [0x00 0x00]
 187.  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 188.  Amp-Out vals:  [0x80 0x80]
 189.  Pincap 0x081734: IN OUT Detect
 190.  Pin Default 0x02a11830: [Jack] Mic at Ext Front
 191.    Conn = 1/8, Color = Black
 192.  Pin-ctls: 0x24: IN
 193.  Connection: 1
 194.     0x0e
 195. Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
 196.  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
 197.  Amp-In vals:  [0x00 0x00] [0x00 0x00]
 198.  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 199.  Amp-Out vals:  [0x80 0x80]
 200.  Pincap 0x08173c: IN OUT HP Detect
 201.  Pin Default 0x99a3013f: [Fixed] Mic at Int ATAPI
 202.    Conn = ATAPI, Color = Unknown
 203.  Pin-ctls: 0x24: IN
 204.  Connection: 2
 205.     0x0c* 0x0f
 206. Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
 207.  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 208.  Amp-Out vals:  [0x80 0x80]
 209.  Pincap 0x0834: IN OUT Detect
 210.  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
 211.    Conn = 1/8, Color = Black
 212.  Pin-ctls: 0x20: IN
 213.  Connection: 1
 214.     0x0d
 215. Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
 216.  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
 217.  Amp-In vals:  [0x00 0x00] [0x00 0x00]
 218.  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 219.  Amp-Out vals:  [0x00 0x00]
 220.  Pincap 0x08173c: IN OUT HP Detect
 221.  Pin Default 0x02211020: [Jack] HP Out at Ext Front
 222.    Conn = 1/8, Color = Black
 223.  Pin-ctls: 0xc0: OUT HP
 224.  Connection: 2
 225.     0x0c* 0x0f
 226. Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
 227.  Pincap 0x0820: IN
 228.  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
 229.    Conn = 1/8, Color = Black
 230.  Pin-ctls: 0x20: IN
 231. Node 0x1d [Pin Complex] wcaps 0x400000: Mono
 232.  Pincap 0x0820: IN
 233.  Pin Default 0x418311f0: [N/A] Line In at Ext Rear
 234.    Conn = ATAPI, Color = Black
 235.  Pin-ctls: 0x20: IN
 236. Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
 237.  Pincap 0x0810: OUT
 238.  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
 239.    Conn = 1/8, Color = Black
 240.  Pin-ctls: 0x40: OUT
 241.  Connection: 1
 242.     0x06
 243. Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
 244. Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
 245. Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
 246. Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
 247.  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 248.  Amp-In vals:  [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
 249.  Connection: 11
 250.     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
 251. Node 0x23 [Vendor Defined Widget] wcaps 0xf00000: Mono
 252. Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
 253. Node 0x25 [Vendor Defined Widget] wcaps 0xf00000: Mono
 254. Node 0x26 [Vendor Defined Widget] wcaps 0xf00000: Mono
 255. Codec: Generic 11c1 Si3054
 256. Address: 1
 257. Vendor Id: 0x11c11040
 258. Subsystem Id: 0x11790001
 259. Revision Id: 0x100200
 260. Modem Function Group: 0x1
 261.  
 262.  
 263. ALSA Device nodes
 264. -----------------
 265.  
 266. crw-rw---- 1 root audio 116,  0 2007-09-03 14:04 /dev/snd/controlC0
 267. crw-rw---- 1 root audio 116,  4 2007-09-03 14:04 /dev/snd/hwC0D0
 268. crw-rw---- 1 root audio 116,  5 2007-09-03 14:04 /dev/snd/hwC0D1
 269. crw-rw---- 1 root audio 116, 24 2007-09-03 14:04 /dev/snd/pcmC0D0c
 270. crw-rw---- 1 root audio 116, 16 2007-09-03 14:04 /dev/snd/pcmC0D0p
 271. crw-rw---- 1 root audio 116, 30 2007-09-03 14:04 /dev/snd/pcmC0D6c
 272. crw-rw---- 1 root audio 116, 22 2007-09-03 14:04 /dev/snd/pcmC0D6p
 273. crw-rw---- 1 root audio 116,  1 2007-09-03 14:04 /dev/snd/seq
 274. crw-rw---- 1 root audio 116, 33 2007-09-03 14:04 /dev/snd/timer
 275.  
 276.  
 277. Aplay/Arecord output
 278. ------------
 279.  
 280. APLAY
 281.  
 282. **** List of PLAYBACK Hardware Devices ****
 283. card 0: Intel [HDA Intel], device 0: ALC861VD Analog [ALC861VD Analog]
 284.  Subdevices: 1/1
 285.  Subdevice #0: subdevice #0
 286. card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
 287.  Subdevices: 1/1
 288.  Subdevice #0: subdevice #0
 289.  
 290. ARECORD
 291.  
 292. **** List of CAPTURE Hardware Devices ****
 293. card 0: Intel [HDA Intel], device 0: ALC861VD Analog [ALC861VD Analog]
 294.  Subdevices: 2/2
 295.  Subdevice #0: subdevice #0
 296.  Subdevice #1: subdevice #1
 297. card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
 298.  Subdevices: 1/1
 299.  Subdevice #0: subdevice #0
 300.  
 301. Amixer output
 302. -------------
 303.  
 304. -------Mixer controls for card 0 [Intel]
 305.  
 306. Simple mixer control 'Headphone',0
 307.  Capabilities: pswitch
 308.  Playback channels: Front Left - Front Right
 309.  Mono:
 310.  Front Left: Playback [on]
 311.  Front Right: Playback [on]
 312. Simple mixer control 'PCM',0
 313.  Capabilities: pvolume
 314.  Playback channels: Front Left - Front Right
 315.  Limits: Playback 0 - 255
 316.  Mono:
 317.  Front Left: Playback 255 [100%] [0.00dB]
 318.  Front Right: Playback 255 [100%] [0.00dB]
 319. Simple mixer control 'Front',0
 320.  Capabilities: pvolume pswitch
 321.  Playback channels: Front Left - Front Right
 322.  Limits: Playback 0 - 64
 323.  Mono:
 324.  Front Left: Playback 54 [84%] [-10.00dB] [off]
 325.  Front Right: Playback 54 [84%] [-10.00dB] [off]
 326. Simple mixer control 'Front Mic',0
 327.  Capabilities: pvolume pswitch
 328.  Playback channels: Front Left - Front Right
 329.  Limits: Playback 0 - 31
 330.  Mono:
 331.  Front Left: Playback 0 [0%] [-34.50dB] [off]
 332.  Front Right: Playback 0 [0%] [-34.50dB] [off]
 333. Simple mixer control 'Mic',0
 334.  Capabilities: pvolume pswitch
 335.  Playback channels: Front Left - Front Right
 336.  Limits: Playback 0 - 31
 337.  Mono:
 338.  Front Left: Playback 0 [0%] [-34.50dB] [off]
 339.  Front Right: Playback 0 [0%] [-34.50dB] [off]
 340. Simple mixer control 'Capture',0
 341.  Capabilities: cvolume cswitch
 342.  Capture channels: Front Left - Front Right
 343.  Limits: Capture 0 - 31
 344.  Front Left: Capture 0 [0%] [-13.50dB] [on]
 345.  Front Right: Capture 0 [0%] [-13.50dB] [on]
 346. Simple mixer control 'Caller ID',0
 347.  Capabilities: pswitch pswitch-joined
 348.  Playback channels: Mono
 349.  Mono: Playback [off]
 350. Simple mixer control 'Input Source',0
 351.  Capabilities: enum
 352.  Items: 'Mic' 'Front Mic'
 353.  Item0: 'Mic'
 354. Simple mixer control 'Off-hook',0
 355.  Capabilities: pswitch pswitch-joined
 356.  Playback channels: Mono
 357.  Mono: Playback [off]
 358.  
 359.  
 360. All Loaded Modules
 361. ------------------
 362.  
 363. Module
 364. ipv6
 365. nvidia
 366. ext2
 367. pcmcia
 368. joydev
 369. yenta_socket
 370. rsrc_nonstatic
 371. pcmcia_core
 372. iwl4965
 373. sdhci
 374. firewire_ohci
 375. firewire_core
 376. crc_itu_t
 377. ohci1394
 378. ieee1394
 379. usbhid
 380. hid
 381. ff_memless
 382. rtc_cmos
 383. rtc_core
 384. rtc_lib
 385. mac80211
 386. cfg80211
 387. i2c_i801
 388. i2c_core
 389. serio_raw
 390. psmouse
 391. sg
 392. intel_agp
 393. agpgart
 394. tsdev
 395. evdev
 396. thermal
 397. fan
 398. button
 399. battery
 400. ac
 401. cpufreq_userspace
 402. cpufreq_ondemand
 403. cpufreq_conservative
 404. cpufreq_powersave
 405. cpufreq_stats
 406. acpi_cpufreq
 407. freq_table
 408. processor
 409. tifm_sd
 410. mmc_core
 411. tifm_7xx1
 412. tifm_core
 413. snd_seq_oss
 414. snd_seq_midi_event
 415. snd_seq
 416. snd_seq_device
 417. snd_hda_intel
 418. snd_hwdep
 419. snd_pcm_oss
 420. snd_pcm
 421. snd_timer
 422. snd_page_alloc
 423. snd_mixer_oss
 424. snd
 425. soundcore
 426. r8169
 427. ext3
 428. jbd
 429. mbcache
 430. dm_mod
 431. sd_mod
 432. sr_mod
 433. cdrom
 434. ehci_hcd
 435. uhci_hcd
 436. usbcore
 437. ata_piix
 438. libata
 439. generic
 440. ide_core

Thanks in advance for any help.

EDIT
: Adding

options snd-hda-intel position_fix=1 model=lenovo

to the /etc/modprobe.conf file solved the problem but don't ask me why. I've tried all model options available for my codec before posting and it didn't help. But if I set the model to lenovo and position_fix to 1 it works.

Last edited by Vieira (2007-09-04 01:30:26)

Offline

#2 2007-09-25 17:40:36

Bralkein
Member
Registered: 2004-10-26
Posts: 354

Re: [Solved?!] Speakers don't switch off when headphones are inserted

Hey, I just had the exact same problem on the same hardware and this fix sorted things out perfectly. I was just wondering if anyone had any helpful comments on the matter, since although the problem is solved... bloody hell, what an obscure fix! I reckon something ought to be done about this, because it's just silly :-S

Offline

Board footer

Powered by FluxBB