Page 6 of 49 FirstFirst ... 4567816 ... LastLast
Results 51 to 60 of 481

Thread: Asus K52 / Asus A52

  1. #51
    Join Date
    Nov 2008
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Asus K52 / Asus A52

    The file /etc/acpi/events/asus-touchpad calls /etc/acpi/asus-touchpad.sh. If you prefer to create a new action file called asus-touchpad-switch.sh then you have to modify the action field in /etc/acpi/events/asus-touchpad. Another solution is to edit directly the action file, as the event file is okay.

    For the notification I use this:

    notify-send -i /usr/share/icons/hicolor/scalable/actions/touchpad-enabled.svg -t 3000 " TOUCHPAD ON" "
    Press Fn+F9 to disable"

    notify-send -i /usr/share/icons/hicolor/scalable/actions/touchpad-disabled.svg -t 3000 " TOUCHPAD OFF" "
    Press Fn+F9 to enable"

    For the wireless led, if found that if we comment out
    echo 1 > /sys/class/ieee80211/phy0/rfkill1/state
    echo 0 > /sys/class/ieee80211/phy0/rfkill1/state
    then the led is not always synchronized with the wireless state, sometimes it's on when the wireless is off, and the other way around.

    EDIT: I was wrong about the wireless switch, now instructions are updated.
    Last edited by jsevi83; May 18th, 2010 at 03:17 PM.

  2. #52
    Join Date
    Apr 2010
    Beans
    23
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Asus K52 / Asus A52

    jsevi83, that touchpad icon you found looks pretty good! Now I use it too!
    The notify-send's -t command line switch does nothing as I said, it's a common problem, here is the bugreport about it: notify-send ignores the expire timeout parameter.

    I see the differences between asus-touchpad and asus-touchpad-switch now, because you've edited the first post sometime and yesterday I'd needed to edit the sh file and then the fn+c combo problem got out. So I found out there's two different asus-touchpad file wich interferes each other and after a little correction the fn+c combo problem is gone.

  3. #53
    Join Date
    Nov 2008
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Asus K52 / Asus A52

    thrakdug, you were right about the wireless action file, now instructions on the first post are updated. Thanks for pointing that out, now wireless switch button is working from the first time it's pressed.

    ntomka, I think I don't have the time problem with notify-send, many of my scripts use it and they work as they are supposed to. If I set "-t 3000" notification is displayed for 3seconds.


    EDIT:

    I also noticed that my external microphone is not working. I cannot select it in the pulseaudio-applet; in alsamixer and gstreamer-properties there are two input devices, but only one of them (the internal microphone) is working. Can anybody confirm if they have the same issue? I'm using kernel 2.6.34 and alsa 1.0.23.
    Last edited by jsevi83; May 18th, 2010 at 04:02 PM.

  4. #54
    Join Date
    Mar 2008
    Location
    Lost in Wisconsin
    Beans
    102

    Re: Asus K52 / Asus A52

    Quote Originally Posted by jsevi83 View Post
    Did you get any error when running "g++ main.cpp -o pinsensed"? Maybe you could repeat the process, just in case the original text (main.cpp) had any copy/paste mistakes.

    If that doesn't work I'm afraid I cannot help you any further, as I don't understand the solution itself. I found it here
    http://ubuntuforums.org/showthread.p...043568&page=14
    Forgot to add that part, I do an error message that states:

    "cp: cannot create regular file `/usr/local/bin/pinsensed': Text file busy"

    when I run sudo cp pinsensed /usr/local/bin/pinsensed

    But the file is there in /usr/local/bin/pinsensed

    EDIT:

    I have it working now.

    I changed the input to sudo cp -f pinsensed /usr/local/bin/pinsensed and all is good. Sweeeeeeeeeeeeeeeeeet. Thanks
    Last edited by sleepitoff; May 18th, 2010 at 06:30 PM.

  5. #55
    Join Date
    Nov 2008
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Asus K52 / Asus A52

    I will copy again my last post in case somebody missed it.

    I noticed that my external microphone is not working. I cannot select it in the pulseaudio-applet; in alsamixer and gstreamer-properties there are two input devices, but only one of them (the internal microphone) is working. Can anybody confirm if they have the same issue? I'm using kernel 2.6.34 and alsa 1.0.23.

  6. #56
    Join Date
    May 2009
    Location
    Planet Earth
    Beans
    220
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Asus K52 / Asus A52

    Quote Originally Posted by jsevi83 View Post
    LIST OF SOLUTIONS:

    1) SOUND: for mutting the speakers while headphones are plugged, follow this instructions:

    gedit main.cpp

    # Paste the following inside, save and close.

    Code:
    *code omitted in the interest of space*

    g++ main.cpp -o pinsensed
    sudo cp pinsensed /usr/local/bin/pinsensed
    sudo pinsensed
    sudo gedit /etc/init.d/rc.local

    # Add the following (in red) to line 10 (under ### END INIT INFO)

    /usr/local/bin/pinsensed

    # That's it. Your speakers should mute when you plug in your headphones (also after a reboot). This is not an "official" solution, but a workaround until things get solved.
    This fix does mute my speakers when the headphones are plugged in... but no sound comes out of the headphones, either. Previously both the headphones and speakers played sound simultaneously.

    Has anyone else run into this problem, and if so, do you know a fix? (I'm using a Toshiba Satellite, not an Asus... not sure if that is the root of the problem.)

    Thanks
    int main() {
    User chellrose;
    chellrose.insert_clever_signature();
    return 0;}

  7. #57
    Join Date
    Nov 2008
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Asus K52 / Asus A52

    I guess if it's a toshiba that is the root of the problem. Check here:

    http://ubuntuforums.org/showthread.php?t=1043568

    http://translate.google.com/translat...%3Fs%3Drealtek


    Edit: don't forget to undo what you did (pinsensed).

  8. #58
    Join Date
    May 2010
    Beans
    6

    Re: Asus K52 / Asus A52

    Quote Originally Posted by jsevi83 View Post
    I will copy again my last post in case somebody missed it.

    I noticed that my external microphone is not working. I cannot select it in the pulseaudio-applet; in alsamixer and gstreamer-properties there are two input devices, but only one of them (the internal microphone) is working. Can anybody confirm if they have the same issue? I'm using kernel 2.6.34 and alsa 1.0.23.
    DId not noticee it until you pointed it out. I tried on the original .32 kernel and alsa 1.0.23, still the same issue. Its not even on the pulseaudio-applet. Another thing to work on I guess.

    Any progress on the suspend issue? I tried these links (to no avail):
    https://wiki.ubuntu.com/DebuggingKer...ibernateResume
    https://wiki.ubuntu.com/DebuggingKernelSuspend

    Has any body filed a bug report, that we can support?

  9. #59
    Join Date
    May 2006
    Location
    Slovenia
    Beans
    190
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: Asus K52 / Asus A52

    I would really like to thank you all for this thread, it made my life easier. Thanks
    Last edited by zvezdogled; May 24th, 2010 at 12:48 PM.
    "On 11 November 1997, Veronika decided that the moment to
    kill herself had – at last! - arrived." - Paulo Coelho

  10. #60
    Join Date
    Nov 2008
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Asus K52 / Asus A52

    Quote Originally Posted by thrakdug View Post
    Any progress on the suspend issue? I tried these links (to no avail):
    https://wiki.ubuntu.com/DebuggingKer...ibernateResume
    https://wiki.ubuntu.com/DebuggingKernelSuspend

    Has any body filed a bug report, that we can support?
    I didn't find any solution or bug report about the suspend issue. If you do, please let us know. The same goes for the external microphone.

Page 6 of 49 FirstFirst ... 4567816 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •