Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Z reguły po przełączaniu systemu (na wina) muszę wchodzić w alsamixer i likwidować podświetlenie przy przełączniku S/PDIF, w przeciwnym wypadku nie mam dźwięku. Jednak po ostatniej aktualizacji systemu (testing) po wpisaniu alsamixer w terminalu wyrzuca mi "Naruszenie ochrony pamięci" :]
Pytanie jest czy można spoza mixera przestawić ten przełącznik i czy można zmusić system by mi tego przełącznika przy restarcie nie załączał?
Offline
Mozna uzyć tekstowego amixer.
Wtedy dodasz sobie polecenie do przełączenia tego przełącznika do autostartu np środowiska graficznego
Offline
Tu masz conieco o użyciu amixer:
http://ubuntu.pl/forum/viewtopic.php?f=135&t=112037
Offline
Praktycznie wszystko jest w man'ie. Z tym, że coś nie mogę namierzyć tego przełącznika.
tak wygląda rozpis:
amixer -c 0 scontents Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 255 Mono: Playback 147 [58%] [-27.00dB] [on] Simple mixer control 'Line in',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 255 Front Left: Capture 207 [81%] [0.00dB] Front Right: Capture 207 [81%] [0.00dB] Simple mixer control 'Mic',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 255 Front Left: Capture 207 [81%] [0.00dB] Front Right: Capture 207 [81%] [0.00dB] Simple mixer control 'Phone',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 255 Front Left: Capture 207 [81%] [0.00dB] Front Right: Capture 207 [81%] [0.00dB] Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'IEC958 Center/LFE',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 0 [0%] [-99999.99dB] Front Right: Playback 0 [0%] [-99999.99dB] Simple mixer control 'IEC958 Front',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 0 [0%] [-99999.99dB] Front Right: Playback 0 [0%] [-99999.99dB] Simple mixer control 'IEC958 Rear',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 0 [0%] [-99999.99dB] Front Right: Playback 0 [0%] [-99999.99dB] Simple mixer control 'IEC958 Unknown',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 0 [0%] [-99999.99dB] Front Right: Playback 0 [0%] [-99999.99dB] Simple mixer control 'Aux',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 255 Front Left: Capture 0 [0%] [-99999.99dB] Front Right: Capture 0 [0%] [-99999.99dB] Simple mixer control 'Analog Center/LFE',0 Capabilities: pvolume pswitch pswitch-joined penum Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 0 [0%] [-99999.99dB] [on] Front Right: Playback 0 [0%] [-99999.99dB] [on] Simple mixer control 'Analog Front',0 Capabilities: pvolume pswitch pswitch-joined penum Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 0 [0%] [-99999.99dB] [on] Front Right: Playback 0 [0%] [-99999.99dB] [on] Simple mixer control 'Analog Rear',0 Capabilities: pvolume pswitch pswitch-joined penum Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 0 [0%] [-99999.99dB] [on] Front Right: Playback 0 [0%] [-99999.99dB] [on] Simple mixer control 'Analog Side',0 Capabilities: pvolume pswitch pswitch-joined penum Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 0 [0%] [-99999.99dB] [on] Front Right: Playback 0 [0%] [-99999.99dB] [on] Simple mixer control 'Analog Source',0 Capabilities: cenum Items: 'Phone' 'Mic' 'Line in' 'Aux' Item0: 'Line in' Simple mixer control 'CAPTURE feedback',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 0 [0%] [-99999.99dB] Front Right: Playback 0 [0%] [-99999.99dB] Simple mixer control 'Digital Source',0 Capabilities: cenum Items: 'IEC958 out' 'i2s mixer out' 'IEC958 in' 'i2s in' 'AC97 in' 'SRC out' Item0: 'i2s in' Simple mixer control 'Shared Mic/Line in',0 Capabilities: cenum Items: 'Line in' 'Mic in' Item0: 'Line in'
Na necie piszą by przełączyć IEC958 Playback Switch tylko, że ja nic tutaj takiego nie widzę :]
Offline
Sprawdź listę dostępnych przełączników:
amixer -c0 scontrols
Ostatnio edytowany przez Jacekalex (2012-02-06 22:02:50)
Offline
amixer -c 0 scontrols Simple mixer control 'Master',0 Simple mixer control 'Line in',0 Simple mixer control 'Mic',0 Simple mixer control 'Phone',0 Simple mixer control 'IEC958',0 Simple mixer control 'IEC958 Center/LFE',0 Simple mixer control 'IEC958 Front',0 Simple mixer control 'IEC958 Rear',0 Simple mixer control 'IEC958 Unknown',0 Simple mixer control 'Aux',0 Simple mixer control 'Analog Center/LFE',0 Simple mixer control 'Analog Front',0 Simple mixer control 'Analog Rear',0 Simple mixer control 'Analog Side',0 Simple mixer control 'Analog Source',0 Simple mixer control 'CAPTURE feedback',0 Simple mixer control 'Digital Source',0 Simple mixer control 'Shared Mic/Line in',0
Wgrałem alsę z sida i przestało wyrzucać błęda o naruszeniu pamięci. Nie wiem czemu ale zresetowały mi się wszystkie ustawienia mixera ale to marginalna sprawa. W każdym razie sam przełącznik był pod:
amixer -c 0 set IEC958 mute
Ostatnio edytowany przez morfik (2012-02-06 23:45:14)
Offline
Time (s) | Query |
---|---|
0.00010 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00120 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.189.184.42' WHERE u.id=1 |
0.00087 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.189.184.42', 1734022540) |
0.00044 | SELECT * FROM punbb_online WHERE logged<1734022240 |
0.00079 | DELETE FROM punbb_online WHERE ident='185.191.171.13' |
0.00058 | SELECT topic_id FROM punbb_posts WHERE id=193540 |
0.00009 | SELECT id FROM punbb_posts WHERE topic_id=20602 ORDER BY posted |
0.00052 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=20602 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00123 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=20602 ORDER BY p.id LIMIT 0,25 |
0.00096 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=20602 |
Total query time: 0.00687 s |