[SOLVED] hdparm -S 241 no longer working

Sometime in the last month, hdparm has stopped spinning down defined HDD's. I have a total of three HDD's in my system. Al rotating media. Two of those HDD's I use for backup, and as such are not needed for most of the day.
In my rc.local I have:
hdparm -S 241 /dev/sdb
hdparm -S 241 /dev/sdc
Under the 2.6.27 series of kernels it worked, and now under the 2.6.38 series it no longer functions.
BUT...there has been a lot of updates since then as well so it may not be a kernel issue.
As a test, I rebooted my system, launched LXDE, launched nothing else except a terminal window. I made myself root, and issued the above commands manually and then I went away for an hour. The drives did not spindown as requested. The 241 parameter decodes to 30 minutes.
Does any one have any ideas what's up?
Thank you for your assistance.
Sincerely and respectfully,
Dave
Last edited by dcbdbis (2011-04-23 03:31:40)

Solved!
And an explanation is due......
Culprit = Thunar, the XFCE file manager.
About one month ago, I made a significant change to my system. When I learned that Gnome 2 (my DE) was not going to be maintained, and that Gnome 3 was going to be force-fed to all Gnome users, I wiped my system and performed a complete fresh install and went with LXDE.
I looked at Gnome 3 after it was released via a live OpenSuse CD. It's not at all what I want, and it broke to many desktop paradigms for me personally. This is not a good vs evil thing as many are portraying Gnome 3, well at least it's not in my mind.
It's about choice. I use Arch for my daily work. I'm nearly 60 years old. I have no interest in having my desktop look like a smartphone. So I looked at KDE and LXDE. KDE can be customized much more easily than LXDE, but again it's a little too "heavy" for my personal tastes.
In the end I went with LXDE. PcManFm does not have a tree view in the left-hand pane. Thunar does. So Thunar got the nod as my file manager of choice.
I have discovered with the assistance of 'iotop' that when you open Thunar, it goes out and refreshes itself (I suspect the dir tree) with regard to every mounted file system. And as my backups, sdb1 and sdc1 were mounted, they had a read event. Your suggestion of iotop documented this. Apparently Gnome 2's 'Nautilus' file manager does not do this, because under Gnome 2, the drives spun down in accordance with my hdparm settings in the /etc/rc.local file.
My personal solution is simple. I changed my /etc/fstab and added the noauto to the line for these two drives. They do not get mounted, and in tests, Thunar doesn't attempt to automount them (I did not install the volume addon), and I also turned off the mounting features in pcmanfm.
Problem solved. The drives no longer have read events everytime I open Thunar, and spin down as they should.
For others, a second solution would be to leave the /etc/fstab alone, and simply unmount the backup drive(s) when you know you will not be using them for a while.
'iotop' did the trick for me in identifying the problem.
Thank you sincerely for the assistance. I appreciate it!
Dave.....
Last edited by dcbdbis (2011-04-23 03:39:09)

Similar Messages

  • [SOLVED] Default audio device no longer works after reboot

    After today's reboot, the audio device no longer works. E.g., VLC says:
    Audio output failed:
    The audio device "default" could not be used:
    No such file or directory.
    This is the console log:
    [0x1394138] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
    [0x7fac180069c8] pulse audio output error: PulseAudio server connection failure: Connection refused
    ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
    [0x7fac180069c8] alsa audio output error: cannot open ALSA device "default": No such file or directory
    [0x7fac180069c8] jack audio output error: failed to connect to JACK server
    [0x7fac180069c8] oss audio output error: cannot open audio device (/dev/dsp)
    [0x7fac180069c8] main audio output error: no suitable audio output module
    [0x7fac40fa4db8] main decoder error: failed to create audio output
    [0x7fac180069c8] pulse audio output error: PulseAudio server connection failure: Connection refused
    ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
    [0x7fac180069c8] alsa audio output error: cannot open ALSA device "default": No such file or directory
    [0x7fac180069c8] jack audio output error: failed to connect to JACK server
    [0x7fac180069c8] oss audio output error: cannot open audio device (/dev/dsp)
    [0x7fac180069c8] main audio output error: no suitable audio output module
    [0x7fac41055118] main decoder error: failed to create audio output
    The strange thing is that the sound card does in fact work; e.g. the sound test for "HDA Intel PCH", the first entry in my KDE Audio Settings, works. But the entry "default" does not and I suppose that is also the device that VLC is complaining about.
    I've tried blacklisting the HDMI driver and switched to the other audio output modules in VLC. I've also checked I'm still member of the "audio" group.
    Edit:
    P.S. Solved this myself. I had a USB-to-MIDI adapter cable plugged in during boot, which seems to have been causing these problems. I suppose systemd thought it was a USB sound card? I was wondering why dmesg said something about USB sound when the computer doesn't have any USB sound devices. Hardware detection epic fail. Although I guess the cable counts as a MIDI device at least, so in a way it's correct.
    So it looks like I'll always have to unplug the MIDI cable before rebooting.
    Last edited by Morn (2012-11-23 19:24:00)

    You might get. Ore assistance in a different forum area. Maybe try Using pad. This is the forum for iPhoto for iOS.

  • [Solved] Suspend to RAM no longer works

    Suspend to RAM when closing my laptop lid worked out the box for me since I put Arch on my Dell XPS 14. After doing a pacman -Su yesterday (where I noticed that the kernel was updated, but it might be something else) it no longer works. Running 'systemctl suspend' in the terminal does work. Do I have to update a config?
    Last edited by skip (2014-04-01 19:48:23)

    For anyone else that finds this, systemd 212 doesn't suspend with lid closed with or without external monitor for those using the Nvidia proprietary drivers. Nvidia doesn't provide the necessary information for systemd to know whether or not an external monitor is connected, and thus it plays it safe and doesn't suspend. This is explained nicely at the Freedesktop bug linked above, but I wanted to pass it along here for those that won't follow the link.
    Sounds like they're leaning toward reversing the preference (dock/external display users will need to opt out of suspending with lid close) in future versions since non-dock/monitor users >> dock/monitor users.

  • [Solved] KDE Desktop Effects no longer working

    Hello,
    I just did an update, (I didn't think it was a major one, I don't recall seeing graphics update, though I'm not sure how to confirm - is there a way to see recently updated packages in yaourt?) and after a brief issue with powertop that was solved by a restart (https://bbs.archlinux.org/viewtopic.php?id=179789 - it may be unrelated though) I found that when I restarted, KWin Crashed, and since then, my desktop effects are not working.
    I have gone to the KDE Desktop Effects Settings Menu, and under the advanced menu, set the compositing type back to OpenGL 3.1, clicked apply, and confirmed that I wanted to try it even though it had evidently crashed Kwin. I then received a message stating "21 desktop effects could not be loaded". When I clicked details, a popup window said:
    "For technical reasons it is not possible to determine all possible error causes.
    Desktop effect system is not running."
    For the record, I am on a Thinkpad X201 with intel graphics.
    Any ideas?
    Last edited by TheGuyWithTheFace (2014-04-19 07:35:43)

    Some Extra information:
    I just tried a restart, that didn't work.
    I then went back into effect settings, and saw that "enable effects at startup" was not checked. I also saw that under the advanced settings, Qt Graphics system was set to raster. Since I'm not sure which it was supposed to be on originally, but the current configuration wasn't working, I also set that to Native, and then clicked apply. KWin then crashed, here is the output:
    Application: KWin (kwin), signal: Aborted
    Using host libthread_db library "/usr/lib/libthread_db.so.1".
    To enable execution of this file add
    add-auto-load-safe-path /usr/lib/libstdc++.so.6.0.19-gdb.py
    line to your configuration file "/home/perry/.gdbinit".
    To completely disable this security protection add
    set auto-load safe-path /
    line to your configuration file "/home/perry/.gdbinit".
    For more information about this security protection see the
    "Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
    info "(gdb)Auto-loading safe path"
    [Current thread is 1 (Thread 0x7fafaa788800 (LWP 796))]
    Thread 4 (Thread 0x7faf8beb3700 (LWP 797)):
    #0 0x00007fafa3f7e3f8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
    #1 0x00007fafa420a034 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
    #2 0x00007fafa41fd745 in ?? () from /usr/lib/libQtCore.so.4
    #3 0x00007fafa4209b7f in ?? () from /usr/lib/libQtCore.so.4
    #4 0x00007fafa3f7a0a2 in start_thread () from /usr/lib/libpthread.so.0
    #5 0x00007fafa9fa9d1d in clone () from /usr/lib/libc.so.6
    Thread 3 (Thread 0x7faf8b27a700 (LWP 798)):
    #0 0x00007fafa3f7e3f8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
    #1 0x00007fafa420a034 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
    #2 0x00007fafa41fd745 in ?? () from /usr/lib/libQtCore.so.4
    #3 0x00007fafa4209b7f in ?? () from /usr/lib/libQtCore.so.4
    #4 0x00007fafa3f7a0a2 in start_thread () from /usr/lib/libpthread.so.0
    #5 0x00007fafa9fa9d1d in clone () from /usr/lib/libc.so.6
    Thread 2 (Thread 0x7faf8a878700 (LWP 799)):
    #0 0x00007fafa9fa2fd3 in select () from /usr/lib/libc.so.6
    #1 0x00007fafa42e6c13 in ?? () from /usr/lib/libQtCore.so.4
    #2 0x00007fafa4209b7f in ?? () from /usr/lib/libQtCore.so.4
    #3 0x00007fafa3f7a0a2 in start_thread () from /usr/lib/libpthread.so.0
    #4 0x00007fafa9fa9d1d in clone () from /usr/lib/libc.so.6
    Thread 1 (Thread 0x7fafaa788800 (LWP 796)):
    [KCrash Handler]
    #5 0x00007fafa9ef9389 in raise () from /usr/lib/libc.so.6
    #6 0x00007fafa9efa788 in abort () from /usr/lib/libc.so.6
    #7 0x00007fafa9ef24a6 in __assert_fail_base () from /usr/lib/libc.so.6
    #8 0x00007fafa9ef2552 in __assert_fail () from /usr/lib/libc.so.6
    #9 0x00007fafa7d6f8d9 in ?? () from /usr/lib/libX11.so.6
    #10 0x00007fafa7d6f96e in ?? () from /usr/lib/libX11.so.6
    #11 0x00007fafa7d6fc4d in _XEventsQueued () from /usr/lib/libX11.so.6
    #12 0x00007fafa7d72905 in _XGetRequest () from /usr/lib/libX11.so.6
    #13 0x00007fafa4dfe587 in ?? () from /usr/lib/libGL.so.1
    #14 0x00007fafa4dfbf6b in ?? () from /usr/lib/libGL.so.1
    #15 0x00007faf89bef6db in ?? () from /usr/lib/xorg/modules/dri/i965_dri.so
    #16 0x00007faf89befa33 in ?? () from /usr/lib/xorg/modules/dri/i965_dri.so
    #17 0x00007faf89befb8b in ?? () from /usr/lib/xorg/modules/dri/i965_dri.so
    #18 0x00007faf89b89ef6 in ?? () from /usr/lib/xorg/modules/dri/i965_dri.so
    #19 0x00007fafa4dfd898 in ?? () from /usr/lib/libGL.so.1
    #20 0x00007fafa4dd804c in glXMakeCurrentReadSGI () from /usr/lib/libGL.so.1
    #21 0x00007fafaa34e479 in ?? () from /usr/lib/libkdeinit4_kwin.so
    #22 0x00007fafaa350029 in ?? () from /usr/lib/libkdeinit4_kwin.so
    #23 0x00007fafaa34aefc in ?? () from /usr/lib/libkdeinit4_kwin.so
    #24 0x00007fafaa32f4b5 in ?? () from /usr/lib/libkdeinit4_kwin.so
    #25 0x00007fafaa2b6c75 in ?? () from /usr/lib/libkdeinit4_kwin.so
    #26 0x00007fafa431d6ea in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
    #27 0x00007fafa41fa958 in QFutureWatcherBase::event(QEvent*) () from /usr/lib/libQtCore.so.4
    #28 0x00007fafa3491f0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #29 0x00007fafa34984d0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
    #30 0x00007fafa8bfa88a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
    #31 0x00007fafa4309a6d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
    #32 0x00007fafa430caad in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
    #33 0x00007fafa352f71c in ?? () from /usr/lib/libQtGui.so.4
    #34 0x00007fafa43086cf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
    #35 0x00007fafa43089c5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
    #36 0x00007fafa430dae9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
    #37 0x00007fafaa2e7896 in kdemain () from /usr/lib/libkdeinit4_kwin.so
    #38 0x00007fafa9ee5b05 in __libc_start_main () from /usr/lib/libc.so.6
    #39 0x00000000004006fe in _start ()

  • [SOLVED] KWin keyboard shortcuts no longer working

    My Kwin shortcuts (Maximize, tile-left, tile right) have stopped working since doing a pacman update yesterday. Any ideas on how to fix them? I am running Arch in a VirtualBox 4.3.10 VM.
    EDIT: Never mind, the problem was resolved for whatever reason by today's gtk3 update.
    Last edited by wiegraf (2014-05-13 02:00:43)

    Ignore the permissions messages, as per http://support.apple.com/kb/TS1448
    Here's the second way:
    While logged into the newly created admin account, backup the bad account's folder, delete the bad account, selecting the save data option (which is stored in /Users/Deleted Users/ as a disk image), recreate the bad account using the same username/password combo, log out and back into the recreated original account. If the problem's solved, open the saved data dmg file in /Users/Deleted Users/, open the /Library/Preferences/ folder from the saved data, open the current /Users/restored account/Library/Preferences/ folder, and slowly copy plist files from the saved data folder to the current one that don't exist in it. Log out and back in to ensure there's no conflict and things still work correctly. Resolving conflicts or identifying corrupt plist files is a laborious process. Good luck.

  • [SOLVED] ACPI handler.sh no longer working (Thinkpad X60 Tablet)

    Hello there,
    I recently did a few updates on my system to reduce power usage and get hdaps working. For some reason one of these changes must have broken ACPID in some way so that what I wrote in handler.sh no longer has any effect when I e.g. press the configured buttons to lock my screen or shut down, but I have no clue which.
    I'm not really familiar with where ACPI and ACPID keeps all their logs either, and which parts in there might mean something for me. I don't even know how I can check if ACPI is running properly and just ACPID isn't, for instance (both are running thought, confirmed with ps -A).
    Here's what I can remember of what I did:
    -full system update
    -install cpufreq to redcude power usage with acpi_cpufreq
    -install HDAPS with Thinkpad driver, as described on the Wiki
    -tweak my laptop-mode settings, e.g. disable VGA output when in laptop mode
    -enable AHCI for my hard drive in kernel image and BIOS
    Would be great if you could help me troubleshoot this somehow, as I really don't have a clue on how to fix this. Here's some output that might be helpful for starters:
    cat /etc/acpi/handler.sh
    #!/bin/sh
    set $*
    case "$1" in
    button/power)
    #echo "PowerButton pressed!">/dev/tty5
    case "$2" in
    PWRF)
    #Power off
    shutdown -h now
    logger "ACPI action undefined: $2"
    esac
    ibm/hotkey)
    #echo "Display swiveled">/dev/tty5
    case "$2" in
    HKEY)
    case "$4" in
    00005009)
    #Swiveling down
    /bin/sh /etc/acpi/actions/swivel-down
    0000500a)
    #Swiveling up
    /bin/sh /etc/acpi/actions/swivel-up
    00001002)
    #Lock screen
    xscreensaver-command -lock
    #run_once xtrlock &
    00001004)
    #Standby button
    xscreensaver-command -lock ; s2ram
    00001005)
    #Network button
    /etc/rc.d/net-auto-wireless restart
    00001009)
    #Reboot
    shutdown -r now
    00007000)
    #WLan button switched
    /etc/rc.d/net-auto-wireless restart
    fi
    esac
    esac
    button/sleep)
    case "$2" in
    SLPB) echo -n mem >/sys/power/state ;;
    *) logger "ACPI action undefined: $2" ;;
    esac
    ac_adapter)
    case "$2" in
    AC)
    case "$4" in
    00000000)
    #laptop mode should take care of this alone!
    #/etc/rc.d/laptop-mode start
    00000001)
    #/etc/rc.d/laptop-mode stop
    esac
    *) logger "ACPI action undefined: $2" ;;
    esac
    battery)
    case "$2" in
    BAT0)
    case "$4" in
    00000000) #echo "offline" >/dev/tty5
    00000001) #echo "online" >/dev/tty5
    esac
    CPU0)
    *) logger "ACPI action undefined: $2" ;;
    esac
    button/lid)
    #echo "LID switched!">/dev/tty5
    case "$2" in
    LID)
    if [[ `cat /proc/acpi/button/lid/LID/state | awk '{print $2}'` = "closed" ]]
    then
    #run_once xtrlock &
    xscreensaver-command -lock
    fi
    esac
    logger "ACPI group/action undefined: $1 / $2"
    esac
    dmesg | grep acpi
    BIOS-e820: 000000007f6d0000 - 000000007f6df000 (ACPI data)
    BIOS-e820: 000000007f6df000 - 000000007f700000 (ACPI NVS)
    modified: 000000007f6d0000 - 000000007f6df000 (ACPI data)
    modified: 000000007f6df000 - 000000007f700000 (ACPI NVS)
    ACPI: RSDP 000f67c0 00024 (v02 LENOVO)
    ACPI: XSDT 7f6d11e8 0008C (v01 LENOVO TP-7J 00001140 LTP 00000000)
    ACPI: FACP 7f6d1300 000F4 (v03 LENOVO TP-7J 00001140 LNVO 00000001)
    ACPI Warning: 32/64X length mismatch in Gpe1Block: 0/32 (20090903/tbfadt-526)
    ACPI Warning: Optional field Gpe1Block has zero address or length: 000000000000102C/0 (20090903/tbfadt-557)
    ACPI: DSDT 7f6d1690 0D56F (v01 LENOVO TP-7J 00001140 MSFT 0100000E)
    ACPI: FACS 7f6f4000 00040
    ACPI: SSDT 7f6d14b4 001DC (v01 LENOVO TP-7J 00001140 MSFT 0100000E)
    ACPI: ECDT 7f6debff 00052 (v01 LENOVO TP-7J 00001140 LNVO 00000001)
    ACPI: TCPA 7f6dec51 00032 (v02 LENOVO TP-7J 00001140 LNVO 00000001)
    ACPI: APIC 7f6dec83 00068 (v01 LENOVO TP-7J 00001140 LNVO 00000001)
    ACPI: MCFG 7f6deceb 0003C (v01 LENOVO TP-7J 00001140 LNVO 00000001)
    ACPI: HPET 7f6ded27 00038 (v01 LENOVO TP-7J 00001140 LNVO 00000001)
    ACPI: SLIC 7f6dee62 00176 (v01 LENOVO TP-7J 00001140 LTP 00000000)
    ACPI: BOOT 7f6defd8 00028 (v01 LENOVO TP-7J 00001140 LTP 00000001)
    ACPI: SSDT 7f6f2603 0025F (v01 LENOVO TP-7J 00001140 INTL 20050513)
    ACPI: SSDT 7f6f2862 000A6 (v01 LENOVO TP-7J 00001140 INTL 20050513)
    ACPI: SSDT 7f6f2908 004F7 (v01 LENOVO TP-7J 00001140 INTL 20050513)
    ACPI: SSDT 7f6f2dff 001D8 (v01 LENOVO TP-7J 00001140 INTL 20050513)
    ACPI: Local APIC address 0xfee00000
    ACPI: PM-Timer IO Port: 0x1008
    ACPI: Local APIC address 0xfee00000
    ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
    ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
    ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
    ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
    ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
    ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
    ACPI: IRQ0 used by override.
    ACPI: IRQ2 used by override.
    ACPI: IRQ9 used by override.
    Using ACPI (MADT) for SMP configuration information
    ACPI: HPET id: 0x8086a201 base: 0xfed00000
    ACPI: Core revision 20090903
    ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
    ACPI: bus type pci registered
    ACPI: EC: EC description table is found, configuring boot EC
    ACPI: Interpreter enabled
    ACPI: (supports S0 S3 S4 S5)
    ACPI: Using IOAPIC for interrupt routing
    ACPI: EC: GPE = 0x1c, I/O: command/status = 0x66, data = 0x62
    ACPI: Power Resource [PUBS] (on)
    ACPI: ACPI Dock Station Driver: 3 docks/bays found
    ACPI: PCI Root Bridge [PCI0] (0000:00)
    pci 0000:00:1f.0: quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP0._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP1._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP2._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP3._PRT]
    ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
    ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11)
    ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11)
    ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11)
    ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11)
    ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11)
    ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 *11)
    ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 *11)
    ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11)
    PCI: Using ACPI for IRQ routing
    pnp: PnP ACPI init
    ACPI: bus type pnp registered
    pnp: PnP ACPI: found 11 devices
    ACPI: ACPI bus type pnp unregistered
    acpi device:01: registered as cooling_device0
    ACPI: Video Device [VID] (multi-head: yes rom: no post: no)
    ACPI: Lid Switch [LID]
    ACPI: Sleep Button [SLPB]
    ACPI: Power Button [PWRF]
    i915 0000:00:02.0: power state changed by ACPI to D0
    ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
    ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
    ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
    ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
    ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
    ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
    ACPI: SSDT 7f6f1ccc 001FE (v01 PmRef Cpu0Ist 00000100 INTL 20050513)
    ACPI: SSDT 7f6f1f4f 006B4 (v01 PmRef Cpu0Cst 00000100 INTL 20050513)
    ACPI: SSDT 7f6f1c04 000C8 (v01 PmRef Cpu1Ist 00000100 INTL 20050513)
    ACPI: SSDT 7f6f1eca 00085 (v01 PmRef Cpu1Cst 00000100 INTL 20050513)
    ehci_hcd 0000:00:1d.7: power state changed by ACPI to D0
    uhci_hcd 0000:00:1d.0: power state changed by ACPI to D0
    uhci_hcd 0000:00:1d.2: power state changed by ACPI to D0
    ACPI: Thermal Zone [THM0] (56 C)
    ACPI: Thermal Zone [THM1] (59 C)
    ACPI: AC Adapter [AC] (on-line)
    ACPI: Battery Slot [BAT0] (battery present)
    thinkpad_acpi: ThinkPad ACPI Extras v0.23
    thinkpad_acpi: http://ibm-acpi.sf.net/
    thinkpad_acpi: ThinkPad BIOS 7JET29WW (1.14 ), EC 7JHT13WW-1.04
    thinkpad_acpi: Lenovo ThinkPad X60 Tablet, model 6363WDK
    thinkpad_acpi: WARNING: Outdated ThinkPad BIOS/EC firmware
    thinkpad_acpi: WARNING: This firmware may be missing critical bug fixes and/or important features
    thinkpad_acpi: ACPI backlight control delay disabled
    thinkpad_acpi: radio switch found; radios are enabled
    thinkpad_acpi: possible tablet mode switch found; ThinkPad in laptop mode
    thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
    thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
    Registered led device: tpacpi::thinklight
    Registered led device: tpacpi::power
    Registered led device: tpacpi::standby
    Registered led device: tpacpi::thinkvantage
    thinkpad_acpi: Standard ACPI backlight interface available, not loading native one.
    ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
    ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
    ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
    ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
    ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
    ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
    cat /var/log/acpid.log
    Feb 28 13:19:28 damnation acpid: exiting
    Mar 1 12:48:43 damnation acpid: starting up
    Mar 1 12:48:43 damnation acpid: 4 rules loaded
    Mar 1 12:48:43 damnation acpid: waiting for events: event logging is off
    Mar 1 12:48:44 damnation acpid: client connected from 1737[82:82]
    Mar 1 12:48:44 damnation acpid: 1 client rule loaded
    Mar 1 12:49:39 damnation acpid: client connected from 2523[0:0]
    Mar 1 12:49:39 damnation acpid: 1 client rule loaded
    Mar 1 12:49:56 damnation acpid: exiting
    Mar 1 12:49:56 damnation acpid: starting up
    Mar 1 12:49:56 damnation acpid: 4 rules loaded
    Mar 1 12:49:56 damnation acpid: waiting for events: event logging is off
    Mar 1 12:49:57 damnation acpid: client connected from 2523[0:0]
    Mar 1 12:49:57 damnation acpid: 1 client rule loaded
    Mar 1 12:50:01 damnation acpid: client connected from 1737[82:82]
    Mar 1 12:50:01 damnation acpid: 1 client rule loaded
    Mar 2 10:23:50 damnation acpid: client 2523[0:0] has disconnected
    Mar 2 10:23:50 damnation acpid: client connected from 2523[0:0]
    Mar 2 10:23:50 damnation acpid: 1 client rule loaded
    Mar 2 10:52:18 damnation acpid: client 2523[0:0] has disconnected
    Mar 2 10:52:18 damnation acpid: client connected from 2523[0:0]
    Mar 2 10:52:18 damnation acpid: 1 client rule loaded
    Mar 2 17:00:21 damnation acpid: client 2523[0:0] has disconnected
    Mar 2 17:00:21 damnation acpid: client connected from 2523[0:0]
    Mar 2 17:00:21 damnation acpid: 1 client rule loaded
    Mar 3 09:54:32 damnation acpid: client 2523[0:0] has disconnected
    Mar 3 09:54:32 damnation acpid: client connected from 2523[0:0]
    Mar 3 09:54:32 damnation acpid: 1 client rule loaded
    Mar 3 10:28:14 damnation acpid: exiting
    Mar 3 10:28:14 damnation acpid: starting up
    Mar 3 10:28:14 damnation acpid: 4 rules loaded
    Mar 3 10:28:14 damnation acpid: waiting for events: event logging is off
    Mar 3 10:28:15 damnation acpid: client connected from 2523[0:0]
    Mar 3 10:28:15 damnation acpid: 1 client rule loaded
    Mar 3 10:28:19 damnation acpid: client connected from 1737[82:82]
    Mar 3 10:28:19 damnation acpid: 1 client rule loaded
    Mar 3 10:37:44 damnation acpid: exiting
    Mar 3 10:37:44 damnation acpid: starting up
    Mar 3 10:37:44 damnation acpid: 4 rules loaded
    Mar 3 10:37:44 damnation acpid: waiting for events: event logging is off
    Mar 3 10:37:45 damnation acpid: client connected from 2523[0:0]
    Mar 3 10:37:45 damnation acpid: 1 client rule loaded
    Mar 3 10:37:49 damnation acpid: client connected from 1737[82:82]
    Mar 3 10:37:49 damnation acpid: 1 client rule loaded
    Mar 3 12:22:44 damnation acpid: exiting
    Mar 3 12:23:44 damnation acpid: starting up
    Mar 3 12:23:45 damnation acpid: 4 rules loaded
    Mar 3 12:23:45 damnation acpid: waiting for events: event logging is off
    Mar 3 12:23:46 damnation acpid: client connected from 3417[82:82]
    Mar 3 12:23:46 damnation acpid: 1 client rule loaded
    Mar 3 12:24:40 damnation acpid: client connected from 4287[0:0]
    Mar 3 12:24:40 damnation acpid: 1 client rule loaded
    Mar 3 12:24:55 damnation acpid: exiting
    Mar 3 12:24:55 damnation acpid: starting up
    Mar 3 12:24:55 damnation acpid: 4 rules loaded
    Mar 3 12:24:55 damnation acpid: waiting for events: event logging is off
    Mar 3 12:24:56 damnation acpid: client connected from 4287[0:0]
    Mar 3 12:24:56 damnation acpid: 1 client rule loaded
    Mar 3 12:25:00 damnation acpid: client connected from 3417[82:82]
    Mar 3 12:25:00 damnation acpid: 1 client rule loaded
    Mar 3 12:40:54 damnation acpid: exiting
    Mar 3 12:49:47 damnation acpid: starting up
    Mar 3 12:49:47 damnation acpid: 4 rules loaded
    Mar 3 12:49:47 damnation acpid: waiting for events: event logging is off
    Mar 3 12:49:49 damnation acpid: client connected from 3396[82:82]
    Mar 3 12:49:49 damnation acpid: 1 client rule loaded
    Mar 3 12:50:12 damnation acpid: client connected from 5224[0:0]
    Mar 3 12:50:12 damnation acpid: 1 client rule loaded
    Mar 3 12:50:59 damnation acpid: exiting
    Mar 3 12:50:59 damnation acpid: starting up
    Mar 3 12:50:59 damnation acpid: 4 rules loaded
    Mar 3 12:50:59 damnation acpid: waiting for events: event logging is off
    Mar 3 12:51:00 damnation acpid: client connected from 5224[0:0]
    Mar 3 12:51:00 damnation acpid: 1 client rule loaded
    Mar 3 12:51:04 damnation acpid: client connected from 3396[82:82]
    Mar 3 12:51:04 damnation acpid: 1 client rule loaded
    Mar 3 13:21:42 damnation acpid: exiting
    Mar 3 13:21:42 damnation acpid: starting up
    Mar 3 13:21:42 damnation acpid: 4 rules loaded
    Mar 3 13:21:42 damnation acpid: waiting for events: event logging is off
    Mar 3 13:21:43 damnation acpid: client connected from 5224[0:0]
    Mar 3 13:21:43 damnation acpid: 1 client rule loaded
    Mar 3 13:21:47 damnation acpid: client connected from 3396[82:82]
    Mar 3 13:21:47 damnation acpid: 1 client rule loaded
    Mar 3 13:22:21 damnation acpid: exiting
    Mar 3 13:22:21 damnation acpid: starting up
    Mar 3 13:22:21 damnation acpid: 4 rules loaded
    Mar 3 13:22:21 damnation acpid: waiting for events: event logging is off
    Mar 3 13:22:22 damnation acpid: client connected from 5224[0:0]
    Mar 3 13:22:22 damnation acpid: 1 client rule loaded
    Mar 3 13:22:26 damnation acpid: client connected from 3396[82:82]
    Mar 3 13:22:26 damnation acpid: 1 client rule loaded
    Mar 3 13:23:03 damnation acpid: client 5224[0:0] has disconnected
    Mar 3 13:23:03 damnation acpid: client connected from 5224[0:0]
    Mar 3 13:23:03 damnation acpid: 1 client rule loaded
    Mar 3 13:25:00 damnation acpid: exiting
    Mar 3 13:25:00 damnation acpid: starting up
    Mar 3 13:25:00 damnation acpid: 4 rules loaded
    Mar 3 13:25:00 damnation acpid: waiting for events: event logging is off
    Mar 3 13:25:01 damnation acpid: client connected from 5224[0:0]
    Mar 3 13:25:01 damnation acpid: 1 client rule loaded
    Mar 3 13:25:05 damnation acpid: client connected from 3396[82:82]
    Mar 3 13:25:05 damnation acpid: 1 client rule loaded
    Mar 3 13:29:52 damnation acpid: client connected from 21588[1000:100]
    Mar 3 13:29:52 damnation acpid: 1 client rule loaded
    Mar 3 13:30:27 damnation acpid: client 21588[1000:100] has disconnected
    Mar 3 13:36:15 damnation acpid: exiting
    Mar 3 13:37:54 damnation acpid: starting up
    Mar 3 13:37:54 damnation acpid: 4 rules loaded
    Mar 3 13:37:54 damnation acpid: waiting for events: event logging is off
    Mar 3 13:37:56 damnation acpid: client connected from 3419[82:82]
    Mar 3 13:37:56 damnation acpid: 1 client rule loaded
    Mar 3 13:38:28 damnation acpid: client connected from 4292[0:0]
    Mar 3 13:38:28 damnation acpid: 1 client rule loaded
    Mar 3 13:39:24 damnation acpid: exiting
    Mar 3 13:39:24 damnation acpid: starting up
    Mar 3 13:39:24 damnation acpid: 4 rules loaded
    Mar 3 13:39:24 damnation acpid: waiting for events: event logging is off
    Mar 3 13:39:25 damnation acpid: client connected from 4292[0:0]
    Mar 3 13:39:25 damnation acpid: 1 client rule loaded
    Mar 3 13:39:29 damnation acpid: client connected from 3419[82:82]
    Mar 3 13:39:29 damnation acpid: 1 client rule loaded
    Mar 3 13:44:09 damnation acpid: client connected from 4488[1000:100]
    Mar 3 13:44:09 damnation acpid: 1 client rule loaded
    Mar 3 13:45:42 damnation acpid: client 4488[1000:100] has disconnected
    Mar 3 13:58:17 damnation acpid: exiting
    Mar 3 13:58:17 damnation acpid: starting up
    Mar 3 13:58:17 damnation acpid: 4 rules loaded
    Mar 3 13:58:17 damnation acpid: waiting for events: event logging is off
    Mar 3 13:58:18 damnation acpid: client connected from 4292[0:0]
    Mar 3 13:58:18 damnation acpid: 1 client rule loaded
    Mar 3 13:58:22 damnation acpid: client connected from 3419[82:82]
    Mar 3 13:58:22 damnation acpid: 1 client rule loaded
    (are all these "client has disconnected" messages normal?)
    Last edited by Natanji (2010-03-07 11:03:54)

    I don't know if it works for everyone but i have just fixed the acpi rotate for my x60t
    /usr/bin/xrotate
    #!/bin/sh
    output=LVDS1
    if [ "$XROT_OUTPUT" ]
    then
    output=$XROT_OUTPUT;
    fi
    devices="stylus eraser"
    geomnbr=0
    xrandr=normal
    wacom=normal
    if [ "$1" == "-" ] || [ "$1" == "+" ] || ! [ "$1" ];
    then
    operator="$1";
    [ "$1" ] || operator='+';
    case `xrandr --verbose | grep "^$output " | sed "s/^[^ ]* [^ ]* [^ ]* ([^(]*) \([a-z]*\).*/\1/"` in
    normal) geom=0;;
    left) geom=1;;
    inverted) geom=2;;
    right) geom=3;;
    esac
    let geom=${geom}${operator}1+4
    let geom=${geom}%4
    else
    geom="$1"
    fi
    case $geom in
    1) wacom=CCW; xrandr=left ;;
    2) wacom=HALF; xrandr=inverted ;;
    3) wacom=CW; xrandr=right ;;
    *) wacom=NONE; xrandr=normal ;;
    esac
    echo "xrandr to $xrandr, xsetwacom to $wacom" >&2
    if xrandr --output "$output" --rotate "$xrandr"; then
    for device in $devices
    do
    xsetwacom set "$device" Rotate "$wacom"
    done
    fi
    #workaround for linuxwacom bug
    if [ "`xsetwacom get stylus Mode`" == '1' ]; then
    for decive in $devices
    do
    xsetwacom set stylus CoreEvent "off"
    xsetwacom set stylus Mode "off"
    done
    { sleep 1;
    for device in $devices
    do
    xsetwacom set stylus Mode "on"
    xsetwacom set stylus CoreEvent "on"
    done; } &
    fi
    /etc/acpi/thinkpad-swivel-up.sh       
    #!/bin/bash
    XAUTHORITY=/var/lib/gdm/\:0.Xauth DISPLAY=:0.0 /usr/bin/xrotate 0
    /etc/acpi/thinkpad-swivel-down.sh       
    #!/bin/bash
    XAUTHORITY=/var/lib/gdm/\:0.Xauth DISPLAY=:0.0 /usr/bin/xrotate 1
    The problem was that my acpid starts long before xorg.
    System:
    Thinkpad x60 tablet
    xorg 1.8
    acpid 1.0.10

  • [SOLVED] zsh config (.zshrc) no longer working for root.

    Hi,
    I must've done something stupid a while ago, cause whenever I sudo -s to get some root privilages it seems .zshrc is not read.
    Prompt is default and aliases don't work.
    Here's my .zshrc, just in case.  I'm quite sure it's okay.
    # OPTIONS FOR ZSH
    # PS1=$'%(!.%{\e[0;31m%}#.%{\e[0;32m%}$)>_ %{\e[0m%}' # $>_ / #>_
    PS1=$'%(!.%{\e[1;31m%}%{\e[5;31m%}>>>.%{\e[1;31m%}>%{\e[1;33m%}>%{\e[1;32m%}>) %{\e[0m%}' # >>> / >>>
    RPS1=$'%{\e[0;33m%}[%~]%{\e[0m%}'
    # RPROMPT=$'[~]'
    export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/opt/mozilla/bin:$HOME/linux/bin:/opt/kde/bin:/opt/java/jre/bin:/usr/local/bin"
    export EDITOR="vim"
    export MANPATH="/usr/share/man:/usr/man"
    export DE=kde
    #export TERM=xterm-256color
    # key bindings
    bindkey -v
    bindkey "^[[2~" overwrite-mode
    bindkey "^[[3~" delete-char
    bindkey "\e[7~" beginning-of-line
    bindkey "\e[8~" end-of-line
    bindkey "$(echotc kl)" backward-char
    bindkey "\E[A" up-line-or-search
    bindkey "\E[B" down-line-or-search
    bindkey '^R' history-incremental-search-backward
    bindkey -M vicmd 'k' up-line-or-search
    bindkey -M vicmd 'j' down-line-or-search
    HISTFILE=~/.zshhistory
    HISTSIZE=50000
    SAVEHIST=50000
    # aliases
    alias ..='cd ..'
    alias cl='clear'
    alias ls='ls --color=auto'
    alias lsl='ls -hl --color=auto'
    alias rm='rm -v'
    alias pg='pgrep -lf'
    alias ka='killall -s 9'
    alias sus='sudo -s'
    alias hdtemp='sudo hddtemp /dev/sda'
    alias du="du -h"
    alias df="df -h"
    alias freq="cpufreq-info | grep decide"
    alias mpdkill="sudo mpd --kill && killall -s 9 mpdscribble"
    alias sudo="sudo "
    alias nc="ncmpcpp"
    alias cmatrix="cmatrix -abu2"
    alias x="startx"
    alias thinkpad-smapi="thinkpad-smapi -b 0"
    alias relap="sudo /etc/rc.d/laptop-mode restart"
    alias rewlan="sudo ifconfig wlan0 {down,up}"
    alias rentpd="sudo /etc/rc.d/openntpd restart"
    alias resamba="sudo /etc/rc.d/samba restart"
    alias recups="sudo /etc/rc.d/cups restart"
    alias reblue="sudo /etc/rc.d/bluetooth restart"
    alias fancool="/etc/rc.d/thinkfan stop && echo level 7 > /proc/acpi/ibm/fan"
    alias fanstart="sudo /etc/rc.d/thinkfan start"
    # functions
    fs() { find $1 -iname '*'$2'*'; }
    gcurses() { gcc $1 -o $(cut -d . -f 1 $1) -lncurses;}
    ranger () {
    command ranger --fail-unless-cd $@ &&
    cd "$(grep \^\' ~/.ranger/bookmarks | cut -b3-)"
    # completion
    autoload -U compinit
    compinit
    # correction
    setopt correctall
    # prompt
    # autoload -U promptinit
    # promptinit
    # prompt redhat
    # options
    setopt hist_ignore_all_dups
    setopt hist_ignore_space
    setopt nohup # don't kill bg jobs when tty quits
    setopt nocheckjobs # don't complain about background jobs on exit
    #Some functions, like _apt and _dpkg, are very slow. You can use a cache in order to proxy the list of results (like the list of available debian packages) Use a cache:
    zstyle ':completion:*' use-cache on
    zstyle ':completion:*' cache-path ~/.zsh/cache
    #Prevent CVS files/directories from being completed:
    zstyle ':completion:*:(all-|)files' ignored-patterns '(|*/)CVS'
    #Ignore completion functions for commands you don't have:
    zstyle ':completion:*:functions' ignored-patterns '_*'
    zstyle ':completion:*:cd:*' ignored-patterns '(*/)#CVS'
    zstyle ':completion:*:processes-names' command 'ps -e -o comm='
    Last edited by vi3dr0 (2010-09-19 15:10:41)

    I think this was a pushed /etc/sudoers file that pacdiffviewer prompts you to replace with, maybe a month ago?  If you were like me, you probably only added yourself being able to sudo.  I don't have the old version, but I don't remember requiring the code I gave you... maybe they've changed something necessitating the new file.  Anyway, happy times, my prompt turns red when I 'sudo -s'

  • [SOLVED] Xscreensaver-command -lock no longer working

    As of yesterday afternoon (probably after the upgrade to 5.13-1), I have been unable to lock my monitor using xscreensaver.  The screen fades to black, only to jump back to my desktop, and xscreensaver reporting a crash.  I honestly can't see a reason from the log file, but I have little experience with programs like this.  I would greatly appreciate it if someone could either confirm/let me know it's a bug that has no workaround, and I'll gladly report the bug. 
    Things I've tried:
    Re-installing 5.13-1 (no change)
    Restart of system & xscreensaver (no change in either case)
    Downgrade to 5.12-2 (which works, as it did before)
    The log file is as follows:
    xscreensaver: 10:40:45: logging to "log.txt" at Mon May 16 10:40:45 2011
    xscreensaver 5.13, copyright (c) 1991-2008 by Jamie Zawinski <[email protected]>.
    xscreensaver: 10:40:45: running as lswest/lswest (1000/101)
    xscreensaver: 10:40:45: in process 12688.
    xscreensaver: 10:40:46: running on display ":0"
    xscreensaver: 10:40:46: vendor is The X.Org Foundation, 11001000.
    xscreensaver: 10:40:46: useful extensions:
    xscreensaver: 10:40:46: MIT Screen-Saver (disabled at compile time)
    xscreensaver: 10:40:46: Shared Memory (1.1)
    xscreensaver: 10:40:46: Double-Buffering (1.0)
    xscreensaver: 10:40:46: Power Management (1.1)
    xscreensaver: 10:40:46: GLX
    xscreensaver: 10:40:46: XF86 Video-Mode (2.2)
    xscreensaver: 10:40:46: XC Misc (disabled at compile time)
    xscreensaver: 10:40:46: Xinerama (1.1)
    xscreensaver: 10:40:46: Resize-and-Rotate (1.3)
    xscreensaver: 10:40:46: NVidia
    xscreensaver: 10:40:46: NVidia GLX
    xscreensaver: 10:40:46: XInput
    xscreensaver: 10:40:46: screen 0 non-colormapped depths: 0 24.
    xscreensaver: 10:40:46: screens in use: 1
    xscreensaver: 10:40:46: 0/0: 1680x1050+0+0 (default)
    xscreensaver: 10:40:46: selecting RANDR events
    xscreensaver: 10:40:46: not using XInputExtension.
    xscreensaver: 10:40:46: consulting /proc/interrupts for keyboard activity.
    xscreensaver: 10:40:46: 0: visual 0x21 (TrueColor, depth: 24, cmap: default)
    xscreensaver: 10:40:46: 0: saver window is 0x2200001.
    xscreensaver: 10:40:46: selecting events on extant windows... done.
    xscreensaver: 10:40:46: awaiting idleness.
    xscreensaver: 10:40:54: X Error! PLEASE REPORT THIS BUG.
    xscreensaver: 10:40:54: screen 0/0: 0x15d, 0x0, 0x2200001
    X Error of failed request: BadMatch (invalid parameter attributes)
    Major opcode of failed request: 132 (DPMS)
    Minor opcode of failed request: 6 (DPMSForceLevel)
    Serial number of failed request: 655
    Current serial number in output stream: 656
    If at all possible, please re-run xscreensaver with the command
    line arguments `-sync -verbose -log log.txt', and reproduce this
    bug. That will cause xscreensaver to dump a `core' file to the
    current directory. Please include the stack trace from that core
    file in your bug report. *DO NOT* mail the core file itself! That
    won't work. A "log.txt" file will also be written. Please *do*
    include the complete "log.txt" file with your bug report.
    http://www.jwz.org/xscreensaver/bugs.html explains how to create
    the most useful bug reports, and how to examine core files.
    The more information you can provide, the better. But please
    report this bug, regardless!
    xscreensaver: 10:40:53: LOCK ClientMessage received; activating and locking.
    xscreensaver: 10:40:53: 0: locked mode switching.
    xscreensaver: 10:40:53: user is idle (ClientMessage)
    xscreensaver: 10:40:53: blanking screen at Mon May 16 10:40:53 2011.
    xscreensaver: 10:40:53: 0: grabbing keyboard on 0x15d... GrabSuccess.
    xscreensaver: 10:40:53: 0: grabbing mouse on 0x15d... GrabSuccess.
    xscreensaver: 10:40:53: fading...
    xscreensaver: 10:40:54: fading done.
    Last edited by lswest (2011-05-20 20:51:32)

    I have the issue as well.
    Edit: For now, I've downgraded as well. I need this to work for security reasons.
    Last edited by darthyorik (2011-05-18 09:46:13)

  • [SOLVED] USB Sound card no longer working

    I have used a Focusrite Scarlett 2i2, a USB audio interface, as my default sound card for the last two months or so. Its output comprises two RCA jacks. I have a cable that is two RCA male leads on one end and an 1/8" on the other. I use this cable all over the house, so I unplug it often. The USB device remains connected. Last night, while plugging the cable back into the device, I jostled the USB and the device lost power momentarily. Since then, ALSA has not been able to "see" the device. The device is, and always has been, plugged into a D-Link USB hub, which goes into the computer.
    I did pacman -Syu and rebooted to no avail.
    uname -r
    3.15.1-1-ARCH
    lsusb | grep -i focusrite
    Bus 001 Device 005: ID 1235:8006 Focusrite-Novation Focusrite Scarlett 2i2
    modinfo snd_usb_audio
    http://pastebin.com/CEMr6Gif
    cat /etc/modprobe.d/alsa-base.conf
    #options snd slots=snd_usb_audio,snd_hda_intel
    options snd_hda_intel index=-2
    options snd_usb_audio index=0
    The first line I recently commented out as an experiment. If this line is left in, ALSA attempts to use snd_usb_audio and when I run alsamixer it complains that it can't find the device. If this line is commented out, ALSA ends up using the on-board sound. Particularly, it uses 'HDA ATI HDMI'. There are two choices: HDA ATI HDMI and HDA ATI SB. When I was using the on-board sound, I was using HDA ATI SB.
    cat /proc/asound/modules
    0 snd_hda_intel
    1 snd_hda_intel
    lspci -nn | grep -i audio
    00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) [1002:4383]
    01:05.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] RS880 HDMI Audio [Radeon HD 4200 Series] [1002:970f]
    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: SB [HDA ATI SB], device 0: ALC889A Analog [ALC889A Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: SB [HDA ATI SB], device 1: ALC889A Digital [ALC889A Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    lsmod | grep '^snd'
    snd_hda_codec_realtek 48535 1
    snd_hda_codec_generic 50352 1 snd_hda_codec_realtek
    snd_hda_codec_hdmi 36976 1
    snd_hda_intel 18830 0
    snd_hda_controller 19667 1 snd_hda_intel
    snd_hda_codec 91154 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
    snd_hwdep 5162 1 snd_hda_codec
    snd_pcm 68932 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
    snd_timer 15678 1 snd_pcm
    snd 46421 8 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
    ls -l /dev/snd
    total 0
    drwxr-xr-x 2 root root 80 Jun 26 10:13 by-path
    crw-rw----+ 1 root audio 116, 2 Jun 26 10:13 controlC0
    crw-rw----+ 1 root audio 116, 5 Jun 26 10:13 controlC1
    crw-rw----+ 1 root audio 116, 4 Jun 26 10:13 hwC0D0
    crw-rw----+ 1 root audio 116, 11 Jun 26 10:13 hwC1D0
    crw-rw----+ 1 root audio 116, 3 Jun 26 10:13 pcmC0D3p
    crw-rw----+ 1 root audio 116, 7 Jun 26 10:13 pcmC1D0c
    crw-rw----+ 1 root audio 116, 6 Jun 26 10:13 pcmC1D0p
    crw-rw----+ 1 root audio 116, 9 Jun 26 10:13 pcmC1D1c
    crw-rw----+ 1 root audio 116, 8 Jun 26 10:13 pcmC1D1p
    crw-rw----+ 1 root audio 116, 10 Jun 26 10:13 pcmC1D2c
    crw-rw----+ 1 root audio 116, 1 Jun 26 10:13 seq
    crw-rw----+ 1 root audio 116, 33 Jun 26 10:13 timer
    All this information was collected while the device has been connected to the computer. Any help is greatly appreciated. Thanks!
    Last edited by gluelogic (2014-07-01 21:36:19)

    emeres wrote:You only ruled out hardware failure on the device side.
    This is painfully true. This morning, I realized I didn't even check the D-Link. The LEDs on the interface were lit up from the USB connection, but the AC adapter was faulty. I replaced that, restored my original configuration by removing the # from the first line of my alsa-base.conf, and now everything is working again. The D-Link was simply unable to provide the device with enough power to operate.

  • [SOLVED: HW ISSUE] WLAN no longer works (Zotac IQ01 / r8169 / iwlwifi)

    After recent (since 9.7.2014) updates, the WLAN link stopped working for me - and I don't seem to be find a way to restore it. Thus, your wisdom is appreciated:
    Setup/Background
    - Device: Zotac ZBox IQ (http://www.zotac.com/products/mini-pcs/ … nt/10.html)
    - Network device (2xGLAN): Realtek  RTL8111/8168/8411 (kernel module r8169 loads)
    - Wifi (device missing, used to work as enp3s0 ??), should be intel chipset
    - Wired connection works
    - NetworkManager is in use
    - Dmesg error: enp3s0 link is not ready
    Tried so far
    - Tested with older kernel 3.14.x -- no change
    - Tested with kernel-lts -- no change
    - Tested with older networkmanager -- no change
    - Tested with fresh Arch media (latest.iso) -- device cannot be found
    - Tested with older Arch media (1.4.2014.iso) -- device cannot be found
    - Tried bringing up the link with command: ip link set dev enp3s0 up -- no change, no error
    - Unloading r8169 removes the wired connection in networkmanager but not wireless, is that normal?
    - Noticed also this link (https://wiki.archlinux.org/index.php/Ne … OL_problem), but setup has no Windows
    Any pointers? Had a similar problem sometime in the past (https://bbs.archlinux.org/viewtopic.php?id=177793 -- different device), and then after some time and upgrades it just started working again.
    Thanks in advance,
    Juha
    [EDIT 14.7]
    Removed misleading reference: Noticed this post (https://bbs.archlinux.org/viewtopic.php?id=183601) and changed name in udev rules: enp03s0 -> wlp03s0 -- no change
    [EDIT 16.7]
    Added some details seen also later in thread
    Last edited by jmu (2014-07-18 16:08:45)

    jmu wrote:
    Sorry for missing your guidance ewaller, but you mean this?
    Let's try again:
    sudo iw wlp3s0 scan
    (iw help output)
    Apparently it requires dev parameter?
    sudo iw dev wlp3s0 scan
    command failed: No such device (-19)
    ewaller$@$odin ~ 1012 %sudo iw wlan0 scan
    [sudo] password for ewaller:
    BSS c4:3d:c7:5d:eb:8f(on wlan0) -- associated
    TSF: 142129421052 usec (1d, 15:28:49)
    freq: 2412
    beacon interval: 100 TUs
    capability: ESS Privacy ShortSlotTime (0x0411)
    signal: -42.00 dBm
    last seen: 260 ms ago
    Information elements from Probe Response frame:
    SSID: Woodlyn
    Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
    DS Parameter set: channel 1
    ERP: <no flags>
    ERP D4.0: <no flags>
    RSN: * Version: 1
    * Group cipher: CCMP
    * Pairwise ciphers: CCMP
    * Authentication suites: PSK
    * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
    Extended supported rates: 6.0 9.0 12.0 48.0
    HT capabilities:
    Capabilities: 0x187c
    HT20
    SM Power Save disabled
    RX Greenfield
    RX HT20 SGI
    RX HT40 SGI
    No RX STBC
    Max AMSDU length: 7935 bytes
    DSSS/CCK HT40
    Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
    Minimum RX AMPDU time spacing: 8 usec (0x06)
    HT RX MCS rate indexes supported: 0-15
    HT TX MCS rate indexes are undefined
    HT operation:
    * primary channel: 1
    * secondary channel offset: no secondary
    * STA channel width: 20 MHz
    * RIFS: 0
    * HT protection: non-HT mixed
    * non-GF present: 1
    * OBSS non-GF present: 1
    * dual beacon: 0
    * dual CTS protection: 0
    * STBC beacon: 0
    * L-SIG TXOP Prot: 0
    * PCO active: 0
    * PCO phase: 0
    WMM: * Parameter version 1
    * u-APSD
    * BE: CW 15-1023, AIFSN 3
    * BK: CW 15-1023, AIFSN 7
    * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
    * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
    BSS 78:54:2e:17:d3:ee(on wlan0)
    TSF: 18945414335000 usec (219d, 06:36:54)
    freq: 2412
    beacon interval: 100 TUs
    capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
    signal: -84.00 dBm
    last seen: 193 ms ago
    Information elements from Probe Response frame:
    SSID: mcfab
    Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
    DS Parameter set: channel 1
    Country: US Environment: Indoor/Outdoor
    Channels [1 - 11] @ 30 dBm
    ERP: Use_Protection Barker_Preamble_Mode
    Extended supported rates: 24.0 36.0 48.0 54.0
    HT capabilities:
    Capabilities: 0x1ad
    RX LDPC
    HT20
    SM Power Save disabled
    RX HT20 SGI
    TX STBC
    RX STBC 1-stream
    Max AMSDU length: 3839 bytes
    No DSSS/CCK HT40
    Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
    Minimum RX AMPDU time spacing: No restriction (0x00)
    HT RX MCS rate indexes supported: 0-15
    HT TX MCS rate indexes are undefined
    HT operation:
    * primary channel: 1
    * secondary channel offset: no secondary
    * STA channel width: 20 MHz
    * RIFS: 0
    * HT protection: non-HT mixed
    * non-GF present: 0
    * OBSS non-GF present: 1
    * dual beacon: 0
    * dual CTS protection: 0
    * STBC beacon: 0
    * L-SIG TXOP Prot: 0
    * PCO active: 0
    * PCO phase: 0
    Overlapping BSS scan params:
    * passive dwell: 20 TUs
    * active dwell: 10 TUs
    * channel width trigger scan interval: 300 s
    * scan passive total per channel: 200 TUs
    * scan active total per channel: 20 TUs
    * BSS width channel transition delay factor: 5
    * OBSS Scan Activity Threshold: 0.25 %
    Extended capabilities: HT Information Exchange Supported
    WMM: * Parameter version 1
    * u-APSD
    * BE: CW 15-1023, AIFSN 3
    * BK: CW 15-1023, AIFSN 7
    * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
    * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
    RSN: * Version: 1
    * Group cipher: TKIP
    * Pairwise ciphers: CCMP TKIP
    * Authentication suites: PSK
    * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
    WPA: * Version: 1
    * Group cipher: TKIP
    * Pairwise ciphers: CCMP TKIP
    * Authentication suites: PSK
    WPS: * Version: 1.0
    * Wi-Fi Protected Setup State: 2 (Configured)
    * Response Type: 3 (AP)
    * UUID: 13c0b07c-1dd2-11b2-8c69-91034a198fdd
    * Manufacturer: D-Link
    * Model: D-Link Repeater
    * Model Number: DAP-1320
    * Serial Number: none
    * Primary Device Type: 6-0050f204-1
    * Device name: DAP-1320
    * Config methods: PBC
    * RF Bands: 0x1
    * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20
    BSS 58:6d:8f:1c:7f:f5(on wlan0)
    TSF: 369471980976 usec (4d, 06:37:51)
    freq: 2422
    beacon interval: 100 TUs
    capability: ESS Privacy ShortSlotTime (0x0411)
    signal: -82.00 dBm
    last seen: 3106 ms ago
    Information elements from Probe Response frame:
    SSID: Merlin
    Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
    DS Parameter set: channel 3
    ERP: <no flags>
    ERP D4.0: <no flags>
    RSN: * Version: 1
    * Group cipher: TKIP
    * Pairwise ciphers: CCMP TKIP
    * Authentication suites: PSK
    * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
    Extended supported rates: 6.0 9.0 12.0 48.0
    HT capabilities:
    Capabilities: 0x18fc
    HT20
    SM Power Save disabled
    RX Greenfield
    RX HT20 SGI
    RX HT40 SGI
    TX STBC
    No RX STBC
    Max AMSDU length: 7935 bytes
    DSSS/CCK HT40
    Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
    Minimum RX AMPDU time spacing: 8 usec (0x06)
    HT RX MCS rate indexes supported: 0-15
    HT TX MCS rate indexes are undefined
    HT operation:
    * primary channel: 3
    * secondary channel offset: no secondary
    * STA channel width: 20 MHz
    * RIFS: 0
    * HT protection: non-HT mixed
    * non-GF present: 1
    * OBSS non-GF present: 1
    * dual beacon: 0
    * dual CTS protection: 0
    * STBC beacon: 0
    * L-SIG TXOP Prot: 0
    * PCO active: 0
    * PCO phase: 0
    WPS: * Version: 1.0
    * Wi-Fi Protected Setup State: 2 (Configured)
    * Response Type: 3 (AP)
    * UUID: c18a4b3e-6832-34c7-2859-7ccb974a11a7
    * Manufacturer: Cisco
    * Model: Linksys E3200
    * Model Number: v1.0.04
    * Serial Number: 42
    * Primary Device Type: 6-0050f204-1
    * Device name: Linksys E3200
    * Config methods: Display, PBC
    * RF Bands: 0x3
    * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20
    WPA: * Version: 1
    * Group cipher: TKIP
    * Pairwise ciphers: CCMP TKIP
    * Authentication suites: PSK
    * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
    BSS b8:e6:25:f7:1d:29(on wlan0)
    TSF: 1088585492128 usec (12d, 14:23:05)
    freq: 2462
    beacon interval: 100 TUs
    capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
    signal: -79.00 dBm
    last seen: 30 ms ago
    Information elements from Probe Response frame:
    SSID: 2WIRE883
    Supported rates: 1.0* 2.0* 5.5* 6.0 9.0 11.0* 12.0 18.0
    DS Parameter set: channel 11
    Country: US Environment: Indoor/Outdoor
    Channels [1 - 11] @ 27 dBm
    RSN: * Version: 1
    * Group cipher: TKIP
    * Pairwise ciphers: CCMP TKIP
    * Authentication suites: PSK
    * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
    WPA: * Version: 1
    * Group cipher: TKIP
    * Pairwise ciphers: CCMP TKIP
    * Authentication suites: PSK
    ERP: <no flags>
    Extended supported rates: 24.0 36.0 48.0 54.0
    BSS c4:04:15:8f:29:a0(on wlan0)
    TSF: 1092012544384 usec (12d, 15:20:12)
    freq: 2447
    beacon interval: 100 TUs
    capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
    signal: -84.00 dBm
    last seen: 1170 ms ago
    Information elements from Probe Response frame:
    SSID: MyCharterWiFia0-2G
    Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
    DS Parameter set: channel 8
    TIM: DTIM Count 0 DTIM Period 2 Bitmap Control 0x0 Bitmap[0] 0x4
    ERP: <no flags>
    RSN: * Version: 1
    * Group cipher: CCMP
    * Pairwise ciphers: CCMP
    * Authentication suites: PSK
    * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
    Extended supported rates: 24.0 36.0 48.0 54.0
    WMM: * Parameter version 1
    * u-APSD
    * BE: CW 15-1023, AIFSN 3
    * BK: CW 15-1023, AIFSN 7
    * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
    * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
    HT capabilities:
    Capabilities: 0x11cc
    HT20
    SM Power Save disabled
    RX HT40 SGI
    TX STBC
    RX STBC 1-stream
    Max AMSDU length: 3839 bytes
    DSSS/CCK HT40
    Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
    Minimum RX AMPDU time spacing: 8 usec (0x06)
    HT RX MCS rate indexes supported: 0-15
    HT TX MCS rate indexes are undefined
    HT operation:
    * primary channel: 8
    * secondary channel offset: no secondary
    * STA channel width: 20 MHz
    * RIFS: 1
    * HT protection: no
    * non-GF present: 0
    * OBSS non-GF present: 0
    * dual beacon: 0
    * dual CTS protection: 0
    * STBC beacon: 0
    * L-SIG TXOP Prot: 0
    * PCO active: 0
    * PCO phase: 0
    Overlapping BSS scan params:
    * passive dwell: 20 TUs
    * active dwell: 10 TUs
    * channel width trigger scan interval: 300 s
    * scan passive total per channel: 200 TUs
    * scan active total per channel: 20 TUs
    * BSS width channel transition delay factor: 5
    * OBSS Scan Activity Threshold: 0.25 %
    Extended capabilities: HT Information Exchange Supported
    BSS 00:1a:ef:0a:1f:1c(on wlan0)
    TSF: 1456596480215 usec (16d, 20:36:36)
    freq: 2412
    beacon interval: 100 TUs
    capability: ESS Privacy ShortSlotTime (0x0411)
    signal: -90.00 dBm
    last seen: 1503 ms ago
    Information elements from Probe Response frame:
    SSID: MEJ
    Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
    DS Parameter set: channel 1
    TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x20
    ERP: Barker_Preamble_Mode
    Extended supported rates: 24.0 36.0 48.0 54.0
    HT capabilities:
    Capabilities: 0x186e
    HT20/HT40
    SM Power Save disabled
    RX HT20 SGI
    RX HT40 SGI
    No RX STBC
    Max AMSDU length: 7935 bytes
    DSSS/CCK HT40
    Maximum RX AMPDU length 32767 bytes (exponent: 0x002)
    Minimum RX AMPDU time spacing: 16 usec (0x07)
    HT RX MCS rate indexes supported: 0-15
    HT TX MCS rate indexes are undefined
    HT operation:
    * primary channel: 1
    * secondary channel offset: above
    * STA channel width: any
    * RIFS: 0
    * HT protection: non-HT mixed
    * non-GF present: 0
    * OBSS non-GF present: 0
    * dual beacon: 0
    * dual CTS protection: 0
    * STBC beacon: 0
    * L-SIG TXOP Prot: 0
    * PCO active: 0
    * PCO phase: 0
    WMM: * Parameter version 1
    * BE: CW 15-1023, AIFSN 3
    * BK: CW 15-1023, AIFSN 7
    * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
    * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
    WPS: * Version: 1.0
    * Wi-Fi Protected Setup State: 2 (Configured)
    BSS e4:f4:c6:0a:52:e0(on wlan0)
    TSF: 105656013203 usec (1d, 05:20:56)
    freq: 2412
    beacon interval: 100 TUs
    capability: ESS Privacy ShortSlotTime RadioMeasure (0x1411)
    signal: -85.00 dBm
    last seen: 236 ms ago
    Information elements from Probe Response frame:
    SSID: NETGEAR98
    Supported rates: 1.0* 2.0* 5.5 11.0 18.0 24.0 36.0 54.0
    DS Parameter set: channel 1
    TIM: DTIM Count 1 DTIM Period 2 Bitmap Control 0x0 Bitmap[0] 0x0
    ERP: <no flags>
    ERP D4.0: <no flags>
    RSN: * Version: 1
    * Group cipher: CCMP
    * Pairwise ciphers: CCMP
    * Authentication suites: PSK
    * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
    Extended supported rates: 6.0 9.0 12.0 48.0
    BSS Load:
    * station count: 6
    * channel utilisation: 27/255
    * available admission capacity: 0 [*32us]
    HT capabilities:
    Capabilities: 0x19ad
    RX LDPC
    HT20
    SM Power Save disabled
    RX HT20 SGI
    TX STBC
    RX STBC 1-stream
    Max AMSDU length: 7935 bytes
    DSSS/CCK HT40
    Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
    Minimum RX AMPDU time spacing: 4 usec (0x05)
    HT RX MCS rate indexes supported: 0-23
    HT TX MCS rate indexes are undefined
    HT operation:
    * primary channel: 1
    * secondary channel offset: no secondary
    * STA channel width: 20 MHz
    * RIFS: 1
    * HT protection: nonmember
    * non-GF present: 1
    * OBSS non-GF present: 1
    * dual beacon: 0
    * dual CTS protection: 0
    * STBC beacon: 0
    * L-SIG TXOP Prot: 0
    * PCO active: 0
    * PCO phase: 0
    Overlapping BSS scan params:
    * passive dwell: 20 TUs
    * active dwell: 10 TUs
    * channel width trigger scan interval: 300 s
    * scan passive total per channel: 200 TUs
    * scan active total per channel: 20 TUs
    * BSS width channel transition delay factor: 5
    * OBSS Scan Activity Threshold: 0.25 %
    Extended capabilities: HT Information Exchange Supported, Extended Channel Switching, BSS Transition, 6
    WPS: * Version: 1.0
    * Wi-Fi Protected Setup State: 2 (Configured)
    * UUID: 14ac5004-9685-bde7-cca3-7f46f9cc6964
    * RF Bands: 0x3
    * Unknown TLV (0x1049, 6 bytes): 00 37 2a 00 01 20
    WMM: * Parameter version 1
    * u-APSD
    * BE: CW 15-1023, AIFSN 3
    * BK: CW 15-1023, AIFSN 7
    * VI: CW 7-15, AIFSN 2, TXOP 6016 usec
    * VO: CW 3-7, AIFSN 2, TXOP 3264 usec
    BSS ac:5d:10:66:64:e9(on wlan0)
    TSF: 568059494785 usec (6d, 13:47:39)
    freq: 2432
    beacon interval: 100 TUs
    capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
    signal: -84.00 dBm
    last seen: 2350 ms ago
    Information elements from Probe Response frame:
    SSID: 2WIRE929
    Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
    DS Parameter set: channel 5
    TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0
    Country: US Environment: Indoor/Outdoor
    Channels [1 - 11] @ 27 dBm
    ERP: <no flags>
    RSN: * Version: 1
    * Group cipher: TKIP
    * Pairwise ciphers: CCMP TKIP
    * Authentication suites: PSK
    * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
    WPA: * Version: 1
    * Group cipher: TKIP
    * Pairwise ciphers: CCMP TKIP
    * Authentication suites: PSK
    Extended supported rates: 24.0 36.0 48.0 54.0
    ewaller$@$odin ~ 1013 %
    Nope.

  • Devilspie no longer working? [solved]

    Did configuration change again? Because my xmms script is no longer working for devilspie(then again no scipts are working). Heres my xmms script:
    1 (if (is (application_name) "XMMS")
    2 (begin
    3 (skip_pager)
    4 (skip_tasklist)
    5 (below)
    6 (pin)
    7 )
    8 )
    This simple script used to work, I supposed I did notice this once I switched to pypanel, but I believe the script worked the first couple of times, it's supposed to hide xmms from the pager / tasklist but it isn't doing so.

    Global Havok wrote:Still working fine for me... I don't believe there has been a devilspie update recently either.  Any major changes in your setup lately?
    Other than switching from fbpane to pypanel, no. Altleaste not that I know of
    edit
    Apparently it's just a pypanel related problem. Guess I'll have to change panels once again ;(
    edit
    Well, I guess pypanel has it's own option to hide windows fromt he tastklist, so I just did that instead. Problem solved.

  • I have ios 5.1.1. When I sync to iTunes, my purchased apps no longer work. They blink but do not open. The only way I have been able to solve this, is as follows: I delete one of the apps and then re-download and install it. Then, all my apps work.

    My new iPod touch 64 Gig has a problem after syncing with iTunes. My purchased apps no longer work. I touch them and they seem to try to open but they do not.
    The only way I have found to fix this is as follows:
    I delete one of the purchased apps. Then I go to the App Store and re-download and install the same app. After that, all my apps work again.
    Please help.

    Download/install an app is a know possible solution.
    3. Install another app from the App Store
    If all user-installed apps are not launching, it could be an Apple ID authorization issue. Download and install an app that isn't already installed on your device to reset this information.
    Note: If you have installed apps using multiple Apple ID accounts, you may need to perform this step for each account.
    Above from Apple's :
    iOS: Troubleshooting applications purchased from the App Store

  • [SOLVED] USB 3G no longer works after upgrade to GNOME 3.8

    I did the 'big' update today, including upgrading to GNOME 3.8. Unfortunately, NetworkManager no longer picks up my 3G USB modem (which used to work fine before the update). Any pointers as to how I could debug this would be greatly appreciated.
    wvdial has never really worked for me, but gnome networkmanager used to pick up my device and the connection, and now simply acts as if it's no longer present. Attempting to follow the instructions on the wiki to re-setup my USB stick (the instructions I followed in the first place) no longer works. Did today's update cause the same problem for anybody else?
    **Update: After updating today to modemmanager 0.7.990-4 and running
    sudo systemctl enable ModemManager
    sudo systemctl start ModemManager
    I have full connectivity again with the built-in DW5550 mobile broadband card in my Dell Precision M6600 (including showing signal strength in the GNOME 3.8 top bar, etc). Thanks all for the help, and (most importantly) to whoever fixed up modemmanager!
    Last edited by dawid.loubser (2013-04-26 16:57:42)

    wvdial might also be a workaround, if one does not like to downgrade. In my case, I had to unset my PIN on the SIM card first. One can do that using a mobile phone, for example.
    Then
    # pacman -S wvdial
    in /etc/wvdial.conf, I put
    [Dialer Defaults]
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = Analog Modem
    ISDN = 0
    Stupid Mode = 1
    Dial Attempts = 3
    Init1 = ATZ
    [Dialer huawei]
    Modem = /dev/serial/by-id/usb-ZTE_Incorporated_1_1_Surf-stick_MF19001MOD010000-if02-port0
    Baud = 115200
    [Dialer voda]
    Init3 = AT+CGDCONT=1,"IP","web.vodafone.de"
    [Dialer dial]
    Phone=*99**1#
    Username = umts
    Password = umts
    You can find out your modem name by looking it up with
    ls /dev/serial/by-id/
    In my case there were names containing the strings if00, if01 and if02, and if02 turned out to be the correct one. This depends on hardware.
    Also, in the "Init 3" line, you may have to replace "web.vodafone.de" according to your provider. The section "dial" seems to be quite universal from what I read on the web, so you may not have to change that.
    then
    # wvdial huawei voda dial
    and hope for the best.
    Disclaimer: I do not have a comprehensive understanding of what I did here, but it worked in my case and it might work for you, too.
    I noticed that the Defaults section makes a difference, because the one I just edited in above avoids some delay in dialing.
    Last edited by tobi-fankhaenel (2013-04-23 08:23:00)

  • [SOLVED] Openbox autostart no longer working since upgrade

    After the upgrade on May 14 2013 my autostart file no longer works. I tried renaming my autostart.sh to just autostart no luck. There is nothing wrong with the autostart file as I can run it manually and it will load all my apps. Also, if I cd to  /usr/lib/openbox/ and run openbox-autostart directly it works. Here are the updated packages:
    [2013-05-14 21:34] [PACMAN] upgraded ethtool (1:3.8-1 -> 1:3.9-1)
    [2013-05-14 21:34] [PACMAN] upgraded firefox (20.0.1-5 -> 21.0-1)
    [2013-05-14 21:34] [PACMAN] upgraded gsettings-desktop-schemas (3.8.0-1 -> 3.8.2-1)
    [2013-05-14 21:34] [PACMAN] upgraded glib-networking (2.36.1-1 -> 2.36.2-1)
    [2013-05-14 21:34] [PACMAN] upgraded gnome-icon-theme-symbolic (3.8.0.1-2 -> 3.8.2.2-1)
    [2013-05-14 21:34] [PACMAN] upgraded gnome-icon-theme (3.8.0-1 -> 3.8.2-1)
    [2013-05-14 21:34] [PACMAN] upgraded gnupg (2.0.19-7 -> 2.0.20-1)
    [2013-05-14 21:34] [PACMAN] upgraded gtkmm (2.24.2-2 -> 2.24.3-1)
    [2013-05-14 21:34] [PACMAN] upgraded gvfs (1.16.1-2 -> 1.16.2-1)
    [2013-05-14 21:34] [PACMAN] upgraded libical (0.48-1 -> 1.0-2)
    [2013-05-14 21:34] [PACMAN] upgraded mplayer (35920-2 -> 35920-3)
    [2013-05-14 21:34] [PACMAN] upgraded orage (4.8.4-1 -> 4.8.4-2)
    [2013-05-14 21:34] [PACMAN] upgraded pango (1.34.0-1 -> 1.34.1-1)
    [2013-05-14 21:34] [PACMAN] upgraded pdnsd (1.2.9.a-1 -> 1.2.9.a-2)
    [2013-05-14 21:34] [PACMAN] upgraded python2-distribute (0.6.38-1 -> 0.6.39-1)
    [2013-05-14 21:34] [PACMAN] upgraded python2-zope-interface (4.0.3-1 -> 4.0.5-1)
    [2013-05-14 21:34] [PACMAN] upgraded sudo (1.8.6.p8-1 -> 1.8.6.p8-2)
    [2013-05-14 21:34] [PACMAN] upgraded thunderbird (17.0.5-2 -> 17.0.6-1)
    [2013-05-14 21:34] [PACMAN] upgraded virtualbox (4.2.12-2 -> 4.2.12-3)
    [2013-05-14 21:34] [PACMAN] upgraded vte-common (0.34.4-1 -> 0.34.5-1)
    [2013-05-14 21:35] [PACMAN] upgraded python3-threaded_servers (2013.5.12.3-1 -> 2013.5.14.1-1)
    Not sure what's going on or what could have caused it. My .xinitrc looks like this:
    #!/bin/sh
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    export BROWSER="chromium"
    # Start GNOME Keyring
    eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh)
    # You probably need to do this too:
    export SSH_AUTH_SOCK
    export GPG_AGENT_INFO
    export GNOME_KEYRING_CONTROL
    export GNOME_KEYRING_PID
    exec openbox-session
    My .zprofile
    [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && startx &> ~/.xlog
    My systemd startup service:
    # This file is part of systemd.
    # systemd is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2.1 of the License, or
    # (at your option) any later version.
    [Unit]
    Description=Getty on %I
    Documentation=man:agetty(8) man:systemd-getty-generator(8)
    Documentation=http://0pointer.de/blog/projects/serial-console.html
    After=systemd-user-sessions.service plymouth-quit-wait.service
    After=rc-local.service
    # If additional gettys are spawned during boot then we should make
    # sure that this is synchronized before getty.target, even though
    # getty.target didn't actually pull it in.
    Before=getty.target
    IgnoreOnIsolate=yes
    # On systems without virtual consoles, don't start any getty. (Note
    # that serial gettys are covered by [email protected], not this
    # unit
    ConditionPathExists=/dev/tty0
    [Service]
    # the VT is cleared by TTYVTDisallocate
    ExecStart=-/sbin/agetty -a dodo3773 %I 38400
    Type=simple
    #Restart=always
    #RestartSec=0
    UtmpIdentifier=%I
    TTYPath=/dev/%I
    TTYReset=no
    TTYVHangup=no
    TTYVTDisallocate=no
    KillMode=process
    IgnoreSIGPIPE=no
    # Unset locale for the console getty since the console has problems
    # displaying some internationalized messages.
    Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION=
    # Some login implementations ignore SIGTERM, so we send SIGHUP
    # instead, to ensure that login terminates cleanly.
    KillSignal=SIGHUP
    [Install]
    WantedBy=getty.target
    Edit: I tried switching to bash in a tty and then just startx but that doesn't help either.
    Edit2: To be clear openbox does load a desktop. The autostart scripts at ~/.config/openbox/ just don't run. Thanks.
    Edit3: I decided to run the command issued in openbox-session and added --debug to it. Here is the output of "xinit /usr/bin/openbox --debug --startup "/usr/lib/openbox/openbox-autostart OPENBOX" "$@" -- :1 -nolisten tcp" :
    X.Org X Server 1.14.1
    Release Date: 2013-04-17
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 3.8.7-1-ARCH x86_64
    Current Operating System: Linux dodo713 3.9.2-2-ck #1 SMP PREEMPT Sun May 12 18:19:49 EDT 2013 x86_64
    Kernel command line: BOOT_IMAGE=/vmlinuz-linux-ck root=UUID=06874255-7a5d-4968-8f09-1e53cb761f44 ro quiet init=/usr/lib/systemd/systemd
    Build Date: 17 April 2013 02:37:06PM
    Current version of pixman: 0.30.0
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.1.log", Time: Fri May 17 08:14:11 2013
    (==) Using config file: "/etc/X11/xorg.conf"
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    setversion 1.4 failed
    Initializing built-in extension Generic Event Extension
    Initializing built-in extension SHAPE
    Initializing built-in extension MIT-SHM
    Initializing built-in extension XInputExtension
    Initializing built-in extension XTEST
    Initializing built-in extension BIG-REQUESTS
    Initializing built-in extension SYNC
    Initializing built-in extension XKEYBOARD
    Initializing built-in extension XC-MISC
    Initializing built-in extension SECURITY
    Initializing built-in extension XINERAMA
    Initializing built-in extension XFIXES
    Initializing built-in extension RENDER
    Initializing built-in extension RANDR
    Initializing built-in extension COMPOSITE
    Initializing built-in extension DAMAGE
    Initializing built-in extension MIT-SCREEN-SAVER
    Initializing built-in extension DOUBLE-BUFFER
    Initializing built-in extension RECORD
    Initializing built-in extension DPMS
    Initializing built-in extension X-Resource
    Initializing built-in extension XVideo
    Initializing built-in extension XVideo-MotionCompensation
    Initializing built-in extension XFree86-VidModeExtension
    Initializing built-in extension XFree86-DGA
    Initializing built-in extension XFree86-DRI
    Initializing built-in extension DRI2
    Loading extension GLX
    Loading extension NV-GLX
    Loading extension NV-CONTROL
    Loading extension XINERAMA
    setversion 1.4 failed
    Openbox-Debug: --startup /usr/lib/openbox/openbox-autostart OPENBOX
    Openbox-Debug: Moving to desktop 1
    Openbox-Debug: not managing override redirect window 0x4000bb
    which: no hsetroot in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/android-sdk/platform-tools:/usr/bin/core_perl:/home/dodo3773/Documents/Scripts:/home/dodo3773/Documents/Scripts)
    which: no esetroot in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/android-sdk/platform-tools:/usr/bin/core_perl:/home/dodo3773/Documents/Scripts:/home/dodo3773/Documents/Scripts)
    which: no xsetroot in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/android-sdk/platform-tools:/usr/bin/core_perl:/home/dodo3773/Documents/Scripts:/home/dodo3773/Documents/Scripts)
    kupfer: Reading from stdin
    The XKEYBOARD keymap compiler (xkbcomp) reports:
    > Warning: Compat map for group 2 redefined
    > Using new definition
    > Warning: Compat map for group 3 redefined
    > Using new definition
    > Warning: Compat map for group 4 redefined
    > Using new definition
    Errors from xkbcomp are not fatal to the X server
    Openbox-Debug: Caught signal 22. Ignoring.
    Openbox-Debug: UPDATE DESKTOP NAMES
    Openbox-Debug: Keyboard map changed. Reloading keyboard bindings.
    Edit4: Removed everything from /etc/xdg/autostart and ~/.config/autostart/ directories. That didn't work.
    Edit5: Tried installing xorg-xsetroot to let openbox set the color of the wallpaper. That didn't work.
    Edit6: Checked the output of "loginctl show-session $XDG_SESSION_ID" to make sure that wasn't the issue. Looks okay to me:
    Id=1
    Timestamp=Fri 2013-05-17 10:25:53 PDT
    TimestampMonotonic=13650783
    DefaultControlGroup=systemd:/user/1000.user/1.session
    VTNr=1
    TTY=tty1
    Remote=no
    Service=login
    Leader=405
    Audit=1
    Type=tty
    Class=user
    Active=yes
    State=active
    KillProcesses=no
    IdleHint=no
    IdleSinceHint=1368811547544203
    IdleSinceHintMonotonic=7545641
    Name=dodo3773
    Edit7: Tried installing xorg-xrdb thinking maybe that would help and did todays updates. No luck yet.
    Edit8: Kupfer still loads even though nothing else does. So I uninstalled kupfer. Same thing though. No autostart.
    Edit9: Tried booting into repo kernel instead of ck kernel. Didn't work.
    Last edited by dodo3773 (2013-05-19 06:34:44)

    WonderWoofy wrote:Interestingly, of all those things you included in your post, you forgot to include the autostart script itself.  What does that look like?
    Well, since it worked fine even when called indirectly through openbox-autostart and since it's worked fine for months I figured it was fine. I am happy to post it though. Here you go:
    feh --bg-scale /home/dodo3773/Pictures/blacksolid.png &
    xfce4-panel &
    numlockx &
    keepassx -lock &
    kupfer --no-splash &
    ~/Documents/Scripts/startupopen.sh &
    sleep 30 && sudo /usr/bin/ntpd -qg &
    sudo /usr/sbin/ethtool -K eth0 rx off &
    ~/Documents/Scripts/conky.sh &
    sudo /home/dodo3773/Documents/Scripts/temp_throttlenew > /dev/null 2>&1 &
    Here are the external scripts that are called (startupopen.sh and temp_throttlenew):
    startupopen.sh
    #! /bin/bash
    sleep 13
    chromium &
    thunderbird &
    sleep 20
    devilspie -a &
    sleep 7
    pkill devilspie &
    exit
    temp_throttlenew
    #!/bin/bash
    # temp_throttle.sh max_temp
    # USE CELSIUS TEMPERATURES.
    if [[ $EUID -ne 0 ]]; then
    echo "This script must be run as root" 1>&2
    exit 1
    fi
    #if [ $# -ne 1 ]; then
    # If temperature wasn't given, then print a message and exit.
    # echo "Please supply a maximum desired temperature in Celsius." 1>&2
    # echo "For example: ${0} 60" 1>&2
    # exit 2
    #else
    #Set the first argument as the maximum desired temperature.
    MAX_TEMP=85
    #fi
    # The frequency will increase when low temperature is reached.
    let LOW_TEMP=$MAX_TEMP-5
    CORES=$(nproc) # Get number of CPU cores.
    echo -e "Number of CPU cores detected: $CORES\n"
    # Temperatures internally are calculated to the thousandth.
    MAX_TEMP=${MAX_TEMP}000
    LOW_TEMP=${LOW_TEMP}000
    # FREQ_LIST is a list (array) of all available cpu frequencies the system allows.
    declare -a FREQ_LIST=($(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies))
    # CURRENT_FREQ relates to the FREQ_LIST by keeping record of the currently set frequency.
    let CURRENT_FREQ=1
    function set_freq {
    echo ${FREQ_LIST[$1]}
    cpupower frequency-set -g "ondemand" -d "800MHz" -u ${FREQ_LIST[$1]}
    function throttle {
    if [ $CURRENT_FREQ -ne $((${#FREQ_LIST[@]}-1)) ]; then
    let CURRENT_FREQ+=1
    echo -n "throttle "
    set_freq $CURRENT_FREQ
    fi
    function unthrottle {
    if [ $CURRENT_FREQ -ne 0 ]; then
    let CURRENT_FREQ-=1
    echo -n "unthrottle "
    set_freq $CURRENT_FREQ
    fi
    function get_temp {
    # Get the system temperature.
    # If one of these doesn't work, the try uncommenting another.
    TEMP=$(cat /sys/class/thermal/thermal_zone0/temp)
    #TEMP=$(cat /sys/class/hwmon/hwmon0/temp1_input)
    #TEMP=$(cat /sys/class/hwmon/hwmon1/device/temp1_input)
    while true; do
    get_temp
    if [ $TEMP -gt $MAX_TEMP ]; then # Throttle if too hot.
    throttle
    elif [ $TEMP -le $LOW_TEMP ]; then # Unthrottle if cool.
    unthrottle
    fi
    sleep 3
    done
    Stuff that needs sudo is in my sudoers as "username hostname NOPASSWD: item1,item2,etc,etc". Nothing too exciting. Seems like if there was suddenly something wrong with my autostart file at least some of the stuff would run either way though cause of "&". Pretty puzzling this issue is.

  • [SOLVED] Postgis no longer working after upgrade of postgresql

    Dear all,
    after yesterdays upgrade of postgresql-server and libs to 9.0.1 the postgis package does no longer work. When trying to import postgis.sql (version 1.5) it always complains about wrong libraries version:
    psql:/usr/share/postgresql/contrib/postgis-1.5/postgis.sql:59: FEHLER: inkompatible Bibliothek »/usr/lib/postgresql/postgis-1.5.so«: Version stimmt nicht überein
    I have double checked on postgresql and postgis documents that the versions should be compatible:
    postgresql 9.0.1-2
    postgresql-libs 9.0.1-2
    postgis 1.5.1-1
    For all databases dump and restore was fine, except for my gis databases. So upgrade from 8.4.4 to 9.0.1 worked in general.
    Any ideas?
    Last edited by Wauzenplauz (2010-10-31 14:46:20)

    "Unfortunately" I did not have enough time to give it a try and rebuild the package.
    So today I found that there is already a new version of postgis available which works perfectly fine!

Maybe you are looking for

  • Positioning of spry sub menu in IE8

    Hi - can anyone help with an IE8 issue concerning Spry? I have created a menu here: http://www.clinicafiore.co.uk/jan2012/indexJan2012_1.html In all the browsers I have tested (Chrome,FF,Safari,Opera) on Mac and PC platforms it works fine. In IE8 it

  • Aperture 3.4.1 hasn't solve program crash

    Hi! I have deleted Aperture and reinstalled from the trial version as the original CD wasn't working. Then I have update to the 3.4.1 version, but nothing has changed. When I double click on Aperture icon in the dock it start to repair the library be

  • Decrease no of chars in CT04?

    Hi experts, I have added the no. of chars from 4 to 5.. in my characteristics (CT04) and now i want to decrease it back to original, but there is a message saying : "Characteristic length can only be increased" how to solve this? can i just delete an

  • Sales office not Assigned

    HI Experts, for some co-pa records sales office not assigned. i checked in R/3 COPA data there also its not there. user says they entered sales office in the transactions. Can you please tell where i have to look for these details. provide Tcodes and

  • BADI for EDI Invoice outbound

    Dear experts, in my special scenario I would like that in the EDI outbound invoice Batch qty. is not showing for segment E1EDP19 which is showing only the Batch nr. I wanted to use a BADI for EDI outbound invoice which uses the logic for transfering