Page 1 of 2 12 LastLast
Results 1 to 10 of 49

Thread: Griffin Powermate (package for volume control and shutdown)

Hybrid View

  1. #1
    Join Date
    Dec 2009
    Beans
    15

    Lightbulb Griffin Powermate (package for volume control and shutdown)

    Hello everyone, this Thread is about "Griffin Powermate" (http://store.griffintechnology.com/desktop/powermate).

    I created a package for Ubuntu (currently Ubuntu 11.10, see last page of this thread)

    Following features are currently supported:
    *Volume control (lower and raise with turning)
    *Shutdown timer (push for 5 minute timer, push again to cancel timer)
    *Enable device for every user
    *Enable device on boot
    *Enable device on replug
    *Shutdown-Sound when timer is activated
    *Untiy-Desktop is supported

    Not supported (but hopefully soon):
    *dim the blue light
    *skipping files in default ubuntu player (this needs a menu for control)

    The package is mostly bash scripts, so it's not hard to understand. To make this package better for everyone i need feedback.
    So just try it and reply to this thread...

    Greetings Stoned
    Last edited by StonedOne; November 18th, 2011 at 03:14 AM.

  2. #2
    Join Date
    Dec 2009
    Beans
    1

    Re: Griffin Powermate (package for volume control and shutdown)

    Hi,

    Do you have source for this driver ? If so, could you please email it to me ?

    I am trying to get my Powermate to work on Ubuntu 9.04 on a ARM based Freescale processor.

    Thanks.

  3. #3
    Join Date
    Dec 2009
    Beans
    15

    Re: Griffin Powermate (package for volume control and shutdown)

    Hey there,

    the attachment contains an .deb-package and the source file i changed.

    After installation the powermate should work. After reboot you have to replug the powermate (udev recognizes it) i did not insert an autostart script.

    For automatic start use a startup script for gnome and just execute "/etc/maryjoana/scripts/start-evrouter.sh" on login.

    You can find configuration files under "/etc/maryjoana".

    Feedback is appriciated!
    Attached Files Attached Files

  4. #4
    Join Date
    Dec 2009
    Beans
    15

    Re: Griffin Powermate (package for volume control and shutdown)

    Oh my bad, just saw you are on an the old 9.04 version.

    Here is the old package i used before but no updates from me for this one
    Maybe you can try your hardware on the new version while your at it ...

    Waiting for the new LTS 10.04 to get a stable basement for further enhancments

    Greetings Stoned
    Attached Files Attached Files

  5. #5
    Join Date
    Jan 2010
    Beans
    1

    Re: Griffin Powermate (package for volume control and shutdown)

    hello
    i seek for the 64bit ubuntu 9.10 Karmic Koala
    THX

  6. #6
    Join Date
    Dec 2009
    Beans
    15

    Thumbs down Re: Griffin Powermate (package for volume control and shutdown)

    Right now i don't have access to the Internet at home, but i will create a package as soon it works again. Stay tuned...

    Can anyone give me feedback if it works as aspected?

    I will then create a init script to start powermate automaticly on reboot.
    Last edited by StonedOne; January 13th, 2010 at 01:37 PM.

  7. #7
    Join Date
    Mar 2008
    Location
    Wichita
    Beans
    20
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Griffin Powermate (package for volume control and shutdown)

    Also posted the same at: http://askubuntu.com/questions/13814.../390013#390013

    For a very long time I had been struggling to get powermate working in Ubuntu, my favourite OS. It was frustrating and finally I got it going and I do want to share with you all how I did. My sincere thanks to all the people from the references. I needed something more definitive, there is none available. Therefore this endeavour.
    This is how I got my volume control with Griffin Powermate USB device working in Ubuntu Saucy Salamander 13.10 amd64. Please bear with me and do the following.

    References.

    1. http://screamingroot.org/node/5
    2. http://www.mp3car.com/input-devices/...-in-linux.html
    3. http://www.bedroomlan.org/projects/evrouter (for evrouter)
    4. http://tomthegeek.blogspot.com/2007/...th-ubuntu.html
    5. http://ubuntuforums.org/showthread.php?t=1346654&page=3
    6. http://superuser.com/questions/47125...ommand-on-boot


    HowTo:


    A. Make a file "/etc/udev/rules.d/10-local.rules" and put the following in the file

    Code:
    sudo gedit /etc/udev/rules.d/10-local.rules
    code line:

    Code:
    SUBSYSTEMS=="usb", ATTRS{product}=="Griffin PowerMate", KERNEL=="event?", NAME="input/powermate"
    Save and close

    B. Create group called "powermate" add yourself and other users to that group, you can give it a GID of 1001 or some like that. You can do so by editing the file /etc/group

    Code:
    sudo gedit /etc/group
    code line:

    Code:
    powermate:1001:your-user-name
    C. Now edit / make file "/etc/udev/rules.d/40-permissions.rules" and add the following

    Code:
    sudo gedit /etc/udev/rules.d/40-permissions.rules
    code lines:

    Code:
    ATTRS{product}=="Griffin PowerMate" GROUP="powermate", MODE="0666"
    Save and close.

    D. Download and install evrouter from: http://www.bedroomlan.org/projects/evrouter or use the repository at http://www.bedroomlan.org/bedroomlan-debian-repository

    E. Create /etc/evrouterrc (or $HOME/.evrouterrc, I prefer /etc/evrouterrc) with the following:

    Code:
    sudo gedit /etc/evrouterrc
    code lines:

    Code:
    Window ""
    "Griffin PowerMate" "" any key/256 "XKey/XF86AudioMute"
    "Griffin PowerMate" "" any rel/7/1 "XKey/XF86AudioRaiseVolume"
    "Griffin PowerMate" "" any rel/7/-1 "XKey/XF86AudioLowerVolume"
    F. Find out the powermate input event number (in mine it is event7), by running the following command.

    Code:
    evrouter /dev/input/*
    In the long output, you should see a line like the following

    Code:
    device  0: /dev/input/event7: Griffin PowerMate
    G. Create /usr/local/bin/powermate with:

    Code:
    sudo gedit /usr/local/bin/powermate
    code lines:

    Code:
    #!/bin/sh
    evrouter -c /etc/evrouterrc /dev/input/event7
    H. If you are a lazy guy like me and would like it to autorun at start up, you can do so by adding the script file to, /etc/rc.local or any such other.

    Code:
    sudo gedit /etc/rc.local
    code line (add before exit 0 line):

    Code:
    /usr/local/bin/powermate
    Save and close.

    Try it and see. Best of luck. I love it now. Hopefully you folks can get it working it too.
    Last edited by pravinbravi; December 13th, 2013 at 01:01 AM. Reason: hyperlinks turncated

  8. #8
    Join Date
    Jan 2007
    Location
    USA, Tennessee
    Beans
    29

    Re: Griffin Powermate (package for volume control and shutdown)

    Thanks!

    Some questions and concerns:
    -Generating a group manually with an arbitrary group ID, instead of using the groupadd command, which will make sure that the ID created is the correct number and there are no clashes with existing groups. Why did you go with manually generating the group ID?

    -Allowing write access for the device to all with the dreaded 0666. This is asking for trouble on many levels. Can the permissions be reduced to 0640, with what you have assembled?


    Kindly,
    SHD

  9. #9
    Join Date
    Mar 2008
    Location
    Wichita
    Beans
    20
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Griffin Powermate (package for volume control and shutdown)

    I tried, but it didn't work. Funny. And also the group ID keeps changing on every restart.
    --
    The Wickerman
    Ubuntu = sudo apt-get install freedom

  10. #10
    Join Date
    Jan 2007
    Location
    USA, Tennessee
    Beans
    29

    Re: Griffin Powermate (package for volume control and shutdown)

    OK, well then the groups will need to be manual with an arbitrary ID.

    How about the permissions? Did you try changing those?

    -S

Page 1 of 2 12 LastLast

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
  •