Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2023-01-01 Thread Eserim


All good now - I didn't fully get the fact that Jivelite sent output via
HDMI as well as to any screen - obvious really, so went done that route,
configured Flirc on PC for most common controls, now just going to try
getting my Harmony Hub to get it right - Two wonderful products killed
by Logitech!
Many thanks



Eserim's Profile: http://forums.slimdevices.com/member.php?userid=1932
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2023-01-01 Thread Eserim


ralphy wrote: 
> Post '#44'
> (https://forums.slimdevices.com/showthread.php?110640-Howto-create-a-linux-kernel-IR-remote-keytable-for-Jivelite-on-piCorePlayer-5&p=983675&viewfull=1#post983675)
> of this thread explains how to determine which flirc you have and the
> commands necessary to use the flirc with squeezelite directly.  No
> jivelite required.
> 
> Try it out.  If you get stuck ask here and someone will be happy to
> help.

Thanks - I did try those, I found after originally posted, but got stuck
on

$ sudo /usr/local/sbin/inputlircd -n "flirc.tv flirc" -m 0 -g -r 500

Today I'm getting Command not found, but I was getting something else
yesterday - I'll keep playing, not much else to do today apart from take
decorations down.

With JiveLite install I am guessing I don't need any of the IR parts as
FLIRC is viewed as a USB keyboard (Which I didn't realize until the
earlier reply).

Off Topic - the reason why I am looking at this is my SB2 has semi-died
- see
https://forums.slimdevices.com/showthread.php?117314-SB2-Display-died-after-power-loss
and we had the SB2 with a 'fuzzy clock" which is now missed by the
family - if I went with a small display on the Pi is there an equivalent
display option for when nothing is playing?

Many thanks



Eserim's Profile: http://forums.slimdevices.com/member.php?userid=1932
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2023-01-01 Thread ralphy


Post '#44'
(https://forums.slimdevices.com/showthread.php?110640-Howto-create-a-linux-kernel-IR-remote-keytable-for-Jivelite-on-piCorePlayer-5&p=983675&viewfull=1#post983675)
of that thread explains how to determine which flirc you have and the
commands necessary to use the flirc with squeezelite directly.  No
jivelite required.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2022-12-31 Thread Eserim


Jeff07971 wrote: 
> Not sure about without Jivelite I have never used it like this I've
> always used it with Jivelite.
> 
> Someone else maybe able to help here.
> 
> FlIRC is a programmable USB Keyboard emulator, its that simple
> 
> Jeff

Thanks - so with JiveLight I need to configure the FLIRC to read the
remote buttons as specific Jivelite keys - presumably there is a key map
somewhere - I'll look - there are instructions on 'page 5'
(https://forums.slimdevices.com/showthread.php?110640-Howto-create-a-linux-kernel-IR-remote-keytable-for-Jivelite-on-piCorePlayer-5/page5)
of this thread I've found since posting, but I get as far as "Start
inputlircd from the command line while testing. I've found the following
options work best." which doesn't work.

Anyway - something to look at next year!



Eserim's Profile: http://forums.slimdevices.com/member.php?userid=1932
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2022-12-31 Thread Jeff07971


Eserim wrote: 
> Jumping in here - so, a old, prob v1 flirc, SHOULD work with pCP, and
> even without JiveLite?  If so, how do you go about telling it what
> device is being used?  Is it OK to do this via the Windows Software
> setup, then move the Flirc to the RPI?  IS there anyway to check in the
> logs that the Flirc is being seen?
> 
> Many thanks.

Not sure about without Jivelite I have never used it like this I've
always used it with Jivelite.

Someone else maybe able to help here.

FlIRC is a programmable USB Keyboard emulator, its that simple

Jeff



*Want a webapp ?* Get SqueezeLite-X !
https://forums.slimdevices.com/showthread.php?108550-Announce-Squeezelite-X&p=903953&viewfull=1#post903953

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2022-12-31 Thread Eserim


Jeff07971 wrote: 
> Flirc is nothing to do with lirc, in fact if you're using a Flirc you
> don't need lirc or ir keytables
> 
> If Flirc is not working you probably need to go to the Flirc forum and
> work out what you're doing wrong.
> 
> Jeff

Jumping in here - so, a old, prob v1 flirc, SHOULD work with pCP, and
even without JiveLite?  If so, how do you go about telling it what
device is being used?  Is it OK to do this via the Windows Software
setup, then move the Flirc to the RPI?  IS there anyway to check in the
logs that the Flirc is being seen?

Many thanks.



Eserim's Profile: http://forums.slimdevices.com/member.php?userid=1932
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2022-11-08 Thread stereoptic


This might help?
https://forums.slimdevices.com/showthread.php?115276-Anyone-using-a-Flirc-adapter-with-a-Joggler&p=1036762&viewfull=1#post1036762



stereoptic's Profile: http://forums.slimdevices.com/member.php?userid=53162
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2022-11-07 Thread bengaldave


Get got an ir receiver for my piCoreplayer.

Works great

1)
According to an earlier post, holding down the ffwd should seek through
the currently playing song.

What it does do is to cycle through all songs in the playlist.

How can I get seek working?

2) 

How hard would it be to map the sleep key to now playing? Would like to
be able to cycle through the now playing screens.

I have both the full sized squeezebox remote and the mini squeezebox
remote.

The mini squeezebox remote does not have a key for now playing, that is
why I would like to map the sleep key to now playing.



bengaldave's Profile: http://forums.slimdevices.com/member.php?userid=4605
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2022-03-24 Thread amanker


I have installed piCorePlayer 8.1.0
everything is working. With Guidance of this thread I have added my
remote to installation.
Everything is working as it should, But Play Pause, FWD/REW not working.
I also tried naming keys according to InputToActionMap.lua file.
Reinstalled the PCP. But all failed, always samething Play/Pause button
not woking.

This is my keytable for my remote.

Code:

# table: TOPPING, type: nec
  0x8855KEY_PLAY 
  0x8846KEY_UP 
  0x8816KEY_DOWN
  0x8847KEY_LEFT
  0x8815KEY_RIGHT
  0x8818KEY_POWER
  0x8806KEY_MUTE
  0x8840KEY_HOME
  0x8804KEY_BACK
  0x8854KEY_VOLUMEUP
  0x8810KEY_VOLUMEDOWN
  0x8850KEY_NEXT
  0x8814KEY_PREVIOUS
  




amanker's Profile: http://forums.slimdevices.com/member.php?userid=72694
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2022-01-18 Thread onkal

Jeff07971 wrote: 
> When you say "I have flirc" do you mean, do you want to use this as the
> receiver ? 
> 
> Jeff

No, I don’t want Flirc that is usb. 
I want to use tsop38238 or similar. 


Tapatalk Pro kullanarak iPhone aracılığıyla
gönderildi





onkal's Profile: http://forums.slimdevices.com/member.php?userid=67447
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2022-01-18 Thread Jeff07971


onkal wrote: 
> Hi everyone. 
> 
> A new pi 4 with my new dac and I'm starting installation.
> I have flirc, Harmony and universal remotes but I want to use ir
> receiver. 
> 
> I use piCorePlayer 8.1.0 - Standard Version. Is there anything that I
> should watch out for or change v.8.1.0 ? Is all the information in the
> thread still valid? My Linux knowledge is very little, I'm more of a
> copy paste student. :)

When you say "I have flirc" do you mean, do you want to use this as the
receiver ? 

Jeff



*Want a webapp ?* Get SqueezeLite-X !
https://forums.slimdevices.com/showthread.php?108550-Announce-Squeezelite-X&p=903953&viewfull=1#post903953

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2022-01-18 Thread onkal


Hi everyone. 

A new pi 4 with my new dac and I'm starting installation.
I have flirc, Harmony and universal remotes but I want to use ir
receiver. 

I use piCorePlayer 8.1.0 - Standard Version. Is there anything that I
should watch out for or change v.8.1.0 ? Is all the information in the
thread still valid? My Linux knowledge is very little, I'm more of a
copy paste student. :)



onkal's Profile: http://forums.slimdevices.com/member.php?userid=67447
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-11-07 Thread Jeff07971


19lee79 wrote: 
> I have a usb flirc and downloaded the flirc
> https://flirc.tv/support/flirc-usb and tried to program the a remote to
> the USb using the remote types in the downlead  
> https://flirc.tv/support/flirc-usb and it don't work

Flirc is nothing to do with lirc, in fact if you're using a Flirc you
don't need lirc or ir keytables

If Flirc is not working you probably need to go to the Flirc forum and
work out what you're doing wrong.

Jeff



*Want a webapp ?* Get SqueezeLite-X !
https://forums.slimdevices.com/showthread.php?108550-Announce-Squeezelite-X&p=903953&viewfull=1#post903953

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-11-06 Thread 19lee79


I have a usb flirc and downloaded the flirc
https://flirc.tv/support/flirc-usb and tried to program the a remote to
the USb using the remote types in the downlead  
https://flirc.tv/support/flirc-usb and it don't work



19lee79's Profile: http://forums.slimdevices.com/member.php?userid=72157
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-07-04 Thread mfraser


I've only been using Jivelite and piCorePlayer for about a week, but
I've successfully managed to connect and setup remote control using a
TSOP38238. Is it possible to modify the keytable file to support more
than one type of remote control so that I can use the original
Squeezebox remote and a Yamaha receiver programmable remote?

Unfortunately the Yamaha remote doesn't have the commands for the
Squeezebox remote built-in and it isn't a learning remote.



