Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 49

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

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

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

    Hello,


    Trying to get hesus-powermate_1.2-0_all.deb running on Linux Mint 13. Not working, not installing. Says it installs, but does not.

    The terminal window, viewing while installing, produces no errors. What are the requirements for installation, package and dependency wise, please?


    Thank You,
    SHD

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

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

    Maybe it is a simple error near line 11?

    dpkg: error processing /media/1G_USB/hesus-powermate_1.2-0_all.deb (--install):
    parsing file '/var/lib/dpkg/tmp.ci/control' near line 11 package 'hesus-powermate':
    blank line in value of field 'Description'
    Errors were encountered while processing:
    hesus-powermate_1.2-0_all.deb


    Only a guess, I really don't know why this is not installing.


    -SHD

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

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

    Worked with a friend, who's hacked it to get it to install in Mint on a 32bit machine.

    The problem with the the current 'hesus-powermate_1.2-0_all.deb' package is the Description field, in ./control file. It has some blank lines that the current Ubuntu/Mint dpkg version does not take kindly to and the install fails. The solution was to modify this file and remove the empty lines.

    We used the evrouter-0.4 binary from http://www.bedroomlan.org/projects/evrouter and all seems to work as intended when powermate is hotplugged.

    We changed the group in the udev rules from "admin" to "input", because my user was already a member of the input group.

    Finally, we changed the /etc/hesus/conf/evrouterrc:

    Window ""
    "Griffin PowerMate" "" any rel/7/1 "XKey/Down"
    "Griffin PowerMate" "" any rel/7/-1 "XKey/Up"

    ...to enable scrolling up & down in different windows, rather than adjusting the volume.

    Please find attached the modified package - I hope it helps.

    Thanks again for making this package. I personally very much appreciate it.
    Attached Files Attached Files

  4. #34
    Join Date
    Dec 2011
    Beans
    2

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

    Hello,

    I just downloaded the Zip from the last post and installed "PowerMate & Linx Mint.deb" - which worked without problem.

    It is working on Unity, but my usual Desktop is Gnome (I use Ubuntu 12.04) - and there it is not working!

    Is it also working on Gnome Classic (Backport)?

    How can i track down the problem?

    The EvRouter Daemon seems to work:
    Starting PowerMate at Sun Mar 3 14:31:12 CET 2013...device exists
    Starting EvRouter...tmp-file created......done
    Starting PowerMate at Sun Mar 3 14:31:12 CET 2013...device exists
    Starting EvRouter...device 0: /dev/input/powermate: Griffin PowerMate
    Display name: :0.0
    Parsed 2 rules, 96 bytes
    tmp-file created......done

    In evrouterrc i have:
    Window ""
    "Griffin PowerMate" "" any rel/7/1 "XKey/Down"
    "Griffin PowerMate" "" any rel/7/-1 "XKey/Up"

    which should do a scrolling, but isn't.

    do you have any ideas?

    regards,
    gerd

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

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

    Quote Originally Posted by auser2 View Post
    Hello,

    I just downloaded the Zip from the last post and installed "PowerMate & Linx Mint.deb" - which worked without problem.

    It is working on Unity, but my usual Desktop is Gnome (I use Ubuntu 12.04) - and there it is not working!

    Is it also working on Gnome Classic (Backport)?

    How can i track down the problem?

    The EvRouter Daemon seems to work:
    Starting PowerMate at Sun Mar 3 14:31:12 CET 2013...device exists
    Starting EvRouter...tmp-file created......done
    Starting PowerMate at Sun Mar 3 14:31:12 CET 2013...device exists
    Starting EvRouter...device 0: /dev/input/powermate: Griffin PowerMate
    Display name: :0.0
    Parsed 2 rules, 96 bytes
    tmp-file created......done

    In evrouterrc i have:
    Window ""
    "Griffin PowerMate" "" any rel/7/1 "XKey/Down"
    "Griffin PowerMate" "" any rel/7/-1 "XKey/Up"

    which should do a scrolling, but isn't.

    do you have any ideas?

    regards,
    gerd
    It only works after the boot, log-on, wait about 10-seconds approach. There is a temp file created for the device. The OS sets that up. It is a matter of letting the OS setup that file. Now, if you can resolve that problem, please let me know. I am running Linux Mint. I unplug it at the end of my day and plug it in the next day. It works for me, I love it. I read a lot of pages, so vertical scrolling is a benefit like no other through this device.

  6. #36
    Join Date
    Dec 2011
    Beans
    2

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

    Hello shdawson,

    Yes, the reboot was it! Is the re-plugin really necessary? Is there no workaround (i remember to read something about startup scripts in the beginning of the thread).

    regards,
    Gerd

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

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

    Quote Originally Posted by auser2 View Post
    Hello shdawson,

    Yes, the reboot was it! Is the re-plugin really necessary? Is there no workaround (i remember to read something about startup scripts in the beginning of the thread).

    regards,
    Gerd

    The OS has to create that temp file for the device. That is OS specific. Let me know what you get working.


    -SHD

  8. #38
    Join Date
    Apr 2013
    Beans
    1

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

    would be to be had cool sometime even more options. For example, I have the keys "high" and "under it" and Return. Is to the song select thought with a Car PC. If I select, however, no song and only the key presses it would be to be had cool then maybe 5-second time to have instead of "high" & "under it" the function according to loud and more quietly. I do not suppose that Powermate the difference knows between turn and with pushed button turn.
    But I have to run it the first time immediately got.
    Big thanks to you to all
    Soory for my bad english.
    Translation tool used

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

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

    The Powermate does transmit unique signal with push and turn.

    Run the command:
    sudo evrouter -D /dev/input/event*


    This will show what DEVICE ID and what EVENT ID your Griffin PowerMate is set to.

    Lets go with the example the the PowerMate is set to EVENT 11. Run the following syntax:
    sudo evrouter -d /dev/input/event11


    Then, turn the PowerMate knob, push and turn the knob, whatever you want. You will see all kinds of stuff show up in the terminal window. These are the commands (information) that the PowerMate is transmitting and how the operating system, in my case Linux Mint, is seeing that information.

    Go to:
    /etc/hesus/conf/evrouterrc

    ...and edit the file. This is the configuration file.


    Enjoy!

  10. #40
    Join Date
    Mar 2008
    Location
    KC
    Beans
    22
    Distro
    Ubuntu 15.10 Wily Werewolf

    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

Page 4 of 5 FirstFirst ... 2345 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
  •