1 (edited by 8-Bits 2015-07-23 19:20:34)

Topic: Raspbian 4.0.x Kernal

Has anyone tried one of the newer FreeLSS versions with the new Raspbian 4.0.y kernel? 

I have not seen any mention of this on this forum, and will test it myself if it hasn't already.

John


Maker Farm Prusa i3 kit (a very good first printer kit)
Printrbot Simple Metal kit (worked great from the start) ++ FlashForge Creator Pro (RTR out of the box)
Atlas 3D Scanner (KS Backer kit with mods)

2 (edited by 8-Bits 2015-07-24 02:54:05)

Re: Raspbian 4.0.x Kernal

I installed FreeLSS 1.9 using the default Raspbian version (rpi-3.18.11) and did not find any problems. I then backed-up my micro-SD Card, and upgraded to Raspbian rpi-4.0.8.

This is the FreeLSS 1.9 camera error I get using the new Raspbian version (rpi-4.0.8).   

http://soliforum.com/i/?9cpNo7F.jpg


I would suggest that others DO NOT update to Raspbian 4.0.x at this time.

BTW, I restored the SD Card from the backup I made and all is well again.  TGFB


EDIT: I am using an RPi 2 processor/controller with the standard RPi camera.

John


Maker Farm Prusa i3 kit (a very good first printer kit)
Printrbot Simple Metal kit (worked great from the start) ++ FlashForge Creator Pro (RTR out of the box)
Atlas 3D Scanner (KS Backer kit with mods)

3

Re: Raspbian 4.0.x Kernal

It seems like 4.0.7 does not have the problem:

Linux 3D-ATLAS 4.0.7-v7+ #802 SMP PREEMPT Wed Jul 8 18:01:25 BST 2015 armv7l

4

Re: Raspbian 4.0.x Kernal

bakra wrote:

It seems like 4.0.7 does not have the problem:

Linux 3D-ATLAS 4.0.7-v7+ #802 SMP PREEMPT Wed Jul 8 18:01:25 BST 2015 armv7l

Are you using an RPi 2 processor/controller or the RPi board that came with the A3D kit?

Thanks,

John


Maker Farm Prusa i3 kit (a very good first printer kit)
Printrbot Simple Metal kit (worked great from the start) ++ FlashForge Creator Pro (RTR out of the box)
Atlas 3D Scanner (KS Backer kit with mods)

5

Re: Raspbian 4.0.x Kernal

8-Bits wrote:
bakra wrote:

It seems like 4.0.7 does not have the problem:

Linux 3D-ATLAS 4.0.7-v7+ #802 SMP PREEMPT Wed Jul 8 18:01:25 BST 2015 armv7l

Are you using an RPi 2 processor/controller or the RPi board that came with the A3D kit?

Thanks,

I'm using a RPi 2

6

Re: Raspbian 4.0.x Kernal

I also have this issue.  Using a more or less stock raspbian OS, I did an rpi-update today for the RPi 2 I was installing with my newly received kit, and it gives me:

pi@rpit2 ~ $ sudo /etc/init.d/freelss start
Reading properties file: /root/.freelss.properties
pi@rpit2 ~ $ Creating MMAL video mode camera resolution=2592x1944
Creating callback data...
Creating camera...
Camera Enabled...
Created camera
Target Image Width: 2592
Target Image Height: 1944
mmal: mmal_vc_port_enable: failed to enable port vc.ril.camera:out:1(BGR3): ENOMEM
mmal: mmal_port_enable: failed to enable port vc.ril.camera:out:1(BGR3)(0x234820) (ENOMEM)
Exception: Error enabling the encoder buffer callback

With that error, the freelss refuses to start (the daemon exits).

I was just following the instructions on the freelss GitHub to install/build, and came across this thread too late.  Here's what uname -a reports on my RPi 2:

Linux rpit2 4.0.9-v7+ #807 SMP PREEMPT Fri Jul 24 15:21:02 BST 2015 armv7l GNU/Linux

Manually editting the /root/.freelss.properties file and setting .active for the Default (which I saved, wisely in hindsight), allows me to start the freelss and webserver.  but it only works for 1280x960 vid resolution, it seems.

 sudo /etc/init.d/freelss start
Reading properties file: /root/.freelss.properties
pi@rpit2 ~ $ Creating MMAL video mode camera resolution=1280x960
Creating callback data...
Creating camera...
Camera Enabled...
Created camera
Target Image Width: 1280
Target Image Height: 960
Initialized camera
Reinitialized.
Running on port 80...

7 (edited by idcrook 2015-07-30 03:25:31)

Re: Raspbian 4.0.x Kernal

I downgraded the kernel using the rpi-update references to the commit 4.0.7, since bakra said it was working on a RPi 2 above in this thread.

Downgrade explained here: https://github.com/Hexxeh/rpi-update

( rpi-firmware versions are found here  - https://github.com/Hexxeh/rpi-firmware/commits/master )


sudo rpi-update 19debdef5d132a12bf8df73d5e77e607066c8757
...
 *** depmod 4.0.7-v7+
...

After a reboot, I was indeed able to select the higher-res (2592x1944) without getting an error. 
Thanks!