LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Jonsito <jonsito@teleline.es>
To: Chuck Ebbert <cebbert@redhat.com>
Cc: linux-kernel@vger.kernel.org, Adrian Bunk <bunk@stusta.de>
Subject: Re: ppdev - libieee1284.so  conflicts with 2.6.21
Date: Wed, 04 Jul 2007 13:58:10 +0200	[thread overview]
Message-ID: <1183550290.30882.8.camel@jonsy.dit.upm.es> (raw)
In-Reply-To: <468AC017.2000300@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1236 bytes --]

El mar, 03-07-2007 a las 17:31 -0400, Chuck Ebbert escribió:
> On 07/03/2007 02:16 AM, Juan Antonio Martinez wrote:
[...]
> When it is working it says:
> 
> ppdev: user-space parallel port driver
> ppdev0: registered pardevice
> ppdev0: unregistered pardevice
> ppdev0: registered pardevice
> ppdev0: negotiated back to compatibility mode because user-space forgot
> ppdev0: unregistered pardevice
> ppdev0: registered pardevice
> ppdev0: unregistered pardevice
> 
> When broken:
> 
> ppdev: user-space parallel port driver
> ppdev0: registered pardevice
> ppdev0: unregistered pardevice
> 
> I give up, what causes that?

Please skip extra registered/unregistered pairs: was additional tests.

More info:

I've download vanilla libieee1284 and linux-2.6.21.5 code
libieee1284 includes kernel headers for ppdev.h and parport.h; 
they are slightly different than kernel ones, but differences 
only apply to "#ifdef __KERNEL" section. 
Not sure on collateral effects

libieee1284 fails in claim() returning E1284_SYS (System Call Error).
Failed line is "ioctl(port->fd, PPCLAIM)" from access_ppdev.c

Looking at ppdev.c seems that parport_claim_or_block() fails. 
Need further study

Juan Antonio


[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3250 bytes --]

  reply	other threads:[~2007-07-04 13:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-03  6:16 Juan Antonio Martinez
2007-07-03 21:31 ` Chuck Ebbert
2007-07-04 11:58   ` Jonsito [this message]
2007-08-14 11:15     ` RV: ppdev - libieee1284.so conflicts with 2.6.2{0,1,2} Jonsito
  -- strict thread matches above, loose matches on Subject: below --
2007-07-02  9:22 ppdev - libieee1284.so conflicts with 2.6.21 Juan Antonio Martinez
2007-07-02 22:47 ` Andrew Morton
2007-07-02 23:12   ` Randy Dunlap
2007-07-03  0:28     ` Adrian Bunk
2007-07-02 23:13   ` Chuck Ebbert
2007-07-03 15:57     ` Juan Antonio Martinez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1183550290.30882.8.camel@jonsy.dit.upm.es \
    --to=jonsito@teleline.es \
    --cc=bunk@stusta.de \
    --cc=cebbert@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: ppdev - libieee1284.so  conflicts with 2.6.21' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).