mfraser's Profile: http://forums.slimdevices.com/member.php?userid=22793
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-05-17 Thread chazza


A quick update on this - it is now all working nicely - i used ir-ctl.

Since the info i needed was spread all around i made this new thread
below to save it for posterity!

https://forums.slimdevices.com/showthread.php?114597-IR-Blasting-IR-Amp-control-using-Kernel-tools-Jivelite-rather-than-LIRC

Cheers

chazza



chazza's Profile: http://forums.slimdevices.com/member.php?userid=64267
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-05-16 Thread peterw


ralphy wrote: 
> 
> > 
Code:

  >   > sudo ir-keytable -t

> > 
> ...
> If you are creating a keytable file for a new remote, you can refer to
> my 'Jivelite action to key symbol spreadsheet'
> (https://github.com/ralph-irving/tcz-lirc/blob/master/jivekeys.csv) to
> help identify the jive action to key symbol mapping needed.

Thanks you for posting this -- I now have the official Sleep button
working on my pCP 6.x setup thanks to the info you provided showing me
how to remap 0x6e1d as KEY_S :-)



owner of the stuff at https://tuxreborn.netlify.app/
(which used to reside at www.tux.org/~peterw/)
Note: The best way to reach me is email or PM, as I don't spend much
time on the forums.
*Free plugins:* AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu
DenonSerial
FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket
SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock

peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-05-15 Thread chazza


Hi there again - thanks for the tips Ralphy, but i'm not sure i fully
understood them ?!

Anyway, having messed around far too much with LIRC - trying to somehow
disable the receive function, whilst exploiting transmit (didn't work in
the end, i could either have only Rx with IR-tools, or only Tx with
LIRC) - and then i discovered ir-ctl !

So, ir-ctl is part of the ir-tools package and will allow me to
transmit, whilst receive continues to work as is!

ir-ctl -f gives me this:
Receive features /dev/lirc0:
- Device cannot receive
Send features /dev/lirc0:
- Device can send raw IR
- IR scancode encoder
- Set carrier
- Set duty cycle
So this makes sense i guess as receive is already busy via jivelite.

and indeed, the following will send a key code and make the IR LED
flash:   sudo ir-ctl -S rc6_0:0xA45B

However, this wont turn my NAD amp on !! - whereas the licrc equivalent:
irsend SEND_ONCE  NAD_SR6 KEY_POWER does indeed work.

Below is the first part of the LIRC config file i am using for my amp -
and i assumed if i could guess the correct protocol (which is the
function of the first part of the lirc.conf file right ?!) then all i
need to send would be the key code and possibly the pre_data 0xE13E
beforehand (which i think identifies the make and model). But i cant
find / guess whcih IR protocol the NAD is using and also i cant get any
to work with the 4 hex numbers 0xE13EA45B

So, the two questions I have are: Am i barking up the right tree or
completely not ? / and does anyone have a clue which IR protocol NAD use
??

Ta - Charlie

# this config file was automatically generated
# using lirc-0.8.3(default) on Wed Nov 26 13:31:18 2008
# contributed by Amigac
#
# brand: NAD
# model no. of remote control: SR6
# devices being controlled by this remote: Amplifiers/CD Players/DVD
Players/Tuners

begin remote

name  NAD_SR6
bits   16
flags SPACE_ENC|CONST_LENGTH
eps30
aeps  100

header   9038  4332
one   675  1556
zero  675   454
ptrail662
repeat   9064  2113
pre_data_bits   16
pre_data   0xE13E
gap  107932
toggle_bit_mask 0x0

begin codes
KEY_POWER  0xA45B#  Was: on
off0x13EC



chazza's Profile: http://forums.slimdevices.com/member.php?userid=64267
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-05-11 Thread Brookaz


paul- wrote: 
> Squeezelite can be controlled with ir without jivelite being installed.

By using the metod you descirbed  on Page 6? 

I can says that now pcp works with flicr and a remote. I borrowed a hdmi
cable before but bought one now so I can test any time I want. Connected
and rebooted. Jivelite started as it should and everything works. I
don't know what didn't work when I had no video.

I have also mapped keys 1 through 9 to pick stations from favourites but
I can only pick two. The one set at nr 1 and the one set at nr 3. Any
idea what would the player skip station 2 and not play anything beyond
station 3? All the stations are playable via browser. Jivelite just
shakes when i pick a station that isn't 1 or.3.



Brookaz's Profile: http://forums.slimdevices.com/member.php?userid=71571
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-05-10 Thread pputzer


ralphy wrote: 
> I don't know if IR transmit is possible with the kernel subsystem.  I've
> never investigated that.
> 
> The jivelite IR tools extension are from of the v4l (video for linux)
> tools so you might be able to find more details on their site

Not sure about 1:1 transmit, but the "blst" frame is a noop in both
squeezelite and jivelite if I remember my research correctly (it's been
some time).


Gesendet von iPad mit Tapatalk





pputzer's Profile: http://forums.slimdevices.com/member.php?userid=36842
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-05-10 Thread paul-


Squeezelite can be controlled with ir without jivelite being installed.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-05-10 Thread Paul Webster


I don't know - but with those limited functions that do not rely on real
navigation then I suppose it could work.
Are you trying to control a player that is not on this device?
If yes - then that could be a problem if Jivelite has switched to a
different player.

Can you reconnect a screen to watch what is happening?



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla
finland, abc australia, cbc/radio-canada and rte ireland

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-05-10 Thread Brookaz


Year. Is this not possible? I need to control the radio with a remote.
Only on/off and stations selection with 1-9 buttons.



Brookaz's Profile: http://forums.slimdevices.com/member.php?userid=71571
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-05-10 Thread Paul Webster


Are you saying that you are trying to control Jivelite with a remote -
but without any screen connected?



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla
finland, abc australia, cbc/radio-canada and rte ireland

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-05-10 Thread Brookaz


I'm really disappointed with how the remote part works with jivelive
enabled... I don't know what's going on since i'm running my pibox
headless but the remote doesnt work. I have jivelite enabled, it's
supposedly running, my harmony remote was programmed to work with flirc.
And about a month ago when I set it up and still had pi connected to my
tv to see whats going on it was working. Now I found a pair of speakers,
connected them and the remote doesnt work. It's not plug&play friendly
enough for my wife that needs the remote to work to switch it on/off and
cycle between saved stations.

Am I doing something wrong, should I switch to LIRC? ralphy wrote an
excellent guide in post '#44'
(https://forums.slimdevices.com/showthread.php?110640-Howto-create-a-linux-kernel-IR-remote-keytable-for-Jivelite-on-piCorePlayer-5&p=983675&viewfull=1#post983675).
It's also a bit more complicated than just enabling jivelite. But is it
more foolproof and plug&play friendly once set up?



Brookaz's Profile: http://forums.slimdevices.com/member.php?userid=71571
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-05-05 Thread ralphy


ralphy wrote: 
> Maybe. I don't remember testing using lircd with pcp 5+.  I know the
> kernel IR keytables does not support many of the features of lircd.
> 
> The pcp webadmin only has support for LIRC with squeezelite.  You will
> need to create a modified jivelite.sh startup script to manually start
> lircd-uinput before jivelite will receive IR events.

I also have an IR jive module that I use that's based on the
squeezeplay_fab4 ir driver from the touch, but uses lircd to get the IR
events.  IR Navigation is identical to that of the hardware players, in
that the key hold actions work, which the current implementation does
not support.  However, what we currently have in pcp is more flexible in
terms of what actions can be executed.  So there's that tradeoff.

The ir module currently supports the slimdevices remotes by default and
you can map actions for other remotes using lircrc and/or key symbols.

I haven't released it yet, but if you don't have any luck getting
lircd-uinput to work, it's another option that can be explored.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-05-05 Thread ralphy


chazza wrote: 
> Thanks Ralphy - I guess LIRC would be easier; can I run that in parallel
> with the IR tools then or is that a no-no ?

Maybe. I don't remember testing using lircd with pcp 5+.  I know the
kernel IR keytables does not support many of the features of lircd.

The pcp webadmin only has support for LIRC with squeezelite.  You will
need to create a modified jivelite.sh startup script to manually start
lircd-uinput before jivelite will receive IR events.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-05-04 Thread chazza


chazza wrote: 
> Hi, i have an IR remote (squeezebox original) all working well with
> Jivelite. However, i want to set up an IR transmit function so i can
> send 'power on' to the amp to take it out of standby. I know i can do
> that with LIRC, but how do i do that using the Jivelite IR tools ? - do
> i just also install LIRC (But i thought that causes a problem with
> Jivelite IR?) or can jivelite do that already somehow ?
> 
> Many thanks

Thanks Ralphy - I guess LIRC would be easier; can I run that in parallel
with the IR tools then or is that a no-no ?



chazza's Profile: http://forums.slimdevices.com/member.php?userid=64267
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-05-04 Thread ralphy


chazza wrote: 
> Hi, i have an IR remote (squeezebox original) all working well with
> Jivelite. However, i want to set up an IR transmit function so i can
> send 'power on' to the amp to take it out of standby. I know i can do
> that with LIRC, but how do i do that using the Jivelite IR tools ? - do
> i just also install LIRC (But i thought that causes a problem with
> Jivelite IR?) or can jivelite do that already somehow ?
> 
> Many thanks

I don't know if IR transmit is possible with the kernel subsystem.  I've
never investigated that.

The jivelite IR tools extension are from of the v4l (video for linux)
tools so you might be able to find more details on their site



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-05-03 Thread chazza


Hi, i have an IR remote (squeezebox original) all working well with
Jivelite. However, i want to set up an IR transmit function so i can
send 'power on' to the amp to take it out of standby. I know i can do
that with LIRC, but how do i do that using the Jivelite IR tools ? - do
i just also install LIRC (But i thought that causes a problem with
Jivelite IR?) or can jivelite do that already somehow ?

Many thanks



chazza's Profile: http://forums.slimdevices.com/member.php?userid=64267
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-03-27 Thread Jeff07971


Sorry was watching F1 on catchup !

Yes FLIRC is easy with jivelite

It can be made to work with Squeezelite but I've never done this though
others have.

Glad you got it working

Jeff



*Want a webapp ?* Get SqueezeLite-X !
https://forums.slimdevices.com/showthread.php?108550-Announce-Squeezelite-X&p=903953&viewfull=1#post903953

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-03-27 Thread Brookaz


Okay, please tell me how you got it working, NoobNR7. I have really
tried. I have 15 open tabs. Started going through the procedure that
ralphy wrote on page 5. I also have a FLIRC and I just want to control
the player to stop, start, maybe have a few favorite stations on buttons
1-9. Just like you I've tried enabling IR, then disable IR and enabling
Jivelite. All sorts of tweaks and nothing! I'm so frustrated. I have now
completely deleted and reinstalled pCp and want to start from scratch.
So pCp with LMS is installed. I have 9 stations in my favourites in
LMS.

I have a harmony remote that I want to use with the pCp. But first I
would like to control the player with a remote from my previous radio
device. It has all the buttons I need and when pCp works with it I'll
add a new device in Harmony and have it learn the IR codes from this
older remote. I've mapped all the buttons I need in FLIRC on windows. I
plug in my FLIRC and nothing happens. If I press the buttons in notepad
on Windows I get the correct responses. So why doesn't pCp respond? This
is the keymap I used:

> To program the FLIRC IR USB receiver, here are the steps to follow:
> 
> Go to your computer and go to
> Download the version of FLIRC programing software depending on your
> OS
> Launch the software
> Plug the FLIRC into a USB port of your computer (wait for the
> computer to install the drivers if necessary)
> In the FLIRC software, click on FILE and CLEAR Configuration
> CLick on the Controllers Tab and select Full Keyboard
> Take your JusBoom IR Remote and start programming as follow: (pls
> make sure to respect capital format)
> 
> 
> 
> Remote Key To Press --- Virtual Full Keyboard Key to press
> Power Button --- Q
> Home --- [
> MUTE --- C
> UP --- Up Arrow
> Left --- Left Arrow
> OK --- l (this is a small L)
> Right --- Right Arrow
> Down --- Down Arrow
> Menu --- A
> Back --- Esc
> Vol Down --- - (this is minus sign)
> Vol Up --- + (this is plus sign)
> 
> Next step is to click on FILE in your FLIRC software and SAVE
> configuration in order to save the program file (wherever you want) if
> one day you want to reprogram the remote
> Close the FLIRC software and open the NotePad on your computer
> Click into the notepad in order to see the cursor flashing
> Take your JustBoom remote, aim at the IR USB receiver
> Start testing the remote by pressing Mute or volume + or - button
> It should write in the notepad the command (ie: C or +)
> Check that you entered correctly all the commands
> Remove the USB receiver from the computer and insert it into the PCP
> player
> You should be all set 

Please Jeff, help another lost user.



Brookaz's Profile: http://forums.slimdevices.com/member.php?userid=71571
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-03-09 Thread Jeff07971


NoobNR7 wrote: 
> Jeff you saved my day/ saved me days...
> 
> You made me realize I was thinking the wrong way around...
> 
> It's working! :D:D:D
> 
> Man that was easy:cool:
> Haha... 
> 
> I will try some other stuff. Very satisfying after struggling for hours.
> Making it so difficult. Going way to deep for my knowing... lirc...
> inputlircd... jivelite jivelite ir... tweaks bashing around,,,
> Being a noob... in every possible way... :o
> Ah man that feels fine... and stupid in another way. Anyhow I am so
> happy it's working now.:):):)

Glad you got it working

Yes you only need to mess around if you are controlling squeezelite,
controlling Jivelite is easy with the FLIRC


Jeff



*Want a webapp ?* Get SqueezeLite-X !
https://forums.slimdevices.com/showthread.php?108550-Announce-Squeezelite-X&p=903953&viewfull=1#post903953

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-03-09 Thread NoobNR7


Jeff07971 wrote: 
> When using the Flirc USB Dongle you do not use lirc or keytables, the
> FLIRC emulates a keyboard
> 
> So program the FLIRC dongle to send the appropriate keys for the remote
> control operation you want
> 
> Jeff

Jeff you saved my day/ saved me days...

You made me realize I was thinking the wrong way around...

It's working! :D:D:D

Man that was easy:cool:
Haha... 

I will try some other stuff. Very satisfying after struggling for hours.
Making it so difficult. Going way to deep for my knowing... lirc...
inputlircd... jivelite jivelite ir... tweaks bashing around,,,
Being a noob... in every possible way... :o
Ah man that feels fine... and stupid in another way. Anyhow I am so
happy it's working now.:):):)



NoobNR7's Profile: http://forums.slimdevices.com/member.php?userid=71477
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-03-09 Thread NoobNR7


Jeff07971 wrote: 
> When using the Flirc USB Dongle you do not use lirc or keytables, the
> FLIRC emulates a keyboard
> 
> So program the FLIRC dongle to send the appropriate keys for the remote
> control operation you want
> 
> Jeff

Thank you Jeff for answering my question.

I bought the flirc some time ago. Hoping it would make my pcp life
easier...
I did not got it to work a while ago... The past weekend was my second
attempt.

I programmed the flirc with some keys on my Windows PC.
If I use the flirc dongle on my Windows system I can see the keys I have
programmed when I use notepad. 
On my picoreplayer nothing happens?

If I understand you correct?
I do not need to activate lirc?
I do not have to activate jivelite and/or jivelite ir settings? Jivelite
was the keytable way?

Just put in the correct keys when I am programming the flirc usb
receiver? Ah ok... I just connected my Logitech wireless keyboard. It
works like that? Oh... well my Logitech keyboard works of course... I
used when I installed pcp for first time... 
I am going to try some things...
Will be back to let you know. You just put my thoughts on a different
track. Thank you Jeff :D



NoobNR7's Profile: http://forums.slimdevices.com/member.php?userid=71477
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-03-09 Thread NoobNR7


jeroen2 wrote: 
> 'pcp bu' (https://docs.picoreplayer.org/information/pcp_backup/) ?

Thanks for reply Jeroen.

pcp bu is like *b*ack *u*p?
I found that on main page op web gui. Later on. Maybe if I did that when
I was trying to get it working it would have been oke?

That was my attempt to get it running with inputlircd...
Described by Ralphy on page 5 of this thread.

When I try to do the same now inputlircd does not seem to exist? I also
get errors when trying to do what is described in the steps explained by
Ralphy.
That was different before?
In the mean time I upgraded to higher version of piCorePlayer :cool:to
put in some extra variables...
pfff

I will try a fresh install tonight on a slightly newer raspberry.

Keep in touch please. I would like to see my flirc en remote work on my
pcp...



NoobNR7's Profile: http://forums.slimdevices.com/member.php?userid=71477
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-03-09 Thread Jeff07971


NoobNR7 wrote: 
> Hi Ralphy,
> 
> Hoping you can help me out? I am struggling to get IR working on my old
> raspberry with pcp.
> 
> Trying to install/ use flirc ir usb receiver with a remote lying around
> in the house.
> (wich is preferred ir remote (easiest/ future proof) method in
> 2021?(Jivelite or Lirc?))
> 
> Trying your steps from your first post.
> With Jivelite IR enabled my Flirc usb dongle is not working.
> 
> sudo ir-keytable doesn't seem to show my flirc usb device?
> I think it only shows gpio_ir_receiver? No usb device mentioned.
> When i "sudo ir-keytable -t" I do not see anything being displayed. So I
> have yet to make my own keytable file/ settings?
> 
> I had the remote working :D for a little while on pcp. But when I
> rebooted I had to take all steps again. 
> So I think the Philips remote and flirc do work?
> The time I got it working was when I followed the steps mentioned
> further down in this thread. I tried it with inputlircd. But now I do
> not seem to get that working anymore?
> 
> I am sorry I am a noob.
> Enjoying my pcp. Wish I could use ir remote with it. 
> I do not know what is wrong: flirc usb dongle? My remote? Me trying to
> config pcp?
> 
> I read quite some hours already. Believing de solution is around the
> corner. I just can't see it.
> Hoping you can help me find it.

When using the Flirc USB Dongle you do not use lirc or keytables, the
FLIRC emulates a keyboard

So program the FLIRC dongle to send the appropriate keys for the remote
control operation you want

Jeff



*Want a webapp ?* Get SqueezeLite-X !
https://forums.slimdevices.com/showthread.php?108550-Announce-Squeezelite-X&p=903953&viewfull=1#post903953

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-03-09 Thread jeroen2


NoobNR7 wrote: 
> 
> I had the remote working :D for a little while on pcp. But when I
> rebooted I had to take all steps again. 
> 

'pcp bu' (https://docs.picoreplayer.org/information/pcp_cli/) ?



jeroen2's Profile: http://forums.slimdevices.com/member.php?userid=70418
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2021-03-09 Thread NoobNR7


ralphy wrote: 
> .

Hi Ralphy,

Hoping you can help me out? I am struggling to get IR working on my old
raspberry with pcp.

Trying to install/ use flirc ir usb receiver with a remote lying around
in the house.
(wich is preferred ir remote (easiest/ future proof) method in
2021?(Jivelite or Lirc?))

Trying your steps from your first post.
With Jivelite IR enabled my Flirc usb dongle is not working.

sudo ir-keytable doesn't seem to show my flirc usb device?
I think it only shows gpio_ir_receiver? No usb device mentioned.
When i "sudo ir-keytable -t" I do not see anything being displayed. So I
have yet to make my own keytable file/ settings?

I had the remote working :D for a little while on pcp. But when I
rebooted I had to take all steps again. 
So I think the Philips remote and flirc do work?
The time I got it working was when I followed the steps mentioned
further down in this thread. I tried it with inputlircd. But now I do
not seem to get that working anymore?

I am sorry I am a noob.
Enjoying my pcp. Wish I could use ir remote with it. 
I do not know what is wrong: flirc usb dongle? My remote? Me trying to
config pcp?

I read quite some hours already. Believing de solution is around the
corner. I just can't see it.
Hoping you can help me find it.



NoobNR7's Profile: http://forums.slimdevices.com/member.php?userid=71477
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2020-08-26 Thread Supertramp


ralphy wrote: 
> I've updated my post to use bootlocal.sh instead of user commands.

Great. This is now an excellent 'How To'. Thanks.



Supertramp's Profile: http://forums.slimdevices.com/member.php?userid=30362
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2020-08-25 Thread ralphy


Supertramp wrote: 
> Fantastic! Works as you described.
> 
> Many many thanks Ralphy.

You're welcome. Thanks for confirming.

I've updated my post to use bootlocal.sh instead of user commands.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2020-08-24 Thread Supertramp


ralphy wrote: 
> That will launch inputlircd before squeezelite is started and save any
> output from inputlircd to /var/log/pcp_inputlircd.log

Fantastic! Works as you described.

Many many thanks Ralphy.



Supertramp's Profile: http://forums.slimdevices.com/member.php?userid=30362
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2020-08-24 Thread ralphy


Remove inputlircd from user commands and add it to /opt/bootlocal.sh
before the pcp_startup.sh line.


Code:

tc@rpi37-wls:~$ cat /opt/bootlocal.sh
  #!/bin/sh
  # put other system startup commands here
  
  GREEN="$(echo -e '\033[1;32m')"
  
  echo
  echo "${GREEN}Running bootlocal.sh..."
  /USR/LOCAL/SBIN/INPUTLIRCD -N \"FLIRC.TV FLIRC\" -M 0 -G -R 500 -T 
/HOME/TC/INPUTLIRCD.KEYMAP > /VAR/LOG/PCP_INPUTLIRCD.LOG 2>&1
  
  #pCPstart--
  /usr/local/etc/init.d/pcp_startup.sh 2>&1 | tee -a /var/log/pcp_boot.log
  #pCPstop--
  


That will launch inputlircd before squeezelite is started and save any
output from inputlircd to /var/log/pcp_inputlircd.log



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2020-08-23 Thread Supertramp


ralphy wrote: 
> Now in the webgui.
> 
> Put /usr/local/sbin/inputlircd -n "flirc.tv flirc" -m 0 -g -r 500 -t
> /home/tc/inputlircd.keymap in one of the user commands on the tweaks tab
> and add -i to squeezelite various options field on the squeezelite tab.
> 
> Backup your config once more and reboot.

Hi Ralphy,

Many thanks again for these detailed instructions. I managed to
succesfully complete all of the actions, including the testing of the
key mapping file.

However after making the final changes in the webgui, backing them up
and rebooting, the RPI does not respond to the remote control. Any idea
what the reason for this could be?

For completeness, I'm using PCP 6.1.0, Squeezelite v1.9.7-1270-pCP and
the logitech remote that comes with the SB Touch.

Thanks.



Supertramp's Profile: http://forums.slimdevices.com/member.php?userid=30362
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2020-08-06 Thread ralphy


Wigster wrote: 
> Hmm, I still have 
> 
> > 
Code:

  >   > 
  > [ INFO ] Stopping Squeezelite player: Squeezelite...
  > [ INFO ] Checking for Updates from: https://repo.picoreplayer.org/repo
  > 
  > [ INFO ] Checking: pcp-squeezelite.tcz  Extension 
version Matches
  > 

> > 
> 
> while the squeezelite version is Squeezelite v1.9.7-1256-pCP. I'm on
> an RPI 2B if that is important.

Try switching to the PCP Mirror Repo by clicking the bottom right tab to
the left of the theme tab and then try updating squeezelite.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2020-08-06 Thread Wigster


Hmm, I still have 


Code:


  [ INFO ] Stopping Squeezelite player: Squeezelite...
  [ INFO ] Checking for Updates from: https://repo.picoreplayer.org/repo
  
  [ INFO ] Checking: pcp-squeezelite.tcz  Extension version 
Matches
  



while the squeezelite version is Squeezelite v1.9.7-1256-pCP.



Wigster's Profile: http://forums.slimdevices.com/member.php?userid=14899
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2020-08-06 Thread ralphy


Wigster wrote: 
> This doesn't seem to be available as of right now (1256 is the latest
> from the WEBGUI), while Sourceforge contains 1269. I presume that it's
> just a question of time and not anything more serious.
Should be there now.  Sorry, I uploaded the older version yesterday.


Code:

[ INFO ] Stopping Squeezelite player: Squeezelite...
  [ INFO ] Current Squeezelite version: 1.9.7-1269-pCP
  [ INFO ] Waiting for Squeezelite to complete shutdown...
  [ INFO ] Removing old Squeezelite extension...
  [ INFO ] Updating Squeezelite extension...
  Downloading: pcp-squeezelite.tcz
  Checking MD5 of: pcp-squeezelite.tcz.OK
  All files tested good.
  [ INFO ] Reloading Squeezelite extension...
  All files tested good.
  pcp-squeezelite.tcz: OK
  [ INFO ] Current Squeezelite version: 1.9.7-1270-pCP
  [ INFO ] Starting Squeezelite player: Squeezelite...




Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2020-08-06 Thread Wigster


ralphy wrote: 
> This required a change to squeezelite to enable repeat for those keys. 
> Update squeezelite to 1.9.7-1270 from the picoreplayer webgui main tab. 
> Then pressing the key momentarily skips to the next/prev track and if
> you hold either one LMS "scans" forward/back within the current track.

This doesn't seem to be available as of right now (1256 is the latest
from the WEBGUI), while Sourceforge contains 1269. I presume that it's
just a question of time and not anything more serious.

ralphy wrote: 
> Another option is to create a /home/tc/.lircrc file to map the KEY_1 to
> KEY_6 to presets.

This works. Great! Thank you.



Wigster's Profile: http://forums.slimdevices.com/member.php?userid=14899
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2020-08-05 Thread ralphy


Wigster wrote: 
> Now, the basic keys work ok (power, play, pause, shuffle, repeat,
> vollume up/down). However, as far as I can tell, KEY_NEXT and
> KEY_FORWARD have exactly the same actions: they move to the next track
> in the currently playing playlist. Same goes for KEY_BACK and
> KEY_REWIND: they skip the beginning of the current track, and then to
> the previous one. I was thinking that FORWARD/REWIND would skip within
> the track and NEXT/BACK would skip to the next/previous track. Is this
> something I can configure somewhere?
This requires a change to squeezelite to enable repeat for those keys. 
Update squeezelite to 1.9.7-1270 from the picoreplayer webgui main tab. 
Then pressing the key momentarily skips to the next/prev track and if
you hold either one LMS "scans" forward/back within the current track.

Wigster wrote: 
> Also, how can I configure the numeric buttons to launch particular
> favourites? Right now KEY_1 etc do nothing apart from registering in
> Squeezelite.

You can push the "Favorites" button, then enter the number of a favorite
(something between 1 and 99), and then hit "Play" and squeezelte will
start playing the favorite.

Another option is to create a /home/tc/.lircrc file to map the KEY_1 to
KEY_6 to presets.


Code:

begin
  button = KEY_1
  repeat = 1
  prog = squeezelite
  config = preset_1
  end
  begin
  button = KEY_2
  repeat = 1
  prog = squeezelite
  config = preset_2
  end
  begin
  button = KEY_3
  repeat = 1
  prog = squeezelite
  config = preset_3
  end
  begin
  button = KEY_4
  repeat = 1
  prog = squeezelite
  config = preset_4
  end
  begin
  button = KEY_5
  repeat = 1
  prog = squeezelite
  config = preset_5
  end
  begin
  button = KEY_6
  repeat = 1
  prog = squeezelite
  config = preset_6
  end


Pressing 1..6 will play the preset and holding the key will set the
currently playing track/stream to the preset.  There are no
Slim_Devices_Remote IR codes in LMS for presets 7-10.

Also, note that I've removed the -c from the inputlircd command lines in
my instructions as I found squeezelite ignores "shifted" key codes.


+---+
|Filename: dotlircrc.txt|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=31200|
+---+


Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2020-08-05 Thread Wigster


Perfect! I just had the idea of setting up my FLIRC again and here is
the guide. Thank you!

So I managed to get it to work with my old Squeezebox remote, through
FLIRC into PCP6.1 in the way that you have described.

Now, the basic keys work ok (power, play, pause, shuffle, repeat).
However, as far as I can tell, KEY_NEXT and KEY_FORWARD have exactly the
same actions: they move to the next track in the currently playing
playlist. Same goes for KEY_BACK and KEY_REWIND: they skip the beginning
of the current track, and then to the previous one. I was thinking that
FORWARD/REWIND would skip within the track and NEXT/BACK would skip to
the next/previous track. Is this something I can configure somewhere?

Also, how can I configure the numeric buttons to launch particular
favourites? Right now KEY_1 etc do nothing apart from registering in
Squeezelite.

Thanks!



Wigster's Profile: http://forums.slimdevices.com/member.php?userid=14899
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2020-08-02 Thread Supertramp


Many thanks for these great detailed instructions, Ralphy.

I have no physical access to my pCP in the next couple of weeks. I will
try this once I am back home and report back.

Many thanks again!!



Supertramp's Profile: http://forums.slimdevices.com/member.php?userid=30362
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2020-08-01 Thread ralphy


First you must disable IR remote control in the web tweaks tab and
reboot before proceeding.

Next, install pcp-lircd from the extensions webgui.  Reboot if needed.

Next, ensure squeezelite is stopped.


Code:

sudo /usr/local/etc/init.d/squeezelite stop



Plug in your FLIRC and find the name.


Code:

$ cat /proc/bus/input/devices
  
  I: Bus=0003 Vendor=20a0 Product=0001 Version=0101
  N: Name="flirc.tv flirc"
  P: Phys=usb-2098.usb-1.3/input0
  S: 
Sysfs=/devices/platform/soc/2098.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:20A0:0001.0001/input/input0
  U: Uniq=
  H: Handlers=sysrq kbd event0 
  B: PROP=0
  B: EV=10001f
  B: KEY=3007f 0 0 0 0 483 17aff32d bf56 0 0 1 130c13 b17c000 267bfa 
d941dfed e09effdf 1cf  fffe
  B: REL=40
  B: ABS=1 0
  B: MSC=10



Start inputlircd from the command line while testing.  I've found the
following options work best.

$ sudo /usr/local/sbin/inputlircd -n "flirc.tv flirc" -m 0 -g -r 300 -c

Run irw and press each key. Note with keycode that is generated for
which key.


Code:

$ irw
  29 0 KEY_C /dev/input/event0
  19 0 KEY_P /dev/input/event0{/code]
  
  For example my slimdevices remote PAUSE key sends KEY_C and PLAY sends KEY_P. 
 The codes from your flirc will likely be different as I'm using an old flirc 
config which I created for use with jivelite on my wandboard, since I don't 
want to reprogram my flirc.
  
  Stop irw by pressing control-C
  
  Create a file mapping of the keycode from your remote to a corresponding 
keycode squeezelite operation.
  
  For example:
  

Code:

$ cat /home/tc/inputlircd.keymap
KEY_C = KEY_PAUSE
KEY_P = KEY_PLAY


  
  The list of squeezelite IR keycodes can be found 'here' 
(https://github.com/ralph-irving/squeezelite/blob/master/ir.c#L103)
  
  Restart inputlircd from the command line adding the mapping file to test.
  
  sudo /usr/local/sbin/inputlircd -n "flirc.tv flirc" -m 0 -g -r 300 -f -c -t 
/home/tc/inputlircd.keymap
  
  
  Start squeeelite with the -i option and -d ir=debug to test if the keys work. 
 You can ignore the error reading the ir config.  It's not needed for inputlircd
  Note that you need at least squeezelite version 1.9.7-1237 for this to work.
  

Code:

$ squeezelite -d ir=debug -i
[11:28:55.788622] load_lirc:242 loaded liblirc_client.so.0
[11:28:55.791797] ir_init:261 error reading config: ~/.lircrc
[11:28:57.951369] ir_thread:199 ir lirc: KEY_PLAY [0] -> 768910ef
[11:29:05.246239] ir_thread:199 ir lirc: KEY_PAUSE [0] -> 768920df


  
  
  Once you're happy with the key map file, backup your pcp config and confirm 
the mapping file is in the backup.
  

Code:

$ tar -tvf mydata.tgz | grep input
-rw-r--r-- ralphy/users35 2020-08-01 11:20:21 
home/tc/inputlircd.keymap


  
  Now in the webgui.
  
  Put /usr/local/sbin/inputlircd -n "flirc.tv flirc" -m 0 -g -r 300 -c -t 
/home/tc/inputlircd.keymap in one of the user commands and also add -i to 
squeezelite various options field on the squeezelite tab.
  
  Backup your config once more and reboot.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2020-07-30 Thread Supertramp


ralphy wrote: 
> Picoreplayer only supports the flirc usb dongle with jivelite by
> default.
> 
> However, ...

Many thanks for your reply.

Would it be possible to go the default way (jivelite) on a headless
player?



Supertramp's Profile: http://forums.slimdevices.com/member.php?userid=30362
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2020-07-30 Thread ralphy


Supertramp wrote: 
> Hi Ralphy,
> I just got my FLIRC usb dongle (v2) but cannot get it to work on pCP
> 6.1.0. Can you pls let me know where I can find these instructions (been
> surfing forums for hours so far...).
> Many thanks in advance.

Picoreplayer only supports the flirc usb dongle with jivelite by
default.

However, it is possible to control squeezelite with a usb device that
mimics a keyboard, like the flirc dongle using inputlircd if you
manually install the pcp-lirc extension. That being said, it's not an
simple setup.

If you enabled lirc through tweaks, pcp will launch lircd at startup
which conflicts with inputlircd.  So you must disable IR remote control
in the web tweaks tab and reboot before proceeding. 

Next, install pcp-lircd from the extensions webgui and put
/usr/local/sbin/inputlircd in one of the user commands. Next add -i to
squeezelite various options field on the squeezelite tab.

You will likely need to create a mapping file (-t) and you might need to
add -m 0 and -r 300 in addition to the input device your usb device is
sending key events on.

See the 'inputlircd manpage'
(https://manpages.debian.org/jessie/inputlirc/inputlircd.8.en.html) for
option details.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2020-07-29 Thread Supertramp


ralphy wrote: 
> If you are using the FLIRC usb dongle, it works the same as in previous
> piCorePlayer releases..

Hi Ralphy,
I just got my FLIRC usb dongle but cannot get it to work on pCP 6.1.0.
Can you pls let me know where I can find these instructions (been
surfing forums for hours so far...).
Many thanks in advance.



Supertramp's Profile: http://forums.slimdevices.com/member.php?userid=30362
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-09-07 Thread ralphy


surfatwork wrote: 
> By the way, it might be good to add a line to the first post
> (instructions) that lircd is NOT "required" at all, if one is running
> jivelite. Sorry if it obvious to others, but that was a bit of a aha
> moment for me. Once I realized that, the rest was straight forward.
> Mainly because there are loads of how-tos on the net about setting up
> lircd, irrecord, irw and the rest.

Thanks for the suggestion. Added.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-09-06 Thread surfatwork


By the way, it might be good to add a line to the first post
(instructions) that lircd is NOT "required" at all, if one is running
jivelite. Sorry if it obvious to others, but that was a bit of a aha
moment for me. Once I realized that, the rest was straight forward.
Mainly because there are loads of how-tos on the net about setting up
lircd, irrecord, irw and the rest.



surfatwork's Profile: http://forums.slimdevices.com/member.php?userid=65589
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-09-06 Thread surfatwork


ralphy wrote: 
> If you mean a button on the IR remote, no not with jivelite.
> 
> 
> Yes.  I've tested this controlling squeezelite via lircd using remote 1
> and ir-keytables to control jivelite using remote 2.

Ah, with 2 remotes!! I tried it with one and ir-keytables didnt work
when lircd was running. Will try this way. Thanks :-)



surfatwork's Profile: http://forums.slimdevices.com/member.php?userid=65589
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-09-05 Thread ralphy


surfatwork wrote: 
> OK. Any way I can map that to a remote button? 
If you mean a button on the IR remote, no not with jivelite.

surfatwork wrote: 
> Can I run both lircd and ir-keytables simultaneously?
Yes.  I've tested this controlling squeezelite via lircd using remote 1
and ir-keytables to control jivelite using remote 2.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-09-04 Thread surfatwork


ralphy wrote: 
> The power key mappings in jivelite are for LMS and the player only.
> 
> To shutdown the rpi, in Jivelite go to Settings->piCorePlayer->Shutdown
> piCorePlayer

OK. Any way I can map that to a remote button? 
Can I run both lircd and ir-keytables simultaneously?



surfatwork's Profile: http://forums.slimdevices.com/member.php?userid=65589
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-09-04 Thread ralphy


surfatwork wrote: 
> My setup is working fine with jivelite and ir-keytables. Except for one
> thing. How do I shutdown the raspberry pi? Can I? tried mapping
> KEY_POWER (also tried KEY_I) to the appropriate key code in
> /usr/local/etc/keytables/jivelite, but it doesnt seem to do anything.

The power key mappings in jivelite are for LMS and the player only.

To shutdown the rpi, in Jivelite go to Settings->piCorePlayer->Shutdown
piCorePlayer



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-09-04 Thread surfatwork


My setup is working fine with jivelite and ir-keytables. Except for one
thing. How do I shutdown the raspberry pi? Can I? tried mapping
KEY_POWER (also tried KEY_I) to the appropriate key code in
/usr/local/etc/keytables/jivelite, but it doesnt seem to do anything.



surfatwork's Profile: http://forums.slimdevices.com/member.php?userid=65589
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-12 Thread TheHypnoToad


ralphy wrote: 
> KEY_LEFTBRACE  (go_now_playing)

Thanks, that worked perfectly. :)



TheHypnoToad's Profile: http://forums.slimdevices.com/member.php?userid=69197
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-10 Thread ralphy


TheHypnoToad wrote: 
> is it possible to have a remote button that cycles thru the different
> display modes in the 'now playing' screen, so it goes to VU meter, then
> album cover, etc.? I did look thru jivekeys.csv but couldn't see a key
> that would do this.

KEY_LEFTBRACE  (go_now_playing)



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-09 Thread TheHypnoToad


I've just finished setting this up and it's working great with a generic
17 key remote. 

I did try it with another remote with more buttons but it just did not
work, it appeared as 'necx' protocol, whatever that is!

So for anyone else trying to get this working, try a different remote if
it doesn't work at first. :cool:

Also, is it possible to have a remote button that cycles thru the
different display modes in the 'now playing' screen, so it goes to VU
meter, then album cover, etc.?



TheHypnoToad's Profile: http://forums.slimdevices.com/member.php?userid=69197
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-05 Thread ralphy


paul- wrote: 
> I'm sure Ralpy will see this and correct the OP.
> Paul

Sorry for the confusion. Fixed.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-04 Thread Hinguy


paul- wrote: 
> Hey Hinguy.,
> 
> Can you edit your post to remove the incorrect version (or fix it)...I'm
> sure Ralpy will see this and correct the OP.
> 
> But glad it's working now.
> 
> Paul

Sure, already done! :-)



Hinguy's Profile: http://forums.slimdevices.com/member.php?userid=69329
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-04 Thread paul-


Hey Hinguy.,

Can you edit your post to remove the incorrect version (or fix it)...I'm
sure Ralpy will see this and correct the OP.

But glad it's working now.

Paul



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-04 Thread Jeff07971


paul- wrote: 
> It is normal for all protocols to be disabled, it only enables the ones
> that you request...   The last line of output from
> 
> sudo ir-keytable -c -v -w /usr/local/etc/keytables/jivelite   should be
> 
> ..
> Protocols changed to sony, or whatever you have in your keyfile.
> 
> 
> I just missed this on first scan of your file, but.  This line must
> start with a comment "#"
> 
> #table: RMTB119A, type: sony

Thanks Paul-

As Hinguy said all works now !

Jeff



*Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
*Server:* LMS Version:  Latest Nightly on Centos 7.5 VM on ESXi 6.5.0U2
on Dell T320
*Plugins:*
AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player
Groups
*Remotes:* iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
*Music:* 522GB,1660 albums with 23087 songs by 5204 artists mostly
FLACs

*Want a webapp ?* See
http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-04 Thread Hinguy


paul- wrote: 
> It is normal for all protocols to be disabled, it only enables the ones
> that you request...   The last line of output from
> 
> sudo ir-keytable -c -v -w /usr/local/etc/keytables/jivelite   should be
> 
> ..
> Protocols changed to sony, or whatever you have in your keyfile.
> 
> 
> I just missed this on first scan of your file, but.  This line must
> start with a comment "#"
> 
> #table: RMTB119A, type: sony

Ooooh great! Thank you so much. That was actually the problem :-)
It now works even after reboot! 

