How to add Canon LBP2900b printer to a Raspberry Pi 4 - printing

The printer Canon LBP2900b is not listed in the Cups of the Raspberry pi..
I have searched a lot on that but unfortunately haven't found any such working method.
Please help

I had an issue getting Canon LBP6020 working with cups on pi. Found the *nix driver but no version of armhf so I did not manage to get it to work. Sharing this in case if you are lucky with your model:
Get the driver from https://www.canon.ie/support/consumer_products/products/printers/laser/i-sensys_lbp2900b.html?type=drivers&language=&os=windows%2010%20(64-bit)
Untar and find the ppd file in Src\cndrvcups-capt-2.71-1\cndrvcups-capt-2.71\ppd
Add it via cups admin when adding the printer
If you are getting the filter related error rastertosfp, then oof! My understanding of this error is you have to install it proper (using the proper ./install.sh script)

Related

Looking for Coral M.2 Accelerator + RHEL/Centos 8 Drivers on x86_64

I'm a little lost (and admit that I'm pretty green to all this). I am looking for the drivers for the M.2 drivers for RHEL/CentOS 8 on x86_64 architecture. Previously I was successful installing the drivers under Ubuntu following the Getting Started guide on the Coral website (https://coral.ai/docs/m2/get-started). But I need to run CentOS 8 for other reasons. So I know that the board works. I know it can be supported in Linux, but don't know how to convert the instructions for CentOS.
My M.2 board is connected to my server using a M.2 to PCIe adapter.
Thanks in advance!
ben
I also believe that you should be able to get this working.
Couple things that you'll need:
libedgetpu.so - You can download the latest runtime from here: https://github.com/google-coral/edgetpu/tree/master/libedgetpu/direct/k8
apex/gasket modules - This is a required kernel module for talking to the pcie module. This is going to be very tricky, first you'll need to make sure that you don't already have apex/gasket module already installed. If you do, blacklist it and load our modules. Now our modules cannot be installed with apt-get since you are in centos, so your only option is to download the code from source and compile it on your own: https://coral.googlesource.com/linux-imx/+/refs/heads/release-day/drivers/staging/gasket
Cheers

Couldn't rosrun turtlesim turtlesim_node

I am following the beginner rosnode tutorial http://wiki.ros.org/ROS/Tutorials/UnderstandingNodes
The environment is Windows 10 / WSL. When I enter command "rosrun turtlesim turtlesim_node" after running "roscore", I get the following error:
wn-003% rosrun turtlesim turtlesim_node
QXcbConnection: Could not connect to display
zsh: abort (core dumped) rosrun turtlesim turtlesim_node
Are there any solutions to this? Thanks.
WLS doesn't support graphical interfaces. You need to initialize some "x server for windows" application, like Xming and then type this line in WLS terminal:
export DISPLAY=:0
ROS has a great open source ecosystem and support for Linux Operating system. For a beginner, it is better to get hands-on experience directly on a Linux machine as it is easier and you'll get good support for errors you encounter.
ROS does work on windows but it requires Windows Subsystem for Linux (WSL), which is a compatibility layer which allows running a whole bunch of Linux binaries natively on Windows 10. With the advent of the Windows 10 Creators Update, the WSL was heavily updated and now is able to run ROS lunar and melodic.
You will also need to install BASH shell on your windows 10 machine.
Follow this article by Microsoft for installing WSL and BASH : install WSL on windows
Then follow this great article by janbernloehr : https://janbernloehr.de/2017/06/10/ros-windows

Can I use Tensorflow on Orange pi 4G IOT with Ubuntu?

I am trying to build an imaging system and I want to use Tensorflow with Orange pi 4G. Does anyone know if there are limitations, is this possible?
As I can see Orange PI 4g iot is still not compatible with Ubuntu but I hope it will be in the near future. Any information you could give me i will be happy.
Official CI server for Tensorflow has some nightly builds with python wheels for raspberry pi armv7l, it is not officially supported by tensorflow yet, they officially support only 64-bit architectures so far, but I managed to get yolo-keras working on "orange pi pc plus" using their nightly build wheel file.
You can also find the scripts they used for building the wheel (actually it's cross-built using a docker container) in directory tensorflow/tensorflow/tools/ci_build inside source code.
Some people also provided guides for native building, but it generally requires more effort to get it to work.
I suggest you start by trying the python wheel file for tensorflow v1.8.0 for raspberry pi armv7l architecture, found here.

How to make WiFi work for toshiba C850...?

I have a toshiba laptop c850, dual core. Toshiba does not provide any driver for Wi-Fi for Ubuntu 12.10. I am currently having problem in using DSL modem, Ethernet and Wi-Fi. Can anyone tell me the solution to this problem?
maybe you will find some information there :
http://www.linlap.com/toshiba_satellite_c850-c855
Wireless
A really up to date kernel is required for wireless support, at least
3.5.0 is recommended. Realtek has the Linux drivers available for download but they must be re-complied after upgrades to kernel.
As you commented, you got the Atheros Communications Inc. AR8162 Fast Ethernet Controller.
This is some guesswork here because there are several versions of the driver and some people state only one is working for them, I stick with the most popular for now.
First download this file from another machine:
https://www.kernel.org/pub/linux/kernel/projects/backports/2013/03/28/compat-drivers-2013-03-28-5-u.tar.bz2
If you have Ubuntu or another Linux distro on your second machine you can use wget to download the file:
wget https://www.kernel.org/pub/linux/kernel/projects/backports/2013/03/28/compat-drivers-2013-03-28-5-u.tar.bz2
Next, use your preferred method (preferably an USB Drive) to copy it to your target machine (Toshiba C850) and use the following commands in a terminal. Make sure you are in the right directory first and use cd to change to the directory where your downloaded file resides.
tar -xzvf compat-drivers-2013-03-28-5-u.tar.bz2
cd compat-drivers-2013-03-28-5-u
./scripts/driver-select alx
make
sudo make install
sudo modprobe alx
If this doesn't work try a reboot first then you can try one of the other versions, I can't tell which will work for you:
http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2012-02-28-p.tar.bz2
https://www.kernel.org/pub/linux/kernel/projects/backports/2013/03/04/compat-drivers-2013-03-04-u.tar.bz2
Sources (for further reading): This question on AskUbuntu and this thread in the Ubuntu forums.

Piping video from Raspberry Pi to Desktop running OpenCV

I'm looking for some hints. I've got my Pi running OpenCV, but I'm about to take on a project which will need several IP cameras, all piping video to OpenCV. I'm curious if it's possible to use the Pi+webcam in place of an IP camera?
I was attempting this by using Gstreamer on the Pi to pipe the video to a desktop PC, where I would use Python and OpenCV to process the images, then ship back answers to the Pi. The Pi is connected to actuators, so the described setup would save me the purchase of a few ip cams.
I've setup ffmpeg to capture the video and stream it, I just can't seem to find an appropriate Gstreamer pipe to get it pulled up in OpenCV on the Desktop.
I hope this is clear.
first of all, i strongly recommend the latest gestreamer code you can get to compile on the rpi.
some recent builds of gstreamer can be found in a 3rd party apt repository:
add
deb http://vontaene.de/raspbian-updates/ . main
to
/etc/apt/sources.list
and run
apt-get update && apt-get upgrade
as superuser.
hope that helps. if not you may find some useful info at
http://pi.gbaman.info/?p=150
http://sanjosetech.blogspot.de/2013/03/web-cam-streaming-from-raspberry-pi-to.html
or even https://raspberrypi.stackexchange.com/
I recommend you the UV4L driver for the pi, this driver will enable an URL were you can see the pi camera so you can just process the images with cv2.videocapture("http://raspberrypi-ip/live") in this way you dont need to process anything on the pi as is very limited in comparition with your pc which will give you nice results.

Resources