[sane-devel] "device busy" CanoScanfb636u

Bernd Herholtz BerndHerholtz@t-online.de
Thu, 17 Oct 2002 22:13:25 +0200


Hello!

I have successfully scaned with sane once but next day nothing was right.
The preview picture is always there.
I have now some problems with sane and canoscanfb636u and Mandrake 9.0. My usb 
device is always "device busy"
#scanimage    sane_start: Device busy
#xscanimage   klick buttons and receive similar "Device busy"
#sane-find-scanner find scanner under dev/usb/scanner 0
I scanned successfully. But the next day i received this error-message. 
I have deinstalled usbview, usbutils, scanerdrake, harddrake, hpoj, dynamic, 
dakxconfig.
Stopped devfs, amd , and other services, but i receive always device bussy.
argument)

#sane-find-scanner-v: searching for USB scanners:
sane-find-scanner: checking /dev/usb/scanner... failed to open (Invalid 
argument)
sane-find-scanner: checking /dev/usb/scanner0... open ok, vendor and product 
ids were identified
sane-find-scanner: found USB scanner (vendor = 0x04a9, product = 0x2204) at 
device /dev/usb/scanner0
sane-find-scanner: checking /dev/usb/scanner1... failed to open (Invalid 
argument)
sane-find-scanner: checking /dev/usb/s...........

#cat /proc/bus/usb 
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB OHCI Root Hub
S:  SerialNumber=d1095000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=04a9 ProdID=2204 Rev= 0.01
S:  Product=CanoScan FB630U
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=10(unk. ) Sub=01 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms


Parts of my #dmesg
sb.c: registered new driver hub
PCI: Assigned IRQ 11 for device 00:02.0
usb-ohci.c: USB OHCI at membase 0xd1095000, IRQ 11
usb-ohci.c: usb-00:02.0, Acer Laboratories Inc. [ALi] M5237 USB
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: USB new device connect on bus1/2, assigned device number 2
usb.c: USB device 2 (vend/prod 0x4a9/0x2204) is not claimed by any active 
driver.
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
IPVS: ipvs loaded.
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
lp0: using parport0 (polling).
lp0: compatibility mode

Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: ESS ES1869 Plug and Play AudioDrive detected
sb: ISAPnP reports 'ESS ES1869 Plug and Play AudioDrive' at i/o 0x220, irq 5, 
dma 1, 3
SB 3.01 detected OK (220)
ESS chip ES1869 detected

#var/log/messages   (Parts)

