Home of the Squeezebox™ & Transporter® network music players.
Page 18 of 18 FirstFirst ... 8161718
Results 171 to 176 of 176
  1. #171
    Junior Member
    Join Date
    Mar 2020
    Posts
    4
    Quote Originally Posted by tbali View Post
    Oh, I didn't see that you already answered the problem. Yes, I also applied your patch years ago (to fix Pi 3 GPIO base address):
    Hi tbali, do you have the patched version from post #24?
    Now the web link is not more available..

    Thank you!

    Asen

  2. #172
    Member
    Join Date
    Jan 2016
    Location
    Hungary
    Posts
    73
    Quote Originally Posted by asen_v_k View Post
    Hi tbali, do you have the patched version from post #24?
    Now the web link is not more available..
    It was a test build which supports Pi 3. Now that is already in the bundle, so there isn't any new build for your problem.

    Sorry, but I don't have any Pi 4s, nor time, so can not develop any solution for that problem. I would try some other method to inject keyboard events for Slimmer (like lirc with a remote or some pikeyd alternative), or I would use an older Pi with pikeyd.

  3. #173
    Junior Member
    Join Date
    May 2020
    Posts
    1

    Backlight and LMS "power" toggle

    Hi Guys,
    slimmer is a helpful tool to get my own "radio" working.
    As I'm not familiar with programming so I'd like to ask you if someone has a tip.
    As I can see on github there is a feature for turning on and off the backlight of the display by lcdproc. But this is not included in the last compiled version. So how do I get the latest version onto my device?
    Another useful function would be a POWER Button which controls the LMS Clients Power status. At the moment I use SBPD but this is not compatible with pikeyd. Once I run SBPD pikeyd stops working.
    Is there a option to fire a shell command (eg. pcp power) from pikeyd as slimmer cannot handle a power command?

    Thanks a lot!
    B÷rni

  4. #174
    Senior Member
    Join Date
    Jan 2016
    Location
    Germany
    Posts
    153
    Quote Originally Posted by ElFishi View Post
    So, next challenge:
    I can get LIRCd to run with -uinput by the way Ralpy describes. I can also configure my own lircd.conf file so it contains the right keys for slimmer. And I can start slimmer with
    Code:
    --input /dev/input/event0
    and have slimmer react on my remote...
    Hi,

    after getting Slimmer up and running in PiCorePlayer 6, I am now trying to activate the remote control again.
    I installed under Tweaks> IR-Page Lirc, set the correct GPIO port and uploaded my own lircd.conf.
    The remote control also seems to work, the commands
    Code:
    irw
    and
    Code:
    mode2 -d /dev/lirc0
    issue the remote control commands correctly.

    Next I found the Lirc event number.

    Code:
    cat /proc/bus/input/devices
    I: Bus=0019 Vendor=0001 Product=0001 Version=0100
    N: Name="gpio_ir_recv"
    P: Phys=gpio_ir_recv/input0
    S: Sysfs=/devices/platform/ir-receiver@1b/rc/rc0/input0
    U: Uniq=
    H: Handlers=kbd event0
    B: PROP=0
    B: EV=100013
    B: KEY=fff 0 0 4200 108fc32e 2376051 0 0 0 7 158000 4192 4001 8e9680 0 0 10000000
    B: MSC=10
    But when I start Slimmer with
    Code:
    --input /dev/input/event0
    the software doesn't respond to the commands.

    Does anyone have any idea why?

    Best regards
    PiPlayer

  5. #175
    Senior Member
    Join Date
    Jan 2016
    Location
    Germany
    Posts
    153
    Quote Originally Posted by ralphy View Post
    ...
    Then change the configuration so pcp considers it not installed by changing changing IR_LIRC="yes" to IR_LIRC="no"

    sudo vi /usr/local/sbin/config.cfg

    Then set lircd to start from the user commands on the tweaks webgui page.

    /usr/local/sbin/lircd --device=/dev/lirc0 --log=/var/log/pcp_lirc.log --uinput

    Save the config and reboot
    That was the solution. I did this before, but I forgot.

    Best regards
    PiPlayer

  6. #176
    Senior Member
    Join Date
    Jan 2016
    Location
    Germany
    Posts
    153
    Quote Originally Posted by piPlayer View Post
    That was the solution. I did this before, but I forgot.
    One small change: With the current Lirc version, the above-mentioned user command has to be changed somewhat.
    The following command must be used:
    Code:
    /usr/local/sbin/lircd --device=/dev/lirc0 --logfile=/var/log/pcp_lirc.log --uinput

Posting Permissions

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