Re: [SlimDevices: Unix] piCorePlayer IR support

2022-01-24 Thread PaulH


Paul Webster wrote: 
> Do you have number keys on your remote?
> If yes ... try "1" for the first favourite ... "2" for the second.
> I might have misremembered ... and they might be the "presets" but you
> can check by setting presets as well

At the moment the remote I'm using don't have any number key. But this
remote is working and I'll try before to change it.
UP for 1st favorite, DOWN for the second. 
Here is my actual table:

Code:

#table: Apple, type: nec
  0x87eee20b  KEY_UP
  0x87eee20d  KEY_DOWN
  0x87eee208  KEY_LEFT
  0x87eee207  KEY_L
  0x87eee25e  KEY_p
  0x87eee25d  KEY_l
  0x87eee202  KEY_0




PaulH's Profile: http://forums.slimdevices.com/member.php?userid=72449
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2022-01-24 Thread Paul Webster


Do you have number keys on your remote?
If yes ... try "1" for the first favourite ... "2" for the second.
I might have misremembered ... and they might be the "presets" but you
can check by setting presets as well



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2022-01-24 Thread PaulH


Paul Webster wrote: 
> Interactively, it is very easy ... but then you can see what it is
> doing.
> 
> However, there are CLI commands to tell LMS to play a favourite.
> 
> from the docs
> > 
Code:

  >   > 
  > Request: "6e:ef:54:e9:02:b0 favorites playlist play item_id:1.1"
  > Response: "6e:ef:54:e9:02:b0 favorites playlist play item_id:1.1"
  > 

> > 
I would like to change favorite from IR remote. 
Where shoud I add your commands? On the  jivelite keytables ?
Thanks



PaulH's Profile: http://forums.slimdevices.com/member.php?userid=72449
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2022-01-23 Thread Paul Webster


PaulH wrote: 
> 
> Is there no possibility to change the radio station by remote ?

Interactively, it is very easy ... but then you can see what it is
doing.

However, there are CLI commands to tell LMS to play a favourite.

from the docs

Code:


  Request: "6e:ef:54:e9:02:b0 favorites playlist play item_id:1.1"
  Response: "6e:ef:54:e9:02:b0 favorites playlist play item_id:1.1"
  




Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2022-01-23 Thread Jeff07971


