Announcement

Collapse
No announcement yet.

scanner not working after upgrade to Dapper

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    scanner not working after upgrade to Dapper

    My Epson 3170 scanner was working fine before my upgrade to Dapper. It now won't work. I had reinstalled the iscan and iscan plugin files from epkowa. When I do sane-find-scanner, it finds it on libusb:003:002. However, scanimage doesn't see the scanner. Any ideas?

    #2
    Re: scanner not working after upgrade to Dapper

    Had you recently powered up your scanner? I find mine shows up in sane-find-scanner a few minutes (!) before it'll actually work. (Of course, I use it infrequently enough that I forget, and get all confused about why it's not working...).

    Another thing you could check is if /proc/bus/usb/003/002 is read/writable by your user. (sudo chown <your username> /proc/bus/usb/003/002 if not)

    Comment


      #3
      Re: scanner not working after upgrade to Dapper

      Strange...I did another sane-find-scanner and I got this...

      found USB scanner (vendor=0x04b8, product=0x0116) at libusb:006:003

      I didn't touch anything so why am I getting a different result?

      Comment


        #4
        Re: scanner not working after upgrade to Dapper

        Well, the first number is the bus number. I'd expect this to stay constant if the device is plugged into the same USB port on your computer. The second number is the device number, which is likely to change as it's allocated sequentially, but can be reused (ie. the first device plugged in is 001, next is 002, but if you unplug that and plug another in, it might be 003 or 002, depending on whether the kernel decides to reuse the number or not. Also note that bumping the power cable to powered USB devices can be the same as unplugging it, so sometimes that can cause the device number to be reallocated...)

        As far as I can see, there's no entry for your scanner in the default dapper udev rules, so you might want to add one so that it automatically gets the right permissions when it's detected.

        I recommend adding a new file to /etc/udev (rather than editing an existing one; this way it won't get lost in an update):
        sudo kate /etc/udev/99-epsonscanner.rules

        Add these two lines (sorry, the second one probably wraps):
        # Epson Corp.|Perfection 3170
        SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="0116", MODE="664", GROUP="scanner"

        and save it. Now when you plug it in next it'll have the right permissions. You may still need to tell your scanning program to rescan to find it each time, but you'll save yourself the chmod step.

        (You can file a bug against libsane to suggest they add those lines to the 45-libsane.rules file.)

        Comment


          #5
          Re: scanner not working after upgrade to Dapper

          I gave it a try but I'm still getting the "cannot send command to scanner" error and scanimage still reports that there are no scanners attached. Perhaps I don't have the right files installed. I don't know if I need all of these but this is what I have:

          sane
          libsane
          sane-utils
          iscan
          iscan-plugin-gt

          I've also edited the epkowa.conf file to include "usb 0x04b8 0x0116. Am I missing something here?

          Comment


            #6
            Re: scanner not working after upgrade to Dapper

            I have some other information. First, I did a clean install from the CD. I don't know if that information helps but I figure that the install reset a file that I previously had modified. Another bit of information is that when I try to start iscan from the console, I get this output:

            alex@Kubuntu:~$ iscan
            X Error: BadDevice, invalid or uninitialized input device 168
            Major opcode: 145
            Minor opcode: 3
            Resource id: 0x0
            Failed to open device
            X Error: BadDevice, invalid or uninitialized input device 168
            Major opcode: 145
            Minor opcode: 3
            Resource id: 0x0
            Failed to open device

            I hope that someone has other suggestions for me because this is getting pretty frustrating!

            Comment


              #7
              Re: scanner not working after upgrade to Dapper

              Don't worry about those messages (See this post: http://kubuntuforums.net/forums/index.php?topic=5772.0 ).

              What would be useful is the output of these commands:
              dmesg
              sane-find-scanner
              ls -l /proc/bus/usb/003/002 (or wherever sane-find-scanner says your scanner is)
              groups

              Comment


                #8
                Re: scanner not working after upgrade to Dapper

                Okay, here is the output for each command:

                dmesg

                4294667.296000] Linux version 2.6.15-23-386 (buildd@rothera) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 PREEMPT Tue May 23 13:49:40 UTC 2006
                [4294667.296000] BIOS-provided physical RAM map:
                [4294667.296000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
                [4294667.296000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
                [4294667.296000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
                [4294667.296000] BIOS-e820: 0000000000100000 - 000000000fff0000 (usable)
                [4294667.296000] BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS)
                [4294667.296000] BIOS-e820: 000000000fff3000 - 0000000010000000 (ACPI data)
                [4294667.296000] BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
                [4294667.296000] 0MB HIGHMEM available.
                [4294667.296000] 255MB LOWMEM available.
                [4294667.296000] On node 0 totalpages: 65520
                [4294667.296000] DMA zone: 4096 pages, LIFO batch:0
                [4294667.296000] DMA32 zone: 0 pages, LIFO batch:0
                [4294667.296000] Normal zone: 61424 pages, LIFO batch:15
                [4294667.296000] HighMem zone: 0 pages, LIFO batch:0
                [4294667.296000] DMI 2.3 present.
                [4294667.296000] ACPI: RSDP (v000 FIC ) @ 0x000f7e20
                [4294667.296000] ACPI: RSDT (v001 FIC AZ11E 0x42302e31 AWRD 0x00000000) @ 0x0fff3000
                [4294667.296000] ACPI: FADT (v001 FIC AZ11E 0x42302e31 AWRD 0x00000000) @ 0x0fff3040
                [4294667.296000] ACPI: DSDT (v001 FIC AZ11E 0x00001000 MSFT 0x0100000c) @ 0x00000000
                [4294667.296000] ACPI: PM-Timer IO Port: 0x4008
                [4294667.296000] Allocating PCI resources starting at 20000000 (gap: 10000000:efff0000)
                [4294667.296000] Built 1 zonelists
                [4294667.296000] Kernel command line: root=/dev/hda1 ro quiet splash
                [4294667.296000] Local APIC disabled by BIOS (or by default) -- you can enable it with "lapic"
                [4294667.296000] mapped APIC to ffffd000 (01201000)
                [4294667.296000] Initializing CPU#0
                [4294667.296000] PID hash table entries: 1024 (order: 10, 16384 bytes)
                [4294667.296000] Detected 1000.406 MHz processor.
                [4294667.296000] Using pmtmr for high-res timesource
                [4294667.296000] Console: colour VGA+ 80x25
                [4294669.659000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
                [4294669.660000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
                [4294669.676000] Memory: 248884k/262080k available (1976k kernel code, 12572k reserved, 606k data, 288k init, 0k highmem)
                [4294669.676000] Checking if this processor honours the WP bit even in supervisor mode... Ok.
                [4294669.737000] Calibrating delay using timer specific routine.. 2001.88 BogoMIPS (lpj=1000941)
                [4294669.737000] Security Framework v1.0.0 initialized
                [4294669.737000] SELinux: Disabled at boot.
                [4294669.737000] Mount-cache hash table entries: 512
                [4294669.737000] CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000
                [4294669.737000] CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000
                [4294669.737000] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
                [4294669.737000] CPU: L2 Cache: 256K (64 bytes/line)
                [4294669.737000] CPU: After all inits, caps: 0183f9ff c1c7f9ff 00000000 00000020 00000000 00000000 00000000
                [4294669.737000] mtrr: v2.0 (20020519)
                [4294669.737000] CPU: AMD Athlon(tm) Processor stepping 02
                [4294669.737000] Enabling fast FPU save and restore... done.
                [4294669.737000] Checking 'hlt' instruction... OK.
                [4294669.741000] checking if image is initramfs... it is
                [4294670.868000] Freeing initrd memory: 6834k freed
                [4294670.898000] ACPI: Looking for DSDT ... not found!
                [4294670.900000] ACPI: setting ELCR to 0200 (from 0e28)
                [4294670.903000] NET: Registered protocol family 16
                [4294670.903000] EISA bus registered
                [4294670.903000] ACPI: bus type pci registered
                [4294670.927000] PCI: PCI BIOS revision 2.10 entry at 0xfb2d0, last bus=1
                [4294670.927000] PCI: Using configuration type 1
                [4294670.928000] ACPI: Subsystem revision 20051216
                [4294670.939000] ACPI: Interpreter enabled
                [4294670.939000] ACPI: Using PIC for interrupt routing
                [4294670.940000] ACPI: PCI Root Bridge [PCI0] (0000:00)
                [4294670.940000] PCI: Probing PCI hardware (bus 00)
                [4294670.941000] ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
                [4294670.943000] Disabling VIA memory write queue (PCI ID 0305, rev 03): [55] 89 & 1f -> 09
                [4294670.944000] PCI quirk: region 6000-607f claimed by vt82c686 HW-mon
                [4294670.944000] PCI quirk: region 5000-500f claimed by vt82c686 SMB
                [4294670.944000] Boot video device is 0000:01:00.0
                [4294670.944000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
                [4294670.983000] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
                [4294670.983000] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 *5 6 7 10 11 12 14 15)
                [4294670.984000] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
                [4294670.984000] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 *3 4 5 6 7 10 11 12 14 15)
                [4294670.989000] Linux Plug and Play Support v0.97 (c) Adam Belay
                [4294670.989000] pnp: PnP ACPI init
                [4294670.994000] pnp: PnP ACPI: found 11 devices
                [4294670.994000] PnPBIOS: Disabled by ACPI PNP
                [4294670.994000] PCI: Using ACPI for IRQ routing
                [4294670.994000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
                [4294671.026000] PCI: Bridge: 0000:00:01.0
                [4294671.026000] IO window: c000-cfff
                [4294671.026000] MEM window: d8000000-d9ffffff
                [4294671.026000] PREFETCH window: d4000000-d7ffffff
                [4294671.026000] PCI: Setting latency timer of device 0000:00:01.0 to 64
                [4294671.027000] audit: initializing netlink socket (disabled)
                [4294671.027000] audit(1149950501.026:1): initialized
                [4294671.027000] VFS: Disk quotas dquot_6.5.1
                [4294671.027000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
                [4294671.027000] Initializing Cryptographic API
                [4294671.027000] io scheduler noop registered
                [4294671.027000] io scheduler anticipatory registered
                [4294671.027000] io scheduler deadline registered
                [4294671.027000] io scheduler cfq registered
                [4294671.027000] Applying VIA southbridge workaround.
                [4294671.027000] PCI: Disabling Via external APIC routing
                [4294671.027000] isapnp: Scanning for PnP cards...
                [4294671.385000] isapnp: No Plug & Play device found
                [4294671.408000] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
                [4294671.409000] serio: i8042 AUX port at 0x60,0x64 irq 12
                [4294671.409000] serio: i8042 KBD port at 0x60,0x64 irq 1
                [4294671.409000] Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
                [4294671.409000] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
                [4294671.412000] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
                [4294671.413000] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
                [4294671.413000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
                [4294671.413000] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
                [4294671.413000] mice: PS/2 mouse device common for all mice
                [4294671.414000] EISA: Probing bus 0 at eisa.0
                [4294671.414000] Cannot allocate resource for EISA slot 4
                [4294671.414000] Cannot allocate resource for EISA slot 5
                [4294671.414000] Cannot allocate resource for EISA slot 6
                [4294671.414000] EISA: Detected 0 cards.
                [4294671.414000] NET: Registered protocol family 2
                [4294671.424000] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
                [4294671.424000] TCP established hash table entries: 16384 (order: 4, 65536 bytes)
                [4294671.424000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
                [4294671.424000] TCP: Hash tables configured (established 16384 bind 16384)
                [4294671.425000] TCP reno registered
                [4294671.425000] TCP bic registered
                [4294671.425000] NET: Registered protocol family 1
                [4294671.425000] NET: Registered protocol family 8
                [4294671.425000] NET: Registered protocol family 20
                [4294671.425000] Using IPI Shortcut mode
                [4294671.425000] ACPI wakeup devices:
                [4294671.425000] SLPB PCI0 USB0 USB1 MODM UAR1 LPT1
                [4294671.425000] ACPI: (supports S0 S1 S4 S5)
                [4294671.425000] Freeing unused kernel memory: 288k freed
                [4294671.445000] input: AT Translated Set 2 keyboard as /class/input/input0
                [4294671.519000] vga16fb: initializing
                [4294671.519000] vga16fb: mapped to 0xc00a0000
                [4294671.579000] Console: switching to colour frame buffer device 80x25
                [4294671.579000] fb0: VGA16 VGA frame buffer device
                [4294672.684000] Capability LSM initialized
                [4294672.750000] ACPI: CPU0 (power states: C1[C1] C2[C2])
                [4294672.750000] ACPI: Processor [CPU0] (supports 2 throttling states)
                [4294673.690000] VP_IDE: IDE controller at PCI slot 0000:00:07.1
                [4294673.690000] PCI: Via IRQ fixup for 0000:00:07.1, from 255 to 0
                [4294673.690000] VP_IDE: chipset revision 6
                [4294673.690000] VP_IDE: not 100% native mode: will probe irqs later
                [4294673.690000] VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
                [4294673.690000] ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hdaMA, hdbio
                [4294673.690000] ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdcio, hddMA
                [4294673.690000] Probing IDE interface ide0...
                [4294674.076000] hda: WDC WD400BB-00AUA1, ATA DISK drive
                [4294674.689000] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
                [4294674.690000] Probing IDE interface ide1...
                [4294675.736000] hdd: MAT****A CD-RW CW-7586, ATAPI CD/DVD-ROM drive
                [4294675.787000] ide1 at 0x170-0x177,0x376 on irq 15
                [4294675.800000] hda: max request size: 128KiB
                [4294675.818000] hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
                [4294675.818000] hda: cache flushes not supported
                [4294675.818000] hda: hda1 hda2 < hda5 > hda3
                [4294675.856000] hdd: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
                [4294675.856000] Uniform CD-ROM driver Revision: 3.20
                [4294676.160000] usbcore: registered new driver usbfs
                [4294676.161000] usbcore: registered new driver hub
                [4294676.164000] **** SET: Misaligned resource pointer: cebf16e2 Type 07 Len 0
                [4294676.165000] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 3
                [4294676.165000] PCI: setting IRQ 3 as level-triggered
                [4294676.165000] ACPI: PCI Interrupt 0000:00:0b.3[A] -> Link [LNKD] -> GSI 3 (level, low) -> IRQ 3
                [4294676.165000] ehci_hcd 0000:00:0b.3: EHCI Host Controller
                [4294676.165000] ehci_hcd 0000:00:0b.3: debug port 1
                [4294676.181000] USB Universal Host Controller Interface driver v2.3
                [4294676.181000] ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI 3 (level, low) -> IRQ 3
                [4294676.181000] uhci_hcd 0000:00:07.2: UHCI Host Controller
                [4294676.182000] uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
                [4294676.182000] uhci_hcd 0000:00:07.2: irq 3, io base 0x0000d400
                [4294676.183000] hub 1-0:1.0: USB hub found
                [4294676.183000] hub 1-0:1.0: 2 ports detected
                [4294676.219000] ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
                [4294676.284000] ACPI: PCI Interrupt 0000:00:07.3[D] -> Link [LNKD] -> GSI 3 (level, low) -> IRQ 3
                [4294676.284000] uhci_hcd 0000:00:07.3: UHCI Host Controller
                [4294676.284000] uhci_hcd 0000:00:07.3: new USB bus registered, assigned bus number 2
                [4294676.284000] uhci_hcd 0000:00:07.3: irq 3, io base 0x0000d800
                [4294676.285000] hub 2-0:1.0: USB hub found
                [4294676.285000] hub 2-0:1.0: 2 ports detected
                [4294676.386000] ehci_hcd 0000:00:0b.3: new USB bus registered, assigned bus number 3
                [4294676.386000] ehci_hcd 0000:00:0b.3: irq 3, io mem 0xdb004000
                [4294676.386000] ehci_hcd 0000:00:0b.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
                [4294676.386000] hub 3-0:1.0: USB hub found
                [4294676.386000] hub 3-0:1.0: 6 ports detected
                [4294676.386000] **** SET: Misaligned resource pointer: cfab6e02 Type 07 Len 0
                [4294676.387000] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
                [4294676.387000] PCI: setting IRQ 10 as level-triggered
                [4294676.387000] ACPI: PCI Interrupt 0000:00:0b.0[B] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
                [4294676.387000] ohci_hcd 0000:00:0b.0: OHCI Host Controller
                [4294676.488000] ohci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 4
                [4294676.488000] ohci_hcd 0000:00:0b.0: irq 10, io mem 0xdb001000
                [4294676.541000] hub 4-0:1.0: USB hub found
                [4294676.541000] hub 4-0:1.0: 2 ports detected
                [4294676.642000] **** SET: Misaligned resource pointer: cfab6a02 Type 07 Len 0
                [4294676.643000] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
                [4294676.643000] PCI: setting IRQ 5 as level-triggered
                [4294676.643000] ACPI: PCI Interrupt 0000:00:0b.1[C] -> Link [LNKB] -> GSI 5 (level, low) -> IRQ 5
                [4294676.643000] ohci_hcd 0000:00:0b.1: OHCI Host Controller
                [4294676.643000] ohci_hcd 0000:00:0b.1: new USB bus registered, assigned bus number 5
                [4294676.643000] ohci_hcd 0000:00:0b.1: irq 5, io mem 0xdb002000
                [4294676.696000] hub 5-0:1.0: USB hub found
                [4294676.696000] hub 5-0:1.0: 2 ports detected
                [4294676.797000] **** SET: Misaligned resource pointer: cfab6702 Type 07 Len 0
                [4294676.797000] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
                [4294676.797000] PCI: setting IRQ 11 as level-triggered
                [4294676.797000] ACPI: PCI Interrupt 0000:00:0b.2[D] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
                [4294676.797000] ohci_hcd 0000:00:0b.2: OHCI Host Controller
                [4294676.798000] ohci_hcd 0000:00:0b.2: new USB bus registered, assigned bus number 6
                [4294676.798000] ohci_hcd 0000:00:0b.2: irq 11, io mem 0xdb003000
                [4294676.851000] hub 6-0:1.0: USB hub found
                [4294676.851000] hub 6-0:1.0: 2 ports detected
                [4294676.906000] usb 3-6: new high speed USB device using ehci_hcd and address 2
                [4294677.090000] Attempting manual resume
                [4294677.123000] EXT3-fs: mounted filesystem with ordered data mode.
                [4294677.126000] kjournald starting. Commit interval 5 seconds
                [4294691.774000] parport_pc: VIA 686A/8231 detected
                [4294691.774000] parport_pc: probing current configuration
                [4294691.774000] parport_pc: Current parallel port base: 0x378
                [4294691.774000] parport0: PC-style at 0x378, irq 7 [PCSPP,EPP]
                [4294691.782000] parport0: Legacy device
                [4294691.782000] parport_pc: VIA parallel port: io=0x378, irq=7
                [4294691.792000] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
                [4294691.814000] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
                [4294691.838000] Linux agpgart interface v0.101 (c) Dave Jones
                [4294691.842000] agpgart: Detected VIA Twister-K/KT133x/KM133 chipset
                [4294691.848000] agpgart: AGP aperture is 64M @ 0xd0000000
                [4294692.686000] ACPI: PCI Interrupt 0000:00:07.5[C] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
                [4294692.686000] PCI: Setting latency timer of device 0000:00:07.5 to 64
                [4294693.392000] Linux Tulip driver version 1.1.13 (December 15, 2004)
                [4294693.393000] ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
                [4294693.393000] tulip0: MII transceiver #1 config 1000 status 786d advertising 05e1.
                [4294693.397000] eth0: ADMtek Comet rev 17 at 0001ec00, 00:0C:41:1B:8B:36, IRQ 11.
                [4294693.947000] input: PC Speaker as /class/input/input1
                [4294694.160000] Real Time Clock Driver v1.12
                [4294694.960000] input: ImPS/2 Generic Wheel Mouse as /class/input/input2
                [4294695.162000] Floppy drive(s): fd0 is 1.44M
                [4294695.176000] FDC 0 is a post-1991 82077
                [4294695.182000] ts: Compaq touchscreen protocol output
                [4294696.143000] lp0: using parport0 (interrupt-driven).
                [4294696.251000] Adding 746980k swap on /dev/hda5. Priority:-1 extents:1 across:746980k
                [4294696.398000] EXT3 FS on hda1, internal journal
                [4294696.667000] md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
                [4294696.667000] md: bitmap version 4.39
                [4294697.324000] NET: Registered protocol family 17
                [4294697.441000] device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
                [4294698.084000] cdrom: open failed.
                [4294698.554000] kjournald starting. Commit interval 5 seconds
                [4294698.555000] EXT3 FS on hda3, internal journal
                [4294698.555000] EXT3-fs: mounted filesystem with ordered data mode.
                [4294699.020000] 0000:00:0a.0: tulip_stop_rxtx() failed (CSR5 0xfc664010 CSR6 0xff972113)
                [4294699.020000] eth0: Setting full-duplex based on MII#1 link partner capability of 41e1.
                [4294702.450000] NET: Registered protocol family 10
                [4294702.450000] lo: Disabled Privacy Extensions
                [4294702.450000] IPv6 over IPv4 tunneling driver
                [4294706.220000] ACPI: Power Button (FF) [PWRF]
                [4294706.220000] ACPI: Power Button (CM) [PWRB]
                [4294706.220000] ACPI: Sleep Button (CM) [SLPB]
                [4294706.418000] ibm_acpi: ec object not found
                [4294706.460000] pcc_acpi: loading...
                [4294707.204000] powernow: No powernow capabilities detected
                [4294709.232000] ppdev: user-space parallel port driver
                [4294709.646000] apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
                [4294709.646000] apm: overridden by ACPI.
                [4294712.516000] eth0: no IPv6 routers present
                [4294713.681000] Bluetooth: Core ver 2.8
                [4294713.681000] NET: Registered protocol family 31
                [4294713.681000] Bluetooth: HCI device and connection manager initialized
                [4294713.681000] Bluetooth: HCI socket layer initialized
                [4294713.737000] Bluetooth: L2CAP ver 2.8
                [4294713.737000] Bluetooth: L2CAP socket layer initialized
                [4294713.752000] Bluetooth: RFCOMM socket layer initialized
                [4294713.752000] Bluetooth: RFCOMM TTY layer initialized
                [4294713.752000] Bluetooth: RFCOMM ver 1.7
                [4294717.795000] [drm] Initialized drm 1.0.1 20051102
                [4294717.808000] ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
                [4294717.810000] [drm] Initialized r128 2.5.0 20030725 on minor 0
                [4294717.812000] agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
                [4294717.812000] agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
                [4294717.812000] agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode


                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.
                # Also you need support for SCSI Generic (sg) in your operating system.
                # If using Linux, try "modprobe sg".

                found USB scanner (vendor=0x04b8, product=0x0116) at libusb:003: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.

                ls -l /proc/bus/usb/003/002

                -rw-r--r-- 1 root root 50 2006-06-10 07:41 /proc/bus/usb/003/002


                groups

                alex adm dialout cdrom floppy audio dip video plugdev lpadmin scanner admin dette


                Comment


                  #9
                  Re: scanner not working after upgrade to Dapper

                  Seems you still don't have the right permissions on the file in /proc. You can do:
                  sudo chgrp scanner /proc/bus/usb/003/002
                  sudo chmod 664 /proc/bus/usb/003/002

                  but I thought that udev rules file mod should have done this automatically. (This way you'll need to issue those two commands after every reboot.)

                  Comment


                    #10
                    Re: scanner not working after upgrade to Dapper

                    I tried the commands and I got a strange result. After changing permissions, I tried "iscan" but I got the same result (cannot send command to scanner). I tried "sudo iscan" and nothing happened (not even the "cannot send..." error) for about 30 seconds. I closed the session and then "iscan" ran. However, my scanner didn't start up. When I clicked on the preview button, I then got the "cannot send command..." error message.

                    Here is the output from sane-find-scanner:

                    found USB scanner (vendor=0x04b8, product=0x0116) at libusb:003:002

                    Here is the output from ls -l /proc/bus/usb/003/002

                    -rw-rw-r-- 1 root scanner 50 2006-06-10 09:42 /proc/bus/usb/003/002



                    Comment


                      #11
                      Re: scanner not working after upgrade to Dapper

                      I'm afraid I can't help with iscan stuff, since I don't use that. (Personally, I use kooka from the kdegraphics, and that's on a non-ubuntu machine too for now.)

                      The permissions look right, since you can read/write that file since you're in the scanner group, so it's a mystery to me why iscan doesn't think it can send the command.

                      Comment


                        #12
                        Re: scanner not working after upgrade to Dapper


                        Do you know why I'm having trouble with "sudo iscan"? I expected to be asked for a password and then have the program start. Instead, it only seemed to start after I close the session. Also, are there other configuration files that I should I look at?

                        Comment


                          #13
                          Re: scanner not working after upgrade to Dapper

                          That is strange. sudo sometimes doesn't ask for a password if you've recently successfully sudo'd something, but I can see no reason it would wait for the session to be closed. Maybe it's slow to start up? I expect it downloads firmware to the scanner on startup.

                          For me (note that I have an Epson Perfection 2480, and this is from a non-ubuntu system), I have edited /etc/sane.d/snapscan.conf to include the line:
                          firmware /etc/sane.d/esfw41.bin
                          and I put the downloaded esfw41.bin (firmware file) into /etc/sane.d

                          I can't find your Epson 3170 on sane-project.org, so I don't know if yours is snapscan based too.

                          Comment


                            #14
                            Re: scanner not working after upgrade to Dapper

                            I'm not sure what is going on either. Iscan generally loads up in a few seconds so I don't think that it is loading too slowly. Is there anything else I can check to make sure that I have the proper permissions?

                            Comment


                              #15
                              Re: scanner not working after upgrade to Dapper

                              I found out some more information. It seems that I don't have a scanner module installed. Here is the output from lsmod:

                              alex@Kubuntu:/proc/bus/usb$ lsmod
                              Module Size Used by
                              r128 44032 1
                              drm 73236 2 r128
                              rfcomm 40216 0
                              l2cap 26244 5 rfcomm
                              bluetooth 49892 4 rfcomm,l2cap
                              ppdev 9220 0
                              cpufreq_userspace 4696 0
                              cpufreq_stats 5636 0
                              freq_table 4740 1 cpufreq_stats
                              cpufreq_powersave 1920 0
                              cpufreq_ondemand 6428 0
                              cpufreq_conservative 7332 0
                              video 16260 0
                              tc1100_wmi 6916 0
                              sony_acpi 5644 0
                              pcc_acpi 12416 0
                              hotkey 11556 0
                              dev_acpi 11140 0
                              container 4608 0
                              button 6672 0
                              acpi_sbs 19980 0
                              battery 9988 1 acpi_sbs
                              i2c_acpi_ec 5120 1 acpi_sbs
                              ac 5252 1 acpi_sbs
                              ipv6 265600 6
                              dm_mod 58936 1
                              md_mod 72532 0
                              lp 11844 0
                              snd_seq_dummy 3844 0
                              af_packet 22920 2
                              snd_seq_oss 33536 0
                              snd_seq_midi 9376 0
                              snd_seq_midi_event 7552 2 snd_seq_oss,snd_seq_midi
                              snd_seq 51984 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
                              snd_via82xx 28824 1
                              gameport 15496 1 snd_via82xx
                              snd_ac97_codec 92704 1 snd_via82xx
                              snd_ac97_bus 2304 1 snd_ac97_codec
                              snd_pcm_oss 53664 0
                              snd_mixer_oss 18688 1 snd_pcm_oss
                              snd_pcm 89864 3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
                              snd_timer 25220 2 snd_seq,snd_pcm
                              snd_page_alloc 10632 2 snd_via82xx,snd_pcm
                              snd_mpu401_uart 7808 1 snd_via82xx
                              snd_rawmidi 25504 2 snd_seq_midi,snd_mpu401_uart
                              snd_seq_device 8716 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd _rawmidi
                              tsdev 8000 0
                              snd 55268 13 snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd _pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu40 1_uart,snd_rawmidi,snd_seq_device
                              soundcore 10208 1 snd
                              rtc 13492 0
                              tulip 51872 0
                              parport_pc 35780 1
                              via686a 17672 0
                              i2c_isa 4992 1 via686a
                              i2c_viapro 8980 0
                              i2c_core 21904 4 i2c_acpi_ec,via686a,i2c_isa,i2c_viapro
                              shpchp 45632 0
                              pci_hotplug 29236 1 shpchp
                              floppy 62148 0
                              psmouse 36228 0
                              pcspkr 2180 0
                              serio_raw 7300 0
                              parport 36296 3 ppdev,lp,parport_pc
                              via_agp 9856 1
                              agpgart 34888 2 drm,via_agp
                              evdev 9856 1
                              ext3 135688 2
                              jbd 58772 1 ext3
                              ide_generic 1536 0
                              ohci_hcd 21892 0
                              uhci_hcd 33680 0
                              ehci_hcd 32008 0
                              usbcore 129668 4 ohci_hcd,uhci_hcd,ehci_hcd
                              ide_cd 33028 0
                              cdrom 38560 1 ide_cd
                              ide_disk 17664 4
                              via82cxxx 9988 0 [permanent]
                              generic 5124 0
                              thermal 13576 0
                              processor 23360 1 thermal
                              fan 4868 0
                              capability 5000 0
                              commoncap 7296 1 capability
                              vga16fb 13704 1
                              vgastate 10368 1 vga16fb
                              fbcon 42784 72
                              tileblit 2816 1 fbcon
                              font 8320 1 fbcon
                              bitblit 6272 1 fbcon
                              softcursor 2304 1 bitblit


                              I then tried modprobe... and I got this:

                              alex@Kubuntu:/proc/bus/usb$ modprobe scanner vendor=0x04b8 product=0x0116
                              FATAL: Module scanner not found.

                              How can I find/install the scanner module?

                              Comment

                              Working...
                              X