ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] hal-laptop & EeePC 1000H
@ 2009-04-04 15:44 Denis G. Samsonenko
  2009-04-04 18:18 ` Alexey Borisenkov
  0 siblings, 1 reply; 3+ messages in thread
From: Denis G. Samsonenko @ 2009-04-04 15:44 UTC (permalink / raw)
  To: community

Добрый день!

Пробую разобраться с hal-laptop на своём EeePC 1000H под бранчем 5.0.

Скопировал 10-events-key.fdi в /etc/hal/fdi/policy. Пытаюсь настроить
регулирование громкости клавишами Fn+F10,F11,F12. В alsamixer я не
нашёл Master, есть только PCM и LineOut. Последний и регулирует у меня
общую громкость, на сколько я понял. Соответственно поправил в
10-events-key.fdi так:

      <merge key="input.key.volume.hard" type="bool">false</merge>
      <merge key="alsa.mixer.index" type="int">0</merge>
      <merge key="alsa.mixer.control" type="string">LineOut</merge>
      <merge key="alsa.mixer.volume.step" type="int">5</merge>

Но почему-то регулируется только левый канал. Как сделать, чтобы
громкость левого и правого канала регулировалась синхронно?

$ amixer
Simple mixer control 'PCM',0
  Capabilities: pvolume
  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 'LineOut',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 31 [48%] [-32.00dB] [on]
  Front Right: Playback 31 [48%] [-32.00dB] [on]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 3 [100%]
  Front Right: 3 [100%]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 46 [100%] [29.00dB] [on]
  Front Right: Capture 46 [100%] [29.00dB] [on]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 120 [100%] [30.00dB]
  Front Right: Capture 120 [100%] [30.00dB]
Simple mixer control 'iSpeaker',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]


-- 
Всего доброго,

Денис.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-05  4:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-04 15:44 [Comm] hal-laptop & EeePC 1000H Denis G. Samsonenko
2009-04-04 18:18 ` Alexey Borisenkov
2009-04-05  4:58   ` Denis G. Samsonenko

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git