17 sept 2005

Canon’s CAPT linux driver how-to for Debian

Category: DebianRaphaël Doursenaud @ 12 h 00 min

A free driver is now available as an alternative for LBP-810 and LBP-1120.

Warning: the modifications described here maybe illegal due to stupid licence restrictions.

This driver is applicable for Canon LBP* CAPT WinGDI-based USB printers.

Files

You need the driver file from Canon :
Linux-driver-capt-e-1.10.tar.gz
You can get this tarball from your usual Canon support website (Search for linux).

The driver is published in rpm so you need alien to translate them to the debian’s deb package format :
# apt-get install alien

It’s a backend to CUPS so you also need it :
# apt-get install cupsys

Finally you’ll need fakeroot to alien the rpms :
# apt-get install fakeroot

Untar

Untar the tarball :
$ tar xvzf Linux-driver-capt-e-1.10.tar.gz

Alien

Alien the two rpms (you need to be root so use fakeroot):
$ cd CAPTlinux_1-1/rpms
$ fakeroot alien cndrvcups*.rpm

Install

Install the two packages :
# dpkg -i cndrvcups*.deb

Tweak

The Alien tool seem to lose some parts of the original rpms during translation, we’ll need to make these manually.
First, restart cups to load the ppds :
# /etc/init.d/cupsys stop
Make sure the daemon is stopped :
$ ps aux|grep cupsd
If it’s not stopped, kill it :
# killall cupsd
Then finally start it again :
# /etc/init.d/cupsys start
These ugly steps are needed because the installation of the ccp backend seems to sometime f*ck up CUPS when it’s running and prevents it from stopping.

Then create the directories and fifos needed by the daemon (ccpd) and the monitor (captmon) :
# mkdir /var/ccpd
# mkdir /var/captmon
# mkfifo /var/ccpd/fifo0
You can make more fifos if you own more than one CAPT printer, naming them fifo1, fifo2 …

Add your printer to the CUPS spooler :
# /usr/sbin/lpadmin -p [NameOfPrinter] -m [PPDFILE.PPD] -v ccp:/var/ccpd/fifo0 -E
(/var/ccpd/fifo0, fifo1, fifo2 … if multiple printers)
Example for LBP1120 :
# /usr/sbin/lpadmin -p LBP1120 -m CNCUPSLBP1120CAPTJ.PPD -v ccp:/var/ccpd/fifo0 -E

Setup ccpd to handle the printer :
# /usr/sbin/ccpdadmin -p NameOfPrinter -o /dev/usb/lp0
(/dev/udb/lp0, lp1, lp2 if multiple printers)
Example for LBP1120 :
# /usr/sbin/ccpdadmin -p LBP1120 -o /dev/usb/lp0

Create (or replace existing script by) a debian compliant ccpd daemon script I made :
(/etc/init.d/ccpd)

#!/bin/sh
#
# ccpd		startup script for Canon Printer Daemon for CUPS
#
#		Modified for Debian GNU/Linux
#		by Raphael Doursenaud <rdoursenaud@free.fr>.

DAEMON=/usr/sbin/ccpd
LOCKFILE=/var/lock/subsys/ccpd
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
NAME=ccpd
DESC="Canon Printer Daemon for CUPS"

test -f $DAEMON || exit 0

case $1 in
  start)
	echo -n "Starting $DESC: $NAME"
	start-stop-daemon --start --quiet --exec $DAEMON
	echo "."
	;;
  stop)
	echo -n "Stopping $DESC: $NAME"
	start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
	echo "."
	;;
  status)
	echo "$DESC: $NAME:" `pidof $NAME`
	;;
  restart)
	echo -n "Restarting $DESC: $NAME"
	start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
	sleep 1
	start-stop-daemon --start --quiet --exec $DAEMON
	echo "."
	;;
  *)
	echo "Usage: ccpd {start|stop|status}"
	exit 1
	;;
esac

exit 0

Start the ccpd dameon.
# /etc/init.d/ccpd start

You’re done.

Tests

First step :
Simply issue the following command :
# ccpdamin
You should see your printer listed, with status.

Second step :
Issue the following command :
$ captstatusui -P [NameOfPrinter]
Example for LBP1120
$ captstatusui -P LBP1120
You should see « Ready to print ».

If one test or another fails, please consider reinstalling the driver, you may have missed something.

And now print!

TODO

