Jonathan Fabrizio
Visitor

Tips

[+] HP LaserJet 1020 with cups (on a raspberry)

Jonathan Fabrizio - 08/11/23

Under linux, you can use foo2zjs to manage your LaserJet 10xx printer. This printer is particular as, when you switch on the printer, the firmware must be uploaded. With foo2zjs, a script is provided to upload the firmware when the device is on. But, with new version of CUPS, you can get some messages like (use dmesg):

[  217.425424] usblp 1-1.4:1.0: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
but right after, you get:
[  325.810139] usblp0: removed
and this process fails to upload the firmware and the printer is useless. I will propose a workaround for this problem. I use it on my raspberry (in order to connect my printer to the network, but I think my workaround can be used on many different linux distributions.



Viewed 294 times

[+] Use recent version of OpenGL on older machines (using soft pipeline)

Jonathan Fabrizio - 13/11/20

It is sometime necessary to develop/to run OpenGL program that requires a recent version of OpenGL on an older machine, with a GPU (or a video driver) that does not support recent enough version of OpenGL. A solution is to use a software graphical pipeline. The OpenGL instructions are then executed by the CPU. The performances are certainly not as efficient as with hardware accelerated pipeline (on the GPU), but it allows at least to use older hardware. The solution we propose here has the advantage that the current configuration is not modified. There is no risk for the configuration.

Il est parfois nécessaire, de développer/exécuter des programmes OpenGL qui nécessite une version d'OpenGL plus récente que celle supportée par le GPU (ou le driver video) de la machine utilisée. Une solution est d'utiliser un pipeline graphique software. Dans ce cas, les instructions d'OpenGL sont exécutées sur le CPU. Les performances ne sont certainement pas comparables aux performances obtenues avec une accélération graphique, mais dans beaucoup de cas, cela permet au moins de faire des tests sur du matériel plus ancien. L'avantage de la solution que l'on propose ici est que l'on ne modifie pas la configuration de la machine. Il n'y a donc aucun risque.



Viewed 2560 times

[+] How to interpret RAW Bayer data from the PiCam HQ

Jonathan Fabrizio - 01/06/20

The picams (V1, V2 and now HQ) are interesting cameras as they are not expensive and provide raw data from the sensor. Recently, a new one has been released, the PiCam HQ, but the official documentation does not provide any information on the internal format. This document, explains how to extract/interpret raw images with this new PiCam HQ. The complete pdf version is accessible here!



Viewed 2952 times

[+] HP LaserJet 1020 connection over network

Jonathan Fabrizio - 09/03/13

I tried to connect my HP LaserJet 1020 over a USB printer server and it does not work. Many people over Internet complain about this difficulty but I found no solution on Internet. After few tests, I found how to make it works. I am very happy (and a bit proud). I want to share my solution to help other people to connect this printer (and I think this solution can work for other printers).

J'ai voulu connecter mon imprimante HP laserJet 1020 à l'aide d'un serveur d'impression USB (plus exactement ma Freebox) et ça n'a pas fonctionné. Après recherches sur internet, j'ai vu que beaucoup de personnes ont essayé mais sans succès. Après quelques tests, j'ai fini par trouver une solution. Je suis vraiment content d'avoir trouvé (fier ?). Je vais essayer de décrire et problème et partager ma solution – si ça peut aider d'autres personnes... Je pense que cette solution est applicable à d'autres modèles similaires.



Viewed 5429 times