I just took it from the very first post by Ralphy, and he also didn't
put the "#" in the first line. Maybe it would be good to change it, so
that no other dummies like me fall into that trap :-)

But again thank you very much!



Hinguy's Profile: http://forums.slimdevices.com/member.php?userid=69329
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-04 Thread paul-


It is normal for all protocols to be disabled, it only enables the ones
that you request...   The last line of output from

sudo ir-keytable -c -v -w /usr/local/etc/keytables/jivelite   should be 
..
Protocols changed to sony, or whatever you have in your keyfile.


I just missed this on first scan of your file, but.  This line must
start with a comment "#"

#table: RMTB119A, type: sony



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-04 Thread Hinguy


paul- wrote: 
> After a reboot, what is the output of this command.
> 
> sudo ir-keytable -c -v -w /usr/local/etc/keytables/jivelite


That's actually a good hint. Somehow the protocols get disabled after
reboot. I attached the output BEFORE and AFTER reboot.
But what causes the protocols to be disabled?

BEFORE:
27833

AFTER:
27832

Thanks for helping


+---+
|Filename: Before-reboot.PNG|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=27833|
+---+


Hinguy's Profile: http://forums.slimdevices.com/member.php?userid=69329
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-04 Thread Hinguy


paul- wrote: 
> After a reboot, what is the output of this command.
> 
> sudo ir-keytable -c -v -w /usr/local/etc/keytables/jivelite

