Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOW-TO] Ativando scanner parallel port no seu gentoo
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
nafre
Guru
Guru


Joined: 27 Dec 2003
Posts: 388

PostPosted: Tue Jan 18, 2005 12:57 am    Post subject: [HOW-TO] Ativando scanner parallel port no seu gentoo Reply with quote

Requerimentos

Voce precisa ter um kernel da serie 2.6.x rodando e as sources instaladas...

Configurando o Kernel

a) Download do patch:

http://penguin-breeder.org/kernel/download/linux-ppscsi-2.6.x.patch.gz

b) Acessando os sources do patch e descompactando no diretorio root:

Code:
# gzcat linux-ppscsi-2.6.x.patch.gz  | patch -p1


c) Ative a seguintes opções (É recomendado ativar como modulo[M]):

Code:
Device Drivers
    -> SCSI device support
        <M> SCSI device support
        <M> SCSI generic support
        -> SCSI low-level drivers
           <M> Parallel Port SCSI adapters
           <M> [color=red]Seu Scanner[/color]


Para procurar qual o melhor driver para seu scanner visite:


http://www.buzzard.org.uk/jonathan/scanners.html

d) Compilando e instalando o kernel

Code:
# make
# make modules_install
# cp arch/i386/boot/bzImage /boot/suaimagem


e) Se voce ativar os drivers como modulos

Adicione os modulos do seu scanner em /etc/modules.autoload.d/kernel-2.6


Configurando em /dev

a) Adicione as linhas abaixo a /etc/devfsd.con

Code:
# Setando SCSI generica permissoes... para scanner
REGISTER   ^scsi/host0/bus0/target0/lun0/generic$  PERMISSIONS root.scanner 660
REGISTER   ^scsi/host0/bus0/target0/lun0/generic$  CFUNCTION GLOBAL mksymlink $devname scanner
LOOKUP  ^scanner$  CFUNCTION GLOBAL mksymlink scsi/host0/bus0/target0/lun0/generic scanner


b)"killall -HUP devfsd" e logue como root para carregar as novas configurações


Usando

"emerge sane-frontends"
Se quiser usar em modo texto
ou
"emerge xsane"
para GTK2 front-end

Enjoy!

Adaptado e traduzido freneticamente de
https://forums.gentoo.org/viewtopic.php?t=175465
por Felipe Perazzo (NAFRE)
_________________
Nome- Felipe
Nick- Nafre
Idade- 25
Salvador - Bahia - Brasil
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum