<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.12.1">
</HEAD>
<BODY>
Stef<BR>
<BR>
Many thanks for your detailed help.<BR>
<BR>
I had problems running ppdiag in Puppy so I loaded Ubuntu 6.10.<BR>
<BR>
Results of your suggestions:<BR>
<BR>
>From dmesg:<BR>
<BR>
<BLOCKQUOTE>
[17184854.120000] ppdev: user-space parallel port driver<BR>
</BLOCKQUOTE>
<BR>
>From ppdiag:<BR>
<BR>
<BLOCKQUOTE>
root@adrian-desktop:/home/adrian# bash ppdiag<BR>
S01: parport built as module<BR>
<BR>
S02: parport0:<BR>
S02: modes:PCSPP,TRISTATE,EPP<BR>
S02: ADDR :0x378<BR>
S02: IRQ :7<BR>
S02: DMA :no DMA used<BR>
<BR>
S03: no parport parameters<BR>
<BR>
S10: ppdev built as module<BR>
<BR>
S12: /dev/parport0 exists ...<BR>
S12: /dev/parport0 is readable ...<BR>
S12: /dev/parport0 is writable ...<BR>
S12: do you want to allow any user to access ppdev ? (yes/no)<BR>
yes <BR>
S12: mode changed ...<BR>
<BR>
successfull end ....<BR>
<BR>
root@adrian-desktop:/home/adrian# modprobe ppdev<BR>
<BR>
root@adrian-desktop:/home/adrian# bash ppdiag<BR>
S01: parport built as module<BR>
<BR>
S02: parport0:<BR>
S02: modes:PCSPP,TRISTATE,EPP<BR>
S02: ADDR :0x378<BR>
S02: IRQ :7<BR>
S02: DMA :no DMA used<BR>
<BR>
S03: no parport parameters<BR>
<BR>
S10: ppdev built as module<BR>
<BR>
S12: /dev/parport0 exists ...<BR>
S12: /dev/parport0 is readable ...<BR>
S12: /dev/parport0 is writable ...<BR>
<BR>
successfull end ....<BR>
</BLOCKQUOTE>
<BR>
But I don't know how to pass "<TT>options parport_pc io=0x378 irq=7 dma=none</TT>" to the kernel module. I tried your Troubleshooting guide at Sourceforge and got the following:<BR>
<BLOCKQUOTE>
root@adrian-desktop:/# find / -type f -name modules.conf -print<BR>
root@adrian-desktop:/# <BR>
root@adrian-desktop:/# find / -type f -name modprobe.conf -print<BR>
root@adrian-desktop:/# <BR>
</BLOCKQUOTE>
However I did find in /lib/modules/. . . /modules.alias (using "root@adrian-desktop:/lib/modules/2.6.17-10-generic# grep parport modules.alias")<BR>
<BLOCKQUOTE>
alias pnp:dPNP0400* parport_pc<BR>
alias pnp:dPNP0401* parport_pc<BR>
<BR>
alias char-major-99-* ppdev<BR>
</BLOCKQUOTE>
but no sign of<BR>
<BLOCKQUOTE>
alias parport_lowlevel parport_pc (as expected in your guide)<BR>
<BR>
</BLOCKQUOTE>
In view of the above results, is it still necessary to force the issue with the kernel?<BR>
<BR>
Next obstacle is that Ubuntu can't find "scanimage" command:<BR>
<BR>
<BLOCKQUOTE>
root@adrian-desktop:~# export SANE_DEBUG_UMAX_PP=255<BR>
root@adrian-desktop:~# export SANE_DEBUG_UMAX_PP_LOW=255<BR>
root@adrian-desktop:~# scanimage -L<BR>
-bash: scanimage: command not found<BR>
<BR>
root@adrian-desktop:~# cd /usr/lib/sane<BR>
root@adrian-desktop:/usr/lib/sane# export SANE_DEBUG_UMAX_PP_LOW=255<BR>
root@adrian-desktop:/usr/lib/sane# export SANE_DEBUG_UMAX_PP=255<BR>
root@adrian-desktop:/usr/lib/sane# scanimage -L<BR>
-bash: scanimage: command not found<BR>
</BLOCKQUOTE>
<BR>
<BLOCKQUOTE>
root@adrian-desktop:/# find / -type f -name scanimage -print<BR>
root@adrian-desktop:/# <BR>
<BR>
</BLOCKQUOTE>
(I suspect there is a very obvious answer to this part of the problem but I can't see it.)<BR>
<BR>
Also directory with ppdev is missing:<BR>
<BLOCKQUOTE>
root@adrian-desktop:/# cd /sys/module/ppdev<BR>
-bash: cd: /sys/module/ppdev: No such file or directory<BR>
root@adrian-desktop:/# <BR>
<BR>
</BLOCKQUOTE>
Which may be why ppdev does not show up in the list from lsmod.<BR>
The only references to parallel port are:<BR>
<BLOCKQUOTE>
parport_pc 37796 1 <BR>
parport 39496 2 lp,parport_pc<BR>
<BR>
</BLOCKQUOTE>
Does this mean that ppdev is now built into the kernel and not added later as a module?<BR>
The why does ppdiag report that ppdev is built as module?<BR>
(My 65-year-old brain takes a while to figure these things out!!)<BR>
<BR>
As for other tests, there are no apparent conflicts:<BR>
<BLOCKQUOTE>
root@adrian-desktop:/# cat /proc/sys/dev/parport/parport0/devices/active<BR>
none<BR>
<BR>
</BLOCKQUOTE>
Thanks again for your patience and for making your expertise so freely available. <BR>
It is this aspect of the open source community that has fired my interest in Linux.<BR>
I'm gradually interesting others of my generation (as well as our grandchildren) in the rise of the penguin and the new paradigm of co-operation rather than competition.<BR>
<BR>
Regards<BR>
<BR>
Adrian
</BODY>
</HTML>