That's actually a good hint. Somehow the protocols get disabled after
reboot. I attached the output BEFORE and AFTER reboot.
But what causes the protocols to be disabled?

BEFORE:
27830

AFTER:
27829

Thanks for helping


+---+
|Filename: After-Reboot.PNG |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=27830|
+---+


Hinguy's Profile: http://forums.slimdevices.com/member.php?userid=69329
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-03 Thread Jeff07971


paul- wrote: 
> If you are loading manually, your file must be called 
> /usr/local/etc/keytables/jivelite
> 
> The upload script will automatically rename whatever you upload to the
> above name.   As jeff mentioned, keep spaces out of your upload name.
> 
> For backups,  look on the diagnostics page and make sure that file is
> listed the section for /opt/.filetool.lst

Hi Paul-

I think it is something deeper than just not being backed up.

usr/local/etc/keytables/jivelite IS being backed up just not working
after reboot

Default SB3 remote does not work after reboot either.

27824

27823

After reboot:-

27825

File uploaded (via GUI) is this and appears to be backed up

RMTB119A.conf


Code:


  table: RMTB119A, type: sony
  0x1ae216 KEY_S
  0x1ae215 KEY_POWER
  0x1ae200 KEY_1
  0x1ae201 KEY_2
  0x1ae202 KEY_3
  0x10012 KEY_EQUAL
  0x1ae203 KEY_4
  0x1ae204 KEY_5
  0x1ae205 KEY_6
  0x1ae206 KEY_7
  0x1ae207 KEY_8
  0x1ae208 KEY_9
  0x10013 KEY_MINUS
  0x1ae209 KEY_0
  0x1ae269 KEY_D
  0x1ae22c KEY_LEFTBRACE
  0x1ae239 KEY_UP
  0x1ae229 KEY_RIGHTBRACE
  0x1ae23b KEY_LEFT
  0x1ae23d KEY_ENTER
  0x1ae23c KEY_RIGHT
  0x1ae243 KEY_T
  0x1ae23a KEY_DOWN
  0x1ae23f KEY_GRAVE
  0x1ae242 KEY_LEFTBRACE
  0x1ae257 KEY_Z
  0x1ae219 KEY_SPACE
  0x1ae256 KEY_B
  0x1ae21b KEY_E
  0x1ae21a KEY_X
  0x1ae21c KEY_R
  0x1ae24b KEY_DOT
  0x1ae218 KEY_G
  0x1ae24c KEY_COMMA
  



