[sane-devel] genius colorpage vivid4x

Antonio Kanaan ankanaan at gmail.com
Tue Jun 22 14:22:01 UTC 2010


Hi Allan,

thanks for your suggestions, results below:

On Mon, Jun 21, 2010 at 2:02 PM, m. allan noah <kitno455 at gmail.com> wrote:
> Skip xsane for a minute:
>
> scanimage > test.pnm

root at hal:/home/kanaan# scanimage > test.pnm
scanimage: open of device gt68xx:libusb:007:009 failed: Invalid argument

>
> Does that produce an image test.pnm?

it produced an empty file:

root at hal:/home/kanaan# display test.pnm
display: Improper image header `test.pnm' @ pnm.c/ReadPNMImage/297.
root at hal:/home/kanaan# ls -l test.pnm
-rw-r--r-- 1 root root 0 2010-06-22 11:14 test.pnm


>
> If not, try to get some debugging info:
>
> SANE_DEBUG_GT68XX=255 scanimage > test.pnm 2>test.log
>
> then see what test.log says.

it is a long file, but I guess the important part is here:

[gt68xx] gt68xx_device_memory_read: dev=0x1e75740, addr=0x1f80,
size=0x40, data=0x7fffeaf9b6c0
[gt68xx] gt68xx_device_memory_write: dev=0x1e75740, addr=0x1fc0,
size=0x40, data=0x7fffeaf9b700
[gt68xx] gt68xx_device_memory_read: dev=0x1e75740, addr=0x1fc0,
size=0x40, data=0x7fffeaf9b6c0
[gt68xx] gt68xx_device_generic_req: command=0x69
[gt68xx] >> 69 01 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[gt68xx] gt68xx_device_generic_req: reading response failed: Invalid argument
[gt68xx] somewhere: gt68xx_device_req (dev, boot_req, boot_req):
Invalid argument
[gt68xx] download_firmware_file: firmware download failed: Invalid argument
[gt68xx] somewhere: download_firmware_file (dev): Invalid argument
scanimage: open of device gt68xx:libusb:007:014 failed: Invalid argument
[gt68xx] sane_exit: start
[gt68xx] gt68xx_device_free: enter: dev=0x1e75740
[gt68xx] gt68xx_device_close: enter: dev=0x1e75740
[gt68xx] gt68xx_device_close: leave: ok
[gt68xx] gt68xx_device_free: freeing dev
[gt68xx] gt68xx_device_free: leave: ok
[gt68xx] sane_exit: exit

here is my ccd548.fw file:

root at hal:/home/kanaan# ls -l /usr/share/sane/gt68xx/ccd548.fw
-rwxr-xr-x 1 kanaan kanaan 8192 2010-06-17 13:45
/usr/share/sane/gt68xx/ccd548.fw

I have also chmoded the file to 777 , same results.

My first guess would be the file is bad somehow.  I have already
downloaded it form several different places, all of them are
identical.

cheers,

Antonio
>
> allan
>
> On Thu, Jun 17, 2010 at 1:28 PM, Antonio Kanaan <kanaan at fsc.ufsc.br> wrote:
>> Hi folks,
>>
>> I had this problem in openSuSE 11.1, switched to ubuntu 10.04, same problem.
>>
>> On my genius colorpage vivid4x I first tried scanning :
>>
>>
>> hal:~/personal> sane-find-scanner
>>
>>  # sane-find-scanner will now attempt to detect your scanner. If the
>>  # result is different from what you expected, first make sure your
>>  # scanner is powered up and properly connected to your computer.
>>
>>  # No SCSI scanners found. If you expected something different, make sure that
>>  # you have loaded a kernel SCSI driver for your SCSI adapter.
>>
>> found USB scanner (vendor=0x0458, product=0x201b [600DPI USB Scanner],
>> chip=GT-6816) at libusb:007:002
>>  # Your USB scanner was (probably) detected. It may or may not be supported by
>>  # SANE. Try scanimage -L and read the backend's manpage.
>>
>>  # Not checking for parallel port scanners.
>>
>>  # Most Scanners connected to the parallel port or other proprietary ports
>>  # can't be detected by this program.
>>
>>  # You may want to run this program as root to find all devices. Once you
>>  # found the scanner devices, be sure to adjust access permissions as
>>  # necessary.
>> hal:~/personal> scanimage -L
>> device `gt68xx:libusb:007:002' is a Genius Colorpage Vivid4x flatbed scanner
>> hal:~/personal> sane
>> saned             sane-find-scanner
>> hal:~/personal> sane
>> saned             sane-find-scanner
>> hal:~/personal> sudo apt-get install xsane
>> [sudo] password for kanaan:
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> The following packages were automatically installed and are no longer required:
>>  libdirac-encoder0 libopenjpeg2 libfaad2
>> Use 'apt-get autoremove' to remove them.
>> The following extra packages will be installed:
>>  xsane-common
>> Suggested packages:
>>  xsane-doc hylafax-client mgetty-fax gv gocr
>> The following NEW packages will be installed:
>>  xsane xsane-common
>> 0 upgraded, 2 newly installed, 0 to remove and 43 not upgraded.
>> Need to get 1,087kB of archives.
>> After this operation, 4,174kB of additional disk space will be used.
>> Do you want to continue [Y/n]? Y
>> Get:1 http://ubuntu.wikimedia.org/ubuntu/ lucid-updates/universe
>> xsane-common 0.996-2ubuntu3 [748kB]
>> Get:2 http://ubuntu.wikimedia.org/ubuntu/ lucid-updates/universe xsane
>> 0.996-2ubuntu3 [339kB]
>> Fetched 1,087kB in 10s (100kB/s)
>> Selecting previously deselected package xsane-common.
>> (Reading database ... 226990 files and directories currently installed.)
>> Unpacking xsane-common (from .../xsane-common_0.996-2ubuntu3_all.deb) ...
>> Selecting previously deselected package xsane.
>> Unpacking xsane (from .../xsane_0.996-2ubuntu3_amd64.deb) ...
>> Processing triggers for desktop-file-utils ...
>> Processing triggers for python-gmenu ...
>> Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
>> Processing triggers for menu ...
>> Processing triggers for man-db ...
>> Processing triggers for python-support ...
>> Setting up xsane-common (0.996-2ubuntu3) ...
>> Setting up xsane (0.996-2ubuntu3) ...
>>
>> Processing triggers for menu ...
>> hal:~/personal> rehash
>> hal:~/personal> xsane
>> [gt68xx] Couldn't open firmware file
>> (`/usr/share/sane/gt68xx/ccd548.fw'): No such file or directory
>>
>>
>> Then I downloaded the file ccd548.fw and I do not get the
>>
>>
>> [gt68xx] Couldn't open firmware file
>> (`/usr/share/sane/gt68xx/ccd548.fw'): No such file or directory
>>
>> message anymore.  However xsane still displays:
>>
>> Failed to open device `gt68xx:libusb:007:012`: Invalid argument
>>
>>
>> I have had this scanner working with sane in the past, any clues as to
>> what I am missing?
>>
>> thanks,
>>
>> Antonio
>>
>> --
>> sane-devel mailing list: sane-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>> Unsubscribe: Send mail with subject "unsubscribe your_password"
>>             to sane-devel-request at lists.alioth.debian.org
>>
>
>
>
> --
> "The truth is an offense, but not a sin"
>



More information about the sane-devel mailing list