Hello freebsd-stable
I'm not sure if this is an OS problem or a port problem. I've installed
xsane and am trying to get a canon lide 110 usb scanner working. The
kernel is generic apart from the addition of GEOM_CONCAT and cputemp and
the removal of cpufreq and fdc. In rc.conf, both hal and devd are
enabled.
If I plug the scanner into a USB port, I get this in /var/log/messages:
Jan 26 01:30:41 potato kernel: ugen4.3: <Canon> at usbus4
Jan 26 01:30:41 potato devd: Executing 'env
LD_PRELOAD=/usr/local/lib/libhal.so:/usr/local/lib/libdbus-1.so:/usr/local/lib/libcuse4bsd.so
/usr/local/etc/rc.d/webcamd start ugen4.3'
Jan 26 01:30:41 potato devd: Executing 'logger Unknown USB device:
vendor 0x04a9 product 0x1909 bus uhub3'
Jan 26 01:30:41 potato root: Unknown USB device: vendor 0x04a9 product
0x1909 bus uhub3
As root, if I then do sane-find-scanner as per the handbook, in
/var/log/messages, this happens:
Jan 26 01:34:12 potato kernel: ata2: FAILURE - odd-sized DMA transfer
attempt 5 % 2
Jan 26 01:34:12 potato kernel: ata2: setting up DMA failed
Jan 26 01:34:12 potato kernel: ata2: FAILURE - odd-sized DMA transfer
attempt 5 % 2
Jan 26 01:34:12 potato kernel: ata2: setting up DMA failed
sometimes it lock up at this point requiring a hard reset then fsck -y
sane-find-scanner output is here:
# 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.
(nothing else happens)
If I ctrl-c this multiple times, the root prompt returns after about
five minutes. Some time after, the following appears in
/var/log/messages:
Jan 26 01:47:29 potato kernel: ata2: already running!
Can anyone help? I don't know how to debug this further :(
--
John