Re: ppdev - libieee1284.so conflicts with 2.6.21

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux