LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-20-2005, 11:40 PM   #1
Neeko
LQ Newbie
 
Registered: Feb 2005
Location: Palmerston North, New Zealand
Distribution: Yoper
Posts: 1

Rep: Reputation: 0
Unhappy Canon N640P EX & Xsane don't work


Hi there,
I have one of these Canon N640P parallel port scanners which I cant get to work in xsane or kooka.

All sane tests pass ok using the test backend.

I have made the changes to canon_pp as in the instructions, and made sure that users have permissions on /dev/parport0 without success.

Even loggin in as root will not get the sucker to work.

Here is the ouput of scanimage -L:

john@yos ~ $ export SANE_DEBUG_CANON_PP=100
john@yos ~ $ scanimage -L
[sanei_debug] Setting debug level of canon_pp to 100.
[canon_pp] >> sane_init(0xbfff6690, 0x8049350): sane-backends 1.0.14-cvs
[canon_pp] sane_init: >> ieee1284_find_ports
[canon_pp] sane_init: 0 << ieee1284_find_ports
[canon_pp] sane_init: 1 parallel port(s) found.
[canon_pp] sane_init: port parport0
[canon_pp] >> init_device
[canon_pp] init_device: [configuring options]
[canon_pp] init_device: configuring opt: num_options
[canon_pp] init_device: configuring opt: resolution
[canon_pp] init_device: configuring opt: colour mode
[canon_pp] init_device: configuring opt: bit depth
[canon_pp] init_device: configuring opt: tl-x
[canon_pp] init_device: configuring opt: tl-y
[canon_pp] init_device: configuring opt: br-x
[canon_pp] init_device: configuring opt: br-y
[canon_pp] init_device: configuring opt: calibrate
[canon_pp] init_device: done opts
[canon_pp] << init_device
[canon_pp] sane_init: ># Define which port to use if one isn't specified - you should only have<
[canon_pp] sane_init: ># one of these lines!<
[canon_pp] sane_init: ># This is the default port to be used - others will be detected<
[canon_pp] sane_init: >ieee1284 parport0<
[canon_pp] sane_init: Successfully parsed default scanner.
[canon_pp] sane_init: ><
[canon_pp] sane_init: ><
[canon_pp] sane_init: ># Define the location of our pixel weight file, can begin with ~/ if needed.<
[canon_pp] sane_init: ># You can have as many of these as you like - lines withports that don't exist<
[canon_pp] sane_init: ><
[canon_pp] sane_init: ># will be ignored.<
[canon_pp] sane_init: >#<
[canon_pp] sane_init: ># Parameters are:<
[canon_pp] sane_init: ># calibrate /path/to/calibration-file port-name<
[canon_pp] sane_init: >#<
[canon_pp] sane_init: ># The format of port-name is dependant on your OS version.<
[canon_pp] sane_init: >#<
[canon_pp] sane_init: ># If a file isn't speficied, the default name will be<
[canon_pp] sane_init: ># ~/.sane/canon_pp-calibration-[port-name]<
[canon_pp] sane_init: ><
[canon_pp] sane_init: >calibrate ~/.sane/canon_pp-calibration-pp0 parport0<
[canon_pp] sane_init: calibrate line, calibrate ~/.sane/canon_pp-calibration-pp0 parport0
[canon_pp] sane_init: Finding scanner on port 'parport0'
[canon_pp] sane_init: Found!
[canon_pp] sane_init: Parsed cal, for port 'parport0', weight file is '~/.sane/canon_pp-calibration-pp0'.
[canon_pp] sane_init: ><
[canon_pp] sane_init: ># calibrate /etc/sane/my_calibration 378<
[canon_pp] sane_init: ><
[canon_pp] sane_init: ><
[canon_pp] sane_init: ># Enable the next line if you're having trouble with ECPmode such as I/O<
[canon_pp] sane_init: ># errors. Nibble mode is slower, but more reliable.<
[canon_pp] sane_init: ><
[canon_pp] sane_init: >#force_nibble<
[canon_pp] sane_init: ><
[canon_pp] sane_init: ># Set a default initialisation mode for each port. Valid modes are:<
[canon_pp] sane_init: ># AUTO (attempts to automatically detect by trying both methods)<
[canon_pp] sane_init: ># FB620P (10101010 style.. also works for FB320P)<
[canon_pp] sane_init: ># FB630P (11001100 style.. also works for FB330P, N340P,N640P)<
[canon_pp] sane_init: ><
[canon_pp] sane_init: >init_mode AUTO parport0<
[canon_pp] sane_init: Parsed init.
[canon_pp] sane_init: ><
[canon_pp] sane_init: ># init_mode FB620P parport0<
[canon_pp] sane_init: >#init_mode FB630P parport0<
[canon_pp] sane_init: >#usb<
[canon_pp] sane_init: ><
[canon_pp] detect_mode: Opening port parport0
[canon_pp] detect_mode: Claiming port.
[canon_pp] detect_mode: Port supports ECP-S.
[canon_pp] detect_mode: Port supports interrupts.
[canon_pp] detect_mode: Using ECP-S Mode
[canon_pp] sane_init: >> initialise
[canon_pp] Scanner not ready (0xb). Attempting to reset...
[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: Scanner wakeup reply 2 (0x03 in 0x1f) - Status = 0x1f
[canon_pp] Had to reset scanner, waiting for the head to get back.
[canon_pp] initialise: >> scanner_init
[canon_pp] NEW Send Command (length 10):
[canon_pp] << write[canon_pp] -> ieee_transfer(2) *
[canon_pp] IEEE transfer (2 bytes)
[canon_pp] <- (-8)
[canon_pp] Couldn't read enough data (need 2 more of 2)
[canon_pp] NEW Send Command (length 10):
[canon_pp] << write[canon_pp] Timeout: Read Data 1 (0x00 in 0x01) - Status = 0x07
[canon_pp] Error 1
[canon_pp] initialise: Could not init 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 (0xbfff66c8, 0)
[canon_pp] << sane_get_devices

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[canon_pp] >> sane_exit
[canon_pp] << sane_exit

**Edit**
Just found this in dmesg:

parport: IEEE1284 not supported in this kernel
parport: IEEE1284 not supported in this kernel
parport: IEEE1284 not supported in this kernel
parport: IEEE1284 not supported in this kernel
parport: IEEE1284 not supported in this kernel
parport: IEEE1284 not supported in this kernel
parport: IEEE1284 not supported in this kernel
parport: IEEE1284 not supported in this kernel
ppdev0: negotiated back to compatibility mode because user-space forgot
ppdev0: unregistered pardevice

Can someone give me a clue to fixing this?

Thanks
N

Last edited by Neeko; 02-21-2005 at 12:22 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
canoscan fb630P, xsane & parport prmissions linmix Linux - Software 1 03-01-2006 02:45 AM
xsane don't detected canon N1220U scanner rosariowong Slackware 6 09-28-2004 11:16 AM
Canon 650U XSane Greenish Image kk_yap Linux - Newbie 2 09-25-2004 04:14 AM
Scanner/xsane/vuescan nothing wants to work kak Linux - Hardware 8 08-28-2004 04:10 PM
Epson N1240U -- xsane & permissions psychoholic Linux - Hardware 1 08-24-2003 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration