Re: [SlimDevices: Unix] Announce: Slimmer

2017-05-31 Thread RustySpoons

tbali wrote: 
> Never mind :) My fault, I misunderstood your clear text. I already
> corrected it on the wiki instructions.

Oh yeah meant to say you can do a tce-load -wi nano if you want it
permanent, which mine is.



RustySpoons's Profile: http://forums.slimdevices.com/member.php?userid=65233
View this thread: http://forums.slimdevices.com/showthread.php?t=105819

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


Re: [SlimDevices: Unix] Announce: Slimmer

2017-05-30 Thread RustySpoons

tbali wrote: 
> Oh, yes, I forgot to update package dependencies for lcdproc... I
> compiled ~+10 drivers into the package. I will make a new release.
> I will write about nano into the wiki. Thanks for the feedback!
> 
> Update: libftdi.tcz was included as a dependecy, so I don't understand
> what happened in your case.

Not sure, I tried it on a clean install of PiCorePlayer, I downloaded
and extracted everything again and it was still missing,
I installed the IPv6 dependencies as well.

tbali wrote: 
> If you don't mind, I will include your writing in the Slimmer wiki. Is
> it ok?

I don't mind at all :)



RustySpoons's Profile: http://forums.slimdevices.com/member.php?userid=65233
View this thread: http://forums.slimdevices.com/showthread.php?t=105819

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


Re: [SlimDevices: Unix] Announce: Slimmer

2017-05-30 Thread RustySpoons

tbali wrote: 
> Oh, yes, I forgot to update package dependencies for lcdproc... I
> compiled ~+10 drivers into the package. I will make a new release.
> I will write about nano into the wiki. Thanks for the feedback!
Just noticed although nano does get installed as I wrote it, it needs to
be loaded again on a reboot. 
On my phone right now but tce-load -wi nano might be better.



RustySpoons's Profile: http://forums.slimdevices.com/member.php?userid=65233
View this thread: http://forums.slimdevices.com/showthread.php?t=105819

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


Re: [SlimDevices: Unix] Announce: Slimmer

2017-05-29 Thread RustySpoons

If anyone is interested.

I got it working with a 20x4 HD44780 with a I2C Backpack (You will need
a logic level converter to convert it to 3.3v for the Pi)

The backpack I used is this:
22793

And my settings in LCDd.conf under hd44780:


Code:


http://www.raspberrypi-spy.co.uk/wp-content/uploads/2015/04/i2c_backpack_01-1024x527.jpg



+---+
|Filename: i2c_backpack_01-1024x527.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=22793|
+---+


RustySpoons's Profile: http://forums.slimdevices.com/member.php?userid=65233
View this thread: http://forums.slimdevices.com/showthread.php?t=105819

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


Re: [SlimDevices: Unix] Announce: Slimmer

2017-05-29 Thread RustySpoons

tbali wrote: 
> There is a new release of Slimmer and its bundle. The changes are:
> 
> >   >   > 
  - 2 line screens are supported. First line is the same as with 4
  > line displays, but if there is not enough room, the duration is
  > omitted. The second line is Artist: Album - Title and Artist: Title
  > [Remote title/Radio name] for remote streams (radio). Volume, menu
  > and error screens are also adapting to the screen size
  > automatically.
  - Scrolling speed command line parameter added. Value 1 is the
  > fastest.
  - On previous action the current track is restarted if it is played
  > for more than 3 secs (instead of starting previous track).
  - If the playing queue is empty a popup is shown in the menu when
  > trying to enter the Playing Queue or when the last item is deleted
  > from the queue.
  - Key repeats handled for left and right keys (volume setting and
  > menu browsing). This makes using a LIRC remote or physical buttons
  > (instead of a rotary encoder) smooth.
  - Artists menu item name is changed to All Artists if server version
  > is at least 7.9.0
  - Added browsing by Album Artists (if the server supports it)
  - Artists were not shown up in the menu with LMS 7.9
  - The bundled LCDd is updated to the latest version (trunk
  > 2017-05-29).
  > > > 
> 
> Grab it from: https://github.com/terba/slimmer/releases/latest

Just about to try this but getting the following:

Code:



tc@piCorePlayer:/tmp$ tce-load -i lcdproc-server pikeyd slimmer
libftdi.tcz not found!
Code:






RustySpoons's Profile: http://forums.slimdevices.com/member.php?userid=65233
View this thread: http://forums.slimdevices.com/showthread.php?t=105819

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


Re: [SlimDevices: Unix] Announce: Slimmer

2017-05-29 Thread RustySpoons

tbali wrote: 
> This improvement is already the part of the new (official) lcdproc
> repository here:
> 
> https://github.com/lcdproc/lcdproc/blob/master/server/drivers/hd44780-i2c.c
> 
> I already compiled that for the Pi some weeks ago. I will publish that
> along with the new features of Slimmer in 1 or 2 days.

