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

Re: Sane & Mustek Be@raw 2400 CU+




Serge Petruschenko wrote:

On Monday 10 January 2005 16:10, producer wrote:
Но когда сканит к примеру командой scanimage >out.pnm
То изображение содержит только левую половинку изображения.

Левую половинку - я так понял вдоль? А если попробовать -l 0 -t 0 -x 217 -y 299
Пробавал. Все тоже самое.

Мои соброжения что проблема в libusb. На данный момент стоит версия из
репозитария libusb-0.1-4.
Возможно вообще отказаться от libusb. Но при установке sane из
репозитария он автоматом ставит libusb.

У меня пересобранный самостоятельно из stable/testing 1.0.12-7. Детектит все через нормальные девайсы. Может ему надо драйвер в ядре собрать/модуль воткнуть?

Если есть желание, могу выложить свою сборку.

Если сканируется именно левая половина, то есть подозрение на то, что libusb здесь не при чем, кто-то неправильно размер транслирует (фронтенд, драйвер, сам сканер).
Дело в том что седня стянул с офсайта libusb версии 0.1.8, скомпилил и поставил.
Теперь libusb-config говорит следушее
> libusb-config --version
0.1.8

Но ситуация не изменяется. Как лезвием отрезает половинку и все тут.
Можешь дать свою сборку...может поможет!?

Прошивку(PS2Dfw.usb) пробывал брать и из bakeend sane и с дров
прилагаемых к сканеру.

У меня стоит с фмрменного сидюка от сканера. Если под виндой такие проблемы не наблюдаются, то похоже, что дело не в фирмвари.
Под виндой сканется без проблем. Фирмаре не причем тут мне кажеться.

Какие будут рекомендации?

Посмотри по scanimage --help, какие дефолты отдаются драйвером и как они коррелируют с размером листа.

Вот че говорит scanimage --help

Options specific to device `gt68xx:libusb:001:002':
 Scan Mode:
   --mode Color|Gray|Lineart [Gray]
       Selects the scan mode (e.g., lineart, monochrome, or color).
   --gray-mode-color Red|Green|Blue [Green]
       Selects which scan color is used gray mode (default: green).
   --source Flatbed|Transparency Adapter [inactive]
       Selects the scan source (such as a document-feeder).
   --preview[=(yes|no)] [no]
       Request a preview-quality scan.
   --depth 8|12|16 [8]
       Number of bits per sample, typical values are 1 for "line-art" and 8
       for multibit scans.
   --resolution 50|100|150|200|300|600|1200|2400dpi [300]
       Sets the resolution of the scanned image.
   --lamp-off-at-exit[=(yes|no)] [inactive]
       Turn off lamp when program exits
   --backtrack[=(yes|no)] [no]
       Controls whether backtracking is forced.
 Debugging Options:
   --auto-warmup[=(yes|no)] [inactive]
       Warm-up until the lamp's brightness is constant instead of insisting
       on 60 seconds warm-up time.
   --full-scan[=(yes|no)] [inactive]
       Scan the complete scanning area including calibration strip. Be
       careful. Don't select the full height. For testing only.
   --coarse-calibration[=(yes|no)] [inactive]
       Setup gain and offset for scanning automatically. If this option is
       disabled, options for setting the analog frontend parameters manually
       are provided. This option is enabled by default. For testing only.
   --coarse-calibration-once[=(yes|no)] [inactive]
       Coarse calibration is only done for the first scan. Works with most
       scanners and can save scanning time. If the image brightness is
       different with each scan, disable this option. For testing only.
   --quality-cal[=(yes|no)] [inactive]
       Quality calibration
   --fast-preview[=(yes|no)] [inactive]
       Request that all previews are done in the fastest (low-quality) mode.
       This may be a non-color mode or a low resolution mode.
   --backtrack-lines 0..255 [inactive]
       Number of lines the scan slider moves back when backtracking occurs.
       That happens when the scanner scans faster than the computer can
       receive the data. Low values cause faster scans but increase the risk
       of omitting lines.
 Enhancement:
   --gamma-value 0.00999451..5 (in steps of 0.00999451) [2]
       Sets the gamma value of all channels.
   --threshold 0..255 [inactive]
       Select minimum-brightness to get a white point
 Geometry:
   -l 0..217mm [0]
       Top-left x position of scan area.
   -t 0..300mm [0]
       Top-left y position of scan area.
   -x 0..217mm [217]
       Width of scan-area.
   -y 0..300mm [300]
       Height of scan-area.

Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.

List of available devices:
   gt68xx:libusb:001:002

Помоему тут тоже все ок.
Остается тока ядро ковырять. У меня стоит 2.6.10.
Вроде все опции нужные включил. Какие здесь могут быть подвохи?



Reply to: