[Touch-packages] [Bug 1313904] Re: [W230SS, VIA VT1802, Green Headphone Out, Front] No sound after suspend/resume

2015-03-31 Thread Kiril
Nice. Thank you! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1313904 Title: [W230SS, VIA VT1802, Green Headphone Out, Front] No sound after suspend/resume

[Touch-packages] [Bug 1313904] Re: [W230SS, VIA VT1802, Green Headphone Out, Front] No sound after suspend/resume

2015-03-30 Thread Kiril
Interesting thing. Tested on 14.04.02 (added print(i2c_bus_name) line for debug): $ uname -a Linux mik-laptop-origin 3.16.0-31-generic #43~14.04.1-Ubuntu SMP Tue Mar 10 20:13:38 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux $ sudo init-headphone [sudo] password for mik: i915 gmbus ssc i915 gmbus

[Touch-packages] [Bug 1313904] Re: [W230SS, VIA VT1802, Green Headphone Out, Front] No sound after suspend/resume

2015-03-30 Thread Kiril
Oops, missed kernel parameter. The deb package didn't adds it on 14.04. After adding it by hands it works! Wow, cool. One more thing: I think this script should run also at boot. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed

[Touch-packages] [Bug 1313904] Re: [W230SS, VIA VT1802, Green Headphone Out, Front] No sound after suspend/resume

2015-03-30 Thread Kiril
After cmall research I figgured out what was wrong: my grub was install from another linux system and regenerating ubuntu's config does nothing. After running grub-install it finally works. Big thanks to you! -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1313904] Re: [W230SS, VIA VT1802, Green Headphone Out, Front] No sound after suspend/resume

2014-07-29 Thread Kiril
Done: int snd_hda_get_sub_nodes(struct hda_codec *codec, hda_nid_t nid, hda_nid_t *start_id) { unsigned int parm; parm = snd_hda_param_read(codec, nid, AC_PAR_NODE_COUNT); if (parm == -1) return 0; *start_id = (parm 16)

[Touch-packages] [Bug 1313904] Re: [W230SS, VIA VT1802, Green Headphone Out, Front] No sound after suspend/resume

2014-07-29 Thread Kiril
Disabled independent HP by commenting the line in patch_via.c: //spec-gen.indep_hp = 1; Headphones does not works after resume. alsa-info before suspend: http://www.alsa-project.org/db/?f=c7f2d491818afda332e303228f893447e71f37e8 alsa-info after resume:

[Touch-packages] [Bug 1313904] Re: [W230SS, VIA VT1802, Green Headphone Out, Front] No sound after suspend/resume

2014-07-28 Thread Kiril
@Raymond Checked this. reverted ef4da45828603df57e5e21b8aa21a66ce309f79b and changed read_widget_caps to: static int read_widget_caps(struct hda_codec *codec, hda_nid_t fg_node) { int i; hda_nid_t nid; codec-num_nodes = snd_hda_get_sub_nodes(codec, fg_node,

[Touch-packages] [Bug 1313904] Re: [W230SS, VIA VT1802, Green Headphone Out, Front] No sound after fresh boot

2014-07-27 Thread Kiril
Done. ** Description changed: - When I boot Windows and then reboot into Ubuntu the sound is ok. - But when I am booting after turning laptop on there are no sound in headphone jack. Mic jack works fine. - Also heaphone stop working after putting laptop to sleep. + No sound in headphones jack

[Touch-packages] [Bug 1313904] Re: [W230SS, VIA VT1802, Green Headphone Out, Front] No sound after fresh boot

2014-07-27 Thread Kiril
Hi Urund, You are correct, after more investigation I came to same conclusion. It is described at kernel.org: https://bugzilla.kernel.org/show_bug.cgi?id=75151 I have posted alsa logs there. And about InitHeadphone: this is cool, solution for windows is found, and maybe someone could make