Jeff


+---+
|Filename: 2019-08-04 00_44_43-Window.jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=27825|
+---+


*Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
*Server:* LMS Version:  Latest Nightly on Centos 7.5 VM on ESXi 6.5.0U2
on Dell T320
*Plugins:*
AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player
Groups
*Remotes:* iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
*Music:* 522GB,1660 albums with 23087 songs by 5204 artists mostly
FLACs

*Want a webapp ?* See
http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-03 Thread paul-


After a reboot, what is the output of this command.

sudo ir-keytable -c -v -w /usr/local/etc/keytables/jivelite



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-03 Thread Hinguy


paul- wrote: 
> The contents of the file is based on the procedure in the first post.
> 
> Please post your full config file.

The content of my file is:

-table: apple, type: nec
0x87eee50a KEY_UP
0x87eee50c KEY_DOWN
0x87eee509 KEY_LEFT
0x87eee506 KEY_RIGHT
0x87eee505 KEY_SPACE
0x87eee503 KEY_ENTER-

As stated before, the file itself works like this, and even loads into
jivelite after reboot, but doesn't get recognzied somehow. I've also
checked the -/opt/.filetool.lst- in diagnostics and the file
-/usr/local/etc/keytables/jivelite- is also listed in there.
27822

I've also attached a screenshot of the scancodes sent by the white apple
remote.
I am using the upload function and the file is simple named apple.conf.


Thank you very much.


+---+
|Filename: screenshot.PNG   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=27822|
+---+


Hinguy's Profile: http://forums.slimdevices.com/member.php?userid=69329
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-03 Thread paul-


The contents of the file is based on the procedure in the first post.

Please post your full config file.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-03 Thread Hinguy

Hinguy wrote: 
> Hi Paul, thank you for your answer. Yes tried various different namings,
> e.g. apple.conf, but none worked. I also have checked the folder
> /usr/local/etc/keytables/jivelite and could see my uploaded file, but it
> still didn’t work.
> 
> I will take a look into the .filetool.lst thought, haven’t done that
> yet. Thank you very much, and I will report if this helped.


What I forgot to mention. Does it matter what I write into the file? I
mean for table and type?

Currently I typed in:
table: apple, type: nec

Because my testing outputs protocol nec32, could be the problem also
here??

Thank you again



Hinguy's Profile: http://forums.slimdevices.com/member.php?userid=69329
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-03 Thread Hinguy

