Hello! i've review list with google but without success for me :( i've installed libieee1284, sane-backend, sane-frontend all with rpm on FC4 and when i : xsane canon_pp this throw me;
[canon_pp] sane_init: >> initialise [canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status = 0x1f [canon_pp] Timeout: Scanner wakeup reply 2 (0x03 in 0x1f) - Status = 0x1f [canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status = 0x1f [canon_pp] Timeout: Scanner wakeup reply 2 (0x03 in 0x1f) - Status = 0x1f [canon_pp] Timeout: Scanner wakeup reply 1 (0x03 in 0x1f) - Status = 0x1f [canon_pp] Timeout: Reply 2 (0x0c in 0x1f) - Status = 0x1f [canon_pp] initialise: could not wake scanner [canon_pp] sane_init: << 1 initialise [canon_pp] sane_init: Couldn't contact scanner on port parport0. Probably no scanner there? [canon_pp] << sane_init [canon_pp] >> sane_get_devices (0xbfcdaea8, 0) [canon_pp] << sane_get_devices [canon_pp] >> sane_open (h=0xbfcdccf8, name="") [canon_pp] sane_open: Empty name given, assuming first/default scanner [canon_pp] sane_open: No scanner found or requested port doesn't exist (parport0) i put on modprobe options parport_pc irq=7 dma=3 io=0x378 and dmesg show me: ppdev0: registered pardevice ppdev0: unregistered pardevice ppdev0: registered pardevice ppdev0: unregistered pardevice when i try xsane or any command with scanner... what can i do?? any help pleaseeeeeeeeeeeeeeee!!! :D -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20050907/6a3c817d/attachment.htm From a...@rebels.com Thu Sep 8 02:37:13 2005 From: a...@rebels.com (Rene W. Olsen) Date: Thu Sep 8 02:09:43 2005 Subject: [sane-devel] Need help porting sanei/sanei_thread.c Message-ID: <yam10112.694.41257...@smtpserver.get2net.dk> Hello, I'm in the process of porting SANE to AmigaOS4 sofare its been going well. I use PThread for porting the app but the compiler stops with this error 2.Work:CVS-Home/sane-backends> make gcc -Wall -mcrt=clib2 -Os -Iwork:cvs-home/sane-backends/include -c -o sanei/sanei_thread.o sanei/sanei_thread.c sanei/sanei_thread.c: In function `restore_sigpipe': sanei/sanei_thread.c:310: error: storage size of 'act' isn't known sanei/sanei_thread.c:312: warning: implicit declaration of function `sigaction' sanei/sanei_thread.c:312: error: `SIGPIPE' undeclared (first use in this function) sanei/sanei_thread.c:312: error: (Each undeclared identifier is reported only once sanei/sanei_thread.c:312: error: for each function it appears in.) sanei/sanei_thread.c:310: warning: unused variable `act' sanei/sanei_thread.c: In function `sanei_thread_begin': sanei/sanei_thread.c:356: error: storage size of 'act' isn't known sanei/sanei_thread.c:360: error: `SIGPIPE' undeclared (first use in this function) sanei/sanei_thread.c:356: warning: unused variable `act' sanei/sanei_thread.c: In function `sanei_thread_sendsig': sanei/sanei_thread.c:411: warning: implicit declaration of function `pthread_kill' make: *** [sanei/sanei_thread.o] Error 1 in this function static void restore_sigpipe( void ) { struct sigaction act; if( sigaction( SIGPIPE, NULL, &act ) == 0 ) { if( act.sa_handler == SIG_IGN ) { sigemptyset( &act.sa_mask ); act.sa_flags = 0; act.sa_handler = SIG_DFL; DBG( 2, "restoring SIGPIPE to SIG_DFL\n" ); sigaction( SIGPIPE, &act, NULL ); } } } The problem is that there isent any structure/macro on Amiga called sigaction. And I cant really understand that sigaction first is definded as a structure and then used as a macro. Any hint were to find some info on sigaction is welcome :D Next problem is `pthread_kill' what do I do when the Amiga port of PThread dosent support that function? Kind regards Rene W. Olsen