Brilliant, I look forward to it :)
Using a I2C only 2 GPIO pins are used, so much cleaner and easier to
wire up and leaves the rest of the GPIO pins for other things.



RustySpoons's Profile: http://forums.slimdevices.com/member.php?userid=65233
View this thread: http://forums.slimdevices.com/showthread.php?t=105819

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


Re: [SlimDevices: Unix] Announce: Slimmer

2017-05-27 Thread RustySpoons

Everything seems to be okay with the OS.

Sort of getting somewhere...

When it boots up now the backlight goes off and you can sort of see some
writing going on, but the display doesn't initialise properly as I still
have the 2 rows of black bars.
If I change "backlight = no to backlight = yes" I still have no
backlight but the display initialises differently and gives me a load of
garbage.



RustySpoons's Profile: http://forums.slimdevices.com/member.php?userid=65233
View this thread: http://forums.slimdevices.com/showthread.php?t=105819

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


Re: [SlimDevices: Unix] Announce: Slimmer

2017-05-27 Thread RustySpoons

tbali wrote: 
> I checked the latest Slimmer Bundle and it contains i2c symbols in the
> driver. I checked the source and those symbols are only available if i2c
> code is compiled in.
> 
> > 
Code:

  >   > nm /tmp/tcloop/lcdproc-server/usr/local/lib/lcdproc/hd44780.so | grep 
i2c

> > 
> 
> So there must be some other problem. Maybe LCDd misconfiguration or
> something on the kernel side.

Yeah I wonder if I2C isn't enabled in the OS, I have to enable it on
other OS's such as Rasbian.
Will look in to it a bit further.

Thanks for checking :)



RustySpoons's Profile: http://forums.slimdevices.com/member.php?userid=65233
View this thread: http://forums.slimdevices.com/showthread.php?t=105819

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


Re: [SlimDevices: Unix] Announce: Slimmer

2017-05-27 Thread RustySpoons

tbali wrote: 
> It should work. Lcdproc supports i2c hd44780 LCDs. There is a chance,
> that the driver I compiled into the Slimmer bundle excludes i2c support.
> I can not check now. But in this case I can compile a new one for You.
> Try it. 
> 
> Here is a link how someone did that on the Pi:
> https://www.raspberrypi.org/forums/viewtopic.php?f=35=63412

Had a play around today, seems i2c-tools are installed and working as I
can see the address of my display (0x27)
Configured the LCDd.conf file correctly, but nothing will show on the
display.
So you may be right about not being compiled with i2c support, unless TC
needs something enabled as well? but I think that must be ok as
i2cdetect -r 1 is showing the correct address.



RustySpoons's Profile: http://forums.slimdevices.com/member.php?userid=65233
View this thread: http://forums.slimdevices.com/showthread.php?t=105819

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


Re: [SlimDevices: Unix] Announce: Slimmer

2017-05-26 Thread RustySpoons

tbali wrote: 
> It should work. Lcdproc supports i2c hd44780 LCDs. There is a chance,
> that the driver I compiled into the Slimmer bundle excludes i2c support.
> I can not check now. But in this case I can compile a new one for You.
> Try it. 
> 
> Here is a link how someone did that on the Pi:
> https://www.raspberrypi.org/forums/viewtopic.php?f=35=63412


Thanks for the reply. I should have checked what it was using. Great
that it's LCDproc I used that about 15 years ago, hopefully it's still
the same.

Great work on this project. Can't wait to try it.



RustySpoons's Profile: http://forums.slimdevices.com/member.php?userid=65233
View this thread: http://forums.slimdevices.com/showthread.php?t=105819

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


Re: [SlimDevices: Unix] Announce: Slimmer

2017-05-26 Thread RustySpoons

tbali wrote: 
> It should work. Lcdproc supports i2c hd44780 LCDs. There is a chance,
> that the driver I compiled into the Slimmer bundle excludes i2c support.
> I can not check now. But in this case I can compile a new one for You.
> Try it. 
> 
> Here is a link how someone did that on the Pi:
> https://www.raspberrypi.org/forums/viewtopic.php?f=35=63412


Thanks for the reply. I should have checked what it was using. Great
that it's LCDproc I used that about 15 years ago, hopefully it's still
the same.

Cheers for the link :)



RustySpoons's Profile: http://forums.slimdevices.com/member.php?userid=65233
View this thread: http://forums.slimdevices.com/showthread.php?t=105819

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


Re: [SlimDevices: Unix] Announce: Slimmer

2017-05-26 Thread RustySpoons

Is there anyway to use a I2C Display?
I have a 4x20 LCD that I just put a I2C board and a logic level
converter board on to use on a Pi.
[image: http://i.imgur.com/b8Z6xOh.jpg]



RustySpoons's Profile: http://forums.slimdevices.com/member.php?userid=65233
View this thread: http://forums.slimdevices.com/showthread.php?t=105819

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