misc/63658: uscanner.c perhaps missing CANON_N1240U ?

Dirk Sommerfeld dsom at cs.uni-magdeburg.de
Tue Mar 2 13:00:33 PST 2004


>Number:         63658
>Category:       misc
>Synopsis:       uscanner.c perhaps missing CANON_N1240U ?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 02 13:00:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Sommerfeld
>Release:        5.2.1
>Organization:
>Environment:
FreeBSD mond 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #9: Tue Mar  2 10:06:23 GMT 2004
root at mond:/usr/obj/usr/src/sys/MKERNEL  i386

>Description:
I am not sure, that this is a bug. My 'Canon Lide 30' scanner was not
regonized as /dev/uscanner0 (only /ugen0).
So I added the line
   {{ USB_VENDOR_CANON, USB_PRODUCT_CANON_N1240U }, 0 },
in /usr/src/sys/dev/usb/uscanner.c
Now the scanner is detected as such device.

>How-To-Repeat:
Remove/Add the line above.
>Fix:
uscanner.c
..
  /* Canon */
 {{ USB_VENDOR_CANON, USB_PRODUCT_CANON_N656U }, 0 },  
+ {{ USB_VENDOR_CANON, USB_PRODUCT_CANON_N1240U }, 0 },
..

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list