-
Chumby co-founder and Xbox hacker Bunnie Huang, gone away from being a gadget freak to the kind of guy who carefully researches his gadgets and carries around a select set of well-worn gadgets.
-
In the village of Bourem Inaly, Mali there are over 120 television sets powered by 12-volt car batteries, but there is almost nothing to watch. With its CanTV project, Geekcorps has helped the local radio station stream video content to the local communit
Archives de l’auteur : kodiak
Daily Links
-
NZ Travelogue
-
« A view of Africa and Africans with a focus on entrepreneurship,innovation,technology,practical remedies and other self sustaining activities »
-
There’s even a whole website dedicated to how various Linux distros run on various laptop brands.
-
How to do almost anything on Ubuntu
-
Wizpy
-
We believe in choice. Ubuntu and Kubuntu tend to follow the « free software » philosophies and for this reason do not include « dirty » software (patented or proprietary technologies for instance). This is great and this is the way it should be. However, othe
Daily Links
-
Lost an dead , survival unsuccesssful
Daily Links
-
But who are ye in rags and rotten shoes / You dirty-bearded, blocking up the way? / // We are the Pilgrims, master: we shall go / Always a little further: it may be / Beyond that last blue mountain barred with snow, / Across t
-
Let’s be clear about it: The term Web 2.0 is, first and foremost, a marketing gimmick. Its purpose is to create a sense of new, foster a buzz about new media, and generate new investment. So far, it’s working.
Daily Links
-
Reader’s advisory: Wired News has been unable to confirm some sources for a number of stories written by this author. If you have any information about sources cited in this article, please send an e-mail to sourceinfo[AT]wired.com.
Daily Links
-
accès à 90 000 ouvrages numérisés (fascicules de presse compris), majoritairement des imprimés numérisés en mode image.
-
Download .pdf on passivhaus
-
Interesting ad campaign promoting water conservation in Denver.
-
Ubuntu Video is a video portal that takes the best Ubuntu-related videos on the Internet, from places like YouTube and Google Video, and centralizes them in one convenient spot.
Daily Links
-
as featured in the premiere edition of Make
-
What is the difference between a hub, switch and router?
-
originally published in vol 1 of Make
-
ay goodbye to the bank-breaking audio/video cables at your local electronics superstore. Save your money and build out your home theater DIY style. With a total running time of 45 minutes, Kevin and Dan talk to a broadcast engineer to demonstrate how to m
-
1st Passivhaus certified house build in North America
-
Lides d’une journée d’information organisée le 28 septembre 2006 à Paris, par le CSTB en partenariat avec le Groupe Moniteur, consacrée aux bâtiments à énergie positive. (es enjeux de la consommation énergétique dans les bâtiments ; les premièr
Daily Links
-
GFreePlayer est un gestionnaire de playlists, ainsi qu’un générateur de playlist compatible avec le Freeplayer de free.fr (vlc-fbx.sh). C’est une version beta, mais pleinement fonctionnelle, releaser en GPL(v2).
Daily Links
-
What Happens When Local Industry Crosses Paths with the TSA in Lousiville on Flickr – Photo Sharing!TSA gets local
-
passive survivability, a new concept ?
Install a Canon LBP-1120 printer on Ubuntu 6.06
L’installation d’imprimantes Canon sous Linux n’a jamais été drôle, et la LBP-1120 ne fait pas exception à la rêgle.
Jusqu’ici, il n’exitait qu’une seule solution, uriliser un driver réécrit pour une LBP-810 sous Linux, le CAPT 0.1 de Nicolas Boichat [la méthode pour utiliser CAPT 0.1 est décrite sur doc.ubuntu-fr.org et sur ubuntuforums.org]. Son fonctionnement était relatif (problèmes de pagination, d’impression sous Firefox, file d’attente à puger à la main,…).
Canon fournit désormais des drivers CAPT pour CUPS (Common UNIX Printing System). La dernière version est la 1.3 (04-04-2006). Notez que Canon ne fournit que le code source ou un package au format .rpm (pour Red Hat, donc).
Néanmoins, grâce aux efforts de Raphaël Doursenaud, qui a décrit la méthode pour CAPT 1.1 sur Debian, de Petar Vasić « abakus » qui a réécrit le tutorial pour CAPT 1.3 sur Ubuntu 5.10 (puis updaté pour 6.06), des petits malins de forums.ubuntu.fr qui ont bricolé sa méthode (notamment les pages LBP-2900 et LBP-3200), ainsi qu’à TNeo qui a mis à jour (en russe) le tuto avec les nouveaux noms des drivers Canon.
- Prérequis:
- Il n’y a pas besoin de programmes supplémentaires, Ubuntu 6.06 comprend alien et cups, et vous n’avez pas besoin de vous servir de l’interface graphique Canon (pour laquelle il faudrait installer libgtk1.2).
- Il n’y a qu’une imprimante CAPT installée, et elle est reliée à un port USB
- Toutes les commandes sont à entrer dans la console (Applications > Accessoires > Terminal)
- télécharger le fichier compressé comprenant le package rpm
$ wget http://software.canon-europe.com/files/soft23675/software/Driver.tar.gz - décompresser le fichier
$ tar xvzf /chemin/de/mon/fichier/Driver.tar.gz
On obtient deux fichiers,cndrvcups-capt-1.30-1.i386.rpmetcndrvcups-common-1.30-1.i386.rpm, dans un répertoiredriver - se placer dans le répertoire
driver
cd /chemin/de/mon/fichier/driver/ - exécutuer alien pour transformer les packages rpm en deb (donc utilisables sur une distribution basée sur Debian, comme l’est Ubuntu)
$ sudo alien -c cndrvcups-capt-1.30-1.i386.rpm
$ sudo alien -c cndrvcups-common-1.30-1.i386.rpm - installer les deux packages deb
$ sudo dpkg -i cndrvcups-common_1.30-2_i386.deb cndrvcups-capt_1.30-2_i386.deb - Arrêter et redémarrer cups
$ sudo /etc/init.d/cupsys stop
$ sudo /etc/init.d/cupsys start - Créer les répertoires que dpkg n’a pas su créer (parce que les deb convertis depuis des rpm par alien ne sont pas parfaits…) [il semblerait que ces répertoires soient quand même créés, vérifier ou se contenter d’overkill]
$ sudo mkdir /var/ccpd
$ sudo mkdir /var/captmon
$ sudo mkfifo /var/ccpd/fifo0 - Donner les droits nécessaires à
fifo0(777 est bizarre, mais indiqué par Petar Vasic)
$ sudo chmod 777 /var/ccpd/fifo0 - Enregistrer ppd dans le spooler
$ sudo /usr/sbin/lpadmin -p LBP1120 -m CNCUPSLBP1120CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E - Enregistrez l’imprimante dans le fichier de setup du daemon ccpd
$ sudo /usr/sbin/ccpdadmin -p LBP1120 -o /dev/usblp0
Attentionusblp0est spécifique à la 6.06. Les versions précédentes utilisaientusb/lp0 - Créer (ou remplacer) le script
/etc/init.d/ccpdpar le script créé par R. Dourseneaud (qui est compatible Debian) :
$ mv /etc/init.d/ccpd ccpdold
$ wget http://galeb.etf.bg.ac.yu/~vp030172d/ccpd.txt /etc/init.d/ccpd/ccpd
$ sudo cmod 755 /etc/init.d/ccpd/ccpd - Démarrer ccpd
$ sudo /etc/init.d/ccpd start - intégration du daemon d’impression ccpd au demarrage d’ubuntu (expliqué ici)
$ sudo update-rc.d ccpd defaults 20
(update-rc.d is the Debian utility to install and remove System-V style init script links) - Ouvrir le fichier à modifier
$ mv /etc/init.d/ccpd ccpdold
$ sudo nano /etc/init.d/cupsys - Remplacer (à la main)
modprobe ppdev 2>/dev/null || true # for ISO-1284 device name detection
start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE" --exec $DAEMON
Par le texte
modprobe ppdev 2>/dev/null || true # for ISO-1284 device name detection
# Starting ccpd daemon
/etc/init.d/ccpd start
start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE" --exec $DAEMON
(Il faut ajouter deux lignes) - Fermer nano
Ctrl + X puis O puis enter - Tester
$ sudo ccpdadmin
On devrait obtenir l’affichage suivant:
==================================================
ccpdadmin [-p Printer-name -o Printer-dev-path]
ccpdadmin [-x Remove-Printer-name]CUPS_ConfigPath = /etc/cups/
LOG Path = None
UI Port = 39787Entry Num : Spooler : Backend : FIFO path : Device Path : Status
----------------------------------------------------------------------------
[0] : LBP1120 : ccp : /var/ccpd/fifo0 : /dev/usblp0 :
================================================== - Imprimer quelque chose
- Ca devrait marcher (pour moi, ça marche!)
On obtient deux fichiers, cndrvcups-common_1.30-2_i386.deb et cndrvcups-capt_1.30-2_i386.deb
Autre méthode décrite ici:
- Indiquer à la machine de ne pas oublier de lancer ccpd après chaque reboot.