kopia lustrzana https://gitlab.com/sane-project/backends
Changes for MF4600 series and a few fixes.
rodzic
81953325e8
commit
2628042ada
|
@ -1,3 +1,8 @@
|
||||||
|
2009-01-19 Nicolas Martin <nicols-guest at users.alioth.debian.org>
|
||||||
|
* pixma_imageclass.c:
|
||||||
|
Fixed select_source message length, and typo bug in last update.
|
||||||
|
Set MP4600 series for inverted checksumming.
|
||||||
|
|
||||||
2009-01-19 Stéphane Voltz <stef.dev@free.fr>
|
2009-01-19 Stéphane Voltz <stef.dev@free.fr>
|
||||||
* backend/genesys.c backend/genesys.conf.in backend/genesys.h
|
* backend/genesys.c backend/genesys.conf.in backend/genesys.h
|
||||||
backend/genesys_devices.c backend/genesys_gl646.c
|
backend/genesys_devices.c backend/genesys_gl646.c
|
||||||
|
|
|
@ -176,6 +176,7 @@ activate (pixma_t * s, uint8_t x)
|
||||||
switch (s->cfg->pid)
|
switch (s->cfg->pid)
|
||||||
{
|
{
|
||||||
case MF4200_PID:
|
case MF4200_PID:
|
||||||
|
case MF4600_PID:
|
||||||
return iclass_exec (s, &mf->cb, 1);
|
return iclass_exec (s, &mf->cb, 1);
|
||||||
break;
|
break;
|
||||||
case MF4100_PID:
|
case MF4100_PID:
|
||||||
|
@ -195,12 +196,13 @@ static int
|
||||||
select_source (pixma_t * s)
|
select_source (pixma_t * s)
|
||||||
{
|
{
|
||||||
iclass_t *mf = (iclass_t *) s->subdriver;
|
iclass_t *mf = (iclass_t *) s->subdriver;
|
||||||
uint8_t *data = pixma_newcmd (&mf->cb, cmd_select_source, 11, 0);
|
uint8_t *data = pixma_newcmd (&mf->cb, cmd_select_source, 10, 0);
|
||||||
data[0] = (s->param->source == PIXMA_SOURCE_ADF) ? 2 : 1;
|
data[0] = (s->param->source == PIXMA_SOURCE_ADF) ? 2 : 1;
|
||||||
switch (s->cfg->pid)
|
switch (s->cfg->pid)
|
||||||
{
|
{
|
||||||
case MF4200_PID:
|
case MF4200_PID:
|
||||||
return iclass_exec (s, &mf->cb, 1);
|
case MF4600_PID:
|
||||||
|
return iclass_exec (s, &mf->cb, 0);
|
||||||
break;
|
break;
|
||||||
case MF4100_PID:
|
case MF4100_PID:
|
||||||
default:
|
default:
|
||||||
|
@ -229,7 +231,8 @@ send_scan_param (pixma_t * s)
|
||||||
switch (s->cfg->pid)
|
switch (s->cfg->pid)
|
||||||
{
|
{
|
||||||
case MF4200_PID:
|
case MF4200_PID:
|
||||||
return iclass_exec (s, &mf->cb, 1);
|
case MF4600_PID:
|
||||||
|
return iclass_exec (s, &mf->cb, 0);
|
||||||
break;
|
break;
|
||||||
case MF4100_PID:
|
case MF4100_PID:
|
||||||
default:
|
default:
|
||||||
|
|
Ładowanie…
Reference in New Issue