Stef
Many thanks for your detailed help.
I had problems running ppdiag in Puppy so I loaded Ubuntu 6.10.
Results of your suggestions:
>From dmesg:
[17184854.120000] ppdev: user-space parallel port driver
>From ppdiag:
root@adrian-desktop:/home/adrian# bash ppdiag
S01: parport built as module
S02: parport0:
S02: modes:PCSPP,TRISTATE,EPP
S02: ADDR :0x378
S02: IRQ :7
S02: DMA :no DMA used
S03: no parport parameters
S10: ppdev built as module
S12: /dev/parport0 exists ...
S12: /dev/parport0 is readable ...
S12: /dev/parport0 is writable ...
S12: do you want to allow any user to access ppdev ? (yes/no)
yes
S12: mode changed ...
successfull end ....
root@adrian-desktop:/home/adrian# modprobe ppdev
root@adrian-desktop:/home/adrian# bash ppdiag
S01: parport built as module
S02: parport0:
S02: modes:PCSPP,TRISTATE,EPP
S02: ADDR :0x378
S02: IRQ :7
S02: DMA :no DMA used
S03: no parport parameters
S10: ppdev built as module
S12: /dev/parport0 exists ...
S12: /dev/parport0 is readable ...
S12: /dev/parport0 is writable ...
successfull end ....
But I don't know how to pass "options parport_pc io=0x378 irq=7
dma=none" to the kernel module. I tried your Troubleshooting guide at
Sourceforge and got the following:
root@adrian-desktop:/# find / -type f -name modules.conf -print
root@adrian-desktop:/#
root@adrian-desktop:/# find / -type f -name modprobe.conf -print
root@adrian-desktop:/#
However I did find in /lib/modules/. . . /modules.alias (using
"root@adrian-desktop:/lib/modules/2.6.17-10-generic# grep parport
modules.alias")
alias pnp:dPNP0400* parport_pc
alias pnp:dPNP0401* parport_pc
alias char-major-99-* ppdev
but no sign of
alias parport_lowlevel parport_pc (as expected in your guide)
In view of the above results, is it still necessary to force the issue
with the kernel?
Next obstacle is that Ubuntu can't find "scanimage" command:
root@adrian-desktop:~# export SANE_DEBUG_UMAX_PP=255
root@adrian-desktop:~# export SANE_DEBUG_UMAX_PP_LOW=255
root@adrian-desktop:~# scanimage -L
-bash: scanimage: command not found
root@adrian-desktop:~# cd /usr/lib/sane
root@adrian-desktop:/usr/lib/sane# export
SANE_DEBUG_UMAX_PP_LOW=255
root@adrian-desktop:/usr/lib/sane# export SANE_DEBUG_UMAX_PP=255
root@adrian-desktop:/usr/lib/sane# scanimage -L
-bash: scanimage: command not found
root@adrian-desktop:/# find / -type f -name scanimage -print
root@adrian-desktop:/#
(I suspect there is a very obvious answer to this part of the problem
but I can't see it.)
Also directory with ppdev is missing:
root@adrian-desktop:/# cd /sys/module/ppdev
-bash: cd: /sys/module/ppdev: No such file or directory
root@adrian-desktop:/#
Which may be why ppdev does not show up in the list from lsmod.
The only references to parallel port are:
parport_pc 37796 1
parport 39496 2 lp,parport_pc
Does this mean that ppdev is now built into the kernel and not added
later as a module?
The why does ppdiag report that ppdev is built as module?
(My 65-year-old brain takes a while to figure these things out!!)
As for other tests, there are no apparent conflicts:
root@adrian-desktop:/#
cat /proc/sys/dev/parport/parport0/devices/active
none
Thanks again for your patience and for making your expertise so freely
available.
It is this aspect of the open source community that has fired my
interest in Linux.
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.
Regards
Adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20070212/11cb0ef7/attachment.html
From [email protected] Mon Feb 12 19:36:24 2007
From: [email protected] (Alex Austin)
Date: Tue Feb 13 14:11:37 2007
Subject: [sane-devel] Re: SANEd and DNS-SD
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
Message-ID: <[email protected]>
I'm working on a SANEd / WIA (Windows Imaging Architecture) bridge driver
right now. I suppose I could be the contact person, but if someone else
would prefer, I have no attachment to it. I figured the head maintainer of
the SANE net backend could, but looking further, I'm not sure there is one.
As for TXT Records, Can't the protocol version be determined easily from
connecting to the daemon? same with ssl/tls?
- Alex
On 2/11/07, Julien BLACHE <[email protected]> wrote:
>
> Jochen Eisinger <[email protected]> wrote:
>
> Hi,
>
> >> The info I've collected so far:
> >> Short name of protocol: sane-port
> >> Long description: SANE Control Port
> >> Name and Email of Responsible Party: Jochen Eisinger
> >> <[email protected] <mailto:[email protected]>> <- ???
> >> Is this okay?
> >> URL of Protocol Description:
> http://www.sane-project.org/html/doc015.html
> >> Primary transport protocol: _tcp
> >> TXT Record service keys: None
> >>
> >> Would you care to register it, or can you point me to a more
> appropriate
> >> person?
>
> This looks good, we just need to decide on who should be the contact
> person for this.
>
> Also, maybe we'd like to have a TXT record indicating the protocol
> version. This could come in handy once SANE 2 will be a reality, along
> with a new network protocol.
>
> Future extensions could include SSL/TLS support, which could be
> another TXT record we could add later on.
>
> JB.
>
> --
> Julien BLACHE <http://www.jblache.org>
> <[email protected]> GPG KeyID 0xF5D65169
>
--
- Alex Austin
Circuitsoft Computer Services
(651) 238-9273
www.circuitsoftcs.com
"...and then I visited Wikipedia ...and the next 8 hours are a blur."
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20070212/dbc637f7/attachment.htm
From [email protected] Tue Feb 13 19:54:49 2007
From: [email protected] (Matthew McClellan)
Date: Tue Feb 13 21:05:44 2007
Subject: [sane-devel] Re: hotplug support for Epson CX6600
References: <[email protected]>
Message-ID: <[email protected]>
How would I apply this patch in Ubuntu (Debian)? Many thanks.