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
- Follow-Ups:
- References:
- Re: ppdev - libieee1284.so conflicts with 2.6.21
- From: Juan Antonio Martinez <[email protected]>
- Re: ppdev - libieee1284.so conflicts with 2.6.21
- From: Chuck Ebbert <[email protected]>
- Re: ppdev - libieee1284.so conflicts with 2.6.21
- Prev by Date: Re: Libata PATA status
- Next by Date: Re: Libata PATA status
- Previous by thread: Re: ppdev - libieee1284.so conflicts with 2.6.21
- Next by thread: RV: ppdev - libieee1284.so conflicts with 2.6.2{0,1,2}
- Index(es):