wondroushippo wrote: 
> It seems like based on my searching that nobody has tried it, but figure
> I'd ask here: has anyone configured the Argon One IR remote in the Argon
> One case to work with pCP? I've found instructions on how to install the
> scripts (can't link due to being a newbie), and link to the info for the
> IR receiver but actually getting the remote working in pCP seems to be
> another step entirely where I'm getting lost.

Dosent look so hard, The TSOP IR Receiver when installed will be
connected to GPIO23 According to this article
https://forums.raspberrypi.com/viewtopic.php?t=286230

You do not need any scripts just set the correct GPIO in the WEB GUI

To control Jivelite you need to create and upload a
linux-kernel-IR-remote-keytable

https://forums.slimdevices.com/showthread.php?110640-Howto-create-a-linux-kernel-IR-remote-keytable-for-Jivelite-on-piCorePlayer-5=942525=1#post942525

https://github.com/ralph-irving/tcz-lirc/blob/master/jivekeys.csv

Jeff



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

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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2022-01-23 Thread wondroushippo


It seems like based on my searching that nobody has tried it, but figure
I'd ask here: has anyone configured the Argon One IR remote in the Argon
One case to work with pCP? I've found instructions on how to install the
scripts (can't link due to being a newbie), and link to the info for the
IR receiver but actually getting the remote working in pCP seems to be
another step entirely where I'm getting lost.



wondroushippo's Profile: http://forums.slimdevices.com/member.php?userid=72209
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2022-01-22 Thread PaulH


Jeff07971 wrote: 
> All Jivelite commands are here
> 
> https://github.com/ralph-irving/tcz-lirc/blob/master/jivekeys.csv
> 
> 
> Jeff

Found only next track but it's not working on favorites



PaulH's Profile: http://forums.slimdevices.com/member.php?userid=72449
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2022-01-22 Thread Jeff07971


All Jivelite commands are here

https://github.com/ralph-irving/tcz-lirc/blob/master/jivekeys.csv


Jeff



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

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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2022-01-22 Thread PaulH


Is there any command to do:

NEXT FAVORITE and PREV FAVORITE ?

Thanks



PaulH's Profile: http://forums.slimdevices.com/member.php?userid=72449
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-15 Thread Jeff07971


themetman wrote: 
> OK, I do not have the screen, but the remote should work.
> 
> I thank you for trying so much on my behalf. I am using the HiFiBerry
> Amp, I have checked the pinouts, no conflict.
> 
> I will just have to do without for now.
> 
> Regards to all who helped.

Are you using a TV or a monitor  then ? If not how are you seeing
Jivelite ?

Jeff



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

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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-15 Thread themetman


OK, I do not have the screen, but the remote should work.

I thank you for trying so much on my behalf. I am using the HiFiBerry
Amp, I have checked the pinouts, no conflict.

I will just have to do without for now.

Regards to all who helped.



Perfect in every way, Modest and Misunderstood!

themetman's Profile: http://forums.slimdevices.com/member.php?userid=70203
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-15 Thread Jeff07971


themetman wrote: 
> I have moved it to GPIO24 (Pin 18) still no good.

Worked first time here !

32191

Jeff


+---+
|Filename: 20-11-15 15-05-50 2255.jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=32191|
+---+


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

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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-15 Thread themetman


I have moved it to GPIO24 (Pin 18) still no good.



Perfect in every way, Modest and Misunderstood!

themetman's Profile: http://forums.slimdevices.com/member.php?userid=70203
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-15 Thread Jeff07971


themetman wrote: 
> @Jeff07971 OK, fresh install of 6.1.0 upgraded everything installed the
> Jivelite and IR Keytables, I have a green tick for the IR Keytables, but
> still no response to the remote.

Well I never had any problems with pCP 6.1.0 / Jivelite it has always
been plug and play with the same TSOP38438 and SB3 remote !

You've got the expected signal from the TSOP so maybe the GPIO pin is
dead ?

Maybe try another GPIO ?

Its very odd !

I'll go and try this on my Pi4 and see if I have any problems, I'm
expecting not to

Jeff



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

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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-15 Thread themetman


Jeff07971 wrote: 
> IR-Keytables is for Jivelite
> 
> LIRC is for Squeezelite
> 
> Install clean and config Jivelite and IR-Keytables
> 
> This will prove everything except software if it works
> 
> Jeff

@Jeff07971 OK, fresh install of 6.1.0 upgraded everything installed the
Jivelite and IR Keytables, I have a green tick for the IR Keytables, but
still no response to the remote.



Perfect in every way, Modest and Misunderstood!

themetman's Profile: http://forums.slimdevices.com/member.php?userid=70203
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-15 Thread Jeff07971


themetman wrote: 
> I have removed the LIRC installed Jivelite, but still nothing. I have
> checked the Hardware again, I have continuity from the bottom of the
> GPIO Pins on the Pi Board to the pins on the IR Sensor. I have tried
> three different sensors, still no good.

IR-Keytables is for Jivelite

LIRC is for Squeezelite

Install clean and config Jivelite and IR-Keytables

This will prove everything except software if it works

Jeff



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

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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-15 Thread themetman


Jeff07971 wrote: 
> Have you tried setting up jivelite ?
> 
> If it works with Jivelite (IR-Keytables) then you know the receiver and
> GPIO are all working and its a software/config problem
> 
> Jeff

I have removed the LIRC installed Jivelite, but still nothing. I have
checked the Hardware again, I have continuity from the bottom of the
GPIO Pins on the Pi Board to the pins on the IR Sensor. I have tried
three different sensors, still no good.



Perfect in every way, Modest and Misunderstood!

themetman's Profile: http://forums.slimdevices.com/member.php?userid=70203
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-15 Thread Jeff07971


themetman wrote: 
> OK, well that is reassuring.
> Here is a link to the 'datasheet'
> (https://docs.rs-online.com/4686/0900766b813e47e8.pdf) of the IR
> receiver. Do I have the correct device?

Have you tried setting up jivelite ?

If it works with Jivelite (IR-Keytables) then you know the receiver and
GPIO are all working and its a software/config problem

Jeff



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

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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-15 Thread Jeff07971


themetman wrote: 
> OK, well that is reassuring.
> Here is a link to the 'datasheet'
> (https://docs.rs-online.com/4686/0900766b813e47e8.pdf) of the IR
> receiver. Do I have the correct device?

Yes thats the one I always use TSOP38438

Jeff



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

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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-15 Thread themetman


OK, well that is reassuring.
Here is a link to the 'datasheet'
(https://docs.rs-online.com/4686/0900766b813e47e8.pdf) of the IR
receiver. Do I have the correct device?



Perfect in every way, Modest and Misunderstood!

themetman's Profile: http://forums.slimdevices.com/member.php?userid=70203
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-15 Thread ralphy


themetman wrote: 
> @Jeff07971 and @ralphy Should there be a kernel module loaded? here is
> the output of lsmon
> > 
Code:

  >   > Module  Size  Used by
  > evdev  24576  0
  > snd_soc_pcm512x_i2c16384  1
  > snd_soc_pcm512x32768  1 snd_soc_pcm512x_i2c
  > spidev 20480  0
  > raspberrypi_hwmon  16384  0
  > hwmon  24576  1 raspberrypi_hwmon
  > snd_soc_hifiberry_dacplus16384  1
  > snd_soc_bcm2835_i2s20480  2
  > regmap_mmio16384  1 snd_soc_bcm2835_i2s
  > i2c_bcm283516384  0
  > snd_soc_core  196608  3 
snd_soc_pcm512x,snd_soc_hifiberry_dacplus,snd_soc_bcm2835_i2s
  > snd_compress   20480  1 snd_soc_core
  > snd_pcm_dmaengine  16384  1 snd_soc_core
  > snd_bcm283528672  0
  > snd_pcm   114688  7 
snd_soc_pcm512x,snd_soc_hifiberry_dacplus,snd_soc_bcm2835_i2s,snd_bcm2835,snd_soc_core,snd_pcm_dmaengine
  > snd_timer  36864  1 snd_pcm
  > snd81920  7 
snd_soc_pcm512x,snd_bcm2835,snd_timer,snd_compress,snd_soc_core,snd_pcm
  > spi_bcm283520480  0
  > IR_RC6_DECODER 16384  0
  > clk_hifiberry_dacpro16384  1
  > GPIO_IR_RECV   16384  0
  > squashfs   40960  24
  > sch_fq_codel   20480  6
  > lz416384  4
  > lz4_compress   57344  1 lz4
  > zram   24576  1
  > zsmalloc   24576  1 zram

> > 
> 
> Thanks in advance
Yes, you have the two required for the slimdevices remote.

Code:

ir_rc6_decoder 16384  0
  gpio_ir_recv   16384  0




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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-15 Thread themetman


@Jeff07971 and @ralphy Should there be a kernel module loaded? here is
the output of lsmon

Code:

Module  Size  Used by
  evdev  24576  0
  snd_soc_pcm512x_i2c16384  1
  snd_soc_pcm512x32768  1 snd_soc_pcm512x_i2c
  spidev 20480  0
  raspberrypi_hwmon  16384  0
  hwmon  24576  1 raspberrypi_hwmon
  snd_soc_hifiberry_dacplus16384  1
  snd_soc_bcm2835_i2s20480  2
  regmap_mmio16384  1 snd_soc_bcm2835_i2s
  i2c_bcm283516384  0
  snd_soc_core  196608  3 
snd_soc_pcm512x,snd_soc_hifiberry_dacplus,snd_soc_bcm2835_i2s
  snd_compress   20480  1 snd_soc_core
  snd_pcm_dmaengine  16384  1 snd_soc_core
  snd_bcm283528672  0
  snd_pcm   114688  7 
snd_soc_pcm512x,snd_soc_hifiberry_dacplus,snd_soc_bcm2835_i2s,snd_bcm2835,snd_soc_core,snd_pcm_dmaengine
  snd_timer  36864  1 snd_pcm
  snd81920  7 
snd_soc_pcm512x,snd_bcm2835,snd_timer,snd_compress,snd_soc_core,snd_pcm
  spi_bcm283520480  0
  ir_rc6_decoder 16384  0
  clk_hifiberry_dacpro16384  1
  gpio_ir_recv   16384  0
  squashfs   40960  24
  sch_fq_codel   20480  6
  lz416384  4
  lz4_compress   57344  1 lz4
  zram   24576  1
  zsmalloc   24576  1 zram



Thanks in advance



Perfect in every way, Modest and Misunderstood!

themetman's Profile: http://forums.slimdevices.com/member.php?userid=70203
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-11 Thread Jeff07971


themetman wrote: 
> Yes pin 22 GPIO25 with Grnd next to it on Pin 20 and 3.3v on pin 17

Yes they are the pins I use most of the time but I use Jivelite with
IR-Keytables
I used to use lirc with Jivelite before it was "officially" in pCP and
never had any problems.

Not sure what to suggest I'm afraid

Jeff



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

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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-11 Thread themetman


Jeff07971 wrote: 
> fyi
> 
> 32125

Yes pin 22 GPIO25 with Grnd next to it on Pin 20 and 3.3v on pin 17



Perfect in every way, Modest and Misunderstood!

themetman's Profile: http://forums.slimdevices.com/member.php?userid=70203
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-11 Thread Jeff07971


ralphy wrote: 
> what pin do you have the ir connected?  Gpio 25 is 'pin 22'
> (https://github.com/ralph-irving/tcz-lirc/blob/master/raspberry-pi-gpio-layout-revision-2.png).

fyi

32125


+---+
|Filename: 2020-11-11 14_44_44-Photos.jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=32125|
+---+


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

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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-11 Thread ralphy


themetman wrote: 
> OK, @ralphy still no good, so did fresh install of version 6.1.0,
> configured the IR as default:
> 
> I have not updated the system yet.
> 
> I am using the Basic Player, not the server or Beta and I do not have
> LMS active on this player.
> 
> Then ssh into the system
> 
> > 
Code:

  >   > grep ir config.txt
  > dtoverlay=gpio-ir,gpio_pin=25
  > 

> > 
> 
> I have checked, I do have the correct Pin Layout, so issued command:
> > 
Code:

  >   > 
  > irw

> > 
> 
> Nothing.
> 
> Dug out my little BitScope, and have a signal as expected from the IR
> receiver when Remote is activated.
> I have checked the Pinout for the HiFiBerry DAC/AMP and pin 25 is not
> used.
> 
> I have tried it on another identical machine, nothing.
> I have checcked the continuity from the pins under the Pi Board to the
> pins of the IR Receiver which is fine, so not a cable problem either.
> 
> What next?

What pin do you have the IR connected?  GPIO 25 is 'pin 22'
(https://github.com/ralph-irving/tcz-lirc/blob/master/Raspberry-Pi-GPIO-Layout-Revision-2.png).



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-10 Thread seekasoul


ralphy wrote: 
> You need to Install LIRC for squeezelite if you want the remote to
> control squeezelite headless ie. not running jivelite.
> 
> You are using the configuration file for lircd not the client.  It
> should be /home/tc/.lircrc which is installed as part of the LIRC setup.

Now it works successfully! :) Thanks ralphy



seekasoul's Profile: http://forums.slimdevices.com/member.php?userid=69788
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-10 Thread themetman


OK, @ralphy still no good, so did fresh install of version 6.1.0,
configured the IR as default:

I have not updated the system yet.

I am using the Basic Player, not the server or Beta and I do not have
LMS active on this player.

Then ssh into the system


Code:

grep ir config.txt
  dtoverlay=gpio-ir,gpio_pin=25
  



I have checked, I do have the correct Pin Layout, so issued command:

Code:


  irw



Nothing.

Dug out my little BitScope, and have a signal as expected from the IR
receiver when Remote is activated.

What next?



Perfect in every way, Modest and Misunderstood!

themetman's Profile: http://forums.slimdevices.com/member.php?userid=70203
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-10 Thread ralphy


themetman wrote: 
> OK, I do have an oscilloscope, so will get it out in the next day or
> so.
> Thanks for the ideas.

Before you dig it out, confirm that config.txt has the correct pin for
your setup.


Code:

tc@rpi3p:~$ *m1*
  
  tc@rpi3p:~$ *c1*
  
  tc@rpi3p:/mnt/sda1$ *grep ir config.txt*
  dtoverlay=gpio-ir,gpio_pin=25
  
  tc@rpi3p:/mnt/sda1$ *cd*
  
  tc@rpi3p:~$ *u1*



If not, correct it in the lirc web page, save your config 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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-09 Thread themetman


OK, I do have an oscilloscope, so will get it out in the next day or
so.
Thanks for the ideas.



Perfect in every way, Modest and Misunderstood!

themetman's Profile: http://forums.slimdevices.com/member.php?userid=70203
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-08 Thread Jeff07971


themetman wrote: 
> Woops! My error, I definitely have Pin3 on 3.3v adn Pin 1 Out to GPIO17
> Sorry

Do you have an oscilloscope to check the signal ? If not you can usually
see a change with a DVM. The modulation is slight but detectable.

The TSOP38348 is open collector output so should sit at roughly 3v3 and
drop to 0v for signalling, you won't see this with a DVM but you shoudl
see a slight change.

Of course it could be Pi/Software related but start at the source.

Jeff



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

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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-08 Thread themetman


Jeff07971 wrote: 
> Pin 1 on the TSOP38438 is signal out and should not go to +3v3
> 
> 32101
> 
> Jeff

Woops! My error, I definitely have Pin3 on 3.3v adn Pin 1 Out to GPIO17
Sorry



Perfect in every way, Modest and Misunderstood!

themetman's Profile: http://forums.slimdevices.com/member.php?userid=70203
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-08 Thread Jeff07971


themetman wrote: 
> I cannot get mine to work on a Pi4
> I am using the JustBoom IR Remote with a TSOP38438, 38kHz IR Receiver
> Pin1 to +3.3v, Pin2 to Gnd and Pin 3 to GPIO17. I am not using Juvelite,
> just a headless Pi with HiFiBerry Amp. I have installed the lirc0 from
> the IR Page and have a green tick.
> From 'here'
> (https://forums.slimdevices.com/showthread.php?108410-piCorePlayer-IR-support)
> I have ssh into the player when I type 'irw' and press keys on the
> Remote, I get nothing. The red light flashes on the remote, so it is
> transmittting.
> I have 3.3v on Pin 1 and 3 of the IR receiver, so that is powerd up OK.
> 
> My $HOME/.lircrc file is empty
> > 
Code:

  >   > cat  /mnt/mmcblk0p1/config.txt 

> > 
> has this at the end of the file:
> > 
Code:

  >   > dtoverlay=disable-wifi
  > dtoverlay=hifiberry-dacplus
  > dtoverlay=gpio-ir,gpio_pin=17
  > 

> > 
> 
> > 
Code:

  >   > ps -fe | grep squeezelite
  > /usr/local/bin/squeezelite -n HiFi-Cottage -o hw:CARD=sndrpihifiberry,DEV=0 
-a 80 4 16 1  -b 176400 176400 -d all debug -f /var/log/pcp_squeezelite.log -i 
/home/tc/.lircrc

> > 
> 
> Any ideas on how to get this working. My wife will be much happier
> pressing buttons rather than having to use the browser!


Pin 1 on the TSOP38438 is signal out and should not go to +3v3

32101

Jeff


+---+
|Filename: 2020-11-08 16_45_37-Window.jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=32101|
+---+


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

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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-08 Thread themetman


I cannot get mine to work on a Pi4
I am using the JustBoom IR Remote with a TSOP38438, 38kHz IR Receiver
Pin1 to +3.3v, Pin2 to Gnd and Pin 3 to GPIO17. I am not using Juvelite,
just a headless Pi with HiFiBerry Amp. I have installed the lirc0 from
the IR Page and have a green tick.
>From 'here'
(https://forums.slimdevices.com/showthread.php?108410-piCorePlayer-IR-support)
I have ssh into the player when I type 'irw' and press keys on the
Remote, I get nothing. The red light flashes on the remote, so it is
transmittting.
I have 3.3v on Pin 1 and 3 of the IR receiver, so that is powerd up OK.

My $HOME/.lircrc file is empty

Code:

cat  /mnt/mmcblk0p1/config.txt 


has this at the end of the file:

Code:

dtoverlay=disable-wifi
  dtoverlay=hifiberry-dacplus
  dtoverlay=gpio-ir,gpio_pin=17
  




Code:

ps -fe | grep squeezelite
  /usr/local/bin/squeezelite -n HiFi-Cottage -o hw:CARD=sndrpihifiberry,DEV=0 
-a 80 4 16 1  -b 176400 176400 -d all debug -f /var/log/pcp_squeezelite.log -i 
/home/tc/.lircrc



Any ideas on how to get this working. My wife will be much happier
pressing buttons rather than having to use the browser!



Perfect in every way, Modest and Misunderstood!

themetman's Profile: http://forums.slimdevices.com/member.php?userid=70203
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-05 Thread ralphy


seekasoul wrote: 
> Sure, this is what I have in the Tweaks:
> Running:
> 
> */usr/local/bin/squeezelite -n piCorePlayer -o
> hw:CARD=sndrpihifiberry,DEV=0 -a 80 4  1  -c
> pcm,flac,mp3,aac,ogg,dsd,wma,alac -p 45 -m dc a6 32 00 5f 86 -s
> 192.168.22.100 -v -W -V Master -D -i /usr/local/etc/lirc/lircd.conf*

You need to Install LIRC for squeezelite if you want the remote to
control squeezelite headless ie. not running jivelite.

You are using the configuration file for lircd not the client.  It
should be /home/tc/.lircrc which is installed as part of the LIRC setup.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-04 Thread seekasoul


Paul Webster wrote: 
> Have you enabled IR in the pCP Tweaks page and the IR page.

Sure, this is what I have in the Tweaks:

32081

32082


+---+
|Filename: lirc1.JPG|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=32082|
+---+


seekasoul's Profile: http://forums.slimdevices.com/member.php?userid=69788
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-04 Thread Paul Webster


seekasoul wrote: 
> 
> What I am missing?
> 

Have you enabled IR in the pCP Tweaks page and the IR page.



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip 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=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-04 Thread seekasoul


I cannot use this remote with LMS 8.0.0 on pCP .
irw gives me correct ouput messages but LMS does not seem to receive IR
keys at all...
32080
What I am missing?

Running on:
RPi4 with IS2 hat DAC OSA Electronics DACBerry ONE+
piCorePlayer v6.1.0 |  linux 4.19.122-rt52-pcpAudioCore_v8


+---+
|Filename: LogitechSBTouch-remote.jpg   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=32080|
+---+


seekasoul's Profile: http://forums.slimdevices.com/member.php?userid=69788
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-03 Thread Jeff07971


strebor56 wrote: 
> I just put together a pCP instance for use on the new patio utilizing a
> Justboom amp with their provided IR
> receiver chip and remote.
> The only markings on the chip is '56' now I presume that's a 56kHz
> carrier not the usual 38.
> Q. Is the carrier frequency reflected in the config file?
> 
> Regards Strebor

I've used the JB Remote with the 38Khz TSOP48438 receiver and it worked
fine.
If JB supplied the IR Receiver in their kit I'm sure it will be fine,
looking at the JB page it is indeed a 56Khz part

To answer your question there is no config for the "carrier" frequency

Jeff



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

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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-03 Thread Greg Erskine


i use a couple of Justboom's with IR. On mine, there is no special
setup, that's why I use them.



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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-03 Thread strebor56


I just put together a pCP instance for use on the new patio utilizing a
Justboom amp with their provided IR
receiver chip and remote.
The only markings on the chip is '56' now I presume that's a 56kHz
carrier not the usual 38.
Q. Is the carrier frequency reflected in the config file?

Regards Strebor



strebor56's Profile: http://forums.slimdevices.com/member.php?userid=65828
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-02 Thread imi11


Now it works!
THANKS! :)



imi11's Profile: http://forums.slimdevices.com/member.php?userid=70855
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-02 Thread imi11


Jeff07971 wrote: 
> Use a 38Khz type IR Receiver, Examples being TSOP38238 and TSOP38438
> (There are other types that work fine) I personally use the TSOP38438
> 
> https://www.vishay.com/search?searchChoice=part=tsop38438
> 
> Wire this to 0V (Pin 20), +3v3 (Pin17) and GPIO25 (Pin 22) and then you
> can use the default IR-Keytables in pCP
> 
> Jeff

Thanks, I'll try it...



imi11's Profile: http://forums.slimdevices.com/member.php?userid=70855
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-02 Thread Jeff07971


imi11 wrote: 
> Which receiver should I use?


Use a 38Khz type IR Receiver, Examples being TSOP38238 and TSOP38438
(There are other types that work fine) I personally use the TSOP38438

https://www.vishay.com/search?searchChoice=part=tsop38438

Wire this to 0V (Pin 20), +3v3 (Pin17) and GPIO25 (Pin 22) and then you
can use the default IR-Keytables in pCP

Jeff



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

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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-02 Thread imi11


paul- wrote: 
> The Squeezebox remote should have worked without modifications.
Which receiver should I use?



imi11's Profile: http://forums.slimdevices.com/member.php?userid=70855
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-02 Thread paul-


The Squeezebox remote should have worked without modifications.



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=U7JHY5WYHCNRU=GB_code=USD=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=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-02 Thread imi11


I have this kind of pc remote:
https://www.aliexpress.com/item/32768227947.html



imi11's Profile: http://forums.slimdevices.com/member.php?userid=70855
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2020-11-02 Thread imi11


Hello, 
I use picoreplayer with jivelite. I use universal pc remote.
The player works with this remote with jivelite and with lirc ir setup
either. 
BUT I would like to use my original squeezebox touch remote and I'm not
able to set it up.
1. Is the linked remote's usb receiver good to receive the original
squeezebox touch remote's signs? With jivelite ir or with lirc ir? Or
what else receiver should I use?
2. Can somebedy send/link a jivelite keytables file or lirc conf file
for the original squeezebox touch remote to be worked?
thanks,
Imre



imi11's Profile: http://forums.slimdevices.com/member.php?userid=70855
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2019-09-07 Thread fvzeppelin


paul- wrote: 
> Not a previously known issue, but it is now.
> 
> You will need to ssh in, and edit the file
> 
> /usr/local/etc/pcp/pcp.cfg
> 
> Set these two variables to no.
> 
> IR_LIRC="no"
> IR_KEYTABLES="no"Thank you! I had one of these Sunfounder IR receiver modules 
> left over,
which worked out of the box now with pcp :) Very cool :)

Gesendet von meinem SM-A750FN mit Tapatalk





fvzeppelin's Profile: http://forums.slimdevices.com/member.php?userid=65388
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2019-09-06 Thread paul-


Not a previously known issue, but it is now.

You will need to ssh in, and edit the file

/usr/local/etc/pcp/pcp.cfg

Set these two variables to no.

IR_LIRC="no"
IR_KEYTABLES="no"



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=U7JHY5WYHCNRU=GB_code=USD=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=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2019-09-06 Thread fvzeppelin


Hello,
after un-installing the lirc and keytables support, my pcp still only
offers the uninstall buttons and I cannot install the keytables support,
again.
Is this a known problem? Can I fix this somehow, e.g. by manually
installing stuff?
Any help would be great!
Frank



fvzeppelin's Profile: http://forums.slimdevices.com/member.php?userid=65388
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2018-01-19 Thread Greg Erskine

Thanks Paul... makes sense. :D



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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2018-01-19 Thread paul-

Its that lirc and jivelite uses different config files than lirc and
squeezelite .so when we install LIRC, we need to know if Jivelite is
there or not.

Perhaps we need to add a toggle in the LIRC configuration.



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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2018-01-19 Thread Greg Erskine

hi Zounder1,

Thanks for reporting your findings.

Something to consider, piCorePlayer is memory based so, each time you
reboot everything gets freshly reinstalled. The order things get
reloaded, while not random, is unlikely to be the same as the initial
install.

My guess is we have forgotten to include a backup, restart of
squeezelite or reboot at the right time.

regards
Greg



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

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2018-01-19 Thread Zounder1

I just want to circle back on this.  I finally had a chance to work on
getting IR remote working with my picoreplayer install.

THE FOLLOWING INSTALL ORDER WORKED PERFECTLY:
Fresh install.
Install and configure jivelite
Install lirc
Set lirc to use lirc1 (my old usb IR receiver uses lirc1)
Everything works as expected.  Yippie!

THE FOLLOWING INSTALL ORDER DID NOT WORK FOR ME
Fresh install.
Install lirc
Set lirc to use lirc1
I did not test IR/lirc.  Silly me.
Install and configure jivelite
IR does not work.  
Uninstall and reinstall lirc
IR still does not work.
Remove jivelite
Remove lirc
Install lirc.
IR still does not work

Anyhow, FWIW the install order of jivelite and lirc support seemed to
matter.  I'm just happy I found and install order that works for me.

Thanks again for the help offered!



LMS Server:  VortexBox Virtual Machine running on ESXi server
2 SB Touch, 4 SB Radio, 2 PiCorePlayers with IQ Audio DAC+, 1
PiCorePlayer with usb ADL GT40 DAC

Zounder1's Profile: http://forums.slimdevices.com/member.php?userid=63225
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2017-12-19 Thread Zounder1

ralphy wrote: 
> When using a slimdevices remote, squeezelite only needs an empty lirc.
> 
> For pcp 3.2x, If you've enabled lirc from the tweaks tab without
> jivelite installed you should already have a zero byte .lircrc file in
> tc's home directory.
> 
> tc@rpi2:~$ ls -l /home/tc/.lircrc
> -rw-r--r--1 tc   staff0 Jul  2 14:54
> /home/tc/.lircrc
> 
> and pcp will have added the -i option to the squeezelite command line.
> 
> tc@rpi2:~$ ps -fe | grep squeezelite
> 1858 root /mnt/mmcblk0p2/tce/squeezelite -n Entertainment -o
> hw:CARD=sndrpihifiberry -a 80 4  1 -r 192000 -R -u E -v -C 15 -i
> 
> If you're missing the -i try adding it to Various input box at the
> bottom of the Squeezelite Settings tab and restart squeezelite.

1)  Yes there is an empty .lircrc file at /home/tc/.lircrc
2)  Outlook of ps
/usr/local/bin/squeezelite -n LivingRoom -o hw:CARD=IQaudIODAC -a 80 4 
1 -v
So missing -i

I added this as you described, rebooted.
Outlook of ps
/usr/local/bin/squeezelite -n LivingRoom -o hw:CARD=IQaudIODAC -a 80 4 
1 -v -i

It is still not reacting to remote bottom pushes.

Perhaps I screwed up something when I was installing piCorePlayer.  I
installed Jivelite first and then removed it.  I have also installed
LIRC and removed it a few times trying to get things working.  So I will
do a fresh reinstall and see what happens.  I will report back with my
results.

Thanks for your help.



LMS Server:  VortexBox Virtual Machine running on ESXi server
2 SB Touch, 4 SB Radio, 2 PiCorePlayers with IQ Audio DAC+, 1
PiCorePlayer with usb ADL GT40 DAC

Zounder1's Profile: http://forums.slimdevices.com/member.php?userid=63225
View this thread: http://forums.slimdevices.com/showthread.php?t=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2017-12-19 Thread ralphy

When using a slimdevices remote, squeezelite only needs an empty lirc.

For pcp 3.2x, If you've enabled lirc from the tweaks tab without
jivelite installed you should already have a zero byte .lircrc file in
tc's home directory.

tc@rpi2:~$ ls -l /home/tc/.lircrc
-rw-r--r--1 tc   staff0 Jul  2 14:54
/home/tc/.lircrc

and pcp will have added the -i option to the squeezelite command line.

tc@rpi2:~$ ps -fe | grep squeezelite
1858 root /mnt/mmcblk0p2/tce/squeezelite -n Entertainment -o
hw:CARD=sndrpihifiberry -a 80 4  1 -r 192000 -R -u E -v -C 15 -i

If you're missing the -i try adding it to Various input box at the
bottom of the Squeezelite Settings tab and restart 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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=108410

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


Re: [SlimDevices: Unix] piCorePlayer IR support

2017-12-18 Thread ralphy

Zounder1 wrote: 
> Hi, 
> I'm troubleshooting getting IR working in PiCorePlayer.  (It was working
> but I just did an upgrade to the newest PiCorePlayer version out.
> 
> I installed LIRC using the web interface.  I manually set it to use
> LIRC1.  Reboot.
> 
> When I go to command line and run "irw" the program registers the remote
> key presses.  So LIRC is working properly. But piCorePlayer is not
> reacting to the key presses.
> 
> I have a reasonable amount of lirc on Linux.  So I did a search for a
> LIRCRC file that is required to pass on keystrokes to any running
> application.
> 
> I found 
> /usr/local/share/lirc/files/lircrc-squeezebox  (which is linked to
> /tmp/tcloop/lirc/usr/local/share/lirc/files/lircrc-squeezebox)
> A quick look at the file shows the entry 
> -prog = squeezelite-armv6hf-
> 
> Well for those key presses to be passed to Squeezelite correctly I think
> it should actually read
> -prog = squeezelite-
> 
> Unfortunately this is a read only file that I can't edit it.
> 
> Anyone care to explain how I can edit this file in PiCorePlayer?
> 
> Or am I completely wrong to look this file? 
> 
> This all seem wonky to me as the way things are setup by default I can't
> see lirc working for anyone?
> 
> Help?!?

What part of pcp are you trying to control with the IR remote?  Through
jivelite or squeezelite directly?

What IR remote are you using?

Have you read through the 'original lirc for pcp thread'
(http://forums.slimdevices.com/showthread.php?105117-lirc-rpi-gpio-IR-support-for-picoreplayer)?
If not, please do.  It gives a good overview of all the pieces, however
most of what is discussed predates the lirc integration into the base
install.

/usr/local/share/lirc/files/lircrc-squeezebox is provided as an example
it is not required when using a slimdevices remote to control
squeezelite blind or jivelite.

We renamed the squeezelite binary recently and I never updated the
example lirc files.  It should be squeezelite as you noted.



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=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=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=108410

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