Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2004 12:50:51 -0800 (PST)
From:      Dirk Sommerfeld <dsom@cs.uni-magdeburg.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/63658: uscanner.c perhaps missing CANON_N1240U ?
Message-ID:  <200403022050.i22KopFX024677@www.freebsd.org>
Resent-Message-ID: <200403022100.i22L0G9U031316@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403022050.i22KopFX024677>