Much loved Kodak Duplex Scanner s1220 not seen. Any thoughts?

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
ahab4000
Level 1
Level 1
Posts: 3
Joined: Thu Feb 08, 2024 1:44 pm

Much loved Kodak Duplex Scanner s1220 not seen. Any thoughts?

Post by ahab4000 »

Mint 21.3 - Kodak duplex USB Scanner s1220 Photo / Document Feed Scanner

My Linux skill level: A few days in (poopy toddler)

Hi! I'm trying to keep this old (but perfectly fine) desktop working for my dad who was using Windows 7. We agreed on Mint and now I'm in a scanner driver goose chase to get this much loved but no longer supported by Kodak S1220 USB sheetfed scanner to work.

Scanner turned on and plugged in, (USB) I've tried these steps so far after cruising old forum pages:

- Simple-scan shows "No Scanners Detected"

- XSane says "No Devices Available"

- airscan-discover just says [devices]

- scanimage -L says "no scanners were identified"

- The thing is, I am able to find a dusty Linux TWAIN driver for it (thanks to the Wayback Machine). I've run "twaindsm.deb" with GDebi and it thinks it installed OK. No luck.

- Also ran the terminal "setup" script included with the TWAIN driver from Kodak, which says: "This script will install ALL of the software in this package. KODAK scanner software use OpenUSB and the TWAIN Data Source Manager (DSM). OpenUSB and the TWAIN DSM are distributed with this package and will be installed if necessary. OpenUSB source code can be downloaded from http://openusb.wiki.sourceforge.net TWAIN DSM source code can be downloaded from http://sourceforge.net/projects/twain-dsm. Your distribution appears to use the Debian package manager The RPM packages included on this CD will be converted using alien. Do you want to install Alien?" ((I click Yes)) Then it says "KODAK Scanner software requires QT v3.x. Searching for QT. Please wait...QT v3.x Not Found! You must have the multithreaded QT v3 libraries installed. Would you like to install QT v3 using APT?" ((I click Yes)) It goes on to say "QT v3.x Detected! Checking OpenUSB version. Please wait... Checking the TWAIN DSM version. Please wait...Copying Packages to a temporary directory...TMPDIR is not defined, using /tmp cp: cannot stat '*.rpm': No such file or directory cp: cannot stat '*.deb': No such file or directory Converting Packages using alien... Would you like to install OpenUSB using APT?" ((I click Yes)) It then concludes with " rm: cannot remove 'twaindsm*.deb': No such file or directory Installing Packages... dpkg: error: cannot access archive '*.deb': No such file or directory Press "Enter" To Exit..." No joy.

- VueScan: "VueScan didn't find a scanner connected to your computer. The supported scanners list has more useful information about your scanner. Would you like to see this?" ((I click Yes)) and search fro my Kodak 1220 scanner, VueScan suggests the i1120 would work, but, like, how, VueScan?

- SANE supported? On the list of SANE supported scanners, I found this, which was as close as I could get to my Kodak s1220:
"Kodak i1120 --- Interface? USB --- USB ID? 0x040a/0x6013 --- Status? Good --- duplex sheetfed scanner --- Back end? avision (Build: 296 (unmaintained)) --- Manpage? sane-avision"
I really appreciate any thoughts! Thank you for reading this far.

