Public bug reported:

ppdev kernel module causes problems with some usb scanners in feisty

Some scanners that worked in edgy do not work in feisty beta.
With an HP ScanJet 4070 (hp3900 backend) and an Epson Perfection 1260 (plustek 
backend) xsane freezes while triyng to find the device. xscanimage, instead, 
works if the correct device name is supplied.
Using strace with xsane I found that it was continuosly writing to 
/dev/parport0:

...
open("./geniusvp2.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/sane.d/geniusvp2.conf", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=877, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7329000
read(6, "# geniusvp2 backend configuratio"..., 4096) = 877
read(6, "", 4096) = 0
close(6) = 0
munmap(0xb7329000, 4096) = 0
open("/dev/parport0", O_RDWR) = 6
ioctl(6, PPCLAIM, 0x825a1c8) = 0
ioctl(6, PPGETMODES, 0xbf98baac) = 0
ioctl(6, PPWCONTROL, 0xbf98ba80) = 0
ioctl(6, PPWDATA, 0xbf98ba80) = 0
...
ioctl(6, PPWDATA, 0xbf98ba80) = 0
ioctl(6, PPSETMODE, 0xbf98ba80) = 0
write(6, "\0", 1) = 0
write(6, "\0", 1) = 0
...
write(6, "\0", 1) = 0
write(6, "\0", 1) = 0
write(6, "\0", 1 <unfinished ...>

Removing the 'ppdev' kernel module (rmmod ppdev) solves the problem.
This module was not automatically loaded in edgy, but it has been introduced in 
feisty to allow automatic detection of parallel printers (see 
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/58812).

** Affects: sane-backends (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
ppdev kernel module causes problems with some usb scanners in feisty
https://bugs.launchpad.net/bugs/102285
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to