From owner-freebsd-usb@FreeBSD.ORG Sat Jan 1 01:26:47 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABAFF16A4CE for ; Sat, 1 Jan 2005 01:26:47 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 792C443D1D for ; Sat, 1 Jan 2005 01:26:47 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j011RGWd006876; Fri, 31 Dec 2004 17:27:16 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j011RGCk006875; Fri, 31 Dec 2004 17:27:16 -0800 Date: Fri, 31 Dec 2004 17:27:16 -0800 From: Brooks Davis To: Max Campos Message-ID: <20050101012716.GA5294@odin.ac.hmc.edu> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: freebsd-usb@freebsd.org Subject: Re: ukbd & Console Scrollback X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 01:26:47 -0000 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 31, 2004 at 01:24:12AM -0800, Max Campos wrote: > Hi, >=20 > I have an Apple Pro USB Keyboard, but for the life of me I cannot get=20 > the system console scrollback to work (ie. scroll lock, then pgup/pg=20 > down). I'm running CURRENT, though I also had this problem under=20 > 5.3-p2. >=20 > The Apple Pro Keyboard has no Scroll-lock key (instead it has=20 > F13/F14/F15 where SysRq/Scrl Lock/Pause would be), but I looked online=20 > and I _believe_ the F14 key has the same scancode as scroll lock. Nope. Several of the hits on the first page of results for "apple pro keyboard scroll lock" say it's sending something else. > A few questions: >=20 > 1) Does this work for anyone? (ie. is this a problem with all USB=20 > keyboards?) It works fine with my Logitech iTouch keyboard. > 2) Is there a way to find out what scan code is being emitted when I=20 > hit a certain key? You can open the device and read from it to see what they keyboard is sending. You might also see what xev has to say. > 3) If (1) isn't the case, any idea how to get this working? I suppose=20 > I could create a layout that redefines scroll lock to a different key,=20 > or correct the keymap if the F14 scancode !=3D scrl lock. What fun. Sounds like you'll need an alternate keymap. If you can figure out what the heck it actually does, there's a windoes registry hack floating around that should tell you what you need to know. One annoyance here is that you'll have to modify the keymap you would be useing since there's no way to overwrite part of the existing map. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFB1fx0XY6L6fI4GtQRAm9tAJ4pzXRlEvXWk3tVkSQR0DlfFw1n1gCfW1cQ We0JG+NQtvl0oKjE3ElmlPs= =6Kej -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S-- From owner-freebsd-usb@FreeBSD.ORG Sat Jan 1 13:48:54 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26A9D16A4CE for ; Sat, 1 Jan 2005 13:48:54 +0000 (GMT) Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NOSPAM.dyndns.dk (84-72-30-72.dclient.hispeed.ch [84.72.30.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B78643D39 for ; Sat, 1 Jan 2005 13:48:52 +0000 (GMT) (envelope-from bounce@NOSPAM.dyndns.dk) Received: from Mail.NOSPAM.DynDNS.dK (ipv6.NOSPAM.dyndns.dk [2002:5448:1e48:0:210:60ff:fe25:f1e5]) (8.11.6/8.11.6-SPAMMERS-DeLiGHt) with ESMTP id j01Dmje80456 verified NO) for ; Sat, 1 Jan 2005 14:48:49 +0100 (CET) (envelope-from bounce@NOSPAM.dyndns.dk) Received: (from beer@localhost) by Mail.NOSPAM.DynDNS.dK (8.11.6/FNORD) id j01Dmi180455; Sat, 1 Jan 2005 14:48:44 +0100 (CET) (envelope-from bounce@NOSPAM.dyndns.dk) Date: Sat, 1 Jan 2005 14:48:44 +0100 (CET) Message-Id: <200501011348.j01Dmi180455@Mail.NOSPAM.DynDNS.dK> X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: beer set sender to bounce@NOSPAM.dyndns.dk using -f X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed from queue /tmp X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed by beer with -C /etc/mail/sendmail.cf-LOCAL From: Barry Bouwsma To: freebsd-usb@freebsd.org References: <41B8C7A9.3080306@elischer.org> <20041224.182917.607958849.kazuhito@ph.noda.tus.ac.jp> <41CD00B1.9040502@elischer.org> <20041225.230115.422452498.kazuhito@ph.noda.tus.ac.jp> <41CE5C91.5060104@elischer.org> Mail-Followup-To: freebsd-usb@freebsd.org Subject: Re: Hacking usb/uaudio code X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Barry Bouwsma List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 13:48:54 -0000 > >>>kern/75274 for merging > >>>kern/75276 for volumes > >>>kern/75311 for recording > >>>kern/75316 for selection of a recording sound source > >> > >>how much have you tested these patches? > >>do they break other audio devices? > > > > I usually use those patches almost every day. > > But I have tested those patches by `Sound Blaster Digital Music' only. > > So those patches require many test, test, test, and test > > by various USB audio devices. > > > > I'm afraid that those patches have problems with simple devices e.g. > > USB microphone or with complicated devices > > which have add-processing or extension units. > I am led to believe that those cases were not well supported > before your patches and that your patches probably do not break > them more than they were already broken. Hi, Sorry for the delay in giving my feedback to this. I just want to say that I applied your patches to my usb audio source in 4.x, and it works without greater problems than the original 4.x code. I've done this as follows: 1) Take the mid-december -current uaudio source files. 2) Apply the following patches to make -current source compile with my 4.x (no guarantees that I don't have patches elsewhere to make this work for me, so please try it out first) --- /stand/FreeBSD4-src/source-hacks/sys/dev/sound/usb/uaudio_pcm.c-current Thu Dec 9 22:35:41 2004 +++ /stand/FreeBSD4-src/source-hacks/sys/dev/sound/usb/uaudio_pcm.c-built-from-current Thu Dec 30 23:06:53 2004 @@ -307,8 +307,10 @@ /*filter*/NULL, /*filterarg*/NULL, /*maxsize*/bufsz, /*nsegments*/1, /*maxsegz*/0x3fff, /*flags*/0, +#if __FreeBSD_version >= 500000 /* XXXX HACK */ /*lockfunc*/busdma_lock_mutex, /*lockarg*/&Giant, +#endif &ua->parent_dmat) != 0) { device_printf(dev, "unable to create dma tag\n"); goto bad; @@ -373,8 +375,15 @@ PCM_SOFTC_SIZE, }; +#if __FreeBSD_version < 500000 /* XXX HACK */ +static devclass_t pcm_devclass; +#endif DRIVER_MODULE(ua_pcm, uaudio, ua_pcm_driver, pcm_devclass, 0, 0); MODULE_DEPEND(ua_pcm, uaudio, 1, 1, 1); +#if __FreeBSD_version < 500000 /* XXX HACK -- should be something else */ +MODULE_DEPEND(ua_pcm, snd_pcm, PCM_MINVER, PCM_PREFVER, PCM_MAXVER); +#else MODULE_DEPEND(ua_pcm, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER); +#endif /* XXXX HACK */ MODULE_VERSION(ua_pcm, 1); --- /stand/FreeBSD4-src/source-hacks/sys/dev/sound/usb/uaudio.c-current Thu Dec 9 22:35:36 2004 +++ /stand/FreeBSD4-src/source-hacks/sys/dev/sound/usb/uaudio.c-built-from-current Thu Dec 30 23:01:40 2004 @@ -57,7 +57,9 @@ #include /* for bootverbose */ #include #include +#if __FreeBSD_version >= 500000 /* XXX HACK */ #include +#endif #if defined(__NetBSD__) || defined(__OpenBSD__) #include #elif defined(__FreeBSD__) 3) At this point, I built the kernel module to verify -current source would still work with 4.x, loaded it, and played with success. 4) Then apply the four patches you submitted as PRs. I don't recall any failures which had to be fixed by hand, apart from the first unimportant part of the patch (the RCS IDs). Then I've built a module (also I built modules at each step of applying the four patches), and loaded that, and used it with my simple uaudio soundcard (HID plus playback/record). Playback is no problem at 48kHz; now if I try to playback at a different rate, I get an error, when earlier the device played back with noted distortion, but did play back. This is to be expected from what you wrote. Recording seems to work with no source, giving me hum on the mic input and the sound of connecting to the line input. No panics or crashes. All my recording or playback is done at the professional 48kHz sample rate. The mixer device now has something: bash-2.05a$ mixer -f /dev/mixer1 Mixer speaker is currently set to 75:75 Mixer line is currently set to 0:0 Mixer mic is currently set to 0:0 There is no default device to be set, but the `speaker' control adjusts both line-out and speaker-out playback levels. bash-2.05a$ mixer -f /dev/mixer1 90 Setting the mixer vol to 90:90. mixer: WRITE_MIXER: Device not configured bash-2.05a$ mixer -f /dev/mixer1 speaker 90 Setting the mixer speaker to 90:90. Recording source input selection now works (yay), as does setting levels for them. (This sound hardware is somewhat noisy, as usual) So far, no problems noted in playback. With the code I had been using, I would experience that after some time, starting a new playback, that the device would go silent for no obvious reason -- usually after a few dozen times starting/stopping playback, although it appeared that data was being sent to the device, from what little I could see. Unplugging and replugging the USB connector would be enough to make the device play again. Obviously, I need to try quite a bit more to see if this recurs, and also check again whether NetBSD suffers the same, if it does. This is the only USB audio device I have at the moment, but now it is very tempting for me to break down and acquire more. I also see that `mpg123' includes the option to set an output sample rate, so I'm able to playback layer 3 audio files which have a different sample rate without the need for any external assistance. (mpg123 starts *fast* here as only a single sample rate is supported, and it's not spending all its time going through a list of them as it is with a different soundcard.) Not every playback program I've tried has gracefully handled the return code it gets when the output rate doesn't match the device capabilities. Thanks! barry bouwsma From owner-freebsd-usb@FreeBSD.ORG Sat Jan 1 20:48:29 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2DAE16A4CE for ; Sat, 1 Jan 2005 20:48:28 +0000 (GMT) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id A58D643D1F for ; Sat, 1 Jan 2005 20:48:28 +0000 (GMT) (envelope-from sgnezdov@pobox.com) X-Sasl-enc: jKwrH7h3y+WAhCspphAp3w 1104612507 Received: from localhost.localdomain (207-224-115-144.spkn.qwest.net [207.224.115.144]) by frontend1.messagingengine.com (Postfix) with ESMTP id 175A2C48478 for ; Sat, 1 Jan 2005 15:48:26 -0500 (EST) From: Sergei Gnezdov To: USB FreeBSD Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-4dTYXyH2lzMJBBXjWMkq" Date: Sat, 01 Jan 2005 12:48:34 -0800 Message-Id: <1104612514.634.16.camel@owl2> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Subject: CanoScan 5000F Driver Support X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 20:48:29 -0000 --=-4dTYXyH2lzMJBBXjWMkq Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Is there any way to get CanoScan 5000F to work? Here is what my dmesg says: usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 ugen0: Canon CanoScan, rev 2.00/3.03, addr 2 Ok, I am a newbie... but Based on what I've read I would need to add a line to describe new USB Scanner in=20 /usr/src/sys/dev/usb/usbdevs It seems to be easy, but what is the value of ID? Then there is a line in to be added to uscanner.c And then what should be done? --=-4dTYXyH2lzMJBBXjWMkq Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBB1wyiLG0a64EQke4RAqMLAKCvLpwFz3JsfIrNU4BlM7MWJ3cuTACglhxM +BOmd6WWCP79qe3UTP8D+Q8= =XKQt -----END PGP SIGNATURE----- --=-4dTYXyH2lzMJBBXjWMkq-- From owner-freebsd-usb@FreeBSD.ORG Sat Jan 1 22:12:31 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B70D616A4CE for ; Sat, 1 Jan 2005 22:12:31 +0000 (GMT) Received: from pimout2-ext.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3455443D1D for ; Sat, 1 Jan 2005 22:12:31 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [192.168.1.102] (adsl-216-100-134-143.dsl.snfc21.pacbell.net [216.100.134.143])j01MCEXO199706; Sat, 1 Jan 2005 17:12:15 -0500 Message-ID: <41D7203A.5080701@elischer.org> Date: Sat, 01 Jan 2005 14:12:10 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8a3) Gecko/20041017 X-Accept-Language: en, hu MIME-Version: 1.0 To: Tyler Gee References: <20041228010938.GA39686@freebsd3.cimlogic.com.au> <20041230.111631.13597845.imp@bsdimp.com> <16853.27324.504672.6086@roam.psg.com> <1104542138.3084.9.camel@localhost> <41D67753.60202@elischer.org> <6e01203b0501011052ada0d9c@mail.gmail.com> In-Reply-To: <6e01203b0501011052ada0d9c@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit cc: vova@fbsd.ru cc: Randy Bush cc: usb@freebsd.org Subject: Re: USB problems X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 22:12:31 -0000 Tyler Gee wrote: > I just did an upgrade from 5.3-RELEASE-p2 to -current (as of > yesterday) and my USB mouse comletely stopped functioning. It was on > uchi and would register as usm0. It now will register and unregister > as usm0 correctly but will not do anything. It could be that I have > some setting wrong as I have never upgraded from a RELEASE to CURRENT > and have usually run CURRENT in the past. > > I have not tried any other USB devices. any chance you could try revert ums.c back a while and see if doing so fixes the problem? >>> >> >>the most salient thiing you could do is find the date of the problem by checking >>out sys/dev/usb on dec 9 and seeing if that fixes it (you said dec 9 was ok) >>and if so, gradually moving it forward using a binary search and narrowing in on >>the commit that broke it. >> >>Is it an ohci or uhci (or ehci) usb inerface? >> >> >> >>> >>_______________________________________________ >>freebsd-current@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-current >>To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >> From owner-freebsd-usb@FreeBSD.ORG Sat Jan 1 22:41:25 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96B9416A4CE for ; Sat, 1 Jan 2005 22:41:25 +0000 (GMT) Received: from pimout3-ext.prodigy.net (pimout3-ext.prodigy.net [207.115.63.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30D2F43D1D for ; Sat, 1 Jan 2005 22:41:25 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [192.168.1.102] (adsl-216-100-134-143.dsl.snfc21.pacbell.net [216.100.134.143])j01Mf5Hg144856; Sat, 1 Jan 2005 17:41:07 -0500 Message-ID: <41D72700.1040605@elischer.org> Date: Sat, 01 Jan 2005 14:41:04 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8a3) Gecko/20041017 X-Accept-Language: en, hu MIME-Version: 1.0 To: Julian Elischer References: <20041228010938.GA39686@freebsd3.cimlogic.com.au> <20041230.111631.13597845.imp@bsdimp.com> <16853.27324.504672.6086@roam.psg.com> <1104542138.3084.9.camel@localhost> <41D67753.60202@elischer.org> <6e01203b0501011052ada0d9c@mail.gmail.com> <41D7203A.5080701@elischer.org> In-Reply-To: <41D7203A.5080701@elischer.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit cc: vova@fbsd.ru cc: Randy Bush cc: Tyler Gee cc: usb@freebsd.org Subject: Re: USB problems X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 22:41:25 -0000 Julian Elischer wrote: > Tyler Gee wrote: > > > any chance you could try revert ums.c back a while and see if doing so > fixes the problem? > I might add htat theeasiest way to do this if you do not import a CVS mirror is by simply getting it from: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/ and getting the last few revisions and trying them. From owner-freebsd-usb@FreeBSD.ORG Sat Jan 1 22:41:35 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29D1016A4CE for ; Sat, 1 Jan 2005 22:41:35 +0000 (GMT) Received: from web41202.mail.yahoo.com (web41202.mail.yahoo.com [66.218.93.35]) by mx1.FreeBSD.org (Postfix) with SMTP id E94AF43D1D for ; Sat, 1 Jan 2005 22:41:34 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 38789 invoked by uid 60001); 1 Jan 2005 22:41:34 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=cj6CwLXqXDAu5RUYiFgah3nTKhuvT7OdAUuZl9zsevOsOnhfklvTCfOakh/9o4OMt2Qiapmp6CghA994jNPl9O1TZz6YEPa/PfXsjwloMhdBWcqQtTQhOcm3gfhlvSwCuM5g1pksWtSvbFtL+xuArlgPirvD1n8ujncv9tv9N7Q= ; Message-ID: <20050101224134.38787.qmail@web41202.mail.yahoo.com> Received: from [83.129.168.82] by web41202.mail.yahoo.com via HTTP; Sat, 01 Jan 2005 14:41:34 PST Date: Sat, 1 Jan 2005 14:41:34 -0800 (PST) From: Arne "Wörner" To: Sergei Gnezdov , USB FreeBSD In-Reply-To: <1104612514.634.16.camel@owl2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: CanoScan 5000F Driver Support X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 22:41:35 -0000 > Is there any way to get CanoScan 5000F to work? > I do not see any. There is a project for that device, but they did not even release beta source code up to now: https://gna.org/projects/canoscan5000F When I plugged in my Canon LIDE20 scanner, 1. I decided to make the FreeBSD uscanner driver to like LIDE20 scanners I used usbdevs -v to find out the vendor and product code in /sys/dev/usb/usbdevs there is a list of devices in /sys/dev/usb/uscanner.c there is a list of scanners (I updated both lists) 2. I decided to use sane from ports /usr/ports/graphics/*sane* 3. I decided to use the plustek driver after consulting the sane driver search engine: generic search form: http://www.sane-project.org/cgi-bin/driver.pl in your case: http://www.sane-project.org/unsupported/canon-5000f.html Then you can use sane-find-scanner to see, if sane finds your scanner. And you can try xsane to see, if it can scan... -Arne __________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250 From owner-freebsd-usb@FreeBSD.ORG Sat Jan 1 22:47:49 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62FBB16A4CE for ; Sat, 1 Jan 2005 22:47:49 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFCF243D41 for ; Sat, 1 Jan 2005 22:47:48 +0000 (GMT) (envelope-from geekout@gmail.com) Received: by wproxy.gmail.com with SMTP id 36so328089wra for ; Sat, 01 Jan 2005 14:47:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=mrBY1ORkT5+9wOvJ8GlJkND/8efACuF5bHbmQ06SL96ndiFaCqp+fQxXfBSUiCXeOz/MhCDXs42lhDDlEcY7rmW3Fu/MrbJvRT3X7nnejy0/E/k4RH5RqjFa9EeVHc7IXAGELqQ3Vrj2Bqyeql7VE+JWpOv4SrO/lvdsuNUzQBs= Received: by 10.54.11.55 with SMTP id 55mr294603wrk; Sat, 01 Jan 2005 14:47:45 -0800 (PST) Received: by 10.54.46.25 with HTTP; Sat, 1 Jan 2005 14:47:45 -0800 (PST) Message-ID: <6e01203b05010114472b3aa9db@mail.gmail.com> Date: Sat, 1 Jan 2005 15:47:45 -0700 From: Tyler Gee To: Julian Elischer In-Reply-To: <41D72700.1040605@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041228010938.GA39686@freebsd3.cimlogic.com.au> <20041230.111631.13597845.imp@bsdimp.com> <16853.27324.504672.6086@roam.psg.com> <1104542138.3084.9.camel@localhost> <41D67753.60202@elischer.org> <6e01203b0501011052ada0d9c@mail.gmail.com> <41D7203A.5080701@elischer.org> <41D72700.1040605@elischer.org> cc: vova@fbsd.ru cc: Randy Bush cc: usb@freebsd.org Subject: Re: USB problems X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Tyler Gee List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 22:47:49 -0000 I'll give it a try, I don't have much else to do today. (Woo hoo for holidays!). I will start on the Dec. 9 version and move forward. -wtgee On Sat, 01 Jan 2005 14:41:04 -0800, Julian Elischer wrote: > Julian Elischer wrote: > > Tyler Gee wrote: > > > > > > > any chance you could try revert ums.c back a while and see if doing so > > fixes the problem? > > > I might add htat theeasiest way to do this if you do not import a CVS mirror is > by simply getting it from: > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/ > > and getting the last few revisions and trying them. > From owner-freebsd-usb@FreeBSD.ORG Sat Jan 1 22:48:41 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6F8616A4CE for ; Sat, 1 Jan 2005 22:48:41 +0000 (GMT) Received: from pimout1-ext.prodigy.net (pimout1-ext.prodigy.net [207.115.63.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 909B743D1F for ; Sat, 1 Jan 2005 22:48:41 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [192.168.1.102] (adsl-216-100-134-143.dsl.snfc21.pacbell.net [216.100.134.143])j01Mmcjb196892; Sat, 1 Jan 2005 17:48:38 -0500 Message-ID: <41D728C2.9000107@elischer.org> Date: Sat, 01 Jan 2005 14:48:34 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8a3) Gecko/20041017 X-Accept-Language: en, hu MIME-Version: 1.0 To: =?ISO-8859-1?Q?=22Arne_=5C=22W=F6rner=5C=22=22?= References: <20050101224134.38787.qmail@web41202.mail.yahoo.com> In-Reply-To: <20050101224134.38787.qmail@web41202.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: USB FreeBSD Subject: Re: CanoScan 5000F Driver Support X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 22:48:42 -0000 Arne Wörner wrote: >>Is there any way to get CanoScan 5000F to work? >> > > I do not see any. > > There is a project for that device, but they did not even release > beta source code up to now: > https://gna.org/projects/canoscan5000F > > When I plugged in my Canon LIDE20 scanner, > 1. I decided to make the FreeBSD uscanner driver to like LIDE20 > scanners > I used usbdevs -v to find out the vendor and product code > in /sys/dev/usb/usbdevs there is a list of devices > in /sys/dev/usb/uscanner.c there is a list of scanners > (I updated both lists) this is not needed for the Lide20.. There is already another device ther ewith the same IDs that is recognised (from the same family of scanners I presume) > 2. I decided to use sane from ports > /usr/ports/graphics/*sane* > 3. I decided to use the plustek driver after consulting the sane > driver search engine: > generic search form: > http://www.sane-project.org/cgi-bin/driver.pl > in your case: > http://www.sane-project.org/unsupported/canon-5000f.html > > Then you can use sane-find-scanner to see, if sane finds your > scanner. > > And you can try xsane to see, if it can scan... > > -Arne > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - now with 250MB free storage. Learn more. > http://info.mail.yahoo.com/mail_250 > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Sat Jan 1 23:11:22 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F01D16A4CE for ; Sat, 1 Jan 2005 23:11:22 +0000 (GMT) Received: from web41215.mail.yahoo.com (web41215.mail.yahoo.com [66.218.93.48]) by mx1.FreeBSD.org (Postfix) with SMTP id 0B24943D31 for ; Sat, 1 Jan 2005 23:11:22 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 77609 invoked by uid 60001); 1 Jan 2005 23:11:21 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=qbl3/EwZva4Znr99Z9Qyj5HAIxy9jusiN/BEp1vpt9llYGXMSBnrbjk+xrqbHbWboUI7mAwgLSjyPik7WGiBf5zgyUWi/DobLqZO2hBwl+DhjYBlTixHGNlA9o0BgVUD2a3hVSa8eZf2btKqOCWFeIdQINjP4bEuX5KSkk/+bMY= ; Message-ID: <20050101231121.77607.qmail@web41215.mail.yahoo.com> Received: from [83.129.168.82] by web41215.mail.yahoo.com via HTTP; Sat, 01 Jan 2005 15:11:21 PST Date: Sat, 1 Jan 2005 15:11:21 -0800 (PST) From: Arne "Wörner" To: Julian Elischer In-Reply-To: <41D728C2.9000107@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: USB FreeBSD Subject: Re: CanoScan 5000F Driver Support X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2005 23:11:22 -0000 > > When I plugged in my Canon LIDE20 scanner, > > 1. I decided to make the FreeBSD uscanner driver to like > LIDE20 > > scanners > > I used usbdevs -v to find out the vendor and product code > > in /sys/dev/usb/usbdevs there is a list of devices > > in /sys/dev/usb/uscanner.c there is a list of scanners > > (I updated both lists) > > this is not needed for the Lide20.. > There is already another device ther ewith the same IDs > that is recognised (from the same family of scanners I presume) > Yes, that is true for R5.3. But: When I plugged in the LIDE20 the first time it was not (R5.1 or so). I just wanted to describe the process for a scanner that is not supported by FreeBSD. -Arne __________________________________ Do you Yahoo!? Send a seasonal email greeting and help others. Do good. http://celebrity.mail.yahoo.com