Here is my System, USB Kodak scanner in bold below:
Kernel: 5.15.0-94-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 6.0.4
tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
base: Ubuntu 22.04 jammy
Machine:
Type: Desktop System: Dell product: XPS 8700 v: N/A serial: <superuser required> Chassis:
type: 3 serial: <superuser required>
Mobo: Dell model: 0KWVT8 v: A00 serial: <superuser required> BIOS: Dell v: A02
date: 06/24/2013
CPU:
Info: quad core model: Intel Core i7-4770 bits: 64 type: MT MCP smt: enabled arch: Haswell
rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
Speed (MHz): avg: 3467 high: 3668 min/max: 800/3900 cores: 1: 3668 2: 3525 3: 3549 4: 3392
5: 3451 6: 3368 7: 3392 8: 3393 bogomips: 54276
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: NVIDIA GK106 [GeForce GTX 650 Ti] driver: nvidia v: 470.223.02 pcie: speed: 2.5 GT/s
lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:11c6 class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia
unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1024 s-dpi: 85 s-size: 765x302mm (30.1x11.9") s-diag: 822mm (32.4")
Monitor-1: DVI-D-0 pos: primary,left res: 1280x1024 hz: 60 dpi: 86
size: 376x301mm (14.8x11.9") diag: 482mm (19")
Monitor-2: DVI-I-1 pos: right res: 1280x1024 hz: 60 dpi: 86 size: 376x301mm (14.8x11.9")
diag: 482mm (19")
OpenGL: renderer: NVIDIA GeForce GTX 650 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 470.223.02
direct render: Yes
Audio:
Device-1: NVIDIA GK106 HDMI Audio driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:0e0b class-ID: 0403
Device-2: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series] driver: snd_hda_intel
v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 1102:0012 class-ID: 0403
Sound Server-1: ALSA v: k5.15.0-94-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell driver: r8169
v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8168
class-ID: 0200
IF: enp3s0 state: down mac: <filter>
Device-2: Intel Centrino Advanced-N 6235 driver: iwlwifi v: kernel pcie: speed: 2.5 GT/s
lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:088e class-ID: 0280
IF: wlp5s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel Centrino Bluetooth Wireless Transceiver type: USB driver: btusb v: 0.8
bus-ID: 3-13:7 chip-ID: 8087:07da class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0
sub-v: fc00 hci-v: 4.0 rev: 1ebd
RAID:
Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0 port: f020 bus-ID: 00:1f.2
chip-ID: 8086:2822 rev: N/A class-ID: 0104
Drives:
Local Storage: total: 1.85 TiB used: 25.65 GiB (1.4%)
ID-1: /dev/sda vendor: Seagate model: ST2000DM001-1CH164 size: 1.82 TiB speed: 6.0 Gb/s
type: HDD rpm: 7200 serial: <filter> rev: CC27 scheme: MBR
ID-2: /dev/sdb vendor: Samsung model: SSD PM830 mSATA 32GB size: 29.82 GiB speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 3D1Q
Partition:
ID-1: / size: 804.11 GiB used: 25.64 GiB (3.2%) fs: ext4 dev: /dev/sda4
ID-2: /boot/efi size: 291.8 MiB used: 6.1 MiB (2.1%) fs: vfat dev: /dev/sda1
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
Hub-1: 1-0:1 info: Full speed or root hub ports: 2 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002
class-ID: 0900
Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 speed: 480 Mb/s
chip-ID: 8087:8008 class-ID: 0900
Hub-3: 2-0:1 info: Full speed or root hub ports: 2 rev: 2.0 speed: 480 Mb/s chip-ID: 1d6b:0002
class-ID: 0900
Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 speed: 480 Mb/s
chip-ID: 8087:8000 class-ID: 0900
Hub-5: 3-0:1 info: Hi-speed hub with single TT ports: 14 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-2:2 info: Logitech Keyboard K120 type: Keyboard,HID driver: hid-generic,usbhid
interfaces: 2 rev: 1.1 speed: 1.5 Mb/s power: 90mA chip-ID: 046d:c31c class-ID: 0300
Hub-6: 3-3:3 info: Microchip (formerly SMSC) ports: 2 rev: 2.0 speed: 480 Mb/s power: 200mA
chip-ID: 0424:2502 class-ID: 0900
Device-1: 3-3.1:5 info: Kodak i1220 SCANNER type: <vendor specific> driver: N/A interfaces: 1
rev: 2.0 speed: 480 Mb/s power: 2mA chip-ID: 040a:600b class-ID: ff00 serial: <filter>

Device-2: 3-3.2:8 info: WIBU-Systems AG Wibu-Box/RU (article no. 3032-xx-xxx)
type: <vendor specific> driver: N/A interfaces: 1 rev: 1.1 speed: 12 Mb/s power: 40mA
chip-ID: 064f:0bd8 class-ID: ff00
Device-3: 3-7:4 info: Realtek USB2.0-CRW type: Mass Storage driver: usb-storage interfaces: 1
rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0bda:0182 class-ID: 0806 serial: <filter>
Device-4: 3-9:6 info: Dell Optical Wheel Mouse type: Mouse driver: hid-generic,usbhid
interfaces: 1 rev: 2.0 speed: 1.5 Mb/s power: 100mA chip-ID: 413c:3010 class-ID: 0301
Device-5: 3-13:7 info: Intel Centrino Bluetooth Wireless Transceiver type: Bluetooth
driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s chip-ID: 8087:07da class-ID: e001
Hub-7: 4-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003
class-ID: 0900
Sensors:
System Temperatures: cpu: 32.0 C mobo: 27.8 C gpu: nvidia temp: 47 C
Fan Speeds (RPM): cpu: 759 mobo: 913 gpu: nvidia fan: 23%
Repos:
Packages: 2715 note: see --pkg apt: 2706 flatpak: 9
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http: //packages.linuxmint.com virginia main upstream import backport
2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Active apt repos in: /etc/apt/sources.list.d/sane-project-sane-release-jammy.list
1: deb [signed-by=/etc/apt/keyrings/sane-project-sane-release-jammy.gpg] https: //ppa.launchpadcontent.net/sane-project/sane-release/ubuntu jammy main
Info:
Processes: 308 Uptime: 1h 50m wakeups: 0 Memory: 15.55 GiB used: 4.66 GiB (30.0%) Init: systemd
v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 6.0.4 inxi: 3.3.13
dave1953
Level 4
Level 4
Posts: 243
Joined: Tue Jul 16, 2019 8:22 am
Location: West Midlands UK

Re: Much loved Kodak Duplex Scanner s1220 not seen. Any thoughts?

Post by dave1953 »

TBF you seem to have covered most things. My only thoughts are 1) according to what I can see the recommendation is for the device to NOT be plugged in until after the drivers are installed and I personally might have tried the following; 1) uninstall the drivers .deb package using gdebi; 2) unplug the device usb lead from the computer; 3) reboot the computer; 4) reinstall the .deb package using gdebi; 5) once installed plug the scanner usb lead in (perhaps to a different usb socket on the computer) and see whether the device is then discovered. The file you have is completely legitimate (I checked and downloaded it myself), so as far as I can see it should run. Other than that you may prefer to first of all try the more thorough route of uninstalling the .deb using gdebi, unplug the usb lead for the scanner, reboot the computer, then run the Kodak installation script as root. This would probably cover all the developer's intended bases. Let us all know how you got on.
ahab4000
Level 1
Level 1
Posts: 3
Joined: Thu Feb 08, 2024 1:44 pm

