From owner-freebsd-stable@FreeBSD.ORG Sun Jan 2 13:22:24 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C768D16A4CE for ; Sun, 2 Jan 2005 13:22:24 +0000 (GMT) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AEBD43D2D for ; Sun, 2 Jan 2005 13:22:24 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr8.xs4all.nl (8.12.11/8.12.11) with ESMTP id j02DMMkU048778; Sun, 2 Jan 2005 14:22:23 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 6EB0C63D4; Sun, 2 Jan 2005 14:22:27 +0100 (CET) Date: Sun, 2 Jan 2005 14:22:27 +0100 From: Roland Smith To: Harald Weis Message-ID: <20050102132227.GA47076@slackbox.xs4all.nl> Mail-Followup-To: Harald Weis , freebsd-stable@freebsd.org References: <20041229154905.GA1820@algol.adsl.nerim.net> <20041230083332.GA587@nosferatu.blackend.org> <20041231150712.GA1203@algol.adsl.nerim.net> <20050101010111.GA7319@slackbox.xs4all.nl> <20050102121737.GA744@algol.adsl.nerim.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <20050102121737.GA744@algol.adsl.nerim.net> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! Organization: Me, organized? X-Virus-Scanned: by XS4ALL Virus Scanner cc: freebsd-stable@freebsd.org Subject: Re: USB scanner not attached when connected after system startup] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jan 2005 13:22:25 -0000 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 02, 2005 at 01:17:37PM +0100, Harald Weis wrote: Harald, I think most of us understood what you mean. > But as I don't use the scanner every day I normally keep it > disconnected. Up to now I am obliged to reboot the system if I want to > use the scanner in the middle of the day. This would not be necessary > under MacOSX for example or - I hate to make the comparison :-) - > under Windows. So I would be happy to find some way to use the scanner > _without_ rebooting. It seems that this (USB) issue is not addressed > in the Handbook. > My ``usbd -dvv'' test was just meant to check whether usbd is able to > detect the events or not. I still believe the test is not completely > stupid. According to usbd(8) the deamon should handle the > attachment/detachment of the USB device, shouldn't it ? Apparently, > usbd does not `see' whether my scanner is connected or not. What's > wrong there ? Is there a fundamental fact I don't understand ? Sometimes the device that gets noticed by usbd is not the device that you eventually want. For instance, I have a usb pendrive. When I plug it in, usbd sees a device called umass0. But what I'm interested in is the adXsY device that represents the partition on the drive. So in this case usbd isn't very helpfull. I've asked this before, but you never answered; If you plug in the scanner in a running system, do you see it in the 'dmesg' output? If you do _not_ get a message like: uscanner0: EPSON EPSON Scanner, rev 1.10/3.02, addr 2 in your dmesg after you plug in the scanner, I'd say that your kernel doesn't recognize the scanner for some reason. This would be a bug in 4.x. If it does appear, the scanner is found by the kernel. If the scanner does not work in this case, what exactly is the reported error? If you've not running devfs, and the scanner wasn't available at boot time, maybe the the device node was never created? Can you confirm that the device node for the scanner exists if you boot up without the scanner present? > Can anybody out there use the 1650 under 4.x without the need to > connect it _before_ system startup ? =20 I haven't run 4.x, because it doesn't support my amd64 system. :-) > Roland,do you need to reboot > under 5.3 if you connect it to the running system ?=20 No, its works like a charm. Roland --=20 R.F. Smith /"\ ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ / No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \ Respect for open standards --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB1/WTEnfvsMMhpyURArR8AJ9gnSC6r4fVQ/F0atcVGlyhCliTgQCeIIGx GgA82Q1Yz8kO6tlNZRYdpP4= =ykOv -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--