Project

General

Profile

Actions

Bug #213

closed

usb bugs?

Added by wa1ter almost 18 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

I'm trying to help Petr get his (and my) USB scanner working, so
I've been comparing the different behavior on DragonFly and FreeBSD.

For example, when I boot FreeBSD I see my scanner detected and it
finally appears on /dev/uscanner0 and works properly.

But, when I boot DFly (on the same machine) I see the scanner
detected on /dev/ugen0 -- but it never appears on /dev/uscanner0.
When I use ktrace on 'scanimage -L' I see a message that /dev/uscanner0
is 'not configured'.

I see similar results when I plug in a San-Disk USB drive -- the
device winds up as /dev/da0s1 in FreeBSD, but never appears as a
usable device in /dev in DragonFly.

I have all the usual suspects enabled in my custom kernel, like
device usb
device ugen
device usbmass
device usbhif
device usbscanner
and I also tried loading every kernel module that begins with 'u'.

One other datum: the SanDisk USB drive shows up in dmesg as both
umass0 and umass1, which seems odd.

I recall reading that our USB support is not quite ready for prime
time -- did I misunderstand?

Actions #1

Updated by wa1ter almost 18 years ago

walt wrote:
[...] I see the scanner

detected on /dev/ugen0 -- but it never appears on /dev/uscanner0.

A minor update to the uscanner driver solved this problem.

I see similar results when I plug in a San-Disk USB drive -- the
device winds up as /dev/da0s1 in FreeBSD, but never appears as a
usable device in /dev in DragonFly.

My fault -- I didn't have 'device da' enabled in my kernel.

One other datum: the SanDisk USB drive shows up in dmesg as both
umass0 and umass1, which seems odd.

This still seems odd -- but the drive works properly, so I guess
it's just a curiosity rather than a problem.

Actions #2

Updated by dillon almost 18 years ago

:For example, when I boot FreeBSD I see my scanner detected and it
:finally appears on /dev/uscanner0 and works properly.
:
:But, when I boot DFly (on the same machine) I see the scanner
:detected on /dev/ugen0 -- but it never appears on /dev/uscanner0.
:When I use ktrace on 'scanimage L' I see a message that /dev/uscanner0
:is 'not configured'.
:
:I see similar results when I plug in a San-Disk USB drive -
the
:...

My assumption here is that there is an identification string or number
or something of that sort that identifies the scanner as a scanner,
which DragonFly isn't recognizing.
-Matt
Actions

Also available in: Atom PDF