Re: Much loved Kodak Duplex Scanner s1220 not seen. Any thoughts?

Post by ahab4000 »

Thanks Dave for spending some of your time and looking into this. I really appreciate it and want to acknowledge this probably isn't the most exciting or innovative challenge. Thank You.

It is a puzzle to me, I feel like we are THIS close...


So I tried the gdebi package uninatll of the Kodak provided twaindsm.deb: dpkg -l | grep twaindsm .... sudo apt remove twaindsm ....
Unplugged the Kodak 1220 Duplex Scanner and Rebooted, then again reinstalled b]twaindsm.deb[/b] using gdebi. Plugged the scanner into a totally different USB port. No luck


Next I went the script way as root. The script ran into an error (I'm sure there were more waiting) before kicking me out :
-
KODAK Scanner Installation

This script will install ALL of the software in this package.
KODAK scanner software use OpenUSB and the TWAIN Data Source Manager (DSM).
OpenUSB and the TWAIN DSM are distributed with this package and will be
installed if necessary.

OpenUSB source code can be downloaded from
http://openusb.wiki.sourceforge.net
TWAIN DSM source code can be downloaded from
http://sourceforge.net/projects/twain-dsm

Press "Enter" to continue...

Your distribution appears to use the Debian package manager
The RPM packages included on this CD will be converted using alien

KODAK Scanner software requires QT v3.x. Searching for QT. Please wait...

QT v3.x Not Found!

You must have the multithreaded QT v3 libraries installed.
Would you like to install QT v3 using APT? (y/n): y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libqt3-mt


QT v3.x Detected!

Searching for mono and mono-winforms 2.0. Please wait...
mono and mono-winforms 2.0 or greater Detected!

Checking OpenUSB version. Please wait...
Checking the TWAIN DSM version. Please wait...
Copying Packages to a temporary directory...
TMPDIR is not defined, using /tmp

Converting Packages using alien...
Would you like to install OpenUSB using APT? (y/n): y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libopenusb0
rm: cannot remove 'libopenusb*.deb': No such file or directory


Installing Packages...
dpkg: error: cannot access archive '*.deb': No such file or directory

Press "Enter" To Exit...


Peeking into the script for "libopenusb*.deb" :
# Install OpenUSB, if necessary
if [ $installOpenusb == 1 ]; then
while true
do
echo -n "Would you like to install OpenUSB using APT? (y/n): "
read installOpenusbApt
case "$installOpenusbApt" in
Y|y|YES|yes|Yes)
$aptgetpath install libopenusb0
if [ $? ]; then
installOpenusb=0
rm libopenusb*.deb
fi
echo
echo
break
;;
n|N|no|NO|no) break ;;
esac
done

if [ $installOpenusb == 1 ]; then
echo "Installing the included OpenUSB..."
$dpkgpath -i libopenusb*.deb
rm libopenusb*.deb
fi
else
rm libopenusb*.deb
fi