* Make startup script work at bootup
- Real Debian packages : NEW! Test packages available : cndrvcups-common_1.10-2_i386 cndrvcups-capt_1.10-2_i386
* Create symlinks for startup script at bootup
* Write an assistant for printer configuration
* Include french translations
* Tanslate /usr/share/captmon/msgtable.xml to french
* Make cngplp fr.po and statusui fr.po
* Rewrite this how-to for Ubuntu both in english and french and post it to the respective WiKis


17 sept 2005

Fedora Core 3 kernel rpms with VT6410 generic support

Category: Fedora CoreRaphaël Doursenaud @ 12 h 00 min

This page is old and no longer maintained!

This kernel is patched using the patch which can be found at Robert Kersterson’s homepage.

RPMs

kernel-2.6.9-1.724_FC3.VT6410.i686
kernel-smp-2.6.9-1.724_FC3.VT6410.i686

Source RPMs

kernel-2.6.9-1.724_FC3.VT6410.src


17 sept 2005

Natural Studio Kit Free 7 for Hydrogen

Category: GNU/Linux,SamplesRaphaël Doursenaud @ 12 h 00 min

ns_kit7free-h2.tar


15 août 2005

Télécommande suite : Totem

Category: UbuntuRaphaël Doursenaud @ 4 h 24 min

Après avoir configuré la télécommande pour tvtime, je me suis attaqué a totem dont voici la configuration (tvtime inclus) :


#/etc/lirc/lircrc
# Global launcher
begin
prog = irexec
button = tv
mode = tvtime
config = tvtime &
end
begin
prog = irexec
button = dvd
mode = totem
config = totem &
end

# Software specific
## Totem
begin totem
begin
prog = irexec
button = power
config = totem --quit
end
begin
prog = irexec
button = play
config = totem --play
end
begin
prog = irexec
button = pause
config = totem --pause
end
begin
prog = irexec
button = stop
config = totem --pause
end
begin
prog = irexec
button = chan-up
config = totem --next
end
begin
prog = irexec
button = chan-down
config = totem --previous
end
begin
prog = irexec
button = forward
config = totem --seek-fwd
repeat = 1
end
begin
prog = irexec
button = rewind
config = totem --seek-bwd
repeat = 1
end
begin
prog = irexec
button = vol-up
config = totem --volume-up
repeat = 1
end
begin
prog = irexec
button = vol-down
config = totem --volume-down
repeat = 1
end
begin
prog = irexec
button = max_window
config = totem --fullscreen
end
end totem

## tvtime
begin tvtime
begin
prog = irexec
button = power
config = tvtime-command QUIT
end
begin
prog = irexec
button = e
config = tvtime-command TOGGLE_INPUT
end
begin
prog = irexec
button = launch_setup
config = tvtime-command DISPLAY_INFO
end
begin
prog = irexec
button = max_window
config = tvtime-command TOGGLE_FULLSCREEN
end
begin
prog = irexec
button = mute
config = tvtime-command TOGGLE_MUTE
end
begin
prog = irexec
button = up
config = tvtime-command UP
end
begin
prog = irexec
button = down
config = tvtime-command DOWN
end
begin
prog = irexec
button = right
config = tvtime-command RIGHT
end
begin
prog = irexec
button = left
config = tvtime-command LEFT
end
begin
prog = irexec
button = vol-up
config = tvtime-command MIXER_UP
repeat = 1
end
begin
prog = irexec
button = vol-down
config = tvtime-command MIXER_DOWN
repeat = 1
end
begin
prog = irexec
button = chan-up
config = tvtime-command CHANNEL_UP
end
begin
prog = irexec
button = chan-down
config = tvtime-command CHANNEL_DOWN
end
begin
prog = irexec
button = dvd-root_menu
config = tvtime-command CHANNEL_JUMP
end
begin
prog = irexec
button = 1
config = tvtime-command CHANNEL_1 ENTER
end
begin
prog = irexec
button = 2
config = tvtime-command CHANNEL_2 ENTER
end
begin
prog = irexec
button = 3
config = tvtime-command CHANNEL_3 ENTER
end
begin
prog = irexec
button = 4
config = tvtime-command CHANNEL_4 ENTER
end
begin
prog = irexec
button = 5
config = tvtime-command CHANNEL_5 ENTER
end
begin
prog = irexec
button = 6
config = tvtime-command CHANNEL_6 ENTER
end
begin
prog = irexec
button = 7
config = tvtime-command CHANNEL_7 ENTER
end
begin
prog = irexec
button = 8
config = tvtime-command CHANNEL_8 ENTER
end
begin
prog = irexec
button = 9
config = tvtime-command CHANNEL_9 ENTER
end
begin
prog = irexec
button = 0
config = tvtime-command CHANNEL_0
end
begin
prog = irexec
button = ok
config = tvtime-command ENTER
end
end tvtime


