Automatically Recompile AUR Module on Kernel Update?

I'm using acpi_call-git from the AUR to turn off my NVidia graphics card on my Optimus laptop.
It works great, but it breaks every time there is a kernel update.
I have to recompile and reinstall the package, and then reboot again.
Is there a more convenient way to get this done? I've tried recompiling before rebooting on a kernel update, but the compilation inevitably fails.
Any advice would be appreciated.

yes there is a dkms version in the AUR.  http://aur.archlinux.org/packages.php?ID=54641
It will automatically recompile the module when a new kernel is installed. "dkms_autoinstaller" will need to be added to the DAEMONS array in /etc/rc.conf

Similar Messages

  • Automatically build kernel module after kernel update

    Hello. Everytime kernel is updated, my wifi drivers don't work. I need to use this to get my adapter working: https://aur.archlinux.org/packages/8192cu-dkms/ .
    After kernel update, I have to manually reinstall the package, so the kernel module gets rebuilt. Is there any way to make it automatic?

    I noticed it, but your script doesn't run at all when I type `mkinitcpio -p linux`. And wifi still works after reboot. Same for graphics driver, it has a hook at shutdown, that rebuilds its module after kernel update, it haven't run too and graphics driver works. It's like 'mkinitcpio -p linux' does nothing to the system.
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    ==> Starting build: 4.0.4-2-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [autodetect]
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
    ==> Image generation successful
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    ==> Starting build: 4.0.4-2-ARCH
    -> Running build hook: [base]
    -> Running build hook: [udev]
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: wd719x
    ==> WARNING: Possibly missing firmware for module: aic94xx
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    ==> Generating module dependencies
    ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
    ==> Image generation successful
    Last edited by kox (2015-06-02 07:18:24)

  • Automatic recompiling of kernel module after kernel update.

    Hello everyone,
    i tried to search for it but without success...
    my question is - is it possible to set it up somehow that aur package would recompile after kernel update?
    The package I would like to rebuild is rt3090 which is module for my wifi card. It is very annoying to rebuild it manually. I know that my fglrx module does it automaticaly but how to set it?
    Thank all of you for any advise.

    Thank you :-) It looks ok, I will try DKMS as soon as I get some free time. If there was any problem, I would tell you.
    BTW: I use catalyst mainly because of saving energy management, which is of course better for my netbook. My card is too new to be fully supported by the opensource driver.
    EDIT:
    I solved the situation by upgrading my system, I tried in-kernel module rt2800pci. In the previous kernels it didn't work well with my crappy ralink rt3090 wifi card, but that's been improved :-) so I do not need rebuild the package anymore even because this module isn't compatible with newest kernel.
    I also learnt how to write my own hook from archwiki (https://wiki.archlinux.org/index.php/Mkinitcpio) so if the new module didn't work I would try it.
    The final solution = replace module rt3090sta by rt2800pci.
    Thanks! Arch has very powerful community :-)
    Last edited by h@lf@rk (2012-06-02 18:34:17)

  • Auto rebuilding module after kernel update?

    Hi,
    I'm using the package broadcom-wl on my Arch-laptop, and it has to be rebuilt everytime I update the kernel. That is no problem until you forget it once and have to go looking for that cable that the misses has thoroughly hidden from me.
    Is there a place where I can f.e. specify which modules have to be rebuilt after the kernel is updated? This package is in AUR, so that might pose another problem?
    THX

    ngoonee wrote:Why would you need an internet connection to rebuild it? Just leave the directory there and makepkg -fi again.
    Yeah, at that time, I didn't think of that...
    ngoonee wrote:As far as I know there's no support for what you're trying to do. Pacman hooks may come in the next version, it seems.
    That would be nice - I'll keep an eye on that one...

  • [SOLVED] No sound modules after kernel update

    Hello,
    after updating my kernel, I have no sound modules. Alsaconf can't detect card. My lspci sound card:
    00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
    My lsmod:
    Module Size Used by
    joydev 9895 0
    usbhid 35352 0
    hid 82435 1 usbhid
    nvidia 12069499 40
    broadcom 7270 0
    tg3 133684 0
    ehci_hcd 40794 0
    intel_ips 11245 0
    psmouse 55501 0
    libphy 16985 2 broadcom,tg3
    i7core_edac 16231 0
    serio_raw 4294 0
    i2c_i801 8187 0
    pcspkr 1819 0
    evdev 9530 10
    usbcore 144144 3 usbhid,ehci_hcd
    edac_core 37552 3 i7core_edac
    i2c_core 20460 2 nvidia,i2c_i801
    sg 25429 0
    iTCO_wdt 11789 0
    button 4470 0
    iTCO_vendor_support 1961 1 iTCO_wdt
    processor 24224 0
    fuse 66858 2
    ext4 375413 3
    mbcache 5881 1 ext4
    jbd2 70667 1 ext4
    crc16 1359 1 ext4
    raid0 7958 2
    md_mod 100392 3 raid0
    sr_mod 14951 0
    cdrom 36553 1 sr_mod
    sd_mod 28275 8
    pata_acpi 3376 0
    ata_piix 22077 6
    libata 166724 2 pata_acpi,ata_piix
    scsi_mod 132794 4 sg,sr_mod,sd_mod,libata
    And my kernel:
    Linux nekroman 3.1.2-1-ARCH #1 SMP PREEMPT Tue Nov 22 09:17:56 CET 2011 x86_64 Intel(R) Core(TM) i5 CPU 760 @ 2.80GHz GenuineIntel GNU/Linux
    Thanks for help.
    //edit:
    Reinstalled kernel and it works!
    Last edited by Nekroman (2011-11-25 15:08:32)

    how did you re-install the kernel?  I've never done that, and am too experiencing sound issues.
    --nixIT

  • [kernel] kernel update and third party modules management

    Hi all,
            I turned to Archlinux with my new thinkpad X220 just for a few days, while I have used Ubuntu for 4 years. I had never controlled my system in such a degree, and feel happy about it.
           However, I have a question about kernel update, for I had install some modules from AUR with yaourt( e.g. tp_smapi, acpi_call). For my poor knowledge about pacman, I don't know how to handle those modules while I upgrade my kernel. I cannot remember to re-install all of them!
          I think there must be a solution that I didn't found, so I write this thread to ask for help.
          Any help would be appreciate.

    Mr.Elendig wrote:You can use some silly wrapper around pacman that rebuilds them when there is a kernel update. I'm sure someone has written one already.
    Thank you, Mr.Elendig. Do you mean some kind of frontend such as yaourt?
    Or some kind of hooks like this:
    aur/mkinitcpio-vbox 2.0-3 (Out of Date) (29)
        VirtualBox hook for mkinitcpio that rebuilds kernel modules on next reboot
    Using the key words you provided, I searched " kernel upgrade module rebuild " and found that gentoo offically provide a tool called  "module-rebuild" to reinstall external modules. Maybe it's because gentoo always compile source code? But no other results.
    However, now I found what I need to do is just to build the modules listed in the /etc/rc.conf, and that is acceptable. Maybe after a few weeks of study, I can find out my way to solve this problem.
    And thanks for your reply.
    Last edited by ywarlock (2012-03-09 16:20:36)

  • DKMS - module not compiled after kernel update

    Hello all,
    I'm using a USB Wifi Adapter which has very bad support : D-Link DWA160 B2
    I have followed the instruction from this excellent guide to add the driver sources to DKMS, to get it compiled automatically after all kernel update:
    http://bernaerts.dyndns.org/linux/229-u … er-to-dkms
    Unfortunatly the 2 last kernel upgrade did not trigger the driver compile.
    There is no DKMS logs, and everything seems to be well configured.
    My DKMS conf file:
    /root/driver-dkms
    [root@purelight driver-dkms]# more dkms.conf
    MAKE="make KERNELDIR=/lib/modules/${kernelver}/build"
    CLEAN="make clean"
    BUILT_MODULE_NAME=rt5572sta
    BUILT_MODULE_LOCATION=os/linux/
    DEST_MODULE_LOCATION=/kernel/drivers/net/wireless/
    PACKAGE_NAME=rt5572sta
    PACKAGE_VERSION=2.601
    REMAKE_INITRD=no
    [root@purelight 2.601]# pwd
    /var/lib/dkms/rt5572sta/2.601
    [root@purelight 2.601]# ls -lsa
    total 24
    4 drwxr-xr-x 6 root root 4096 Oct 17 20:54 .
    4 drwxr-xr-x 3 root root 4096 Oct 17 20:54 ..
    4 drwxr-xr-x 3 root root 4096 Oct 6 20:44 3.5.4-1-ARCH
    4 drwxr-xr-x 3 root root 4096 Oct 9 20:43 3.5.6-1-ARCH
    4 drwxr-xr-x 3 root root 4096 Oct 17 20:54 3.6.2-1-ARCH
    4 drwxr-xr-x 11 root root 4096 Oct 17 20:54 build
    0 lrwxrwxrwx 1 root root 24 Oct 6 20:42 source -> /usr/src/rt5572sta-2.601
    [root@purelight 2.601]# dkms build -m rt5572sta -v 2.601
    Module rt5572sta/2.601 already built for kernel 3.6.2-1-ARCH/4
    It seems that there is nothing relevant in the logs:
    [root@purelight log]# grep dkms /var/log/*
    auth.log:Oct 17 20:52:53 purelight sudo: syl : TTY=pts/2 ; PWD=/var/lib/dkms/rt5572sta/2.601 ; USER=root ; COMMAND=/usr/sbin/dkms build -m rt5572sta -v 2.601
    auth.log:Oct 17 20:54:14 purelight sudo: syl : TTY=pts/2 ; PWD=/var/lib/dkms/rt5572sta/2.601 ; USER=root ; COMMAND=/usr/sbin/dkms install -m rt5572sta -v 2.601
    pacman.log:[2012-10-06 20:42] Running 'pacman -S dkms'
    pacman.log:[2012-10-06 20:42] installed dkms (2.2.0.3-12)
    Any help would be nice, thanks!

    Unia wrote:
    Are you using systemd? If so, you might have to reboot twice. The catalyst-dkms package (video driver for amd cards) in [community] currently has the same problems. I'd suggest for you to read the last few pages in that thread to see background information:
    https://bbs.archlinux.org/viewtopic.php?id=57084&p=177
    Yes I do use systemd. Since I'm using a quite recent installation, it was included by default.
    At the next kernel upgrade I'll try this trick of reboot twice, and see if it works.
    Cheers!

  • Module 'asus-nb-wmi' stopped being auto-loaded after kernel update

    Well, the module 'asus-nb-wmi' which takes care of some FN keys and keyboard backlight stopped being auto-loaded after the latest kernel udpate (3.9.3), so I had to add it to /etc/modules-load.d/ to get it working. This has happened before, between kernel updates and I had to re-install arch to fix it, but now I found that manually adding the module is a nice solution, but I want it to be loaded automatically or at least know why does this happen. Kernel modules, such as this one, should be loaded automatically right?
    Best regards.
    Last edited by DanielRS (2013-07-04 19:54:48)

    I think there is a valid question here;  Same thing happened to me.
    Upon a default install of arch, the module was auto-loaded without the user touching any configuration files
    at some point during kernel updates, the module is no longer auto-loaded
    the user then has to find out what is happening and go add the module to the appropriate config file to force load on boot.
    So the larger question is; without config files being taken into consideration, how does the kernel decide what modules to load?  f
    I know it has something to do with the hardware that it detects, but am unaware if this is something within the RC or systemctl booting system, or if this is part of the kernel.
    I'm going to dig around some more on the internet, as i'm sure the answer is out there somewhere.. but if someone that is on this forum happens to read and know the answer, it would be nice to know
    thanks

  • [Solved] Can not build modules for VMware Player after kernel updates

    I have a problem generating the modules for VMware Player after kernel updates. I am using  VMware Player version 5.02 (without patches) and the softlink according to the Wiki.
    When I start the installation of the modules from the GUI, the program just closes. Running vmware-modconfig in the CLI generates the following log file:
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: Log for VMware Workstation pid=7478 version=9.0.2 build=build-1031769 option=Release
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: The process is 64-bit.
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: Host codepage=UTF-8 encoding=UTF-8
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: Host is Linux 3.8.10-1-ARCH 2012.11.29
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: Msg_Reset:
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": Datei oder Verzeichnis nicht gefunden.
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: ----------------------------------------
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: Msg_Reset:
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": Datei oder Verzeichnis nicht gefunden.
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: ----------------------------------------
    2013-04-29T09:49:27.891+01:00| vthread-3| I120: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
    2013-04-29T09:49:27.891+01:00| vthread-3| W110: Logging to /tmp/vmware-root/vmware-modconfig-7478.log
    2013-04-29T09:49:27.892+01:00| vthread-3| W110: Icon name must be set.
    Interestingly, after deinstallation and reinstallation the VMWare Player works fine.
    Any hint, what's going wrong?
    Last edited by Thomas_Do (2013-08-07 07:25:51)

    Today, (Kernel  3.10.5-1, VMware Player version 5.02 with kernel patches) the modules could successful be generated from the CLI:
    vmware-modconfig --console --install-all
    Solved (somehow).

  • [Solved] Nvidia after kernel update

    The nvidia wiki clearly states that: "Every time the kernel26 package is updated, it is a requirement to reinstall the nvidia package and rebooting afterwards. "
    But my question is, why? I mean, if the module was to be recompiled, that would make sense. But what does just reinstalling the driver accomplish? In my system, pacman -Ql nvidia shows:
    $ pacman -Ql nvidia
    nvidia /etc/
    nvidia /etc/modprobe.d/
    nvidia /etc/modprobe.d/nouveau_blacklist.conf
    nvidia /lib/
    nvidia /lib/modules/
    nvidia /lib/modules/2.6.35-ARCH/
    nvidia /lib/modules/2.6.35-ARCH/kernel/
    nvidia /lib/modules/2.6.35-ARCH/kernel/drivers/
    nvidia /lib/modules/2.6.35-ARCH/kernel/drivers/video/
    nvidia /lib/modules/2.6.35-ARCH/kernel/drivers/video/nvidia.ko
    From what I've read, I think the kernel update process copies the compiled modules into the proper folder (inside /lib) named by the kernel version. Should this not be the case with nvidia? If it is not, then is this why the reinstall is needed?
    Thanks in advance (and my apologies if I've glossed over something that's patently obvious --- while I've searched for the answer before posting, I am still quite the novice at tinkering with the kernel)
    EDIT: just after posting I've realized that maybe this post belongs in "Kernel and Hardware Issues" subforum. But the truth is this isn't really an "issue"... it's more a question from, well, a newbie :-)
    Last edited by gauthma (2010-09-28 21:53:04)

    gauthma wrote:
    Thank you for the feedback.
    ngoonee wrote:Of course, if you're using nvidia-beta or some other AUR nvidia driver, you need to reinstall it.
    Running the risk of asking what might be obvious to some, why?
    The driver speaks to the kernel. When the kernel updates, the language used might have changed in various ways. Since nvidia is closed-source, its not always obvious whether what has changed affects it. The same applies to xorg-server, when it updates you should recompile your nvidia driver. Its SOMETIMES not needed, but when it is, would you rather be solving it from the tty?
    quathma wrote:
    ngoonee wrote:That's what the wiki is referring to. Even if the kernel major version has not updated (for example 2.6.35.5 to 2.6.35.6 is only a minor version bump) the driver may need to be recompiled. Safer to just do it everytime and restart the machine.
    Now I'm confused. Are you saying that the safest approach is to recompile and (re)install the nvidia module after each kernel update? And does this only apply to modules from beta & AUR, or [extra] as well? And shouldn't all this issue of recompiling modules also apply to every other module installed in the system?
    Yes that's the safest approach. [extra] is taken care of by the devs, the simple way is to assume they'll bump it if needed (and you don't need to do anything).
    The same thing applies to almost any kernel module (AFAIK). It applies to virtualbox's modules, for sure, as well as phc-intel (the only other 2 external modules I use). Most kernel modules are actually compiled in to the kernel26 package anyway, so its not very many. I just automatically recompile the ones I use whenever I notice a kernel/xorg update.

  • Broadcom-wl-dkms not reinstalled after kernel update

    I use broadcom-wl-dkms for my wireless card (Broadcom BCM4352 rev 03). All works well, until the kernel is updated.
    I expected dkms to rebuild the package automatically, but apparently something goes wrong in the process: after every one of the last few kernel updates, the module was correctly rebuilt on reboot, but not re-installed.
    root@tank ~ # dkms status
    broadcom-wl, 6.30.223.248, 3.19.2-1-ARCH, x86_64: installed
    broadcom-wl, 6.30.223.248, 3.19.3-3-ARCH, x86_64: installed
    broadcom-wl, 6.30.223.248, 4.0.1-1-ARCH, x86_64: installed
    broadcom-wl, 6.30.223.248, 4.0.2-1-ARCH, x86_64: installed
    broadcom-wl, 6.30.223.248, 4.0.3-1-ARCH, x86_64: built
    Running
    root@tank ~ # dkms install broadcom-wl/6.30.223.248
    wl:
    Running module version sanity check.
    - Original module
    - No original module exists within this kernel
    - Installation
    - Installing to /usr/lib/modules/4.0.3-1-ARCH/kernel/drivers/net/wireless/
    depmod....
    DKMS: install completed.
    does the trick, but ideally I wouldn't have to do that.
    Looking at dkms logs, I get that:
    May 17 20:41:10 tank systemd[1]: Starting Dynamic Kernel Modules System...
    May 17 20:41:10 tank dkms[443]: Kernel preparation unnecessary for this kernel. Skipping...
    May 17 20:41:10 tank dkms[443]: Kernel preparation unnecessary for this kernel. Skipping...
    May 17 20:41:10 tank dkms[443]: Building module:
    May 17 20:41:10 tank dkms[443]: cleaning build area...
    May 17 20:41:10 tank dkms[443]: Building module:
    May 17 20:41:13 tank dkms[443]: cleaning build area....
    May 17 20:41:13 tank dkms[443]: make KERNELRELEASE=4.0.3-1-ARCH KVERSION=4.0.3-1-ARCH....
    May 17 20:41:16 tank dkms[443]: make KERNELRELEASE=4.0.3-1-ARCH -C /usr/lib/modules/4.0.3-1-ARCH/build M=/var/lib/dkms/broadcom-w
    May 17 20:41:16 tank dkms[443]: cleaning build area....
    May 17 20:41:19 tank dkms[443]: cleaning build area....
    May 17 20:41:19 tank dkms[443]: Kernel cleanup unnecessary for this kernel. Skipping...
    May 17 20:41:19 tank dkms[443]: DKMS: build completed.
    May 17 20:41:19 tank dkms[443]: steamos-xpad.ko:
    May 17 20:41:19 tank dkms[443]: Running module version sanity check.
    May 17 20:41:19 tank dkms[443]: .
    May 17 20:41:19 tank dkms[443]: Kernel cleanup unnecessary for this kernel. Skipping...
    May 17 20:41:19 tank dkms[443]: DKMS: build completed.
    May 17 20:41:19 tank dkms[443]: wl.ko:
    May 17 20:41:19 tank dkms[443]: Running module version sanity check.
    May 17 20:41:20 tank dkms[443]: - Original module
    May 17 20:41:20 tank dkms[443]: - Original module
    May 17 20:41:20 tank dkms[443]: - No original module exists within this kernel
    May 17 20:41:20 tank dkms[443]: - No original module exists within this kernel
    May 17 20:41:20 tank dkms[443]: - Installation
    May 17 20:41:20 tank dkms[443]: - Installation
    May 17 20:41:20 tank dkms[443]: - Installing to /usr/lib/modules/4.0.3-1-ARCH/kernel/drivers/input/joystick/
    May 17 20:41:20 tank dkms[443]: - Installing to /usr/lib/modules/4.0.3-1-ARCH/kernel/drivers/net/wireless/
    May 17 20:41:23 tank dkms[443]: depmod...depmod....
    May 17 20:41:23 tank dkms[443]: DKMS: install completed.
    May 17 20:41:23 tank dkms[443]: .(bad exit status: 1)
    May 17 20:41:23 tank dkms[443]: -------- Uninstall Beginning --------
    May 17 20:41:23 tank dkms[443]: Module: broadcom-wl
    May 17 20:41:23 tank dkms[443]: Version: 6.30.223.248
    May 17 20:41:23 tank dkms[443]: Kernel: 4.0.3-1-ARCH (x86_64)
    May 17 20:41:23 tank dkms[443]: -------------------------------------
    May 17 20:41:23 tank dkms[443]: Status: Before uninstall, this module version was ACTIVE on this kernel.
    May 17 20:41:23 tank dkms[443]: wl.ko:
    May 17 20:41:23 tank dkms[443]: - Uninstallation
    May 17 20:41:23 tank dkms[443]: - Deleting from: /usr/lib/modules/4.0.3-1-ARCH/kernel/drivers/net/wireless/
    May 17 20:41:23 tank dkms[443]: - Original module
    May 17 20:41:23 tank dkms[443]: - No original module was found for this module on this kernel.
    May 17 20:41:23 tank dkms[443]: - Use the dkms install command to reinstall any previous module version.
    May 17 20:41:26 tank dkms[443]: depmod....
    May 17 20:41:26 tank dkms[443]: /usr/sbin/dkms: line 1873: echo: write error: Broken pipe
    May 17 20:41:26 tank dkms[443]: /usr/sbin/dkms: line 1875: echo: write error: Broken pipe
    May 17 20:41:26 tank dkms[443]: /usr/sbin/dkms: line 1873: echo: write error: Broken pipe
    May 17 20:41:26 tank dkms[443]: /usr/sbin/dkms: line 1875: echo: write error: Broken pipe
    May 17 20:41:26 tank dkms[443]: /usr/sbin/dkms: line 1873: echo: write error: Broken pipe
    May 17 20:41:26 tank dkms[443]: /usr/sbin/dkms: line 1875: echo: write error: Broken pipe
    May 17 20:41:26 tank dkms[443]: /usr/sbin/dkms: line 1873: echo: write error: Broken pipe
    May 17 20:41:26 tank dkms[443]: /usr/sbin/dkms: line 1875: echo: write error: Broken pipe
    May 17 20:41:26 tank dkms[443]: DKMS: uninstall completed.
    May 17 20:41:26 tank dkms[443]: Error! Problems with depmod detected. Automatically uninstalling this module.
    May 17 20:41:26 tank dkms[443]: DKMS: Install Failed (depmod problems). Module rolled back to built state.
    May 17 20:41:26 tank systemd[1]: Started Dynamic Kernel Modules System.
    Apart from telling me that the broadcom-wl install failed, I don't see much in there.
    Any clue on what's going on? Thanks!
    Last edited by Gyscos (2015-05-18 08:25:32)

    The open source driver might work or might not. For me it was extremely unreliable and slow. Use the broadcom-wl driver or b43 like ugjk suggests.The wl driver is in aur.

  • [SOLVED] no timidity service + pulse, kernel update (3.16.3-1)

    I had sound working before upon boot, but sound was failing after resume from suspend on HP dv7 laptop.  I hadn't gotten around to figuring out how to store alsa state (what I believe to be the solution to sound failing after suspend).  My install is about a week old.  I ran pacman -Syu to get into the habit of doing so.  Now I know why it is suggested to not do the updates when you don't have time to fix things that might need to be fixed.
    alsamixer is not muted, but I only see master channel as user or root - selecting the Intel PCH sound card within alsamixer allowed me to see the other channels, but speaker-test remained silent.  But I have been consistently seeing PCH Transcoder A errors on boot.  Wasn't sure what they were, since everything had worked prior to kernel update.  Investigating sound yields my hardware is Intel PCH, so these errors may be important, but I am also unsure how to access any log they might be recorded in.
    EDIT: speaker-test and timidity work in single user console mode, but not in KDE.
    [mark@arch-hpdv7t-laptop ~]$ uname -a
    Linux arch-hpdv7t-laptop 3.16.3-1-ARCH #1 SMP PREEMPT Wed Sep 17 21:54:13 CEST 2014 x86_64 GNU/Linux
    [mark@arch-hpdv7t-laptop ~]$ aplay -Ll
    null
    Discard all samples (playback) or generate zero samples (capture)
    pulse
    PulseAudio Sound Server
    default
    Default ALSA Output (currently PulseAudio Sound Server)
    sysdefault:CARD=PCH
    HDA Intel PCH, 92HD91BXX Analog
    Default Audio Device
    front:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD91BXX Analog
    Front speakers
    surround21:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD91BXX Analog
    2.1 Surround output to Front and Subwoofer speakers
    surround40:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD91BXX Analog
    4.0 Surround output to Front and Rear speakers
    surround41:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD91BXX Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
    surround50:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD91BXX Analog
    5.0 Surround output to Front, Center and Rear speakers
    surround51:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD91BXX Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
    surround71:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD91BXX Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
    hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
    **** List of PLAYBACK Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: 92HD91BXX Analog [92HD91BXX Analog]
    Subdevices: 0/1
    Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    [mark@arch-hpdv7t-laptop ~]$ lspci -vvnn | grep -A1 '040[1-3]'
    00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
    Subsystem: Hewlett-Packard Company Device [103c:1818]
    [mark@arch-hpdv7t-laptop ~]$ cat /proc/asound/modules
    0 snd_hda_intel
    [mark@arch-hpdv7t-laptop ~]$ for i in $(awk '{print $2 | "sort"}' /proc/asound/modules | uniq); do echo "--- $i ---"; systool -vm $i; done
    --- snd_hda_intel ---
    Module = "snd_hda_intel"
    Attributes:
    coresize = "26327"
    initsize = "0"
    initstate = "live"
    refcnt = "3"
    taint = ""
    uevent = <store method only>
    Parameters:
    align_buffer_size = "-1"
    bdl_pos_adj = "1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
    beep_mode = "Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y"
    enable_msi = "-1"
    enable = "Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y"
    id = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
    index = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
    jackpoll_ms = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
    model = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
    patch = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
    position_fix = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
    power_save = "0"
    power_save_controller= "Y"
    probe_mask = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
    probe_only = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
    single_cmd = "N"
    snoop = "Y"
    Sections:
    .bss = "0xffffffffa038fa80"
    .data = "0xffffffffa038f000"
    .data.unlikely = "0xffffffffa038f7d0"
    .exit.text = "0xffffffffa038c930"
    .gnu.linkonce.this_module= "0xffffffffa038f800"
    .init.text = "0xffffffffa0392000"
    .note.gnu.build-id = "0xffffffffa038d000"
    .rodata = "0xffffffffa038d040"
    .rodata.str1.1 = "0xffffffffa038df02"
    .rodata.str1.8 = "0xffffffffa038e2e0"
    .smp_locks = "0xffffffffa038e618"
    .strtab = "0xffffffffa0395508"
    .symtab = "0xffffffffa0393000"
    .text = "0xffffffffa038a000"
    __mcount_loc = "0xffffffffa038e848"
    __param = "0xffffffffa038e628"
    __verbose = "0xffffffffa038f640"
    [mark@arch-hpdv7t-laptop ~]$ lsmod | grep ^snd
    snd_seq_dummy 12503 0
    snd_hrtimer 12604 1
    snd_seq 61165 5 snd_seq_dummy
    snd_seq_device 13132 2 snd_seq,snd_seq_dummy
    snd_hda_codec_hdmi 45117 1
    snd_hda_codec_idt 56908 1
    snd_hda_codec_generic 63126 1 snd_hda_codec_idt
    snd_hda_intel 26327 3
    snd_hda_controller 26727 1 snd_hda_intel
    snd_hda_codec 108552 5 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
    snd_hwdep 17244 1 snd_hda_codec
    snd_pcm 88487 5 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
    snd_timer 26614 4 snd_hrtimer,snd_pcm,snd_seq
    snd 69340 16 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
    [mark@arch-hpdv7t-laptop ~]$ fuser -v /dev/snd/*
    USER PID ACCESS COMMAND
    /dev/snd/seq: mark 651 F.... rosegarden
    I discovered sound did not work after rebooting to restart sound for Rosegarden.  Rosegarden was still open when I started running these diagnostics.  speaker-test does not work either.  The above fuser command returned nothing after closing Rosegarden, but speaker-test remained silent.
    [mark@arch-hpdv7t-laptop ~]$ for i in /proc/asound/card[0-9]*; do echo "--- $i ---";amixer -c $(cat $i/id); done
    --- /proc/asound/card0 ---
    Simple mixer control 'Master',0
    Capabilities: pvolume pvolume-joined pswitch pswitch-joined
    Playback channels: Mono
    Limits: Playback 0 - 127
    Mono: Playback 127 [100%] [0.00dB] [on]
    Simple mixer control 'Headphone',0
    Capabilities: pvolume pswitch
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 127
    Mono:
    Front Left: Playback 127 [100%] [0.00dB] [on]
    Front Right: Playback 127 [100%] [0.00dB] [on]
    Simple mixer control 'Speaker',0
    Capabilities: pvolume pswitch
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 127
    Mono:
    Front Left: Playback 127 [100%] [0.00dB] [on]
    Front Right: Playback 127 [100%] [0.00dB] [on]
    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 'Mic',0
    Capabilities: pvolume pswitch
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 31
    Mono:
    Front Left: Playback 0 [0%] [-34.50dB] [off]
    Front Right: Playback 0 [0%] [-34.50dB] [off]
    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: 0 [0%] [0.00dB]
    Front Right: 0 [0%] [0.00dB]
    Simple mixer control 'IEC958',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]
    Simple mixer control 'Beep',0
    Capabilities: pvolume pvolume-joined pswitch pswitch-joined
    Playback channels: Mono
    Limits: Playback 0 - 3
    Mono: Playback 1 [33%] [-12.00dB] [off]
    Simple mixer control 'Capture',0
    Capabilities: cvolume cswitch
    Capture channels: Front Left - Front Right
    Limits: Capture 0 - 46
    Front Left: Capture 28 [61%] [12.00dB] [on]
    Front Right: Capture 28 [61%] [12.00dB] [on]
    Simple mixer control 'Auto-Mute Mode',0
    Capabilities: enum
    Items: 'Disabled' 'Enabled'
    Item0: 'Enabled'
    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 'Internal Mic Boost',0
    Capabilities: volume
    Playback channels: Front Left - Front Right
    Capture channels: Front Left - Front Right
    Limits: 0 - 3
    Front Left: 0 [0%] [0.00dB]
    Front Right: 0 [0%] [0.00dB]
    Simple mixer control 'Loopback Mixing',0
    Capabilities: enum
    Items: 'Disabled' 'Enabled'
    Item0: 'Disabled'
    Any ideas on what I should do?  Also, why did my sound break, and what should I do to prevent sound from breaking in future kernel updates?
    Last edited by mek42 (2014-10-03 23:38:31)

    Since it appears that my issue is a KDE issue, not ALSA, I'm working through the troubleshooting on the Pulse wiki page here.
    automute mode is off and alsactl store was run.
    [mark@arch-hpdv7t-laptop ~]$ pacmd list
    Memory blocks currently allocated: 1, size: 63.9 KiB.
    Memory blocks allocated during the whole lifetime: 427, size: 7.1 MiB.
    Memory blocks imported from other processes: 0, size: 0 B.
    Memory blocks exported to other processes: 0, size: 0 B.
    Total sample cache size: 0 B.
    Default sample spec: s16le 2ch 44100Hz
    Default channel map: front-left,front-right
    Default sink name: auto_null
    Default source name: auto_null.monitor
    Memory blocks of type POOL: 1 allocated/284 accumulated.
    Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated.
    Memory blocks of type APPENDED: 0 allocated/0 accumulated.
    Memory blocks of type USER: 0 allocated/0 accumulated.
    Memory blocks of type FIXED: 0 allocated/0 accumulated.
    Memory blocks of type IMPORTED: 0 allocated/143 accumulated.
    28 module(s) loaded.
    index: 0
    name: <module-device-restore>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Lennart Poettering"
    module.description = "Automatically restore the volume/mute state of devices"
    module.version = "5.0"
    index: 1
    name: <module-stream-restore>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Lennart Poettering"
    module.description = "Automatically restore the volume/mute/device state of streams"
    module.version = "5.0"
    index: 2
    name: <module-card-restore>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Lennart Poettering"
    module.description = "Automatically restore profile of cards"
    module.version = "5.0"
    index: 3
    name: <module-augment-properties>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Lennart Poettering"
    module.description = "Augment the property sets of streams with additional static information"
    module.version = "5.0"
    index: 4
    name: <module-switch-on-port-available>
    argument: <>
    used: -1
    load once: no
    properties:
    index: 5
    name: <module-udev-detect>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Lennart Poettering"
    module.description = "Detect available audio hardware and load matching drivers"
    module.version = "5.0"
    index: 6
    name: <module-jackdbus-detect>
    argument: <channels=2>
    used: -1
    load once: yes
    properties:
    module.author = "David Henningsson"
    module.description = "Adds JACK sink/source ports when JACK is started"
    module.version = "5.0"
    index: 7
    name: <module-bluetooth-policy>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Frédéric Dalleau"
    module.description = "When a bluetooth sink or source is added, load module-loopback"
    module.version = "5.0"
    index: 8
    name: <module-bluetooth-discover>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "João Paulo Rechi Vita"
    module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
    module.version = "5.0"
    index: 9
    name: <module-bluez5-discover>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "João Paulo Rechi Vita"
    module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
    module.version = "5.0"
    index: 10
    name: <module-esound-protocol-unix>
    argument: <>
    used: -1
    load once: no
    properties:
    module.author = "Lennart Poettering"
    module.description = "ESOUND protocol (UNIX sockets)"
    module.version = "5.0"
    index: 11
    name: <module-native-protocol-unix>
    argument: <>
    used: -1
    load once: no
    properties:
    module.author = "Lennart Poettering"
    module.description = "Native protocol (UNIX sockets)"
    module.version = "5.0"
    index: 13
    name: <module-default-device-restore>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Lennart Poettering"
    module.description = "Automatically restore the default sink and source"
    module.version = "5.0"
    index: 14
    name: <module-rescue-streams>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Lennart Poettering"
    module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
    module.version = "5.0"
    index: 15
    name: <module-always-sink>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Colin Guthrie"
    module.description = "Always keeps at least one sink loaded even if it's a null one"
    module.version = "5.0"
    index: 16
    name: <module-null-sink>
    argument: <sink_name=auto_null sink_properties='device.description="Dummy Output"'>
    used: 0
    load once: no
    properties:
    module.author = "Lennart Poettering"
    module.description = "Clocked NULL sink"
    module.version = "5.0"
    index: 17
    name: <module-intended-roles>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Lennart Poettering"
    module.description = "Automatically set device of streams based on intended roles of devices"
    module.version = "5.0"
    index: 18
    name: <module-suspend-on-idle>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Lennart Poettering"
    module.description = "When a sink/source is idle for too long, suspend it"
    module.version = "5.0"
    index: 19
    name: <module-console-kit>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Lennart Poettering"
    module.description = "Create a client for each ConsoleKit session of this user"
    module.version = "5.0"
    index: 20
    name: <module-systemd-login>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Lennart Poettering"
    module.description = "Create a client for each login session of this user"
    module.version = "5.0"
    index: 21
    name: <module-position-event-sounds>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Lennart Poettering"
    module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
    module.version = "5.0"
    index: 22
    name: <module-role-cork>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Lennart Poettering"
    module.description = "Mute & cork streams with certain roles while others exist"
    module.version = "5.0"
    index: 23
    name: <module-filter-heuristics>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Colin Guthrie"
    module.description = "Detect when various filters are desirable"
    module.version = "5.0"
    index: 24
    name: <module-filter-apply>
    argument: <>
    used: -1
    load once: yes
    properties:
    module.author = "Colin Guthrie"
    module.description = "Load filter sinks automatically when needed"
    module.version = "5.0"
    index: 25
    name: <module-device-manager>
    argument: <do_routing=1>
    used: -1
    load once: yes
    properties:
    module.author = "Colin Guthrie"
    module.description = "Keep track of devices (and their descriptions) both past and present and prioritise by role"
    module.version = "5.0"
    index: 26
    name: <module-x11-publish>
    argument: <display=:0>
    used: -1
    load once: no
    properties:
    module.author = "Lennart Poettering"
    module.description = "X11 credential publisher"
    module.version = "5.0"
    index: 27
    name: <module-x11-xsmp>
    argument: <display=:0 session_manager=local/arch-hpdv7t-laptop:@/tmp/.ICE-unix/505,unix/arch-hpdv7t-laptop:/tmp/.ICE-unix/505>
    used: -1
    load once: no
    properties:
    module.author = "Lennart Poettering"
    module.description = "X11 session management"
    module.version = "5.0"
    index: 28
    name: <module-cli-protocol-unix>
    argument: <>
    used: -1
    load once: no
    properties:
    module.author = "Lennart Poettering"
    module.description = "Command line interface protocol (UNIX sockets)"
    module.version = "5.0"
    1 sink(s) available.
    * index: 0
    name: <auto_null>
    driver: <module-null-sink.c>
    flags: DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
    state: SUSPENDED
    suspend cause: IDLE
    priority: 1000
    volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
    balance 0.00
    base volume: 65536 / 100% / 0.00 dB
    volume steps: 65537
    muted: no
    current latency: 0.00 ms
    max request: 344 KiB
    max rewind: 344 KiB
    monitor source: 0
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
    Stereo
    used by: 0
    linked by: 0
    configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
    module: 16
    properties:
    device.description = "Dummy Output"
    device.class = "abstract"
    device.icon_name = "audio-card"
    1 source(s) available.
    * index: 0
    name: <auto_null.monitor>
    driver: <module-null-sink.c>
    flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
    state: SUSPENDED
    suspend cause: IDLE
    priority: 1000
    volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
    balance 0.00
    base volume: 65536 / 100% / 0.00 dB
    volume steps: 65537
    muted: no
    current latency: 0.00 ms
    max rewind: 344 KiB
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
    Stereo
    used by: 0
    linked by: 0
    configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
    monitor_of: 0
    module: 16
    properties:
    device.description = "Monitor of Dummy Output"
    device.class = "monitor"
    device.icon_name = "audio-input-microphone"
    7 client(s) logged in.
    index: 0
    driver: <module-systemd-login.c>
    owner module: 20
    properties:
    application.name = "Login Session c1"
    systemd-login.session = "c1"
    index: 4
    driver: <module-x11-xsmp.c>
    owner module: 27
    properties:
    application.name = "XSMP Session on KDE as 101df1e21b716d000141143608300000005050006"
    xsmp.vendor = "KDE"
    xsmp.client.id = "101df1e21b716d000141143608300000005050006"
    index: 9
    driver: <protocol-native.c>
    owner module: 11
    properties:
    application.name = "libphonon"
    native-protocol.peer = "UNIX socket client"
    native-protocol.version = "29"
    application.process.id = "439"
    application.process.user = "mark"
    application.process.host = "arch-hpdv7t-laptop"
    application.process.binary = "kdeinit4"
    application.language = "en_US.UTF-8"
    window.x11.display = ":0"
    application.process.machine_id = "5f1cda9817244627aba0e14b41d436b3"
    application.process.session_id = "c1"
    index: 15
    driver: <protocol-native.c>
    owner module: 11
    properties:
    application.name = "KMix"
    native-protocol.peer = "UNIX socket client"
    native-protocol.version = "29"
    application.process.id = "998"
    application.process.user = "mark"
    application.process.host = "arch-hpdv7t-laptop"
    application.process.binary = "kdeinit4"
    application.language = "en_US.UTF-8"
    window.x11.display = ":0"
    application.process.machine_id = "5f1cda9817244627aba0e14b41d436b3"
    application.process.session_id = "c1"
    index: 17
    driver: <protocol-native.c>
    owner module: 11
    properties:
    application.name = "KNotify"
    native-protocol.peer = "UNIX socket client"
    native-protocol.version = "29"
    application.icon_name = "knotify"
    phonon.streamid = "{137cb52a-2afc-4ddd-882c-601c32129b54}"
    media.role = "event"
    application.process.id = "600"
    application.process.user = "mark"
    application.process.host = "arch-hpdv7t-laptop"
    application.process.binary = "knotify4"
    application.language = "en_US.UTF-8"
    window.x11.display = ":0"
    application.process.machine_id = "5f1cda9817244627aba0e14b41d436b3"
    application.process.session_id = "c1"
    index: 18
    driver: <protocol-native.c>
    owner module: 11
    properties:
    application.name = "KNotify"
    native-protocol.peer = "UNIX socket client"
    native-protocol.version = "29"
    application.id = "org.VideoLAN.VLC"
    application.version = "2.1.5"
    application.icon_name = "knotify"
    application.language = "en_US.UTF-8"
    application.process.id = "600"
    phonon.streamid = "{137cb52a-2afc-4ddd-882c-601c32129b54}"
    media.role = "event"
    application.process.user = "mark"
    application.process.host = "arch-hpdv7t-laptop"
    application.process.binary = "knotify4"
    window.x11.display = ":0"
    application.process.machine_id = "5f1cda9817244627aba0e14b41d436b3"
    application.process.session_id = "c1"
    index: 20
    driver: <cli.c>
    owner module: 28
    properties:
    application.name = "UNIX socket client"
    0 card(s) available.
    0 sink input(s) available.
    0 source output(s) available.
    0 cache entrie(s) available.
    fluidsynth (needed for Rosegarden) has been told to use pulseaudio instead of alsa directly (as per https://bbs.archlinux.org/viewtopic.php?id=154002 )
    What worked to get speaker-test running in Konsole: adding -D to:
    ExecStart=/usr/bin/timidity -iA
    to become
    ExecStart=/usr/bin/timidity -iAD
    in /usr/lib/systemd/system/timidity.service (as per: https://bbs.archlinux.org/viewtopic.php?id=149339&p=2 post 29)
    Additionally, I was able to see a default audio device in KDE system settings...multimedia instead of just dummy device.  However, even after preferring the default audio device for everything (and it tests fine), Rosegarden still has no volume.  Timidity in Konsole plays audibly now too.  I am now going to reboot and see what the status is.
    Last edited by mek42 (2014-09-23 02:41:53)

  • Kernel update (3.9.5-1) causes graphics issues, X11 "no screens found"

    Earlier I updated my system with pacman -Syu. Everything went smoothly. I rebooted and immediately noticed something was wrong with the console framebuffer - printing and scrolling are very, very slow and jerky, an error flashed by after fsck too quickly to read (since disappeared), and startx gave me the "no screens found" error. I do not have any custom X11 configuration.
    This is an MSi laptop with the (awful) nVidia Optimus (hardware mux).
    IGP is an Intel Ivybridge Mobile (GT2), don't know the exact chipset model, X logs indicate it's the i965.
    DGP is an NVIDIA GK104M (GeForce GTX 675MX).
    (New) Kernel: 3.9.5-1-ARCH #1 SMP PREEMPT ... x86_64
    (Old) Kernel: 3.9.4-1 ...
    I should mention that I use the acpi_call package to shut the DGP down, the command runs automatically at boot (but does not work! An AE_CALL error message is given, I have to run the turn_off_gpu.sh script manually after login). Nouveau is still being loaded into the kernel, regardless. I have tried removing the .conf file used by acpi_call from /etc/modules-load.d/, there was no effect. I also tried downgrading from the latest xf86-intel driver package, again, no effect - under either kernel. Additionally I tried using nomodeset and i915.modeset = 1 kernel parameters (which were necessary with a previous kernel version or Arch was unbootable, but not with 3.9.4-1). No effect. Each change was followed by a reboot, just to be sure. Systemd is loading everything normally except that it complains of no display-manager service ... because there isn't one.
    It may be trying to use the DGP, for which there are no drivers installed, as I have no desire to use that card with Linux, ever; I've no idea why/how a kernel update would change this, as I mentioned I have nothing fancy going on with kernel 3.9.4-1 and the graphics setup and X11 work just fine out of the box.
    Thanks in advance for you help.

    No, the i915.modeset parameter was necessary with an older kernel.
    I've now also tried kernel 3.9.6-1 and nvidia drivers, with AND without an xorg 10-monitor.conf file. Running kernel 3.9.6-1 seems to fix the console framebuffer issue, but the "no screens found" issue remains, xserver logs complain of not being to find intel module when using nvidia drivers (which require removal of intel drivers), and both sudo and netctl are broken - logs list pam-unix "conversation failed" error and time-out/failed dependency waiting for wplXXX - the wireless NIC - to start.
    Just to see, I tried the nvidia drivers with kernel 3.9.4-1 and got the "no screens found" error.
    Because I couldn't access the internet under kernel 3.9.6-1, I didn't get to test it with nouveau but I can't see how that would be any different - it has no Optimus support, anyway.
    One more probably unrelated thing: all indicator LEDs (except power button) and touch-button LEDs no longer light up, under 3.9.4-1 with no changes to packages in a few days.
    I'm stumped.

  • Driver compilation after Kernel update [SOLVED]

    Do I have to compile drivers again each time the kernel gets updated? It's just a bit annoying, was wondering if that was really necessary?
    Last edited by Jindur (2012-09-05 15:13:44)

    Jindur wrote:
    Lol hadrons123, that must've been the most stinking nerd posting I've encountered in quite some time really^^ Now go out the basement for a change. I can already begin to imagine what your tone of voice must sound like when you "teach" someone irl how to ask questions..
    And to be more specific: Obviously I meant if I compile a driver myself, and then the kernel gets updated, it seems I have to compile it again. Also, this is in the newbie forum for a reason.
    Linux is a monolithic kernel. All needed drivers/features are supposed to be compiled into the main kernel. However, this is infeasible due to the wide variety of hardware. Therefore, some parts of of the kernel are compiled out into modules that can be loaded into the kernel at run-time. These modules need to be recompiled every time the kernel is as they are really a part of the kernel and the kernel doesn't have a stable binary API.

  • Lost network after kernel update

    Hi
    I have lost my network after kernel updating the kernel [2.6.35.7]
    I downgraded to kernel 2.6.35.6
    Serge

    krychle wrote:
    Hi,
    I'm just reporting that I had this issue today too. I rebooted my computer from Win7 to Arch64 and I was left without network. Also it doesn't work in windows after rebooting back. I thought that It is something with connection so I tried to recoonect cable and also tryied to swap it in switch/adsl gateway. It started working after several switches (not on 1st!) It looks like interface is repeating on and off. So I rebooted to Arch and it stops working again...
    I fixed it by reinstalling kernel26 package. But it is strange because it works yesterday, last thing what I did with kernel and modules was update of gc nvidia drivers... I don't know when I updated kernel last time
    I'm using same network driver as Karol - r8169
    lsmod | less
    mii                     3826  1 r8169
    I'm using this card as well.  I upgraded yesterday and I can't get wireless with WICD.  Windows and normal network daemon work fine.  I use kernel26.  What other info can I provide?  If a bug report needs to be filed, would it be WICD, kernel26 or other?
    Also, I forgot, but I'm not using normal Wicd, I'm using wicd-nogtk from AUR.  Krychle, are you using this also?
    Edit:  I think this has to do with the python update.  I updated wicd-nogtk and its good now.  I am online.
    Last edited by Anonymo (2010-10-19 18:10:23)

Maybe you are looking for

  • Itunes to Home Theatre : Do I NEED Apple TV ?

    My primary goal is simply to feed my iTunes music to my new Yamaha home theatre (HTIB). It would be nice, but not necessarily my goal to also send video from my iMac to the home theatre. Near as I can tell, I have the following options : Option 1 : r

  • How do I add new methods to a pointstyle object?

    Using a scatterplot, I change each point's color (and shape) to reflect the range of the Y-value passed in. This is done with an override to the "draw" function (see below). Right now the Y-value ranges are "hardcoded" in the override. I would like t

  • HT1386 devices not updating after sync and changes made in itunes not happening?

    Hi, I think my ITunes is corrupt and may need to be reinstalled? Changes made on the Mac in Itunes to playlist do not sync to either our 5 or 4S. other issues in Itunes I've noticed is that adding songs to playlists only works if I drag them...using

  • Transferring photo albums from iPhone to new laptop help?

    My old computer crashed all my data is not recoverable. I have some phone albums on iPhone 5 that I want to download to a new computer, but I can't get them to show up in iTunes or iPhoto when I sync my phone. The only images that download are the on

  • I want a doc about LSMW steps for HR,PLZ help me!

    hi everyone: Can anyone pls send me a doc with LSMW steps regarding some HR function/project (as an example) for which I would be more than grateful. thanks! Message was edited by:         Zsolt Markus