paul- wrote: 
> If you are loading manually, your file must be called 
> /usr/local/etc/keytables/jivelite
> 
> The upload script will automatically rename whatever you upload to the
> above name.   As jeff mentioned, keep spaces out of your upload name.
> 
> For backups,  look on the diagnostics page and make sure that file is
> listed the section for /opt/.filetool.lst

Hi Paul, thank you for your answer. Yes tried various different namings,
e.g. apple.conf, but none worked. I also have checked the folder
/usr/local/etc/keytables/jivelite and could see my uploaded file, but it
still didn’t work.

I will take a look into the .filetool.lst thought, haven’t done that
yet. Thank you very much, and I will report if this helped.



Hinguy's Profile: http://forums.slimdevices.com/member.php?userid=69329
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-03 Thread paul-


If you are loading manually, your file must be called 
/usr/local/etc/keytables/jivelite

The upload script will automatically rename whatever you upload to the
above name.   As jeff mentioned, keep spaces out of your upload name.

For backups,  look on the diagnostics page and make sure that file is
listed the section for /opt/.filetool.lst



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-03 Thread Jeff07971


Hinguy wrote: 
> Good day,
> I do have the same problem here with my picoreplayer installation. I've
> been trying everything so far...at least what came in my mind, but I
> still can't get my keytable to "survive" a reboot. I cleared the
> keytable using *-sudo ir-keytable -p all -c-*, then uploaded my custom
> keytable for the white apple remote, then everything works fine. But
> after a reboot the settings are gone. I already tried backing up my
> changes using "Main Page" --> "Advanced Mode Operations" --> "Backup".
> Also I was trying to figure out saving the keytable to "temp" as
> suggested by Mirko, but didn't really understand what he was exactly
> doing.
> 
> I hope someone could also help me out? What am I missing or doing wrong?
> 
> 
> Thank you very much,
> Michael

Just realised I have this problem as well, I have rebooted (from cron)
and now remote does not work.

If i clear the keytables and reload using the WEB GUI even if I ssh in
and do "pcp br" the custom table works fine but does not survive a
reboot

Jeff



*Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
*Server:* LMS Version:  Latest Nightly on Centos 7.5 VM on ESXi 6.5.0U2
on Dell T320
*Plugins:*
AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player
Groups
*Remotes:* iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
*Music:* 522GB,1660 albums with 23087 songs by 5204 artists mostly
FLACs

*Want a webapp ?* See
http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-02 Thread Hinguy


Mirko wrote: 
> Hi Guys
> 
> I made my own keytables for my Xbox remote, uploaded and it works. But
> after reboot the default keytables are loaded. 
> Can you tell me how to fix this problem? 
> 
> Mirko

Good day,
I do have the same problem here with my picoreplayer installation. I've
been trying everything so far...at least what came in my mind, but I
still can't get my keytable to "survive" a reboot. I cleared the
keytable using *-sudo ir-keytable -p all -c-*, then uploaded my custom
keytable for the white apple remote, then everything works fine. But
after a reboot the settings are gone. I already tried backing up my
changes using "Main Page" --> "Advanced Mode Operations" --> "Backup".
Also I was trying to figure out saving the keytable to "temp" as
suggested by Mirko, but didn't really understand what he was exactly
doing.

I hope someone could also help me out?

Thank you very much,
Michael



Hinguy's Profile: http://forums.slimdevices.com/member.php?userid=69329
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-01 Thread Jeff07971


When you upload the file using the Web GUI there must be no spaces and
no special characters in the filename, keep it simple like Xbox.conf

I had this problem as well

Jeff



*Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
*Server:* LMS Version:  Latest Nightly on Centos 7.5 VM on ESXi 6.5.0U2
on Dell T320
*Plugins:*
AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player
Groups
*Remotes:* iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
*Music:* 522GB,1660 albums with 23087 songs by 5204 artists mostly
FLACs

*Want a webapp ?* See
http://forums.slimdevices.com/showthread.php?104305-Webapp-for-LMS

Jeff07971's Profile: http://forums.slimdevices.com/member.php?userid=49290
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-01 Thread Mirko


ralphy wrote: 
> Did you backup your changes before you rebooted?
Yes i did, at least i found a way to install.
Keytable Muster bei saved to temp and install it the way you discribe it
for justboomir in your first post. Everything works fine now.



Mirko's Profile: http://forums.slimdevices.com/member.php?userid=69323
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-08-01 Thread ralphy


Mirko wrote: 
> Hi Guys
> 
> I made my own keytables for my Xbox remote, uploaded and it works. But
> after reboot the default keytables are loaded. 
> Can you tell me how to fix this problem? 
> 
> Mirko

Did you backup your changes before you rebooted?



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-07-31 Thread Mirko


Hi Guys

I made my own keytables for my Xbox remote, uploaded and it works. But
after reboot the default keytables are loaded. 
Can you tell me how to fix this problem? 

Mirko



Mirko's Profile: http://forums.slimdevices.com/member.php?userid=69323
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-06-15 Thread Paul Webster


Greg Erskine wrote: 
> hi Paul Webster,
> 
> They should work with the default IR install. Through squeezelite or
> jivelite depending on configuration.
> 
> I tested this many times on the pCP5.0.0 beta and rc. I haven't tested
> on the official pCP5.0.0 release yet.
> 
> regards
> Greg

Just to complete this one ... yes, JiveLite controlled by ir-remote
worked fine after in-situ update.
My GPIO receiver working with Squeezebox remote without me having to go
through any of the ir-keytable etc stuff myself.



Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-06-14 Thread ralphy


Your device is using /dev/lirc1 according to the details from
ir-keytable.  But you can't use it with jivelite.  Jivelite will read
from /dev/input/event1 but you'll need to create a keytable file.

It appears you haven't followed the steps outlined in post #1 as not all
the IR protocols have been loaded and that's likely why -t doesn't print
any scancodes.

mce_kbd appears in the supported protocols but not in the enabled list.

sudo ir-keytable -p all -c

sudo ir-keytable -t

etc.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-06-13 Thread psketch


ralphy wrote: 
> The pcp 4.19.40 kernel includes the rc media driver for your dongle.
> 
> > 
Code:

  >   > modinfo mceusb.ko | grep 815
  > alias:  usb:v0471p0815d*dc*dsc*dp*ic*isc*ip*in*

> > 
> 
> Try removing lirc and reboot.
> Confirm jivelite is installed then install IR-tools for jivelite and
> reboot.
> 
> Run sudo ir-keytable to see if the device is found.
> If yes, then try the steps outlined in post #1.

Hi ralphy

Ok, yes, the kernel support seems to be there.  sudo ir-keytable gives


Code:


  Found /sys/class/rc/rc1/ (/dev/input/event1) with:
  Name: Media Center Ed. eHome Infrared Remote Transceiver (0471:0815)
  Driver: mceusb, table: rc-rc6-mce
  LIRC device: /dev/lirc1
  Supported kernel protocols: lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 
sharp xmp imon
  Enabled kernel protocols: lirc rc-6
  bus: 3, vendor/product: 0471:0815, version: 0x
  Repeat delay = 500 ms, repeat period = 125 ms
  



 which is a good start.  However,  sudo ir-keytable doesn't give any
response - I assume because it's listening on GPIO 25.  How do we tell
it to listen on /dev/lirc1 instead?



psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-06-12 Thread ralphy


The pcp 4.19.40 kernel includes the rc media driver for your dongle.


Code:

modinfo mceusb.ko | grep 815
  alias:  usb:v0471p0815d*dc*dsc*dp*ic*isc*ip*in*



Try removing lirc and reboot.
Confirm jivelite is installed then install IR-tools for jivelite and
reboot.

Run sudo ir-keytable to see if the device is found.
If yes, then try the steps outlined in post #1.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-06-11 Thread psketch


Hi Guys

I wondered if there was going to be any way to still support USB dongles
with jivelite?  I understand of course things move on, but I see that
with the 5.x setup, I can get my dongle to work if I install lircd
support for squeezelite - i.e. before installing jivelite.  Once I've
done this, I can see the /dev/lirc devices present, so it seems it's
possible to get lircd on the new kernel.  However, once I install
jivelite, i don't see these devices at all.

dmesg is


Code:

tc@GymPlayer:~$ dmesg
  [0.00] Booting Linux on physical CPU 0x0
  [0.00] Linux version 4.19.40-pcpCore (pCP@SoundStation) (gcc version 
7.3.1 20180425 (crosstool-NG 1.23.0.418-d590)) #1 Sat May 11 13:40:46 EDT 2019
  [0.00] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), 
cr=00c5387d
  [0.00] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing 
instruction cache
  [0.00] OF: fdt: Machine model: Raspberry Pi Model B Rev 1
  [0.00] Memory policy: Data cache writeback
  [0.00] cma: Reserved 8 MiB at 0x0e00
  [0.00] On node 0 totalpages: 61440
  [0.00]   Normal zone: 540 pages used for memmap
  [0.00]   Normal zone: 0 pages reserved
  [0.00]   Normal zone: 61440 pages, LIFO batch:15
  [0.00] random: get_random_bytes called from start_kernel+0x90/0x4a0 
with crng_init=0
  [0.00] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
  [0.00] pcpu-alloc: [0] 0
  
  ...
  
  [1.461222] dwc_otg 2098.usb: DWC OTG Controller
  [1.461314] dwc_otg 2098.usb: new USB bus registered, assigned bus 
number 1
  [1.461389] dwc_otg 2098.usb: irq 56, io mem 0x
  [1.461445] Init: Port Power? op_state=1
  [1.461451] Init: Power Port (0)
  [1.461858] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, 
