Re: Umax 1200S on LinuxPPC R5

Oliver Rauch (oliver.rauch@Wolfsburg.DE)
Sun, 27 Jun 1999 01:29:35 +0200

Hi Simon,

please edit sane/backend/umax.c

search for sense_handler
and set a remark in the return-line:

if ( get_RS_error_code(result) != 0x70 )
{
DBG(DBG_proc, "invalid sense key => handled as DEVICE BUSY!\n");
// return
SANE_STATUS_DEVICE_BUSY; /* sense
key invalid */
}

search for identify_scanner
some lines down set a remark in the if-line:

// if (get_inquiry_periph_devtype(dev->buffer) != IN_periph_devtype_scanner) {
return 1; } /* no scanner */

The do

make clean

make

as root:

make install

and then as normal user:

export SANE_DEBUG_UMAX=10

and call (x)scanimage

Bye

Oliver

--

EMAIL: Oliver.Rauch@Wolfsburg.DE WWW: http://www.wolfsburg.de/~rauch

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com