11 août 2005

Sagem F@st 3190W en photos

Category: PBC FTTHRaphaël Doursenaud @ 18 h 28 min

Comme elle va m’être échangée dans quelque temps j’ai pris quelques photos intérieur/extérieur postées sur le forum de PauBC.com.


10 août 2005

Connection sans RGW/EasyBox

Category: PBC FTTHRaphaël Doursenaud @ 18 h 35 min

Vous n’êtes pas sans savoir que sur Pau on dispose d’un réseau FTTH en 10 ou 100Mb/s chez l’habitant.
Je suis justement abonné a ce service. Pour la connexion, le FAI fournit une passerelle résidentielle de marque Sagem modèle F@st3190W qui n’est rien d’autre qu’un routeur avec notamment une interface téléphone.
Or, possédant déjà un magnifique routeur firewall qui tourne sous IPCop je souhaite me débarasser de cette boite que je trouve en plus peu performante.
Après quelques tests simples j’ai réussi à faire fonctionner ma connexion sans cet équipement.
Je décris la procédure sur le forum dédié au réseau : PauBC.com.


09 août 2005

RME Digicheck

Category: GNU/LinuxRaphaël Doursenaud @ 6 h 29 min

J’ai envoyé ce mail au support RME pour savoir s’il y avait un espoir de voir un jour digicheck sur Linux :

Hi,

I’m an happy new user of an RME HDSP CardBus + Multiface and HDSP 9652.
I mainly use the GNU/Linux OS (Currently the DeMuDi and Ubuntu
distributions) and I was wondering if there is any hope to see someday a
Linux version of the DigiCheck software.
This software is awesome and is the sole thing that I miss to have a
complete delighting experience with Free Software.
I would prefer an open sourced version but even a precompiled closed
source tool would be great (since I think you have put great knowledge
in this piece of software and I can understand you don’t want to see any
other manufacturer use your work freely) or a mix of both with closed
source librairies and open sourced free GUI ala nVidia.

You have the power to fulfill my dream!
Any hopes?

Thanks
Raphaël Doursenaud.

Malheureusement voici leur réponse :

Hello,

> I’m an happy new user of an RME HDSP CardBus + Multiface and HDSP 9652.
> I mainly use the GNU/Linux OS (Currently the DeMuDi and Ubuntu
> distributions) and I was wondering if there is any hope to see someday a
> Linux version of the DigiCheck software.

No, sorry, that is not likely to happen…

Regards,
Daniel Fuchs
RME

Dommage, j’espère vraiment qu’un jour ils changeront d’avis…


07 août 2005

PCMCIA

Category: Asus Z71ARaphaël Doursenaud @ 7 h 10 min

Pour faire fonctionner le PCMCIA sur ce portable, il suffit d’ajouter pci=assign-busses aux options du noyau!

J’ai ainsi une RME Hamerfall DSP + Multiface qui fonctionne comme un charme :-)

Merci à Josh Green de m’avoir indiqué ceci sur sa page consacrée au Z71V.


12 mai 2004

Redesigned Core module board

Category: MidiboxRaphaël Doursenaud @ 12 h 00 min

Status : Frozen

The MidiBox Project : http://www.midibox.org

Significant improvements against the original design

  • Only six bridges : NO wires under the board.
  • Fully equiped with in-circuit components.
  • 7 pin DIN connector for phantom power support through MIDI IN.
  • Ready for direct rear panel mount.

First let’s take a look at the schematic :
Core schematic
EAGLE schematic : Core schematic

This is how the board looks like after about 5 hours of hard work :
Core board
EAGLE board : Core board

Finally, here’s the partlist generated by EAGLE :
partlist

And a netlist for those who need it :
netlist


12 mai 2004

Redesigned LTC module board

Category: MidiboxRaphaël Doursenaud @ 12 h 00 min

Status : Frozen.

The MidiBox Project : http://www.midibox.org

Significant improvements against the original design

  • Only one single bridge.
  • Fully equiped with in-circuit components.
  • Ready for direct rear panel mount.

First let’s take a look at the schematic :
LTC schematic
EAGLE schematic : LTC schematic

This is how the board looks like after about 6 hours of hard work :
LTC board
EAGLE board : LTC board

Finally, here’s the partlist generated by EAGLE :
partlist

And a netlist for those who need it :
netlist


« Page précédentePage suivante »