← Back to team overview

sony-vaio-z-series team mailing list archive

Re: Ubuntu 13.10 no sound on speakers

 

Turns out that via headphones even on the 3.11 kernel the audio from Skype
generates static.  Muting the audio to Skype only is a workaround for now.
 Now I just need to see if I can find a sony-laptop-zseries patch that
supports the 3.12 kernel.

In the event that there is someone here familiar with the
sony-laptop-zeries-master module it would be awesome to get some help on
getting this to compile in 3.12.  I've attached the module source and the
errors that I get when attempting to compile.  This code compiles fine
against 3.11 and gives the attached errors on 3.12.

~Brett


On Sat, Oct 19, 2013 at 2:11 AM, Brett Howard <brett@xxxxxxxxxxxxxxxxx>wrote:

> Turns out that via headphones even on the 3.11 kernel the audio from Skype
> generates static.  Muting the audio to Skype only is a workaround for now.
>  Now I just need to see if I can find a sony-laptop-zseries patch that
> supports the 3.12 kernel.
>
> ~Brett
>
>
> On Fri, Oct 18, 2013 at 3:17 AM, Brett Howard <brett@xxxxxxxxxxxxxxxxx>wrote:
>
>> I just installed 3.12RC5 from here:
>> http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-rc5-saucy/
>>
>> Upon a reboot I had sound.  Loaded up smplayer and poof all worked out of
>> the speakers.  However then a friend signed onto skype and when it went to
>> make a sound the speakers started a static sound.  Adjusting the volume in
>> the sound applet would then adjust the volume of this static sound.
>>
>> Another yet more annoying problem was that the sony-laptop-zseries-master
>> file that I've been using all this time would no longer compile in 3.12.
>>  Hopefully there will be some improvements that make 3.12 not have the
>> other sound issues.  The static sound wouldn't stop.  I should have tried
>> restarting alsa but didn't...
>>
>> Anyway back on 3.11 now but thought I'd report what i found with the
>> latest Ubuntu 3.12 packages.
>>
>> ~Brett
>>
>>
>> On Fri, Oct 18, 2013 at 2:49 AM, Adam Williamson <awilliam@xxxxxxxxxx>wrote:
>>
>>> On 2013-10-18 09:57, Benjamin Heckmann wrote:
>>>
>>>> Hi Brett.
>>>>
>>>> Same problem; no sound on internal speakers, but works for headphones
>>>> and hdmi.
>>>>
>>>> Cheers.
>>>> Benjamin
>>>>
>>>> Am 18.10.2013 08:07, schrieb Brett Howard:
>>>>
>>>>> After update to Ubuntu 13.10 I now have no sound except for on
>>>>> headphones.  I followed all instructions here
>>>>> http://itsfoss.com/fix-sound-**ubuntu-1304-quick-tip/<http://itsfoss.com/fix-sound-ubuntu-1304-quick-tip/>and that seems to
>>>>> have only broken the sound icon in the notification area.  Still
>>>>> working
>>>>> on it but though I'd share and see if anyone else had run into this.
>>>>>
>>>>
>>> Use a 3.12 kernel, it's fixed in 3.12. Don't know where you can get one
>>> for Ubuntu.
>>> --
>>> Adam Williamson
>>> Fedora QA Community Monkey
>>> IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
>>> http://www.happyassassin.net
>>>
>>>
>>> ______________________________**_________________
>>> Mailing list: https://launchpad.net/~sony-**vaio-z-series<https://launchpad.net/~sony-vaio-z-series>
>>> Post to     : sony-vaio-z-series@lists.**launchpad.net<sony-vaio-z-series@xxxxxxxxxxxxxxxxxxx>
>>> Unsubscribe : https://launchpad.net/~sony-**vaio-z-series<https://launchpad.net/~sony-vaio-z-series>
>>> More help   : https://help.launchpad.net/**ListHelp<https://help.launchpad.net/ListHelp>
>>>
>>
>>
>
brett@lappy:~/Downloads/sony-laptop-zseries-master$ make
make -C /lib/modules/3.12.0-031200rc6-generic/build SUBDIRS=/home/brett/Downloads/sony-laptop-zseries-master modules
make[1]: Entering directory `/usr/src/linux-headers-3.12.0-031200rc6-generic'
  CC [M]  /home/brett/Downloads/sony-laptop-zseries-master/sony-laptop.o
/home/brett/Downloads/sony-laptop-zseries-master/sony-laptop.c: In function ‘sony_nc_rfkill_set’:
/home/brett/Downloads/sony-laptop-zseries-master/sony-laptop.c:1421:4: error: implicit declaration of function ‘acpi_bus_generate_proc_event’ [-Werror=implicit-function-declaration]
    acpi_bus_generate_proc_event(sony_nc_acpi_device,
    ^
/home/brett/Downloads/sony-laptop-zseries-master/sony-laptop.c: At top level:
/home/brett/Downloads/sony-laptop-zseries-master/sony-laptop.c:4736:3: warning: initialization from incompatible pointer type [enabled by default]
   .remove = sony_nc_remove,
   ^
/home/brett/Downloads/sony-laptop-zseries-master/sony-laptop.c:4736:3: warning: (near initialization for ‘sony_nc_driver.ops.remove’) [enabled by default]
In file included from /usr/src/linux-headers-3.12.0-031200rc6-generic/arch/x86/include/asm/apic.h:5:0,
                 from /usr/src/linux-headers-3.12.0-031200rc6-generic/arch/x86/include/asm/smp.h:13,
                 from /usr/src/linux-headers-3.12.0-031200rc6-generic/arch/x86/include/asm/mmzone_64.h:10,
                 from /usr/src/linux-headers-3.12.0-031200rc6-generic/arch/x86/include/asm/mmzone.h:4,
                 from include/linux/mmzone.h:917,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /home/brett/Downloads/sony-laptop-zseries-master/sony-laptop.c:56:
include/linux/pm.h:328:14: warning: initialization from incompatible pointer type [enabled by default]
 const struct dev_pm_ops name = { \
              ^
/home/brett/Downloads/sony-laptop-zseries-master/sony-laptop.c:6272:8: note: in expansion of macro ‘SIMPLE_DEV_PM_OPS’
 static SIMPLE_DEV_PM_OPS(sony_pic_pm, sony_pic_suspend, sony_pic_resume);
        ^
include/linux/pm.h:328:14: warning: (near initialization for ‘sony_pic_pm.suspend’) [enabled by default]
 const struct dev_pm_ops name = { \
              ^
/home/brett/Downloads/sony-laptop-zseries-master/sony-laptop.c:6272:8: note: in expansion of macro ‘SIMPLE_DEV_PM_OPS’
 static SIMPLE_DEV_PM_OPS(sony_pic_pm, sony_pic_suspend, sony_pic_resume);
        ^
include/linux/pm.h:328:14: warning: initialization from incompatible pointer type [enabled by default]
 const struct dev_pm_ops name = { \
              ^
/home/brett/Downloads/sony-laptop-zseries-master/sony-laptop.c:6272:8: note: in expansion of macro ‘SIMPLE_DEV_PM_OPS’
 static SIMPLE_DEV_PM_OPS(sony_pic_pm, sony_pic_suspend, sony_pic_resume);
        ^
include/linux/pm.h:328:14: warning: (near initialization for ‘sony_pic_pm.freeze’) [enabled by default]
 const struct dev_pm_ops name = { \
              ^
/home/brett/Downloads/sony-laptop-zseries-master/sony-laptop.c:6272:8: note: in expansion of macro ‘SIMPLE_DEV_PM_OPS’
 static SIMPLE_DEV_PM_OPS(sony_pic_pm, sony_pic_suspend, sony_pic_resume);
        ^
include/linux/pm.h:328:14: warning: initialization from incompatible pointer type [enabled by default]
 const struct dev_pm_ops name = { \
              ^
/home/brett/Downloads/sony-laptop-zseries-master/sony-laptop.c:6272:8: note: in expansion of macro ‘SIMPLE_DEV_PM_OPS’
 static SIMPLE_DEV_PM_OPS(sony_pic_pm, sony_pic_suspend, sony_pic_resume);
        ^
include/linux/pm.h:328:14: warning: (near initialization for ‘sony_pic_pm.poweroff’) [enabled by default]
 const struct dev_pm_ops name = { \
              ^
/home/brett/Downloads/sony-laptop-zseries-master/sony-laptop.c:6272:8: note: in expansion of macro ‘SIMPLE_DEV_PM_OPS’
 static SIMPLE_DEV_PM_OPS(sony_pic_pm, sony_pic_suspend, sony_pic_resume);
        ^
/home/brett/Downloads/sony-laptop-zseries-master/sony-laptop.c:6286:3: warning: initialization from incompatible pointer type [enabled by default]
   .remove = sony_pic_remove,
   ^
/home/brett/Downloads/sony-laptop-zseries-master/sony-laptop.c:6286:3: warning: (near initialization for ‘sony_pic_driver.ops.remove’) [enabled by default]
cc1: some warnings being treated as errors
make[2]: *** [/home/brett/Downloads/sony-laptop-zseries-master/sony-laptop.o] Error 1
make[1]: *** [_module_/home/brett/Downloads/sony-laptop-zseries-master] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.12.0-031200rc6-generic'
make: *** [default] Error 2
brett@lappy:~/Downloads/sony-laptop-zseries-master$ 

Attachment: sony-laptop-zseries-master.zip
Description: Zip archive


References