#Install the TWAIN DSM, if necessary
if [ $installTwainDsm == 1 ]; then
echo "Installing the TWAIN DSM..."
$dpkgpath -i twaindsm*.deb
rm twaindsm*.deb
else
rm twaindsm*.deb
fi

# Install the remaining DEB packages
echo "Installing Packages..."
$dpkgpath -i *.deb
When I search the files for "libopenusb" I don't see a libopenusb.deb, but I do see libopenusb.so, libopenusb.so.0 , libopenusb.so.0.0.2 and libopenusb-1.0.2-1.i586.rpm


So I tried the gdebi package uninatll of the Kodak provided twaindsm.deb: dpkg -l | grep twaindsm .... sudo apt remove twaindsm ....
Unplugged the Kodak 1220 Duplex Scanner and Rebooted, then again reinstalled b]twaindsm.deb[/b] using gdebi. Plugged the scanner into a totally different USB port. No luck


Next I went the script way as root. The script ran into an error (I'm sure there were more waiting) before kicking me out :
-
KODAK Scanner Installation

This script will install ALL of the software in this package.
KODAK scanner software use OpenUSB and the TWAIN Data Source Manager (DSM).
OpenUSB and the TWAIN DSM are distributed with this package and will be
installed if necessary.

OpenUSB source code can be downloaded from
http://openusb.wiki.sourceforge.net
TWAIN DSM source code can be downloaded from
http://sourceforge.net/projects/twain-dsm

Press "Enter" to continue...

Your distribution appears to use the Debian package manager
The RPM packages included on this CD will be converted using alien

KODAK Scanner software requires QT v3.x. Searching for QT. Please wait...

QT v3.x Not Found!

You must have the multithreaded QT v3 libraries installed.
Would you like to install QT v3 using APT? (y/n): y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libqt3-mt


QT v3.x Detected!

Searching for mono and mono-winforms 2.0. Please wait...
mono and mono-winforms 2.0 or greater Detected!

Checking OpenUSB version. Please wait...
Checking the TWAIN DSM version. Please wait...
Copying Packages to a temporary directory...
TMPDIR is not defined, using /tmp

Converting Packages using alien...
Would you like to install OpenUSB using APT? (y/n): y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libopenusb0
rm: cannot remove 'libopenusb*.deb': No such file or directory


Installing Packages...
dpkg: error: cannot access archive '*.deb': No such file or directory

Press "Enter" To Exit...


Peeking into the script for "libopenusb*.deb" :
# Install OpenUSB, if necessary
if [ $installOpenusb == 1 ]; then
while true
do
echo -n "Would you like to install OpenUSB using APT? (y/n): "
read installOpenusbApt
case "$installOpenusbApt" in
Y|y|YES|yes|Yes)
$aptgetpath install libopenusb0
if [ $? ]; then
installOpenusb=0
rm libopenusb*.deb
fi
echo
echo
break
;;
n|N|no|NO|no) break ;;
esac
done

if [ $installOpenusb == 1 ]; then
echo "Installing the included OpenUSB..."
$dpkgpath -i libopenusb*.deb
rm libopenusb*.deb
fi
else
rm libopenusb*.deb
fi

#Install the TWAIN DSM, if necessary
if [ $installTwainDsm == 1 ]; then
echo "Installing the TWAIN DSM..."
$dpkgpath -i twaindsm*.deb
rm twaindsm*.deb
else
rm twaindsm*.deb
fi

# Install the remaining DEB packages
echo "Installing Packages..."
$dpkgpath -i *.deb
When I search the files for "libopenusb" I don't see a libopenusb.deb, but I do see libopenusb.so, libopenusb.so.0 , libopenusb.so.0.0.2 and libopenusb-1.0.2-1.i586.rpm

Maybe I'm just chasing a squirrel up a tree here. Perhaps SANE is the way, in that case the back end is probably Avison. Is there a way I can force SANE to work?

Thanks again!
dave1953
Level 4
Level 4
Posts: 243
Joined: Tue Jul 16, 2019 8:22 am
Location: West Midlands UK

Re: Much loved Kodak Duplex Scanner s1220 not seen. Any thoughts?

Post by dave1953 »

Apologies for my lack of knowledge on how best to advise you further, perhaps someone with more intimate knowledge and experience can help? I tried some suggestions within the scope of my limited experience, but I am confused as to how to assist you further now. Sorry. I know how frustrating it is, having climbed quite a few mountains in the past myself.
ahab4000
Level 1
Level 1
Posts: 3
Joined: Thu Feb 08, 2024 1:44 pm

Re: Much loved Kodak Duplex Scanner s1220 not seen. Any thoughts?

Post by ahab4000 »

totally understand. I appreciate you help!
Post Reply

Return to “Printers & Scanners”