bcdDevice= 4.19
  [1.461876] usb usb1: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
  [1.461888] usb usb1: Product: DWC OTG Controller
  [1.461898] usb usb1: Manufacturer: Linux 4.19.40-pcpCore dwc_otg_hcd
  [1.461908] usb usb1: SerialNumber: 2098.usb
  [1.462987] hub 1-0:1.0: USB hub found
  [1.463085] hub 1-0:1.0: 1 port detected
  [1.464292] dwc_otg: FIQ enabled
  [1.464304] dwc_otg: NAK holdoff enabled
  [1.464310] dwc_otg: FIQ split-transaction FSM enabled
  [1.464329] Module dwc_common_port init
  [1.464856] usbcore: registered new interface driver usb-storage
  [1.465284] mousedev: PS/2 mouse device common for all mice
  [1.466702] bcm2835-wdt 2010.watchdog: Broadcom BCM2835 watchdog timer
  [1.467277] bcm2835-cpufreq: min=70 max=70
  [1.468010] sdhci: Secure Digital Host Controller Interface driver
  [1.468021] sdhci: Copyright(c) Pierre Ossman
  [1.468666] sdhost-bcm2835 20202000.mmc: could not get clk, deferring probe
  [1.468883] sdhci-pltfm: SDHCI platform and OF driver helper
  [1.469490] ledtrig-cpu: registered to indicate activity on CPUs
  [1.469623] hidraw: raw HID events driver (C) Jiri Kosina
  [1.469872] usbcore: registered new interface driver usbhid
  [1.469881] usbhid: USB HID core driver
  [1.470939] vchiq: vchiq_init_state: slot_zero = (ptrval), is_master = 0
  [1.472785] [vc_sm_connected_init]: start
  [1.476535] vc_vchi_sm_init: failed to open VCHI service (-1)
  [1.476558] [vc_sm_connected_init]: failed to initialize shared memory 
service
  [1.476573] [vc_sm_connected_init]: end - returning -1
  [1.478369] Initializing XFRM netlink socket
  [1.478440] NET: Registered protocol family 17
  [1.478607] Key type dns_resolver registered
  [1.480703] registered taskstats version 1
  [1.480732] Loading compiled-in X.509 certificates
  [1.491321] uart-pl011 20201000.serial: cts_event_workaround enabled
  [1.491456] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, 
base_baud = 0) is a PL011 rev2
  [1.494826] sdhost: log_buf @ (ptrval) (4e113000)
  [1.542178] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
  [1.544078] of_cfs_init
  [1.544242] of_cfs_init: OK
  [1.579013] Freeing unused kernel memory: 440K
  [1.579027] This architecture does not have kernel memory protection.
  [1.579033] Run /init as init process
  [1.591251] random: fast init done
  [1.622607] mmc0: host does not support reading read-only switch, assuming 
write-enable
  [1.623478] mmc0: new SD card at address 9ffc
  [1.635201] mmcblk0: mmc0:9ffc SU01G 969 MiB
  [1.645059]  mmcblk0: p1 p2
  [1.693769] Indeed it is in host mode hprt0 = 00021501
  [2.003539] usb 1-1: new high-speed USB device number 2 using dwc_otg
  [2.003796] Indeed it is in host mode hprt0 = 1101
  [2.324079] usb 1-1: New USB device found, idVendor=0424, idProduct=9512, 
bcdDevice= 2.00
  [2.324122] usb 1-1: New USB device strings: Mfr=0, Product=0, 
Se

Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-06-10 Thread ralphy


Paul Webster wrote: 
> Does 5.0 contain out-of-the-box support for using official Squeezebox IR
> remote (in my case with simple TSOP on GPIO) - or will people have to go
> through the keytable set-up steps?

Thanks for asking this Paul.  I sometimes forget the important details
and have updated the howto.

As Greg mentioned, we provide support for the slimdevices remote as the
default when the IR tools are installed.
We also provide keytables for the JustBoom IR and Sony RMT-D11[67]A
remotes.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-06-10 Thread Greg Erskine


hi Paul Webster,

They should work with the default IR install. Through squeezelite or
jivelite depending on configuration.

I tested this many times on the pCP5.0.0 beta and rc. I haven't tested
on the official pCP5.0.0 release yet.

regards
Greg



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-06-09 Thread Paul Webster


Does 5.0 contain out-of-the-box support for using official Squeezebox IR
remote (in my case with simple TSOP on GPIO) - or will people have to go
through the keytable set-up steps?



Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=110640

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] Howto create a linux kernel IR remote keytable for Jivelite on piCorePlayer 5

2019-06-08 Thread ralphy


 piCorePlayer 5.0 is not GA but we expect it's release soon. *

The 4.19 linux kernel has removed the original LIRC uinput drivers that
piCorePlayer has used since 3.x for navigating Jivelite with an IR
remote control.   The feature is still supported but you need to migrate
your lircd.conf files to an IR keytables configuration.  If you are
using the FLIRC usb dongle, it works the same as in previous
piCorePlayer releases.

IR keytables requires an IR receiver connected to a GPIO of your
raspberry pi.  I'm using these '38 kHz TSOP4838 DIP-3 IR Receiver
Modules' (https://www.amazon.ca/gp/product/B00VJNCMBM/).  Check out
'this video' (https://www.youtube.com/watch?v=x-f25PeqduU) for info on
creating a solderless harness to connect an IR receiver directly to the
rpi.

So let's get started.

Switch to Beta mode at the bottom of the Main page of the piCorePlayer 5
webgui.

Install Jivelite from the webgui Tweaks Tab->Jivelite Setup, reboot and
configure jivelite.

Navigate to the IR Page from the webgui Tweaks Tab->IR Remote Control
section.

27517

Click Install IR tools for use with jivelite and reboot.

Set the GPIO number in Set LIRC GPIO in number (IR receiver) if you are
not using the default 25, save and reboot.

Connect to your piCorePlayer using ssh or putty and login as the tc
user.

Clear the default kernel keytable and load all IR protocol drivers.


Code:

sudo ir-keytable -p all -c




Code:

Old keytable cleared
  Protocols changed to lirc rc-5 rc-5-sz jvc sony nec sanyo mce_kbd rc-6 sharp 
xmp imon



Note the list of IR Protocols loaded.

Check that your remote is recognized

To test this, we are going to run ir-keytable and press some buttons on
our remote control.


Code:

sudo ir-keytable -t




Code:


  Testing events. Please, press CTRL-C to abort.
  5740.570027: lirc protocol(sony12): scancode = 0xe001b
  5740.570043: event type EV_MSC(0x04): scancode = 0xe001b
  5740.570043: event type EV_SYN(0x00).
  5740.620027: lirc protocol(sony12): scancode = 0xe001b
  5740.620047: event type EV_MSC(0x04): scancode = 0xe001b
  5740.620047: event type EV_SYN(0x00).
  5740.680024: lirc protocol(sony12): scancode = 0xe001b
  5740.680044: event type EV_MSC(0x04): scancode = 0xe001b
  5740.680044: event type EV_SYN(0x00).
  



If you do not see any output as you press your remote buttons, your
remote may not be supported or you have the wrong GPIO configured for
the IR receiver.

>From the Testing events we can determine that my remote uses the sony
protocol

If you have an lircd.conf for your remote from piCorePlayer 3 or 4, make
a copy of it and load it into your favorite text editor.

Delete everything except the key symbols and you should have a file
similiar to this.


Code:

KEY_MINUS 0xD8E # Tape B Fast Rewind
  KEY_EQUAL 0x38E # Tape B Fast Forward
  KEY_UP 0xCC1 # Tape A Fast Rewind
  KEY_DOWN 0x2C1 # Tape A Fast Forward
  KEY_RIGHT 0xC41 # Tape A Forward
  KEY_LEFT 0x6C1 # Tape A Record
  KEY_ENTER 0x1C1 # Tape A Stop
  KEY_ESC 0x9C1 # Tape A Pause



The format of the keytable file is rather simple:

It's a plain text file, the first line contains a header with a
descriptive name (you can choose that rather arbitrarily, but better
avoid special characters, spaces and such) and the remote protocol to
use (the type: - which is very important). After that each line contains
a mapping of remote scancode to Linux keycode. 

If you made a comment with the remote key that corresponds to the scan
code, creating the keytable file is quite simple.

Press each key on the remote and put the scancode BEFORE the key symbol
in the file we just created.

The scancode in the earlier test was for the Tape B Fast Rewind key on
my Sony RM-S70 remote.

Once complete remove all text following the key symbol name.

Next we need to add the header line to identify the remote the file is
for and the protocol; used by the kernel keytable loader.

The completed keytable file.


Code:

table: rms70, type: sony
  0xe001b KEY_MINUS
  0xe001c KEY_EQUAL
  0x100033 KEY_UP
  0x100034 KEY_DOWN
  0x100032 KEY_RIGHT
  0x100036 KEY_LEFT
  0x100038 KEY_ENTER
  0x100039 KEY_ESC



If you are creating a keytable file for a new remote, you can refer to
my 'Jivelite action to key symbol spreadsheet'
(https://github.com/ralph-irving/tcz-lirc/blob/master/jivekeys.csv) to
help identify the jive action to key symbol mapping needed.

Save your new keytable file, I use the remote model for the name, but
you it can be called whatever you like.

Now we need to upload the file using the piCorePlayer webgui Upload
custom jivelite keytables to pCP on the IR page.

Click Browse and choose your new keytable file, select it and click
upload.

If successful you should be able to