RAM disks of 32000K size 1024 blocksize
Oct 17 19:20:18 localhost kernel: md: md driver 0.90.0 MAX_MD_DEVS=256, 
MD_SB_DISKS=27
Oct 17 19:20:18 localhost kernel: md: Autodetecting RAID arrays.
Oct 17 19:20:18 localhost kernel: md: autorun ...
Oct 17 19:20:18 localhost kernel: md: ... autorun DONE.
Oct 17 19:20:18 localhost kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Oct 17 19:20:18 localhost kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Oct 17 19:20:18 localhost kernel: IP: routing cache hash table of 2048 
buckets, 16Kbytes
Oct 17 19:20:18 localhost kernel: TCP: Hash tables configured (established 
16384 bind 32768)
Oct 17 19:20:18 localhost kernel: Linux IP multicast router 0.06 plus PIM-SM
Oct 17 19:20:18 localhost kernel: NET4: Unix domain sockets 1.0/SMP for Linux 
NET4.0.
Oct 17 19:20:18 localhost kernel: RAMDISK: Compressed image found at block 0
Oct 17 19:20:18 localhost kernel: Freeing initrd memory: 184k freed
Oct 17 19:20:18 localhost kernel: VFS: Mounted root (ext2 filesystem).
Oct 17 19:20:18 localhost kernel: Mounted devfs on /dev
Oct 17 19:20:18 localhost kernel: SCSI subsystem driver Revision: 1.00
Oct 17 19:20:18 localhost kernel: Journalled Block Device driver loaded
Oct 17 19:20:18 localhost kernel: kjournald starting.  Commit interval 5 
seconds
Oct 17 19:20:18 localhost kernel: EXT3-fs: mounted filesystem with ordered 
data mode.
Oct 17 19:20:18 localhost kernel: Mounted devfs on /dev
Oct 17 19:20:18 localhost kernel: Freeing unused kernel memory: 136k freed
Oct 17 19:20:18 localhost kernel: Real Time Clock Driver v1.10e
Oct 17 19:20:18 localhost kernel: usb.c: registered new driver usbdevfs
Oct 17 19:20:18 localhost kernel: usb.c: registered new driver hub
Oct 17 19:20:18 localhost kernel: PCI: Assigned IRQ 11 for device 00:02.0
Oct 17 19:20:18 localhost kernel: usb-ohci.c: USB OHCI at membase 0xd105a000, 
IRQ 11
Oct 17 19:20:18 localhost kernel: usb-ohci.c: usb-00:02.0, Acer Laboratories 
Inc. [ALi] USB 1.1 Controller
Oct 17 19:20:18 localhost kernel: usb.c: new USB bus registered, assigned bus 
number 1
Oct 17 19:20:18 localhost kernel: hub.c: USB hub found
Oct 17 19:20:18 localhost kernel: hub.c: 2 ports detected
Oct 17 19:20:18 localhost kernel: usbdevfs: remount parameter error
Oct 17 19:20:18 localhost kernel: EXT3 FS 2.4-0.9.17, 10 Jan 2002 on 
ide0(3,5), internal journal
Oct 17 19:20:18 localhost kernel: hub.c: USB new device connect on bus1/2, 
assigned device number 2
Oct 17 19:20:18 localhost kernel: usb.c: USB device 2 (vend/prod 0x4a9/0x2204) 
is not claimed by any active driver.
Oct 17 19:20:18 localhost kernel: Adding Swap: 178880k swap-space (priority 
-1)
Oct 17 19:20:18 localhost kernel: Initializing USB Mass Storage driver...
Oct 17 19:20:18 localhost kernel: usb.c: registered new driver usb-storage
Oct 17 19:20:18 localhost kernel: USB Mass Storage support registered.
Oct 17 19:20:18 localhost kernel: scsi0 : SCSI host adapter emulation for IDE 
ATAPI devices
Oct 17 19:20:18 localhost kernel:   Vendor: LG        Model: CD-RW CED-8080B   
Rev: 1.05
Oct 17 19:20:18 localhost kernel:   Type:   CD-ROM                             
ANSI SCSI revision: 02
Oct 17 19:20:18 localhost kernel: hdh: ATAPI 32X CD-ROM drive, 120kB Cache
Oct 17 19:20:18 localhost kernel: Uniform CD-ROM driver Revision: 3.12
Oct 17 19:20:18 localhost kernel: kjournald starting.  Commit interval 5 
seconds
Oct 17 19:20:18 localhost kernel: EXT3 FS 2.4-0.9.17, 10 Jan 2002 on 
ide0(3,6), internal journal
Oct 17 19:20:18 localhost kernel: EXT3-fs: mounted filesystem with ordered 
data mode.
Oct 17 19:20:18 localhost kernel: MSDOS FS: IO charset iso8859-15
Oct 17 19:20:18 localhost kernel: MSDOS FS: Using codepage 850
Oct 17 19:20:18 localhost kernel: kjournald start
..................
user=root
Okt 17 19:31:36 localhost su(pam_unix)[1739]: session opened for user root by 
bernd(uid=501)
Oct 17 19:34:35 localhost kernel: usb.c: registered new driver usbscanner
Oct 17 19:34:35 localhost kernel: scanner.c: probe_scanner: User specified USB 
scanner -- Vendor:Product - 4a9:2204
Oct 17 19:34:35 localhost kernel: scanner.c: 0.4.6:USB Scanner Driver
Okt 17 19:34:47 localhost su(pam_unix)[1

Please help me.
I don't know the cause for this message "device busy"
Before i start xsane i type #modeprobe scanner or
# /sbin/insmod /lib/modules/2.4.19-16mdk/kernel/drivers/usb/scanner.o.gz 
vendor=0x04a9 product=0x2204

Bye

Bernd