From owner-freebsd-usb@FreeBSD.ORG Sun Aug 13 14:00:35 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7105116A4DA for ; Sun, 13 Aug 2006 14:00:35 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D9D543D46 for ; Sun, 13 Aug 2006 14:00:35 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7DE0YBE044617 for ; Sun, 13 Aug 2006 14:00:34 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7DE0Yks044616; Sun, 13 Aug 2006 14:00:34 GMT (envelope-from gnats) Date: Sun, 13 Aug 2006 14:00:34 GMT Message-Id: <200608131400.k7DE0Yks044616@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: jes Cc: Subject: Re: usb/101752: [panic] 6.1-RELEASE kernel panic on usb device insertion X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jes List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Aug 2006 14:00:35 -0000 The following reply was made to PR usb/101752; it has been noted by GNATS. From: jes To: bug-followup@freebsd.org, jes@jes-2.demon.nl Cc: jes@jes-2.demon.nl Subject: Re: usb/101752: [panic] 6.1-RELEASE kernel panic on usb device insertion Date: Sun, 13 Aug 2006 15:51:26 +0200 I built a test kernel with USB_DEBUG and got a bit more information prio= r = to a panic: Aug 13 02:14:11 jes-2 kernel: usbd_new_device bus=3D0xc3741000 port=3D1 = = depth=3D1 speed=3D2 Aug 13 02:14:11 jes-2 kernel: usbd_new_device: adding unit addr=3D2, = rev=3D200, class=3D0, subclass=3D0, protocol=3D0, maxpacket=3D64, len=3D= 18, speed=3D2 Aug 13 02:14:11 jes-2 kernel: usbd_new_device: new dev (addr 2), = dev=3D0xc4093380, parent=3D0xc373f580 Aug 13 02:14:11 jes-2 kernel: usbd_probe_and_attach: trying device = specific drivers Aug 13 02:14:11 jes-2 kernel: usbd_probe_and_attach: no device specific = = driver found Aug 13 02:14:11 jes-2 kernel: usbd_probe_and_attach: looping over 2 = configurations Aug 13 02:14:11 jes-2 kernel: usbd_set_config_index: status=3D0x0001, = error=3DNORMAL_COMPLETION Aug 13 02:14:11 jes-2 kernel: usbd_set_config_index: (addr 1) cno=3D2 = attr=3D0xc0, selfpowered=3D1, power=3D100 Aug 13 02:14:11 jes-2 kernel: usbd_set_config_index: set config 1 Aug 13 02:14:12 jes-2 kernel: umass1: CASIO COMPUTER CASIO QV DIGITAL, r= ev = 2.00/10.00, addr 2 Aug 13 02:14:12 jes-2 kernel: umass1: 8070i (ATAPI) over Bulk-Only; quir= ks = =3D 0x0000 Aug 13 02:14:12 jes-2 kernel: umass1:4:1:-1: Attached to scbus4 [panic] Aug 13 02:16:46 jes-2 syslogd: restart I tried adding CAM_DEBUG, but things went a bit awry. If you set any of = the CAM_DEBUG_FLAGS, you get a kernel panic (RELENG 6.1_1) at startup time, = = before even the hard discs are enabled. options CAMDEBUG options CAM_DEBUG_BUS=3D1 options CAM_DEBUG_TARGET=3D-1 options CAM_DEBUG_LUN=3D-1 options CAM_DEBUG_FLAGS=3D56 # CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_SUBTRACE|CAM_DEBUG_CDB The panic is that the GIANT lock is not held by the code, at cam_xpt.c:4= 193 No discs mean no crash dump. Setting CAM_DEBUG_FLAGS to 0 avoids a panic, but is hardly informative. I started doing a binary search to see if I could find flags which don't= = panic the kernel adn still produce some output, but the first two = attempts, with flags 7 and flags 56 bot paniced. I assume that doing = console output releases the GIANT lock -- = Jim Segrave - jes@jes-2.demon.nl From owner-freebsd-usb@FreeBSD.ORG Sun Aug 13 17:58:53 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 3A13C16A4DD for ; Sun, 13 Aug 2006 17:58:53 +0000 (UTC) (envelope-from casper@mail.web.am) Received: from mx1.web.am (mx1.web.am [217.113.0.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 493BC43D6E for ; Sun, 13 Aug 2006 17:58:47 +0000 (GMT) (envelope-from casper@mail.web.am) Received: from antispam (localhost.web.am [127.0.0.1]) by localhost (Postfix) with ESMTP id A007A61C0F for ; Sun, 13 Aug 2006 22:58:36 +0500 (AMST) Received: from localhost (localhost.web.am [127.0.0.1]) by localhost (Postfix) with SMTP id 62B8961C0A for ; Sun, 13 Aug 2006 22:58:36 +0500 (AMST) Received: from [192.168.0.3] (unknown [217.113.1.123]) by mx1.web.am (Postfix) with ESMTP id 3D68C61C09 for ; Sun, 13 Aug 2006 22:58:33 +0500 (AMST) Message-ID: <44DF684D.4090201@mail.web.am> Date: Sun, 13 Aug 2006 22:58:37 +0500 From: Gaspar Chilingarov User-Agent: Thunderbird 1.5.0.2 (X11/20060528) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mx1.web.am X-Spam-Status: No, hits=0.0 required=7.5 tests=none autolearn=no version=2.60 X-Spam-Level: Subject: Bug in ultp ? (amd64 + HP 1020 printer) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Aug 2006 17:58:53 -0000 Hello all! I'm running latest -current (Aug 13) on AMD64 and got the following problem -- HP 1020 printer does not respond at all to the commands. At first -- the firmwre should be loaded there (on attch) and then image data to be output on the printed (I've converted it from ps with gs and foo2zjs). In linux (Ubuntu) on the same hardware I've succeeded to boot system, run cat firmware > /dev/usblp0 cat testpage > /dev/usblp0 and it worked. I've also ensured that no initializations scripts for printer are run on startup. Both commands work without any delays. on freebsd first command -- cat firmvare > /dev/ulpt0 just hangs and a little bit later in syslog i can see kernel: ulpt0: offline I've tried compiling kernel with and without ehci -- it does not affect anything. Now I have kernel compiled with debugging, but usb stack prints too much log data - so if someone is interesed - just please let me know with which log level and with which options I should try to connect printer and send there a data. Thanks in advance. /Gaspar Chilingarov From owner-freebsd-usb@FreeBSD.ORG Sun Aug 13 19:22:23 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 0FE4C16A4DA for ; Sun, 13 Aug 2006 19:22:23 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BD6B43D6A for ; Sun, 13 Aug 2006 19:22:17 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k7DJJwjT043669; Sun, 13 Aug 2006 13:19:59 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 13 Aug 2006 13:20:07 -0600 (MDT) Message-Id: <20060813.132007.2130803053.imp@bsdimp.com> To: casper@mail.web.am From: "M. Warner Losh" In-Reply-To: <44DF684D.4090201@mail.web.am> References: <44DF684D.4090201@mail.web.am> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sun, 13 Aug 2006 13:20:00 -0600 (MDT) Cc: freebsd-usb@freebsd.org Subject: Re: Bug in ultp ? (amd64 + HP 1020 printer) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Aug 2006 19:22:23 -0000 In message: <44DF684D.4090201@mail.web.am> Gaspar Chilingarov writes: : Hello all! : : I'm running latest -current (Aug 13) on AMD64 and got the following : problem -- HP 1020 printer does not respond at all to the commands. : At first -- the firmwre should be loaded there (on attch) and then : image data to be output on the printed (I've converted it from ps with : gs and foo2zjs). : : In linux (Ubuntu) on the same hardware I've succeeded to boot system, : run : cat firmware > /dev/usblp0 : cat testpage > /dev/usblp0 : : and it worked. I've also ensured that no initializations scripts for : printer are run on startup. Both commands work without any delays. : : on freebsd first command -- cat firmvare > /dev/ulpt0 just hangs and a : little bit later in syslog i can see : kernel: ulpt0: offline : : I've tried compiling kernel with and without ehci -- it does not affect : anything. Now I have kernel compiled with debugging, but usb stack : prints too much log data - so if someone is interesed - just please let : me know with which log level and with which options I should try to : connect printer and send there a data. There used to be a bug where we'd wait for the printer to come online. Now we just print the offline message. Can you tell me what state the cat process is in (using top) when it hangs? Warner From owner-freebsd-usb@FreeBSD.ORG Sun Aug 13 19:47:39 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 0927D16A4DA for ; Sun, 13 Aug 2006 19:47:39 +0000 (UTC) (envelope-from q5480035@mailstore.FernUni-Hagen.de) Received: from cl-mailhost.FernUni-Hagen.de (cl-mailhost.fernuni-hagen.de [132.176.114.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8158643D46 for ; Sun, 13 Aug 2006 19:47:38 +0000 (GMT) (envelope-from q5480035@mailstore.FernUni-Hagen.de) Received: from mailstore.fernuni-hagen.de ([132.176.114.185]) by cl-mailhost.FernUni-Hagen.de with esmtp (Exim 4.24) id 1GCLvs-00007y-KV for freebsd-usb@freebsd.org; Sun, 13 Aug 2006 21:47:36 +0200 Received: from [84.151.52.111] (account q5480035 HELO [192.168.178.24]) by mailstore.fernuni-hagen.de (CommuniGate Pro SMTP 5.0.2) with ESMTPA id 16776643 for freebsd-usb@freebsd.org; Sun, 13 Aug 2006 21:47:36 +0200 Message-ID: <44DF8308.9080700@fernuni-hagen.de> Date: Sun, 13 Aug 2006 21:52:40 +0200 From: Marc van Woerkom User-Agent: Thunderbird 1.5.0.5 (X11/20060731) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: multipart/mixed; boundary="------------060201040801060805030208" X-prewhitelist: your reply will pass through without greylisting Subject: [Fwd: SD card speed] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Aug 2006 19:47:39 -0000 This is a multi-part message in MIME format. --------------060201040801060805030208 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Maybe someone here can give a comment? --------------060201040801060805030208 Content-Type: message/rfc822; name="SD card speed" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="SD card speed" Message-ID: <44DDD151.5090208@fernuni-hagen.de> Date: Sat, 12 Aug 2006 15:02:09 +0200 From: Marc van Woerkom User-Agent: Thunderbird 1.5.0.5 (X11/20060731) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Subject: SD card speed Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, just want to ask for your experiences: I have bought a Hama USB 2.0 Card Reader 35 in 1 and attached it to my Notebook running FreeBSD 6.1-RC. With this I use a Panasonic 512 MB "high speed" SD Card. Reading speed seems ok, iostat displays about 2,8 Mbyte/s reading transfer rate: tty ad0 da2 cpu tin tout KB/t xfrs MB KB/t xfrs MB us ni sy in id 128 101 36.00 2 0.07 8.00 363 2.84 7 0 4 5 84 168 191 17.70 33 0.57 7.99 361 2.82 9 0 3 5 83 360 115 0.00 0 0.00 7.99 359 2.80 10 0 6 4 80 464 194 64.00 1 0.06 8.00 358 2.80 9 0 5 6 80 112 94 0.00 0 0.00 7.99 362 2.82 9 0 4 4 84 112 215 8.38 21 0.17 7.99 360 2.81 9 0 3 3 84 But writing speed seems slow to me, I measure about 56 to 64 kbyte/s transfer rate only: tty ad0 da2 cpu tin tout KB/t xfrs MB KB/t xfrs MB us ni sy in id 2 110 16.00 1 0.02 8.00 7 0.05 19 0 4 2 75 9 209 16.00 1 0.02 8.00 7 0.05 17 0 2 1 80 8 94 8.00 1 0.01 8.00 7 0.05 19 0 2 1 78 12 110 40.00 2 0.08 8.00 8 0.06 28 0 2 2 68 10 113 0.00 0 0.00 8.00 7 0.05 16 0 2 2 81 11 113 16.00 5 0.08 8.00 7 0.05 17 0 5 0 78 Is that ok? Or does this card slug? Or is something ill-configured? Regards, Marc --------------060201040801060805030208-- From owner-freebsd-usb@FreeBSD.ORG Sun Aug 13 21:18:08 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 6D18816A4DE for ; Sun, 13 Aug 2006 21:18:08 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 054CA43D49 for ; Sun, 13 Aug 2006 21:18:07 +0000 (GMT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id k7DLI47m096626; Sun, 13 Aug 2006 17:18:04 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.6/8.13.3) with ESMTP id k7DLI4u9053887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 13 Aug 2006 17:18:04 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20060813170759.12be7730@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Sun, 13 Aug 2006 17:17:23 -0400 To: Marc van Woerkom , freebsd-usb@freebsd.org From: Mike Tancsa In-Reply-To: <44DF8308.9080700@fernuni-hagen.de> References: <44DF8308.9080700@fernuni-hagen.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on clamscanner2 X-Virus-Status: Clean Cc: Subject: Re: [Fwd: SD card speed] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Aug 2006 21:18:08 -0000 At 03:52 PM 13/08/2006, Marc van Woerkom wrote: >Maybe someone here can give a comment? > >But writing speed seems slow to me, I measure about 56 to 64 kbyte/s transfer >rate only: > tty ad0 da2 cpu >tin tout KB/t xfrs MB KB/t xfrs MB us ni sy in id > 2 110 16.00 1 0.02 8.00 7 0.05 19 0 4 2 75 > 9 209 16.00 1 0.02 8.00 7 0.05 17 0 2 1 80 > 8 94 8.00 1 0.01 8.00 7 0.05 19 0 2 1 78 > 12 110 40.00 2 0.08 8.00 8 0.06 28 0 2 2 68 That seems pretty slow. I get about 2.7MB/s on writes. How are you writing to it? port 5 addr 2: high speed, power 250 mA, config 1, Mass Storage Device(0x6362), Generic(0x058f), rev 1.10 This is against 50x CF % iostat -c 1000 da1 tty da1 cpu tin tout KB/t tps MB/s us ni sy in id 0 1 61.19 0 0.01 0 0 0 0 100 0 130 64.00 42 2.62 0 0 0 0 100 0 44 64.00 43 2.68 0 0 2 0 98 0 43 64.00 42 2.62 0 0 3 0 97 0 43 64.00 43 2.68 1 0 1 0 98 0 43 64.00 41 2.56 0 0 4 0 96 # dd if=/usr/obj/nanobsd.sentex/_.disk.full of=/dev/da1 obs=64k 1007616+0 records in 7872+0 records out 515899392 bytes transferred in 185.655989 secs (2778792 bytes/sec) ---Mike From owner-freebsd-usb@FreeBSD.ORG Sun Aug 13 23:42:41 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 9144B16A4DD for ; Sun, 13 Aug 2006 23:42:41 +0000 (UTC) (envelope-from q5480035@mailstore.FernUni-Hagen.de) Received: from cl-mailhost.FernUni-Hagen.de (cl-mailhost.fernuni-hagen.de [132.176.114.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 122C743D46 for ; Sun, 13 Aug 2006 23:42:40 +0000 (GMT) (envelope-from q5480035@mailstore.FernUni-Hagen.de) Received: from mailstore.fernuni-hagen.de ([132.176.114.185]) by cl-mailhost.FernUni-Hagen.de with esmtp (Exim 4.24) id 1GCPbL-0004Nr-3R; Mon, 14 Aug 2006 01:42:39 +0200 Received: from [84.151.52.111] (account q5480035 HELO [192.168.178.24]) by mailstore.fernuni-hagen.de (CommuniGate Pro SMTP 5.0.2) with ESMTPA id 16777648; Mon, 14 Aug 2006 01:42:38 +0200 Message-ID: <44DFBA1F.5070405@fernuni-hagen.de> Date: Mon, 14 Aug 2006 01:47:43 +0200 From: Marc van Woerkom User-Agent: Thunderbird 1.5.0.5 (X11/20060731) MIME-Version: 1.0 To: Mike Tancsa References: <44DF8308.9080700@fernuni-hagen.de> <6.2.3.4.0.20060813170759.12be7730@64.7.153.2> In-Reply-To: <6.2.3.4.0.20060813170759.12be7730@64.7.153.2> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-prewhitelist: your reply will pass through without greylisting Cc: freebsd-usb@freebsd.org Subject: Re: [Fwd: SD card speed] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Aug 2006 23:42:41 -0000 Mike Tancsa wrote: > At 03:52 PM 13/08/2006, Marc van Woerkom wrote: >> Maybe someone here can give a comment? >> >> But writing speed seems slow to me, I measure about 56 to 64 kbyte/s >> transfer >> rate only: >> tty ad0 da2 cpu >> tin tout KB/t xfrs MB KB/t xfrs MB us ni sy in id >> 2 110 16.00 1 0.02 8.00 7 0.05 19 0 4 2 75 >> 9 209 16.00 1 0.02 8.00 7 0.05 17 0 2 1 80 >> 8 94 8.00 1 0.01 8.00 7 0.05 19 0 2 1 78 >> 12 110 40.00 2 0.08 8.00 8 0.06 28 0 2 2 68 > > > That seems pretty slow. I get about 2.7MB/s on writes. How are you > writing to it? > > port 5 addr 2: high speed, power 250 mA, config 1, Mass Storage > Device(0x6362), Generic(0x058f), rev 1.10 > > This is against 50x CF > > % iostat -c 1000 da1 > tty da1 cpu > tin tout KB/t tps MB/s us ni sy in id > 0 1 61.19 0 0.01 0 0 0 0 100 > 0 130 64.00 42 2.62 0 0 0 0 100 > 0 44 64.00 43 2.68 0 0 2 0 98 > 0 43 64.00 42 2.62 0 0 3 0 97 > 0 43 64.00 43 2.68 1 0 1 0 98 > 0 43 64.00 41 2.56 0 0 4 0 96 > > # dd if=/usr/obj/nanobsd.sentex/_.disk.full of=/dev/da1 obs=64k > 1007616+0 records in > 7872+0 records out > 515899392 bytes transferred in 185.655989 secs (2778792 bytes/sec) > > > ---Mike Hah, now it gets interesting! :-) When I write in your fashion, I get similiar results: [root@hokage /]# dd if=/dev/zero of=/dev/da2 obs=64k dd: /dev/da2: end of device 967808+0 records in 7560+0 records out 495452160 bytes transferred in 237.168706 secs (2089028 bytes/sec) To be more precise: In my case the first couple of seconds nothing at all happened, the transfer rate was 0 MB/s! No idea why, perhaps some cache effect? Then the 2.87 MB/s rates kick in. Which is about the reading speed, I measured originally. tin tout KB/t tps MB/s us ni sy in id 0 88 0.00 0 0.00 9 0 10 5 75 0 163 0.00 0 0.00 5 0 9 5 80 0 140 0.00 0 0.00 9 0 20 6 64 368 84 0.00 0 0.00 9 0 5 4 83 88 100 0.00 0 0.00 2 0 8 2 89 128 72 0.00 0 0.00 3 0 8 2 88 200 242 64.00 8 0.50 7 0 12 4 77 224 75 64.00 38 2.37 26 0 12 5 56 0 107 64.00 46 2.87 13 0 7 5 74 184 81 64.00 45 2.81 29 0 6 4 61 224 93 64.00 46 2.87 8 0 5 3 84 120 79 64.00 46 2.87 9 0 5 2 84 0 147 64.00 45 2.81 6 0 12 1 81 0 91 64.00 46 2.87 6 0 2 2 91 0 89 64.00 45 2.81 3 0 5 2 90 0 91 64.00 46 2.87 4 0 4 5 88 0 98 64.00 46 2.87 3 0 5 3 89 0 83 64.00 45 2.81 7 0 5 5 82 0 106 64.00 46 2.87 8 0 6 5 81 0 100 64.00 45 2.81 7 0 7 2 84 Your question, how I wrote it, was a good one. Instead of using a USB stick to do quick transfers from my notebook (not everywhere I have a WLAN base station, or ethernet cable available to connect to) I intended to use the cardreader+SD card as an USB stick replacement. E.g. my wife has a PC with a HP inkjet printer, where the printer has its own handy SD card slot - ready to quickly print photos from SD cards (from digital cameras) without needing the PC to be powered on. It is easier to put a SD card in the front slot of the printer than to fiddle an USB stick into the PCs USB connector at the back side of its case. Usually I put the SD card in the digicam and it gets formated with a FAT system. The SD card I used here, the one with slow write transfer rates, however was formatted by me. Originially I used did a newfs_msdos /dev/da2 to format the media as FAT disk.. On the notebook this is ok. I was able to mount it and read/write the card. However when I put that one in the HP's card reader slot, its LED turned red instead green and the PC's Windows 2000 compained about a card failure but then allowed me to see the SD card's contents. While it worked the red LED buggered me. After a while I realized that the SD card just got a FAT system, but was lacking a partioning / slicing. Ouch. :-) So then I used sysinstall and created a FAT partion on the SD card. And then I ran newfs_msdos /dev/da2s1 to format it. This made the printer happy (green light) and Windows didn't feature an error message anymore. Thus we have this result so far: - direct writing of the card (dd to /dev/da2) gives full speed transfer rates (2.81 MB/s) - writing to the card, which has a FAT partition (created with sysinstall and newfs_msdos), via /dev/da2s1 gives slow transfer rates (56-64 kB/s) I used the cp command, transfering some podcast mp3 files to the SD card Now I have to find out who is the culprit. The formatting? (Because it is formatted at all? Is there a difference if I partion and format the SD card through Windows XP instead of the above FreeBSD command?) - The cp command? Regards, Marc From owner-freebsd-usb@FreeBSD.ORG Mon Aug 14 05:36:15 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 805D916A4DE for ; Mon, 14 Aug 2006 05:36:15 +0000 (UTC) (envelope-from q5480035@mailstore.FernUni-Hagen.de) Received: from cl-mailhost.FernUni-Hagen.de (cl-mailhost.fernuni-hagen.de [132.176.114.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id E88D943D4C for ; Mon, 14 Aug 2006 05:36:14 +0000 (GMT) (envelope-from q5480035@mailstore.FernUni-Hagen.de) Received: from mailstore.fernuni-hagen.de ([132.176.114.185]) by cl-mailhost.FernUni-Hagen.de with esmtp (Exim 4.24) id 1GCV7V-0006Go-HF; Mon, 14 Aug 2006 07:36:13 +0200 Received: from [84.151.58.35] (account q5480035 HELO [192.168.178.24]) by mailstore.fernuni-hagen.de (CommuniGate Pro SMTP 5.0.2) with ESMTPA id 16778326; Mon, 14 Aug 2006 07:36:13 +0200 Message-ID: <44E00CFE.5090806@fernuni-hagen.de> Date: Mon, 14 Aug 2006 07:41:18 +0200 From: Marc van Woerkom User-Agent: Thunderbird 1.5.0.5 (X11/20060731) MIME-Version: 1.0 To: Mike Tancsa References: <44DF8308.9080700@fernuni-hagen.de> <6.2.3.4.0.20060813170759.12be7730@64.7.153.2> In-Reply-To: <6.2.3.4.0.20060813170759.12be7730@64.7.153.2> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-prewhitelist: your reply will pass through without greylisting Cc: freebsd-usb@freebsd.org Subject: Re: [Fwd: SD card speed] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 05:36:15 -0000 I did some more tests. Using smaller blocksizes (newfs_msdosfs -b 4096) yields even slower write transfer rates. It looks like there are only 7 transfers per seconds, thus if the blocksize is smaller, less data is shoveled over. tty da2 cpu tin tout KB/t tps MB/s us ni sy in id 0 65 4.00 7 0.03 14 0 6 2 78 0 181 4.00 7 0.03 11 0 7 2 80 0 89 4.00 7 0.03 13 0 8 4 75 0 69 4.00 7 0.03 9 0 9 2 80 0 76 4.00 6 0.02 16 0 4 4 77 0 71 4.00 7 0.03 12 0 10 3 75 0 132 4.00 7 0.03 6 0 16 3 75 0 76 4.00 7 0.03 34 0 8 4 54 0 78 4.00 7 0.03 8 0 5 2 86 0 152 4.00 7 0.03 14 0 5 1 80 0 87 4.00 6 0.02 12 0 6 1 81 0 80 4.00 7 0.03 9 0 7 3 80 It doesn't seem to matter if it is FAT or FAT32. However if I format the SD card as UFS2 system, the card is fast: [root@hokage /]# fdisk /dev/da2 ******* Working on device /dev/da2 ******* parameters extracted from in-core disklabel are: cylinders=472 heads=64 sectors/track=32 (2048 blks/cyl) parameters to be used for BIOS calculations are: cylinders=472 heads=64 sectors/track=32 (2048 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 32, size 966624 (471 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 471/ head 63/ sector 32 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: tty da2 cpu tin tout KB/t tps MB/s us ni sy in id 27 55 1.45 1 0.00 12 0 7 2 79 0 162 128.00 20 2.50 8 0 9 4 80 0 70 128.00 23 2.87 5 0 9 3 83 0 66 128.00 21 2.62 12 0 7 1 80 0 44 128.00 24 3.00 9 0 8 1 83 0 72 128.00 22 2.75 7 0 5 1 87 0 127 128.00 23 2.87 12 0 13 3 71 0 66 128.00 23 2.87 5 0 7 4 84 0 81 128.00 23 2.87 17 0 8 4 71 0 66 128.00 23 2.87 7 0 9 4 80 0 70 128.00 22 2.75 12 0 11 3 74 0 90 128.00 23 2.87 10 0 8 2 80 136 81 128.00 20 2.50 9 0 9 2 80 Thus the slowdown seems to be related to using a FAT filesystem on that SD card. Last thing I have to test is what happens, if I partition/format that SD card under Windows. Regards, Marc From owner-freebsd-usb@FreeBSD.ORG Mon Aug 14 06:57:33 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 D61D316A4DD for ; Mon, 14 Aug 2006 06:57:33 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [210.51.165.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1DEB43D49 for ; Mon, 14 Aug 2006 06:57:32 +0000 (GMT) (envelope-from admin@intron.ac) Received: from localhost (localhost [127.0.0.1]) (uid 1003) by intron.ac with local; Mon, 14 Aug 2006 14:57:31 +0800 id 00102C04.44E01EDB.00000942 References: <44DF8308.9080700@fernuni-hagen.de> <6.2.3.4.0.20060813170759.12be7730@64.7.153.2> <44E00CFE.5090806@fernuni-hagen.de> In-Reply-To: <44E00CFE.5090806@fernuni-hagen.de> From: "Intron" To: Marc van Woerkom Date: Mon, 14 Aug 2006 14:57:31 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Cc: freebsd-usb@freebsd.org Subject: Re: SD card speed X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 06:57:34 -0000 Marc van Woerkom wrote: > I did some more tests. > > Using smaller blocksizes (newfs_msdosfs -b 4096) yields even slower write > transfer rates. It looks like there are only 7 transfers per seconds, thus > if > the blocksize is smaller, less data is shoveled over. > > tty da2 cpu > tin tout KB/t tps MB/s us ni sy in id > 0 65 4.00 7 0.03 14 0 6 2 78 > 0 181 4.00 7 0.03 11 0 7 2 80 > 0 89 4.00 7 0.03 13 0 8 4 75 > 0 69 4.00 7 0.03 9 0 9 2 80 > 0 76 4.00 6 0.02 16 0 4 4 77 > 0 71 4.00 7 0.03 12 0 10 3 75 > 0 132 4.00 7 0.03 6 0 16 3 75 > 0 76 4.00 7 0.03 34 0 8 4 54 > 0 78 4.00 7 0.03 8 0 5 2 86 > 0 152 4.00 7 0.03 14 0 5 1 80 > 0 87 4.00 6 0.02 12 0 6 1 81 > 0 80 4.00 7 0.03 9 0 7 3 80 > > It doesn't seem to matter if it is FAT or FAT32. > > However if I format the SD card as UFS2 system, the card is fast: > > [root@hokage /]# fdisk /dev/da2 > ******* Working on device /dev/da2 ******* > parameters extracted from in-core disklabel are: > cylinders=472 heads=64 sectors/track=32 (2048 blks/cyl) > > parameters to be used for BIOS calculations are: > cylinders=472 heads=64 sectors/track=32 (2048 blks/cyl) > > Media sector size is 512 > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 1 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 32, size 966624 (471 Meg), flag 80 (active) > beg: cyl 0/ head 1/ sector 1; > end: cyl 471/ head 63/ sector 32 > The data for partition 2 is: > > The data for partition 3 is: > > The data for partition 4 is: > > > tty da2 cpu > tin tout KB/t tps MB/s us ni sy in id > 27 55 1.45 1 0.00 12 0 7 2 79 > 0 162 128.00 20 2.50 8 0 9 4 80 > 0 70 128.00 23 2.87 5 0 9 3 83 > 0 66 128.00 21 2.62 12 0 7 1 80 > 0 44 128.00 24 3.00 9 0 8 1 83 > 0 72 128.00 22 2.75 7 0 5 1 87 > 0 127 128.00 23 2.87 12 0 13 3 71 > 0 66 128.00 23 2.87 5 0 7 4 84 > 0 81 128.00 23 2.87 17 0 8 4 71 > 0 66 128.00 23 2.87 7 0 9 4 80 > 0 70 128.00 22 2.75 12 0 11 3 74 > 0 90 128.00 23 2.87 10 0 8 2 80 > 136 81 128.00 20 2.50 9 0 9 2 80 > > Thus the slowdown seems to be related to using a FAT filesystem on > that SD card. > > Last thing I have to test is what happens, if I partition/format that > SD card under Windows. > > Regards, > Marc > > _______________________________________________ > 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" Due to the asynchronous transmission mechanism and somewhat long delay on line, USB requires device to transfer data in as large block as possible to gain high transmission rate. Have you tested your card reader on Microsoft Windows? FreeBSD's FAT module probably isn't optimized enough. ------------------------------------------------------------------------ From Beijing, China From owner-freebsd-usb@FreeBSD.ORG Mon Aug 14 07:28:42 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 CF0BE16A4DA for ; Mon, 14 Aug 2006 07:28:42 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A58843D96 for ; Mon, 14 Aug 2006 07:28:14 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7E7SEJT038641 for ; Mon, 14 Aug 2006 07:28:14 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7E7SC0w038636 for freebsd-usb@FreeBSD.org; Mon, 14 Aug 2006 07:28:12 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 14 Aug 2006 07:28:12 GMT Message-Id: <200608140728.k7E7SC0w038636@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 07:28:42 -0000 Current FreeBSD problem reports Critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa o usb/91629 usb usbd_abort_pipe() may result in infinite loop 2 problems total. Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/40792 usb signals lead to data loss on device ugen o usb/46176 usb [panic] umass causes kernel panic if device removed be o i386/46371 usb USB controller cannot be initialized on IBM Netfinity f usb/55555 usb [ums] system freezes with access to /dev/ums0 o bin/57255 usb usbd and multi-function devices o usb/62088 usb [usb] Logitech Cordless/Optical Mouse not working o usb/62309 usb [ugen] [panic] panic: ugen(4) driver o usb/63621 usb [usb] USB MemoryStick Reader stalls/crashes system o usb/69006 usb [patch] Apple Cinema Display hangs USB ports o usb/71155 usb [usb] misbehaving usb-printer hangs processes, causes o usb/73307 usb [panic] Kernel panics on USB disconnect o usb/74771 usb [umass] mounting write-protected umass device as read/ o usb/75705 usb [panic] da0 attach / Optio S4 (with backtrace) o usb/75797 usb 5.3-STABLE(2005 1/4) detect USB headset, But can not f f usb/76204 usb panic while using usb attached modem o usb/76395 usb USB printer does not work, usbdevs says "addr 0 should f usb/76684 usb [hang] Toshiba PDR-M4 camera connected via USB hangs s o usb/77184 usb kernel panic on USB device disconnect o usb/77294 usb ucom + ulpcom panic o usb/77940 usb [patch] [panic] insertion of usb keyboard panics syste f i386/78218 usb [kue] kue not detected on Sony PCG-F370 VAIO o usb/78989 usb please add USB keyboard support to install CD's o usb/79140 usb WD Firewire/USB Combo hangs under load on USB interfac o usb/79269 usb USB ohci da0 plug/unplug causes crashes and lockups. o usb/79287 usb UHCI hang after interrupt transfer o usb/79524 usb printing to Minolta PagePro 1[23]xxW via USB fails wit f usb/79656 usb [usb] RHSC interrupts lost o usb/79722 usb [usb] wrong alignments in ehci.h o usb/80040 usb [hang] Use of sound mixer causes system freeze with ua f usb/80260 usb Travan USB tape drive fails to write o usb/80361 usb mounting of usb-stick fails o usb/80373 usb usb keyboard does not respond o usb/80829 usb possible panic when loading USB-modules o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/81308 usb [ugen] [patch] polling a ugen(4) control endpoint caus f usb/82198 usb Panic on attaching of ONKI N-338 USB MP3 player f usb/82272 usb Can not recognize Casio camera EX-Z40 as a umass devic o usb/82350 usb [usb] null pointer dereference in USB stack o usb/82520 usb Reboot when USL101 connected o usb/82569 usb [usb] USB mass storage plug/unplug causes system panic o usb/82660 usb EHCI: I/O stuck in state 'physrd'/panic o usb/83504 usb [usb] SpeedTouch USB stop working on recent current (a o usb/83563 usb [panic] Page Fault while detaching Mpman Usb device o usb/83677 usb [usb] usb controller often not detected (Sun W2100z) o usb/83756 usb Microsoft Intellimouse Explorer 4.0A doesn't work. o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/84326 usb [umass] Panic trying to connect SCSI tape drive via US o usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/84936 usb install - usb keyboard not recognized o usb/86031 usb need support usb nic rt2500 in my 5.4 STABLE o usb/86767 usb [usb] bogus "slice starts beyond end of the disk:..." o usb/87099 usb panic: ohci_add_done: addr 0x000d1bf0 not found o usb/87519 usb [kbd] cannot install on USB-only system o usb/87565 usb [PATCH] Support for Vodaphone 3G/UMTS cards o usb/88743 usb [hang] USB makes kernel hang at boot (regression in 6. o usb/88966 usb kldunload ucom.ko returns "Device busy" error. o usb/89003 usb LaCie Firewire drive not properly supported under 6.0 o usb/89218 usb flash disk o usb/89954 usb [usb] USB Disk driver race condition? f usb/89997 usb [umass] [panic] panic on iPod mini detach o usb/90162 usb [usb] [patch] Add support for the MS Wireless USB Mous o usb/90700 usb Kernel panic on connect/mount/use umass device o usb/91238 usb USB tape unit fails to write a second tape file to the o usb/91263 usb [patch] USB quirk needed for Logitec USB Hard disk LHD o usb/91283 usb booting very slow with usb devices connection (regress o usb/91538 usb Unable to print to EPSON CX3500 o usb/91906 usb FreeBSD hangs while booting with USB legacy support on o usb/92052 usb usbd causes defunct process with busy file-handle o usb/92142 usb SET_ADDR_FAILED and SHORT_XFER errors from usb drivers o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/93155 usb /dev/ulpt0: device busy USB printer does not work o usb/93408 usb hw.acpi.cpu.cx_lowest=C3 on AMD Turion causes choppy m f usb/93496 usb USB2.0 umass stalls on VIA o usb/93640 usb device ehci causes interrupt storm on this MSI amd64 m o usb/93828 usb ohci causes panic on boot (HP Pavillion d4100e) o usb/93949 usb ugen(4)-related repeatable kernel panic in 6.1-PRERELE o usb/94166 usb btx halted with a flashcard plugged o usb/94384 usb kernel panic with usb2 hardware o usb/94717 usb Reading from /dev/ulpt can break work of a UHCI hub o usb/94742 usb [umass] [patch] umass driver does not recognise YANO e o usb/94813 usb mounting write-protected umass device freezes computer o usb/94897 usb Kernel Panic when cleanly unmounting USB disk o usb/95131 usb Boot/setup process does not accept key strokes o usb/95348 usb USB keyboard unplug causes noise on screen o usb/95562 usb Write Stress in USB Mass drive cause: [vinvalbuf: dir o usb/95636 usb [boot] 5 minute delay at boot when using VT6205 based o usb/96120 usb USB mouse not always detected o usb/96224 usb [usb] mount_msdosfs cause page fault in syncer process o usb/96457 usb fatback on umass = reboot o usb/97286 usb MS Wireless Intellimouse Explorer 2.0 doesn't work o usb/99431 usb FreeBSD on MSI 6566E (Intel 845E motherboards) doesn't o usb/100992 usb Support for Epson 4990 USB scanners o usb/101096 usb USB WLAN occasionally causes kernel-panics during larg o usb/101752 usb [panic] 6.1-RELEASE kernel panic on usb device inserti 94 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem s usb/32653 usb Added patches to improve USB scanner supportOB o usb/40948 usb [usb] USB HP CDW8200 does not work f usb/41415 usb [usb] [patch] Some USB scanners cannot talk to uscanne o usb/48342 usb [PATCH] usbd dynamic device list. o kern/51958 usb [usb] [patch] update for urio driver o kern/52026 usb [usb] feature request: umass driver support for InSyst o usb/53025 usb [ugen] [patch] ugen does not allow O_NONBLOCK for inte o usb/56095 usb [usb] [patch] QUIRK: Apacer Pen Drive fails to work o kern/59698 usb [kbd] [patch] Rework of ukbd HID to AT code translatio f usb/60248 usb [patch] Problem with USB printer HP LaserJet 1300 o usb/61234 usb [usb] [patch] usbhidaction(1) doesn't support using an o usb/63837 usb [uhid] [patch] USB: hid_is_collection() only looks for o kern/65769 usb [usb] Call to tcflush(x, TCIFLUSH) stops input on usb- o kern/66547 usb [usb] Palm Tungsten T USB does not initialize correctl o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/68412 usb [usb] [patch] QUIRK: Philips KEY013 USB MP3 player o usb/70523 usb [usb] [patch] umct sending/receiving wrong characters o usb/70942 usb [usb] Genius Wireless USB mouse: moused doesn't work c o usb/71416 usb [usb] Cryptoflex e-gate USB token (ugen0) detach is no o usb/71417 usb [usb] Cryptoflex e-gate USB token (ugen0) communicatio o usb/71455 usb [usb] Slow USB umass performance of 5.3 o usb/71605 usb [umass] [patch] umass doesn't recognize multiple slots o usb/72380 usb [usb] USB does not work [dual Celeron Abit] o usb/72732 usb [patch] Kyocera 7135 quirk. o usb/72733 usb Kyocera 7135 Palm OS connection problem. o usb/73056 usb [usb] Sun Microsystems Type 6 USB mouse not working in f usb/73553 usb [usb] Microsoft USB Internet Keyboard not recongized o usb/74211 usb USB flash drive causes CAM status 0x4 on 4.10Release f usb/74358 usb [umass] unplugging at boot time an umass device crashe o usb/74453 usb Q-lity CD-RW USB ECW-043 (ScanLogic SL11R chipset) doe o usb/74557 usb imation 500mb usb key can only be written halfway on f o usb/74609 usb [usb] [patch] allowing cdma modems to work at full spe o usb/74849 usb [usb] [patch] Samsung SPH-i500 does not attach properl o usb/74880 usb [usb] [patch] Samsung N400 cellphone/acm fails to atac o usb/75800 usb ucom1: init failed STALLED error in time of sync with o usb/75928 usb Cytronix SmartMedia card (SMC) reader has problems whe o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76732 usb Mouse problems with USB KVM Switch f usb/78371 usb Philips Wearable Audio Player (128) fails to attach f usb/78984 usb Creative MUVO umass failure o usb/79723 usb [usb] prepare for high speed isochronous transfers o usb/79725 usb [usb] [patch] USB device speed is not double-checked o usb/79893 usb [umass] [patch] new usbdevs/umass quirks derived from o usb/80010 usb [aue] [patch] add support for the AEI USB to LAN adapt f usb/80420 usb atapicam stops iPod functionality f usb/80773 usb "usbd_get_string()" could have taken a length paramete o usb/80774 usb have "usbd_find_desc" in line with the other "usbd_fin o usb/80776 usb [udav] UDAV device driver shouldn't use usb_add_task o usb/80777 usb usb_rem_task() should wait for callback to complete? o usb/80854 usb suggestion for new iface-no-probe mechanism o usb/80935 usb uvisor.c is not work with CLIE TH55. o usb/81073 usb [umass] [patch] fix umass NO_GETMAXLUN quirk o usb/81191 usb Support for Curitel HX-550C USB modem to 5.4 RELEASE. f usb/81621 usb external hd hangs under load on ehci o usb/82436 usb [patch] USL101 Host-to-Host bridge support on FreeBSD o usb/83022 usb ALI USB 2.0 EHCI Controller is not detected o usb/83863 usb Communication problem between opensc/openct via USB wi o usb/85067 usb Cannot attach ScanJet 4300C to usb device o usb/85992 usb [uhid] [patch] USB stops working when trying to read f o usb/86195 usb [patch] allow USB Ethernet Adaptor "ELECOM LD-USB20" t o usb/86298 usb Known good USB mouse won't work with correct settings o usb/86438 usb Fix for non-working iPod over USB is in NetBSD CVS o usb/87224 usb Cannot mount USB Zip750 o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/88408 usb axe0 read PHY failed o usb/88939 usb Fix cheapy Myson USB-IDE adapter f usb/89087 usb usb external harddrive hangs with BBB reset failed, TI f usb/91191 usb HP LaserJet 1020 (USB printer) not recognized f usb/91516 usb [umass] umass0 problems, with Freecom Classic SL Hard o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91811 usb Compact Flash in HP Photosmart 2610 return " Medium n o usb/91896 usb Serial Number of USB Memory Sticks is not passed throu o usb/92306 usb [quirk] [patch] Support for iRiver U10 USB media playe o usb/92403 usb [uplcom] uplcom.c needs new entry for 4.00 revision of p usb/92462 usb [patch] Add support for Epson CX3500/3600/3650 scanner o usb/92852 usb Vertical scroll not working properly on A4Tech WOP-49 f usb/93011 usb HP ScanJet 6200C & uscanner problem o usb/93389 usb Digital Camera Pentax S60 don't work o usb/93484 usb [umass] [patch] QUIRK: Toshiba TransMemory USB Memorys o usb/93872 usb [patch] SCSI quirk required for ELTA 8061 OL USB memor o usb/94132 usb USB QUIRK for CENTURY EX35QUAT disk enclosure f usb/94147 usb doesn't recognise my USB keyboard o usb/94148 usb Make if_cdce work with ARM linux handhelds o usb/94311 usb [ugen][PATCH] allow interrupt IN transactions to be af o usb/94439 usb [patch] Add support for JNC MP3 Player o usb/94946 usb [uhub][patch] code dynamic status size for status chan o usb/95037 usb USB disk didnt recognized on hot-plug. o usb/95173 usb [usb] cannot mount external usb harddisk VIA Technolog o usb/95241 usb Patch to add USB ID for OEM Pharos 360 GPS p usb/95616 usb [patch] Add support for USB Acer 640BT scanner o usb/95803 usb Add support for AnyData ADU-E100H o usb/95805 usb Add Support for Siemens ES75 modem o usb/96381 usb [patch] add a quirk table entry for a flash ram usb st o usb/96546 usb [usb] [patch] Add support (quirk) for EasyMP3 EM732X U o usb/96599 usb [patch] [usb] Sony Handycam DCR-HC32E memory stick slo o usb/96714 usb Update uvisor to support the Fossil Abacus Wrist PDA o usb/96901 usb [patch] Add support for X-Micro Flash Disk o usb/97175 usb USB cardreader hangs system o usb/97472 usb [patch] add support for Olympus C150,D390 o usb/97512 usb add Motorola A41x/V32x USB phone support (patch enclos o usb/97948 usb [patch] CMOTECH CDMA USB modem support o usb/98343 usb BBB reset failed errors with Creative Muvo MP3 player; o usb/98385 usb [patch] add support for libretto DVD Dock device to um o usb/98713 usb QUIRK: Rekam USB Camera o usb/99419 usb external usb harddrive slow to accept o usb/99538 usb [kbd] while using USB keyboard default params of atkbd o usb/99887 usb Archos Multimedia Jukebox doesn't work o usb/100746 usb [kbd] system does not boot due to USB keyboard problem o usb/100957 usb [usb] [patch] usbdevs entry and uscanner.c addition fo o usb/101043 usb [usbdevs] [patch] Add vendor "Sony Ericsson Mobile Com o usb/101066 usb Logitech iFeel MouseMan USB - UN53B o usb/101757 usb [patch] uhid.4: correct structure field names to match o usb/101761 usb [patch] usb.h: increase maximal size of report descrip o usb/101775 usb [libusbhid] [patch] possible error in report descripto 115 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 14 10:38:25 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 BDA5416A4FE for ; Mon, 14 Aug 2006 10:38:25 +0000 (UTC) (envelope-from q5480035@mailstore.FernUni-Hagen.de) Received: from cl-mailhost.FernUni-Hagen.de (cl-mailhost.fernuni-hagen.de [132.176.114.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8410343D58 for ; Mon, 14 Aug 2006 10:38:23 +0000 (GMT) (envelope-from q5480035@mailstore.FernUni-Hagen.de) Received: from mailstore.fernuni-hagen.de ([132.176.114.185]) by cl-mailhost.FernUni-Hagen.de with esmtp (Exim 4.24) id 1GCZpt-0001im-If; Mon, 14 Aug 2006 12:38:21 +0200 Received: from [84.151.58.35] (account q5480035 HELO [192.168.178.24]) by mailstore.fernuni-hagen.de (CommuniGate Pro SMTP 5.0.2) with ESMTPA id 16782055; Mon, 14 Aug 2006 12:38:21 +0200 Message-ID: <44E053CE.4090304@fernuni-hagen.de> Date: Mon, 14 Aug 2006 12:43:26 +0200 From: Marc van Woerkom User-Agent: Thunderbird 1.5.0.5 (X11/20060731) MIME-Version: 1.0 To: Intron References: <44DF8308.9080700@fernuni-hagen.de> <6.2.3.4.0.20060813170759.12be7730@64.7.153.2> <44E00CFE.5090806@fernuni-hagen.de> In-Reply-To: Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit X-prewhitelist: your reply will pass through without greylisting Cc: freebsd-usb@freebsd.org Subject: Re: SD card speed X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 10:38:25 -0000 Intron wrote: > Have you tested your card reader on Microsoft Windows? > FreeBSD's FAT module probably isn't optimized enough. > No, but what I just tried again,after I formatted the SD card under Windows. Guess what happened: tty da2 cpu tin tout KB/t tps MB/s us ni sy in id 0 64 4.00 483 1.89 10 0 17 13 60 0 161 4.00 486 1.90 16 0 13 12 59 0 43 4.00 477 1.86 9 0 14 8 70 0 65 4.00 422 1.65 8 0 15 9 69 0 78 4.00 486 1.90 5 0 11 13 71 0 43 4.00 485 1.89 4 0 5 8 83 0 121 4.00 474 1.85 10 0 14 9 67 0 43 4.00 486 1.90 8 0 16 11 65 0 43 4.00 483 1.89 16 0 6 9 69 0 43 4.00 396 1.55 7 0 16 9 69 0 65 4.00 484 1.89 9 0 14 10 67 0 43 4.00 482 1.88 7 0 16 13 63 0 43 4.00 485 1.89 5 0 14 12 69 0 43 4.00 318 1.24 6 0 9 13 71 136 43 4.00 482 1.88 9 0 16 6 69 Thus the crucial factor is the formatting! What the heck is the difference between a formatting done with sysinstall's fdisk and Windows XP's format? fdisk reports [root@hokage /mnt]# fdisk /dev/da2 ******* Working on device /dev/da2 ******* parameters extracted from in-core disklabel are: cylinders=472 heads=64 sectors/track=32 (2048 blks/cyl) parameters to be used for BIOS calculations are: cylinders=472 heads=64 sectors/track=32 (2048 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 11 (0x0b),(DOS or Windows 95 with 32 bit FAT) start 32, size 966624 (471 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 471/ head 63/ sector 32 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: Is there really a difference? In the old times, I am talking Apple ][ 140kb floppies, the so called interleave of the sectors made a difference, thus how the logical sector numbers were assigned to the physical sector numbers. A different interleave factor made it that once a sector was read the next logical sector was beneath the read head, so it was quicker. Maybe there is some sorting order important as well in this case? Any idea how I can solve this puzzle? I am bit frustrated, if I have to format under Windows to get a decent speed. Regards, Marc From owner-freebsd-usb@FreeBSD.ORG Mon Aug 14 12:29:27 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 DCBC316A4E2 for ; Mon, 14 Aug 2006 12:29:27 +0000 (UTC) (envelope-from admin@intron.ac) Received: from intron.ac (unknown [210.51.165.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55EC443D81 for ; Mon, 14 Aug 2006 12:29:18 +0000 (GMT) (envelope-from admin@intron.ac) Received: from localhost (localhost [127.0.0.1]) (uid 1003) by intron.ac with local; Mon, 14 Aug 2006 20:29:16 +0800 id 00102C04.44E06C9C.000024BE References: <44DF8308.9080700@fernuni-hagen.de> <6.2.3.4.0.20060813170759.12be7730@64.7.153.2> <44E00CFE.5090806@fernuni-hagen.de> <44E053CE.4090304@fernuni-hagen.de> In-Reply-To: <44E053CE.4090304@fernuni-hagen.de> From: "Intron" To: Marc van Woerkom Date: Mon, 14 Aug 2006 20:29:16 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312"; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Cc: freebsd-usb@freebsd.org Subject: Re: SD card speed X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 12:29:28 -0000 Marc van Woerkom wrote: > Intron wrote: >> Have you tested your card reader on Microsoft Windows? >> FreeBSD's FAT module probably isn't optimized enough. >> > No, but what I just tried again,after I formatted > the SD card under Windows. > > Guess what happened: > > tty da2 cpu > tin tout KB/t tps MB/s us ni sy in id > 0 64 4.00 483 1.89 10 0 17 13 60 > 0 161 4.00 486 1.90 16 0 13 12 59 > 0 43 4.00 477 1.86 9 0 14 8 70 > 0 65 4.00 422 1.65 8 0 15 9 69 > 0 78 4.00 486 1.90 5 0 11 13 71 > 0 43 4.00 485 1.89 4 0 5 8 83 > 0 121 4.00 474 1.85 10 0 14 9 67 > 0 43 4.00 486 1.90 8 0 16 11 65 > 0 43 4.00 483 1.89 16 0 6 9 69 > 0 43 4.00 396 1.55 7 0 16 9 69 > 0 65 4.00 484 1.89 9 0 14 10 67 > 0 43 4.00 482 1.88 7 0 16 13 63 > 0 43 4.00 485 1.89 5 0 14 12 69 > 0 43 4.00 318 1.24 6 0 9 13 71 > 136 43 4.00 482 1.88 9 0 16 6 69 > > Thus the crucial factor is the formatting! > Try to run "chkdsk" against your card under Microsoft Windows XP. Chkdsk will report file system type (FAT16 or FAT32) and cluster size (e.g. 16384 bytes) after checking file system on your SD card. Format your SD card with the same file system type (-F) and cluster size (-b) under FreeBSD and test the transmission rate again. As I have referred to in my previous letter, I guess the difference of transmission rate comes from the asynchronous transmission mechanism and the sensibility against transmission on-line delay of USB, which is rather fit for large block transmission than small block transmission. ------------------------------------------------------------------------ From Beijing, China From owner-freebsd-usb@FreeBSD.ORG Mon Aug 14 13:30:36 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97FAC16A505 for ; Mon, 14 Aug 2006 13:30:36 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57F0043D8A for ; Mon, 14 Aug 2006 13:30:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7EDURrH076462 for ; Mon, 14 Aug 2006 13:30:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7EDURTQ076461; Mon, 14 Aug 2006 13:30:27 GMT (envelope-from gnats) Date: Mon, 14 Aug 2006 13:30:27 GMT Message-Id: <200608141330.k7EDURTQ076461@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Jim Segrave Cc: Subject: Re: usb/101752: [panic] 6.1-RELEASE kernel panic on usb device insertion X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jim Segrave List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 13:30:36 -0000 The following reply was made to PR usb/101752; it has been noted by GNATS. From: Jim Segrave To: bug-followup@FreeBSD.org, jes@jes-2.demon.nl Cc: Subject: Re: usb/101752: [panic] 6.1-RELEASE kernel panic on usb device insertion Date: Mon, 14 Aug 2006 15:28:55 +0200 I don't know if this is relevant, but in the Linux kernel (which does not panic with this device), I found the follwing comments in drivers/usb/storage/unusual_devs.h /* Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant * to the USB storage specification in two ways: * - They tell us they are using transport protocol CBI. In reality they * are using transport protocol CB. * - They don't like the INQUIRY command. So we must handle this command * of the SCSI layer ourselves. * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have * bInterfaceProtocol=0x00 (US_PR_CBI) while others have 0x01 (US_PR_CB). * So don't remove the US_PR_CB override! * - Cameras with bcdDevice=0x9009 require the US_SC_8070 override. */ UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999, "Casio", "QV DigitalCamera", US_SC_8070, US_PR_CB, NULL, US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ), -- Jim Segrave jes@jes-2.demon.nl From owner-freebsd-usb@FreeBSD.ORG Mon Aug 14 14:22:16 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 6BBDA16A4DD for ; Mon, 14 Aug 2006 14:22:16 +0000 (UTC) (envelope-from aleksey.salow@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8B3F43E14 for ; Mon, 14 Aug 2006 14:21:23 +0000 (GMT) (envelope-from aleksey.salow@gmail.com) Received: by py-out-1112.google.com with SMTP id c59so1264084pyc for ; Mon, 14 Aug 2006 07:21:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KdOSu+Dl9ezdmZsOhYAmujk+yQNBsAjrWG7Hb2yYlXZMop8kpvfVhWYNPZ9ZFaozVYBKfaLgQKVgKPD8mT0a3NZMED0++nJNo7SfrNgTBuzmyXzoyXQsB/4XD0ZIOBScLZIOLIgXT1Vd6TXipJ0FstbapCiNhHjojk1XVN5lbKg= Received: by 10.35.113.12 with SMTP id q12mr13351255pym; Mon, 14 Aug 2006 07:21:23 -0700 (PDT) Received: by 10.35.129.4 with HTTP; Mon, 14 Aug 2006 07:21:22 -0700 (PDT) Message-ID: <1738877f0608140721x56da779eq48c2267105be9aa3@mail.gmail.com> Date: Mon, 14 Aug 2006 17:21:22 +0300 From: "Aleksey Salow" To: freebsd-usb@freebsd.org In-Reply-To: <44DF684D.4090201@mail.web.am> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44DF684D.4090201@mail.web.am> Subject: Re: Bug in ultp ? (amd64 + HP 1020 printer) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 14:22:16 -0000 Hello I also has strange behaviour of ulpt driver. I have -current (Aug 5) on AMD64 and Canon LBP-810 printer connected to usb. I setup lpd and use it as network printer from my home net. When I try print something from my windows machine, in most cases I give next messages at console: Aug 5 02:22:26 woodpecker kernel: ulpt0: on uhub0 Aug 5 02:22:26 woodpecker kernel: ulpt0: using bi-directional mode Aug 5 02:22:56 woodpecker kernel: ulpt0: at uhub0 port 1 (addr 3) disconnected Aug 5 02:22:56 woodpecker kernel: ulpt0: detached Aug 5 02:22:58 woodpecker kernel: ulpt0: on uhub0 Aug 5 02:22:58 woodpecker kernel: ulpt0: using bi-directional mode Aug 5 02:23:08 woodpecker kernel: ulpt0: at uhub0 port 1 (addr 3) disconnected Aug 5 02:23:08 woodpecker kernel: ulpt0: detached Aug 5 02:23:15 woodpecker kernel: ulpt0: on uhub0 Aug 5 02:23:15 woodpecker kernel: ulpt0: using bi-directional mode Also I get this messages when run (I get 'testfile' from lpd spool directory): cat testfile > /dev/ulpt0 I can provide any debug info if this helps to solve this problem. Thanks. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 14 18:46:57 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 9255A16A4DE for ; Mon, 14 Aug 2006 18:46:57 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0953A43D49 for ; Mon, 14 Aug 2006 18:46:56 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k7EIiBvu015289; Mon, 14 Aug 2006 12:44:12 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 14 Aug 2006 12:44:11 -0600 (MDT) Message-Id: <20060814.124411.1649765968.imp@bsdimp.com> To: marc.vanwoerkom@FernUni-Hagen.de From: "M. Warner Losh" In-Reply-To: <44E053CE.4090304@fernuni-hagen.de> References: <44E00CFE.5090806@fernuni-hagen.de> <44E053CE.4090304@fernuni-hagen.de> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Mon, 14 Aug 2006 12:44:13 -0600 (MDT) Cc: freebsd-usb@freebsd.org Subject: Re: SD card speed X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 18:46:57 -0000 In message: <44E053CE.4090304@fernuni-hagen.de> Marc van Woerkom writes: : What the heck is the difference between : a formatting done with sysinstall's fdisk : and Windows XP's format? Chances are that there's a 'mbr signature recognition' that looks for certain kinds of FAT file systems so that the part can implement an improved 'wear averaging' algorithm that knows which sectors are unused giving it a much larger pool to rotate wear through, especially in low allocation situations. How to make FreeBSD's fdisk do the right thing is an interesting question... There are some CF parts that are 4x slower at write when you format them for ffs than when you format them for FAT. Warner From owner-freebsd-usb@FreeBSD.ORG Tue Aug 15 08:40:15 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8D9216A4E0 for ; Tue, 15 Aug 2006 08:40:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4912643D49 for ; Tue, 15 Aug 2006 08:40:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7F8eF7L093896 for ; Tue, 15 Aug 2006 08:40:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7F8eFmP093895; Tue, 15 Aug 2006 08:40:15 GMT (envelope-from gnats) Resent-Date: Tue, 15 Aug 2006 08:40:15 GMT Resent-Message-Id: <200608150840.k7F8eFmP093895@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Alexander V. Ribchansky" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3B9916A4DA for ; Tue, 15 Aug 2006 08:37:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id A328543D49 for ; Tue, 15 Aug 2006 08:37:16 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k7F8bBW2084314 for ; Tue, 15 Aug 2006 08:37:11 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k7F8bBPA084312; Tue, 15 Aug 2006 08:37:11 GMT (envelope-from nobody) Message-Id: <200608150837.k7F8bBPA084312@www.freebsd.org> Date: Tue, 15 Aug 2006 08:37:11 GMT From: "Alexander V. Ribchansky" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/102066: [ukbd] usb keyboard and multimedia keys don't work X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Aug 2006 08:40:15 -0000 >Number: 102066 >Category: usb >Synopsis: [ukbd] usb keyboard and multimedia keys don't work >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 15 08:40:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Alexander V. Ribchansky >Release: FreeBSD 6.1-STABLE i386 >Organization: TrioSoft >Environment: FreeBSD sigterm.zk.minjust.gov.ua 6.1-STABLE FreeBSD 6.1-STABLE #0: Fri Jul 14 11:56:05 EEST 2006 shurik@sigterm.zk.minjust.gov.ua:/usr/obj/usr/src/sys/TS_IJUST_KERNEL i386 >Description: I have a Logitech Cordless Internet Pro kb+mouse. Everything works fine with appropriate drivers ukbd and ums, but there is no reaction on multimedia keys on keyboard. In xev I don't see any reaction. As far as I understand the problem is in ukbd driver (keyboards with ps/2 and atkbd works fine with mmedia keys) Is there any plan to add support of multimedia keys to ukbd driver? I try to do it myself, but my knowledge isn't enough to do this. How to add translation of USB HID codes from page OC ( page 07 is already translated) ??? In Linux there is no problem with usb keyboard and multimedia keys, but I don't like Linux.. I like FreeBSD :o) >How-To-Repeat: Try to get any response in xev on multimedia keys on usb keyboard >Fix: not known >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Aug 15 12:30:33 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C649116A4DF for ; Tue, 15 Aug 2006 12:30:33 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10BA543D76 for ; Tue, 15 Aug 2006 12:30:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7FCUWXi014303 for ; Tue, 15 Aug 2006 12:30:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7FCUWL0014302; Tue, 15 Aug 2006 12:30:32 GMT (envelope-from gnats) Date: Tue, 15 Aug 2006 12:30:32 GMT Message-Id: <200608151230.k7FCUWL0014302@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Alexander Demin Cc: Subject: Re: usb/93389 : Digital Camera Pentax S60 don't work X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Demin List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Aug 2006 12:30:34 -0000 The following reply was made to PR usb/93389; it has been noted by GNATS. From: Alexander Demin To: bug-followup@FreeBSD.org, freebsd-bugs@FreeBSD.org Cc: Ganbold Subject: Re: usb/93389 : Digital Camera Pentax S60 don't work Date: Tue, 15 Aug 2006 16:27:57 +0400 Hi. Thank for you pacth. I have checked this patch on my workstation and my digital camera Pentax Optio S60 is working now. uname -a FreeBSD support.spectrum.ru 5.5-STABLE FreeBSD 5.5-STABLE #26: Tue Aug 15 12:22:00 MSD 2006 oldman@support.spectrum.ru:/usr/obj/usr/src/sys/MYGENERIC i386 usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel (0x0000), rev 1.00 port 1 powered port 2 addr 2: full speed, self powered, config 1, product 0x0047 (0x0047), PENTAX(0x0a17), rev 0.00 umass0: PENTAX product 0x0047, rev 1.10/0.00, addr 2 umass0: 8070i (ATAPI) over Bulk-Only; quirks = 0x0002 umass0:2:0:-1: Attached to scbus2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 11MB (22559 512 byte sectors: 64H 32S/T 11C) Thank you very much. On Tue, 08 Aug 2006 13:16:26 +0900 Ganbold wrote: > Hi, > > I have Pentax Optio S60 and I got it working in Dell D620 under > FreeBSD-6.1-STABLE by patching umass.c and scsi_da.c. > > # uname -an > FreeBSD devil.micom.mng.net 6.1-STABLE FreeBSD 6.1-STABLE #7: Tue Aug 8 > 12:52:48 ULAST 2006 > tsgan@devil.micom.mng.net:/usr/obj/usr/src/sys/DEVIL i386 > > Aug 8 12:59:39 devil kernel: umass0: PENTAX product 0x0047, rev > 1.10/0.00, addr 2 > Aug 8 12:59:40 devil kernel: da0 at umass-sim0 bus 0 target 0 lun 0 > Aug 8 12:59:40 devil kernel: da0: > Removable Direct Access SCSI-0 device > Aug 8 12:59:40 devil kernel: da0: 1.000MB/s transfers > Aug 8 12:59:40 devil kernel: da0: 243MB (498176 512 byte sectors: 64H > 32S/T 243C) > > # usbdevs -v > ... > Controller /dev/usb2: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > Intel(0x0000), rev 1.00 > port 1 powered > port 2 addr 2: full speed, self powered, config 1, product > 0x0047(0x0047), PENTAX(0x0a17), rev 0.00 > ... > > Patches are here: > > ----------------------------------------------------------------------------------- > --- /usr/src/sys/dev/usb/umass.c-orig Tue Aug 8 12:54:25 2006 > +++ /usr/src/sys/dev/usb/umass.c Tue Aug 8 12:55:37 2006 > @@ -321,7 +321,7 @@ > > Static struct umass_devdescr_t umass_devdescrs[] = { > { USB_VENDOR_ASAHIOPTICAL, PID_WILDCARD, RID_WILDCARD, > - UMASS_PROTO_ATAPI | UMASS_PROTO_CBI_I, > + UMASS_PROTO_ATAPI | UMASS_PROTO_BBB, > RS_NO_CLEAR_UA > }, > { USB_VENDOR_ADDON, USB_PRODUCT_ADDON_ATTACHE, RID_WILDCARD, > ----------------------------------------------------------------------------------- > --- /usr/src/sys/cam/scsi/scsi_da.c-orig Tue Aug 8 12:53:37 2006 > +++ /usr/src/sys/cam/scsi/scsi_da.c Tue Aug 8 12:47:15 2006 > @@ -436,6 +436,11 @@ > "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE > }, > { > + /* PENTAX Optio S60. */ > + {T_DIRECT, SIP_MEDIA_REMOVABLE, "PENTAX", > "DIGITAL_CAMERA", "*"}, > + /*quirks*/ DA_Q_NO_SYNC_CACHE > + }, > + { > /* > * Genesys 6-in-1 Card Reader > * PR: usb/94647 > > hth, > > Ganbold > > > -- ======================================================= Demin Alexander / Network Administarator Group of companies Spectrum / tel. (+7 495) 995-8999 Moscow, 103009, Strastnoy blvr. 8 ======================================================= From owner-freebsd-usb@FreeBSD.ORG Tue Aug 15 15:00:33 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 570E916A4DE for ; Tue, 15 Aug 2006 15:00:33 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 789E843D46 for ; Tue, 15 Aug 2006 15:00:32 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7FF0WV3031316 for ; Tue, 15 Aug 2006 15:00:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7FF0WuM031310; Tue, 15 Aug 2006 15:00:32 GMT (envelope-from gnats) Resent-Date: Tue, 15 Aug 2006 15:00:32 GMT Resent-Message-Id: <200608151500.k7FF0WuM031310@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Naoyuki Tai Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 928EB16A4E2 for ; Tue, 15 Aug 2006 14:52:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97D5E43D66 for ; Tue, 15 Aug 2006 14:52:17 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k7FEqHm0050638 for ; Tue, 15 Aug 2006 14:52:17 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k7FEqH3d050636; Tue, 15 Aug 2006 14:52:17 GMT (envelope-from nobody) Message-Id: <200608151452.k7FEqH3d050636@www.freebsd.org> Date: Tue, 15 Aug 2006 14:52:17 GMT From: Naoyuki Tai To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/102096: /usr/sbin/usbd does not handle multiple devices in one event X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Aug 2006 15:00:33 -0000 >Number: 102096 >Category: usb >Synopsis: /usr/sbin/usbd does not handle multiple devices in one event >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 15 15:00:31 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Naoyuki Tai >Release: FreeBSD 5.5 >Organization: >Environment: FreeBSD nile.smartfruit.com 5.5-RELEASE FreeBSD 5.5-RELEASE #0: Sun Aug 13 04:03:03 EDT 2006 root@nile.smartfruit.com:/usr/obj/usr/src/sys/NILE i386 >Description: /usr/sbin/usbd does not handle an event with multiple devices. This happens when a hub or KVM switch with multiple devices (such as keyboard and mouse) is connected to a USB port. The problem has been around since the beginning of usbd, and reported the problem years ago. One time, the patch I reported has been applied, and fixed. FreeBSD 5.5's usbd.c regressed, unfortunately. The problem is that, the USB event may report more than one device in it but the usbd.c only handles the first device and ignores the rest. >How-To-Repeat: Connect a USB based KVM to a FreeBSD computer. Similary, you can connect a mouse and keyboard to a hub, then connect the hub to a computer. >Fix: --- usbd.c.orig Tue Aug 15 10:23:07 2006 +++ usbd.c Tue Aug 15 10:25:02 2006 @@ -843,84 +843,105 @@ void process_event_queue(int fd) { - struct usb_event event; + struct usb_event events; int error; int len; action_match_t action_match; + int i; + struct usb_event the_event; + struct usb_device_info* devinfo; + struct usb_device_info* the_devinfo; for (;;) { - len = read(fd, &event, sizeof(event)); + len = read(fd, &events, sizeof(events)); if (len == -1) { if (errno == EWOULDBLOCK) { /* no more events */ break; } else { fprintf(stderr,"%s: Could not read event, %s\n", - __progname, strerror(errno)); + __progname, strerror(errno)); exit(1); } } if (len == 0) break; - if (len != sizeof(event)) { + if (len != sizeof(events)) { fprintf(stderr, "partial read on %s\n", USBDEV); exit(1); } /* we seem to have gotten a valid event */ - if (verbose) - print_event(&event); + devinfo = &events.u.ue_device; + for (i = 0; i < USB_MAX_DEVNAMES; i++) { + if (devinfo->udi_devnames[i][0] == '\0') + break; + + memcpy(&the_event, &events, sizeof(the_event)); + the_devinfo = &the_event.u.ue_device; + + if (i > 0) + memcpy(the_devinfo->udi_devnames[0], the_devinfo->udi_devnames[i], USB_MAX_DEVNAMELEN); + the_devinfo->udi_devnames[1][0] = '\0'; - /* handle the event appropriately */ - switch (event.ue_type) { - case USB_EVENT_CTRLR_ATTACH: - if (verbose) - printf("USB_EVENT_CTRLR_ATTACH\n"); - break; - case USB_EVENT_CTRLR_DETACH: if (verbose) - printf("USB_EVENT_CTRLR_DETACH\n"); - break; - case USB_EVENT_DEVICE_ATTACH: - case USB_EVENT_DEVICE_DETACH: - if (find_action(&event.u.ue_device, &action_match) == 0) - /* nothing found */ - break; + print_event(&the_event); - if (verbose >= 2) - print_action(action_match.action, 0); + if (verbose >=2) { + printf(" === match attempt: %s\n", the_devinfo->udi_devnames[0]); + } + + /* handle the event appropriately */ + switch (the_event.ue_type) { + case USB_EVENT_CTRLR_ATTACH: + if (verbose) + printf("USB_EVENT_CTRLR_ATTACH\n"); + break; + case USB_EVENT_CTRLR_DETACH: + if (verbose) + printf("USB_EVENT_CTRLR_DETACH\n"); + break; + case USB_EVENT_DEVICE_ATTACH: + case USB_EVENT_DEVICE_DETACH: + if (find_action(&the_event.u.ue_device, &action_match) == 0) + /* nothing found */ + break; - if (action_match.devname) { if (verbose >= 2) - printf("%s: Setting DEVNAME='%s'\n", - __progname, action_match.devname); + print_action(action_match.action, 0); - error = setenv("DEVNAME", action_match.devname, 1); - if (error) - fprintf(stderr, "%s: setenv(\"DEVNAME\", \"%s\",1) failed, %s\n", - __progname, action_match.devname, strerror(errno)); + if (action_match.devname) { + if (verbose >= 2) + printf("%s: Setting DEVNAME='%s'\n", + __progname, action_match.devname); + + error = setenv("DEVNAME", action_match.devname, 1); + if (error) + fprintf(stderr, "%s: setenv(\"DEVNAME\", \"%s\",1) failed, %s\n", + __progname, action_match.devname, strerror(errno)); + } + + if (USB_EVENT_IS_ATTACH(the_event.ue_type) && + action_match.action->attach) + execute_command(action_match.action->attach); + if (USB_EVENT_IS_DETACH(the_event.ue_type) && + action_match.action->detach) + execute_command(action_match.action->detach); + break; + case USB_EVENT_DRIVER_ATTACH: + if (verbose) + printf("USB_EVENT_DRIVER_ATTACH\n"); + break; + case USB_EVENT_DRIVER_DETACH: + if (verbose) + printf("USB_EVENT_DRIVER_DETACH\n"); + break; + default: + printf("Unknown USB event %d\n", the_event.ue_type); } - - if (USB_EVENT_IS_ATTACH(event.ue_type) && - action_match.action->attach) - execute_command(action_match.action->attach); - if (USB_EVENT_IS_DETACH(event.ue_type) && - action_match.action->detach) - execute_command(action_match.action->detach); - break; - case USB_EVENT_DRIVER_ATTACH: - if (verbose) - printf("USB_EVENT_DRIVER_ATTACH\n"); - break; - case USB_EVENT_DRIVER_DETACH: - if (verbose) - printf("USB_EVENT_DRIVER_DETACH\n"); - break; - default: - printf("Unknown USB event %d\n", event.ue_type); } - } + } } >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Aug 15 15:30:26 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FAB916A670 for ; Tue, 15 Aug 2006 15:30:26 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A20A43D46 for ; Tue, 15 Aug 2006 15:30:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7FFUPDs034799 for ; Tue, 15 Aug 2006 15:30:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7FFUP9b034797; Tue, 15 Aug 2006 15:30:25 GMT (envelope-from gnats) Date: Tue, 15 Aug 2006 15:30:25 GMT Message-Id: <200608151530.k7FFUP9b034797@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Anish Mistry Cc: Subject: Re: usb/102096: /usr/sbin/usbd does not handle multiple devices in one event X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Anish Mistry List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Aug 2006 15:30:26 -0000 The following reply was made to PR usb/102096; it has been noted by GNATS. From: Anish Mistry To: bug-followup@freebsd.org, ntai@smartfruit.com Cc: Subject: Re: usb/102096: /usr/sbin/usbd does not handle multiple devices in one event Date: Tue, 15 Aug 2006 11:22:51 -0400 --nextPart5268889.VGLfGFBUmL Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline You should be using devd. Do you still have this problem if you use=20 devd instead? =2D-=20 Anish Mistry amistry@am-productions.biz AM Productions http://am-productions.biz/ --nextPart5268889.VGLfGFBUmL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBE4ebbxqA5ziudZT0RAr/jAKDaxc0EXvA4n9RM2WmrxyDs2a3OtgCdFrkW 2dIr5HqgFbPPmwY3zwJUkxk= =qOje -----END PGP SIGNATURE----- --nextPart5268889.VGLfGFBUmL-- From owner-freebsd-usb@FreeBSD.ORG Wed Aug 16 13:00:43 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04BA716A4DA for ; Wed, 16 Aug 2006 13:00:43 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7905843D62 for ; Wed, 16 Aug 2006 13:00:36 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7GD0Zw7065067 for ; Wed, 16 Aug 2006 13:00:35 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7GD0Zns065066; Wed, 16 Aug 2006 13:00:35 GMT (envelope-from gnats) Date: Wed, 16 Aug 2006 13:00:35 GMT Message-Id: <200608161300.k7GD0Zns065066@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Jim Segrave Cc: Subject: Re: usb/101752: [panic] 6.1-RELEASE kernel panic on usb device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jim Segrave List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2006 13:00:43 -0000 The following reply was made to PR usb/101752; it has been noted by GNATS. From: Jim Segrave To: bug-followup@freebsd.org, jes@jes-2.demon.nl Cc: Subject: Re: usb/101752: [panic] 6.1-RELEASE kernel panic on usb device Date: Wed, 16 Aug 2006 14:54:45 +0200 --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline More detailed USB logs (I basically did the following, then plugged in the camera and watched it panic): sysctl hw.usb.rue.debug=255 sysctl hw.usb.ugen.debug=255 sysctl hw.usb.uhci.debug=255 sysctl hw.usb.uhid.debug=255 sysctl hw.usb.uhub.debug=255 sysctl hw.usb.ukbd.debug=255 sysctl hw.usb.ulpt.debug=255 sysctl hw.usb.umass.debug=255 sysctl hw.usb.ums.debug=255 sysctl hw.usb.urio.debug=255 sysctl hw.usb.debug=255 sysctl hw.usb.uscanner.debug=255 Attached file mes1 is the relevant logs from turning on the debug flags until the crash. I've added a few comments for my own beneifit between some log lines. I also changed the logging of umass1 to give the vendor and product IDs so I could experiment with setting USB quirks (this attempt had quirks = 0x0400 (NO_INQUIRY), based on the Linux notes for other Casio cameras. If anyone is currently looking at this and wants more or different debugging information, please contact me. I've attached the log file (mes1), my dmesg.boot and my kernel config file -- Jim Segrave jes@jes-2.demon.nl --/9DWx/yDrRhgMJTb Content-Type: application/octet-stream Content-Disposition: attachment; filename="mes1.bz2" Content-Transfer-Encoding: base64 QlpoOTFBWSZTWccQFCQBAQTfgHwQYG///z/n/+q////wYDk+PfUa1izN2wSSByMPG2JsFuWD AAQN7wAUd18AAbKkXzN98MOB5kiqoVgy93EdCGLnA60HQ7wM97b3d13sNU0rruztve94cerO 93Om8AAAAAAoDO44ZWTqY242bJu3bG2BsGAAAAAAAAASgmgBCo8hpKehqHqNAAAAAAADUwNE BSkUbTSAAAYgYg0aAAAGp+KqqABhABpoxNAAAAMgxBpoCU/UqmlSnsqep+VAGRkNAABoNGmg GQGjIESQJpGhJpNJpiE9DUNDajQA0NNAaaABSkghABAmhBMSbTCT0ym0Q00YCekwTyioD8SA Ivt+f43Pn+77sJ+XzXn+H8ve5bNPMHMP05K+qvrh+D0V7RAr28ffhIT9vcP2+CSTgW9PC0sW L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fVI umBFGKhVt5Ihe2181PIpptaRCwMxdMFWbVVFdcvxP8M+yp8PXn+jKunLlNmGAyMFsjGH5lIt RggY+clsqNqW0dKqZSeMfJ4xO/Xj80f/xdyRThQkMcQFCQA= --/9DWx/yDrRhgMJTb Content-Type: application/octet-stream Content-Disposition: attachment; filename="dmesg.boot.bz2" Content-Transfer-Encoding: base64 QlpoOTFBWSZTWVin730ABuvfgHgwWOf//3////q////wYA5u+jsubu2tcdXXe2hdomPNnR1r q7GSmgYiqVVRKKqQZCRoEp7RPUbTRMnonqnpqPUw0amymTTJkNNDINAaKbQmRoGp6kYCZPVP FDaTTTRpobUGQAAAxink9KNA0AybUBpoAAAAAA0ABIiIGoZCT0E09CJjRR5TEe1Q8SeoeU2k 0PU9T1NPUOYTQGgNGjCNBiNMTJiaDCNAyAZMBIkEAU02gmKn6IyBNMRimaNDUPTU9GkAaG+I FwGJAFCRbd7HTciLz4H8vHkVLr3Kji0rLD2d2F0yCWVY3PwhKHxOrOfm85ifyLfHZldQctzl TGfldT0QvC7OFI6fGCKBHCIavGvi3PHKdZwfJ2aF+E7G3Dbbl5Ny5pvqtpB0+f/0H2Pq8HpZ s+voOvoS2Z7uUxodXftK2m39viOsqtuUIRuWnDYXl8lqv/bKlyPU0r/mQ0N2WN/0NYT+i0rB T8afeeB3zg+x5ZAjsvSbNtKErYUElDbKTi5bAJx22tksE21YdhixhqGstAyamMeeEBglgvuq fs0I7mAfFgHP4Z9OXX2+X0XH57/d6JmTwEY6/mmupb7Vy96sfg9Nq8v7BTcZUwdyZD8r3nQT +RMl2P592RBOMWyjLQRRftx3L/26XMOSbiyNI74hiQMF2mNlzuEqUFwWw9K+JjQRB4vq0BK3 g8GTcc54MBnvVacmSxMgwm/njpB9BeDPdY7qRJzyKTeBCB4OECk65b8qJp1shsVNw3DhTLVg NmhItWGdSpxNWUVXgu1a9Zw57bsGu62sxqMRfRRkd1reQWuojJda9NDcgLd8xTOlQDm3KJ89 AvBBA0Z6Wd+CvKRs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JrMGI1ppFiLhGIw3L3s1 CNxZsvWlpEMiMiBRwzTuQtXO8PfU0FM6Ulf86YjAA3NFMb60bGFl91D9DM4nRk1LabI641GJ GHkJUjDrZckDnvoXt0baEU+yQTFU25VJ9rAtAYuxZqGGOisR9YyBHWdyQTtFctaqoXBMPLad N+S2RmDaENHVD7cN0yK3IsfIgzQqndLNhIWGIGk6qYJSq/qIwum/ZoYRdWMOjwhtLcbHcjig a1F586DKZkZsApYVkpF8Ima7VdbqFqOSpa456YiKqxu1ZiqVNMUSMsIuQmns6QgtQfSMoI1F xWZMaB3ouyyDHsWSDgHilLhhm6jY2BpoIqahV94guOY7r9zS546zQLHlhO6UpFMAYip4EzhS vBKiKGkiMqGi0HO9gKTTXaFAkjlNTQZX9yQhjQk5Kt9G+XUyJQRlJs2FpOs2wsHLgbMtflRR 60fuLuSKcKEgsU/e+g== --/9DWx/yDrRhgMJTb Content-Type: application/octet-stream Content-Disposition: attachment; filename="SONY-VAIO-ZX1.bz2" Content-Transfer-Encoding: base64 QlpoOTFBWSZTWXRXcU4ABEXfgHIwff//8z/v//r////lYBO+te+2uQ7a01Ur68ewd7SrnoOr re2dNq9uXZ729qLi6WtD1V2O906nZ7bqLenaUz2dnhoIINCYCMjRMTSaniNPSZCYaUek8ao8 k3ok9IDTSAAQICZJhJH6KBpp7SjymQZBptT1DQNNBppoSaCTyoEwbSMpowIaDAjBDIBkyDAk 1IQgFM0TTUAD1NDIbUeoPUABoAAAGok9R6g0AA0aAABoAAA0AD1AAJEQgIyJiaCU/Ao1HoGm hPUyeo0aDIAGg0OcrIJEIUEOLQmBWFbBhSWC1Psuv75I1seqEt7MG7mYGKgo/ETPsf/PzJ9x i6UeMiS1QPj2ehaH0x8K5H+OkZi/mS85YJlasm0v9H6Z9KVu+z+nDZ1ixfup0rXKGg+y3S7o bWccDB3ZTnmL4ha0VwlK9zomeGuPKmanZodNnaxkEhXc3N/RGQuOIiAIM4QnUz7kJ5F6hIUM IbmeNkD8k2p4YosWo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klo6FQs3Ruyuij3ipJS882lfcI25alTGqmUpE8FhtLMV2wSW fyIFJKKnLIxMRc/xQsnxZ0PRJAhBwtClO6NkQUvSJ5io0GXbfaPuO7LZEqWghsFsrWtyeq5j KWYeoWACjWCSTRiLVASo77Qzkm1dHt/oOPUURlKEG5hAt66JvO5k40jwV2cV5mWJdRkhaKEc HS8SbD0jphz5nFLe20DzgxsSoDhXDy4YmF5uN+fT/30owqbe3zMYrD6XhQmjY3SQo0t8CEIk gWzhs0+N6+gcz0DPA77z817mpsocDQhoFoBZb0lFo5nQbd4/5M/I4eQ/Fv4+mTh4Pi+3j5mZ 7slSnBzDIyOmElNcRloEI9psaDtJyKxut6ga+PWwPLpK/nIz2AbGscYw72BXMfRof+LuSKcK Eg6K7inA --/9DWx/yDrRhgMJTb-- From owner-freebsd-usb@FreeBSD.ORG Wed Aug 16 17:23:12 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 9082116A4DA for ; Wed, 16 Aug 2006 17:23:12 +0000 (UTC) (envelope-from freebsd4@fadesa.es) Received: from fuego.fadesa.es (fuego.fadesa.es [195.55.55.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DFA643D76 for ; Wed, 16 Aug 2006 17:23:06 +0000 (GMT) (envelope-from freebsd4@fadesa.es) Received: (from root@localhost) by fuego.fadesa.es (8.9.3p2/8.8.8) id TAA23275 for ; Wed, 16 Aug 2006 19:15:37 +0200 Received: from tierra.fadesa.es(195.55.55.7) by fuego.fadesa.es Wed, 16 Aug 06 19:15:07 +0200 Received: from [195.55.55.6] (filemon.fadesa.es [195.55.55.6] (may be forged)) by tierra.fadesa.es (8.9.3p2/8.8.8) with ESMTP id TAA32501 for ; Wed, 16 Aug 2006 19:22:21 +0200 Message-ID: <44E3544C.3030204@fadesa.es> Date: Wed, 16 Aug 2006 19:22:20 +0200 From: =?ISO-8859-1?Q?=22Jos=E9_M=2E_Fandi=F1o=22?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417 X-Accept-Language: gl, es, en MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Logged: Logged by tierra.fadesa.es as TAA32501 at Wed Aug 16 19:22:21 2006 Subject: ums(4) and Apple Mighty Mouse X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2006 17:23:12 -0000 Hello, I'm trying to use a Mighty mouse, but it doesn't seems to work very well with FreeBSD 6.1RELEASE when the mouse is attached, this message is printed in the console: ums0: Mitsumi Electric Apple Optical USB Mouse, rev 1.10/1.08, addr 2, iclass 3/1 ums0: 4 buttons and Z dir. the 4 buttons detected are: logical physical -------- --------------------------- button 1 -> right button button 2 -> trackball middle button button 3 -> left button button 4 -> simultaneously pressing right and left side buttons this mouse has a trackball instead of a wheel, so the wheel has horizontal and vertical scrolling. Now is when the problem comes, the Z axis is mapped to the horizontal scrolling, which is very confusing because to scroll a web page you need move horizontally the trackball. it seems as if the ums driver were unable to generate events for the vertical scrolling, this is that I get running moused in debug mode (note the empty packet for up and down events): # /usr/sbin/moused -p /dev/ums0 -d -f moused: proto params: f8 80 00 00 8 00 ff moused: port: /dev/ums0 interface: usb type: sysmouse model: generic . // horizontal event (right scrolling) . moused: received char 0x87 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x1 moused: received char 0x7f moused: assembled full packet (len 8) 87,0,0,0,0,0,1,7f moused: tv: 1155672704 308385 moused: flags:80000000 buttons:00000000 obuttons:00000000 moused: activity : buttons 0x00000000 dx 0 dy 0 dz 1 . // horizontal event (left scrolling) . moused: received char 0x87 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0xff moused: received char 0x0 moused: received char 0x7f moused: assembled full packet (len 8) 87,0,0,0,0,ff,0,7f moused: tv: 1155672705 812598 moused: flags:80000000 buttons:00000000 obuttons:00000000 moused: activity : buttons 0x00000000 dx 0 dy 0 dz -1 . // vertical event (up and down scrolling) . moused: received char 0x87 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x0 moused: received char 0x7f moused: assembled full packet (len 8) 87,0,0,0,0,0,0,7f is there any way to get events for the up and down trackball movements? From owner-freebsd-usb@FreeBSD.ORG Thu Aug 17 04:39:59 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 7909916A4E1 for ; Thu, 17 Aug 2006 04:39:59 +0000 (UTC) (envelope-from root@apache.hospedagemdesite.com) Received: from apache.hospedagemdesite.com (apache.knal.com.br [200.155.4.41]) by mx1.FreeBSD.org (Postfix) with SMTP id A7EBC43D5A for ; Thu, 17 Aug 2006 04:39:58 +0000 (GMT) (envelope-from root@apache.hospedagemdesite.com) Received: (qmail 8652 invoked by uid 99); 17 Aug 2006 01:44:31 -0300 Date: 17 Aug 2006 01:44:31 -0300 Message-ID: <20060817044431.8650.qmail@apache.hospedagemdesite.com> To: freebsd-usb@freebsd.org From: Mr.David Well MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Subject: Representatives Needed X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: willy_jones_single@david_well_rep, @yahoo.co.uk, com@apache.hospedagemdesite.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 04:39:59 -0000 Hello, I'm Mr David Well, I am from England, am looking for a representative in the states who will be working for us as a part-time worker and we are willing to pay 10% per every transaction,which wouldn't affect your present state of work . I am 47yrs/ Male / England,London,I work for Actexo Textile and Fabric Limited sourcing agency limited in england Our main factory is located in HONK KONG were we extract the raw materials need for the manufacturing of fabrics,all transfers and anything that has to do with payments are refered to Hong-Kong, and some time to our main factory. We are looking for a representative in the states, someone who we can entrust with our company money and funds and would help us recieve payments from our customers clients in the states for the supply of fabrics and textiles. The reason why we need this representative is because the cost of coming to the State and getting payments is very expensive, we can spend up $1,300USD only in buying ticket and the rest of the xpenses ,so we need a representative in the united state who will be capable and reliable of handling that aspect, We are willing to pay 10% per every payment u recieve ,and you can still keep ur regular job while you work for us. The problem we have is trust,so you must be trusthworthy and reliable But we have our way of getting anyone that try to get away with our money and funds ,I mean the IRS....F.B.I ,All you have to do is help us recieve payments from our customers and clients in the states.These payments are in cashiers cheque money orders or wire transfer and they would come to you in your name and information ,the reason for this is that you will be the one to cash the check or money orders , so all you need do is cash the cheque or money at orders take out your 10% payment and wire the rest of the money to us via Money Gram / Western Union Money transfer. If you are interested mail me back with the following info: 1,Full Name : 2,Home Address : 3,Age / Sex, : 4,private e-mail addy : 5,#phone number/ cell : Pls if you are interested contact me on my email (david_well_rep@yahoo.co.uk} {company-mployer)N:B Representatives wanted in Western Europe, Canada and the USA. From owner-freebsd-usb@FreeBSD.ORG Thu Aug 17 05:23:40 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 C3AA716A4DD for ; Thu, 17 Aug 2006 05:23:40 +0000 (UTC) (envelope-from sergio@softshark.org) Received: from vsmtp1.tin.it (vsmtp1.tin.it [212.216.176.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5834843D6D for ; Thu, 17 Aug 2006 05:23:40 +0000 (GMT) (envelope-from sergio@softshark.org) Received: from [192.168.0.2] (82.52.132.51) by vsmtp1.tin.it (7.2.072.1) id 44C8F11B00BC673F for freebsd-usb@freebsd.org; Thu, 17 Aug 2006 07:23:39 +0200 Message-ID: <44E3FD7C.2080709@softshark.org> Date: Thu, 17 Aug 2006 07:24:12 +0200 From: Sergio Mangialardi User-Agent: Thunderbird 1.5.0.5 (X11/20060729) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Subject: USB Wireless Micorosoft Mouse not recognized X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 05:23:40 -0000 Hi, I'm trying to use the Microsoft "Wireless Notebook Laser Mouse 6000" (http://www.microsoft.com/hardware/mouseandkeyboard/productdetails.aspx?pid=048) I acquired some time ago, on my FreeBSD 6.1-Stable AMD64 laptop but the system didn't recognize it, no /dev/ums0 device is created. I've device usb and device ums statically compiled in the kernel, this is the output of usbdevs -vd: Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 uhub0 port 1 addr 2: low speed, power 100 mA, config 1, Microsoft Wireless Optical Mouse® 1.00(0x00e1), Microsoft(0x045e), rev 0.07 port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 uhub1 port 1 powered port 2 powered Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 uhub2 port 1 powered port 2 powered I tried to add the mouse's id to the file src/sys/dev/usb/usbdevs: product MICROSOFT WNLMOUSE6000 0x00e1 Wireless Notebook Laser Mouse 6000 then I rebuilt and reinstalled the kernel and rebooted but nothing changes, when I plug the mouse no message is displayed, while when I unplug it a message "(null): at uhub0 port 1 (addr 2) disconnected" is shown. Any ideas? Thanks in advance Sergio From owner-freebsd-usb@FreeBSD.ORG Thu Aug 17 11:40:12 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 D800E16A4E1 for ; Thu, 17 Aug 2006 11:40:12 +0000 (UTC) (envelope-from secnews@oxygen.az) Received: from mail.oxygen.az (mail.oxygen.az [212.47.128.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1678943D58 for ; Thu, 17 Aug 2006 11:40:11 +0000 (GMT) (envelope-from secnews@oxygen.az) Received: from mail.oxygen.az (localhost [127.0.0.1]) by mail.oxygen.az (Postfix) with ESMTP id B2F94185A4; Thu, 17 Aug 2006 15:35:23 +0500 (AZST) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on earth.oxygen.az X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, NO_REAL_NAME autolearn=ham version=3.1.0 Received: from webmail.oxygen.az (mail.oxygen.az [212.47.128.37]) by mail.oxygen.az (Postfix) with ESMTP id 736E818265; Thu, 17 Aug 2006 15:35:21 +0500 (AZST) Received: from 85.132.32.38 (proxying for 85.132.14.38) (SquirrelMail authenticated user secnews); by webmail.oxygen.az with HTTP; Thu, 17 Aug 2006 15:35:23 +0500 (AZST) Message-ID: <34763.85.132.32.38.1155810945.squirrel@85.132.32.38> In-Reply-To: <44E3FD7C.2080709@softshark.org> References: <44E3FD7C.2080709@softshark.org> Date: Thu, 17 Aug 2006 15:35:23 +0500 (AZST) From: secnews@oxygen.az To: "Sergio Mangialardi" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: -= ClamAV =- Cc: freebsd-usb@freebsd.org Subject: Re: USB Wireless Micorosoft Mouse not recognized X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 11:40:12 -0000 > Hi, > I'm trying to use the Microsoft "Wireless Notebook Laser Mouse 6000" > (http://www.microsoft.com/hardware/mouseandkeyboard/productdetails.aspx?pid=048) > I acquired some time ago, on my FreeBSD 6.1-Stable AMD64 laptop but the > system didn't recognize it, no /dev/ums0 device is created. > I've device usb and device ums statically compiled in the kernel, this > is the output of usbdevs -vd: > > Controller /dev/usb0: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > VIA(0x0000), rev 1.00 > uhub0 > port 1 addr 2: low speed, power 100 mA, config 1, Microsoft Wireless > Optical Mouse� 1.00(0x00e1), Microsoft(0x045e), rev 0.07 > port 2 powered > Controller /dev/usb1: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > VIA(0x0000), rev 1.00 > uhub1 > port 1 powered > port 2 powered > Controller /dev/usb2: > addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), > VIA(0x0000), rev 1.00 > uhub2 > port 1 powered > port 2 powered > > I tried to add the mouse's id to the file src/sys/dev/usb/usbdevs: > > product MICROSOFT WNLMOUSE6000 0x00e1 Wireless Notebook Laser Mouse 6000 > > then I rebuilt and reinstalled the kernel and rebooted but nothing > changes, when I plug the mouse no message is displayed, while when I > unplug it a message "(null): at uhub0 port 1 (addr 2) disconnected" is > shown. > > Any ideas? > Thanks in advance > > Sergio Sergio, just to make sure: are ums(4) and uhid(4) modules loaded or compiled into the kernel ? From owner-freebsd-usb@FreeBSD.ORG Thu Aug 17 12:10:05 2006 Return-Path: X-Original-To: usb@freebsd.org 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 58F3316A4DE for ; Thu, 17 Aug 2006 12:10:05 +0000 (UTC) (envelope-from tofik@oxygen.az) Received: from mail.oxygen.az (mail.oxygen.az [212.47.128.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95AEA43D4C for ; Thu, 17 Aug 2006 12:10:04 +0000 (GMT) (envelope-from tofik@oxygen.az) Received: from mail.oxygen.az (localhost [127.0.0.1]) by mail.oxygen.az (Postfix) with ESMTP id EE90918DD2 for ; Thu, 17 Aug 2006 17:10:02 +0500 (AZST) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on earth.oxygen.az X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 Received: from webmail.oxygen.az (mail.oxygen.az [212.47.128.37]) by mail.oxygen.az (Postfix) with ESMTP id AF23118DF9 for ; Thu, 17 Aug 2006 17:10:02 +0500 (AZST) Received: from 85.132.32.38 (proxying for 85.132.14.38) (SquirrelMail authenticated user secnews); by webmail.oxygen.az with HTTP; Thu, 17 Aug 2006 17:10:02 +0500 (AZST) Message-ID: <35069.85.132.32.38.1155816624.squirrel@85.132.32.38> Date: Thu, 17 Aug 2006 17:10:02 +0500 (AZST) From: "Tofig Suleymanov" To: usb@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: -= ClamAV =- Cc: Subject: USB_ATTACH_SETUP macros question X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tofik@oxygen.az List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 12:10:05 -0000 Hello hackers, is there anybody to explain why do we have infinite loop inside of USB_ATTACH_SETUP macros inside of usb_port.h ? How does his loop gets escaped when we use it in some usb driver ? #define USB_ATTACH_SETUP \ do { \ sc->sc_dev = self; \ device_set_desc_copy(self, devinfo); \ device_printf(self, "%s\n", devinfo); \ } while (0); Thank you ! Tofig Suleymanov From owner-freebsd-usb@FreeBSD.ORG Thu Aug 17 12:13:12 2006 Return-Path: X-Original-To: usb@freebsd.org 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 592DE16A4DE for ; Thu, 17 Aug 2006 12:13:12 +0000 (UTC) (envelope-from baldur@foo.is) Received: from gremlin.foo.is (gremlin.foo.is [194.105.250.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED04E43D4C for ; Thu, 17 Aug 2006 12:13:11 +0000 (GMT) (envelope-from baldur@foo.is) Received: from 127.0.0.1 (localhost.foo.is [127.0.0.1]) by injector.foo.is (Postfix) with SMTP id 4AE8ADA86E; Thu, 17 Aug 2006 12:13:10 +0000 (GMT) Received: by gremlin.foo.is (Postfix, from userid 1000) id 6B4A3DA847; Thu, 17 Aug 2006 12:13:07 +0000 (GMT) Date: Thu, 17 Aug 2006 12:13:07 +0000 From: Baldur Gislason To: Tofig Suleymanov Message-ID: <20060817121307.GA804@gremlin.foo.is> References: <35069.85.132.32.38.1155816624.squirrel@85.132.32.38> In-Reply-To: <35069.85.132.32.38.1155816624.squirrel@85.132.32.38> User-Agent: Mutt/1.4.2.1i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on gremlin.foo.is X-Spam-Level: X-Spam-Status: No, score=-5.9 required=6.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Sanitizer: Foo MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Cc: usb@freebsd.org Subject: Re: USB_ATTACH_SETUP macros question X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 12:13:12 -0000 This isn't an infinite loop, in fact it will never be executed. Baldur On Thu, Aug 17, 2006 at 05:10:02PM +0500, Tofig Suleymanov wrote: > Hello hackers, > > is there anybody to explain why do we have infinite loop inside of > USB_ATTACH_SETUP macros inside of usb_port.h ? How does his loop gets > escaped when we use it in some usb driver ? > > #define USB_ATTACH_SETUP \ > do { \ > sc->sc_dev = self; \ > device_set_desc_copy(self, devinfo); \ > device_printf(self, "%s\n", devinfo); \ > } while (0); > > Thank you ! > > Tofig Suleymanov > > _______________________________________________ > 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 Thu Aug 17 12:39:03 2006 Return-Path: X-Original-To: usb@freebsd.org 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 7665316A504 for ; Thu, 17 Aug 2006 12:39:03 +0000 (UTC) (envelope-from tofik@oxygen.az) Received: from mail.oxygen.az (mail.oxygen.az [212.47.128.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA63543D49 for ; Thu, 17 Aug 2006 12:39:02 +0000 (GMT) (envelope-from tofik@oxygen.az) Received: from mail.oxygen.az (localhost [127.0.0.1]) by mail.oxygen.az (Postfix) with ESMTP id 7384E16AF7; Thu, 17 Aug 2006 17:32:35 +0500 (AZST) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on earth.oxygen.az X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 Received: from webmail.oxygen.az (mail.oxygen.az [212.47.128.37]) by mail.oxygen.az (Postfix) with ESMTP id 2EF1516AC0; Thu, 17 Aug 2006 17:32:35 +0500 (AZST) Received: from 85.132.32.38 (proxying for 85.132.14.38) (SquirrelMail authenticated user secnews); by webmail.oxygen.az with HTTP; Thu, 17 Aug 2006 17:32:35 +0500 (AZST) Message-ID: <35146.85.132.32.38.1155817977.squirrel@85.132.32.38> In-Reply-To: <20060817121307.GA804@gremlin.foo.is> References: <35069.85.132.32.38.1155816624.squirrel@85.132.32.38> <20060817121307.GA804@gremlin.foo.is> Date: Thu, 17 Aug 2006 17:32:35 +0500 (AZST) From: "Tofig Suleymanov" To: "Baldur Gislason" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: -= ClamAV =- Cc: usb@freebsd.org, Tofig Suleymanov Subject: Re: USB_ATTACH_SETUP macros question X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tofik@oxygen.az List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 12:39:03 -0000 > On Thu, Aug 17, 2006 at 05:10:02PM +0500, Tofig Suleymanov wrote: >> Hello hackers, >> >> is there anybody to explain why do we have infinite loop inside of >> USB_ATTACH_SETUP macros inside of usb_port.h ? How does his loop gets >> escaped when we use it in some usb driver ? >> >> #define USB_ATTACH_SETUP \ >> do { \ >> sc->sc_dev = self; \ >> device_set_desc_copy(self, devinfo); \ >> device_printf(self, "%s\n", devinfo); \ >> } while (0); >> >> Thank you ! >> >> Tofig Suleymanov >> > This isn't an infinite loop, in fact it will never be executed. > > Baldur > Made a little test which shows that this code is going to be executed only once.How did i miss that :) Now the other question comes next: Why don not we use just: #define USB_ATTACH_SETUP \ sc->sc_dev = self; \ device_set_desc_copy(self, devinfo); \ device_printf(self, "%s\n", devinfo); ? Thank you, Tofig Suleymanov From owner-freebsd-usb@FreeBSD.ORG Thu Aug 17 13:34:45 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 7E8AD16A4E0 for ; Thu, 17 Aug 2006 13:34:45 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1EDA43D53 for ; Thu, 17 Aug 2006 13:34:44 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== X-Cloudmark-Score: 0.000000 [] Received: from [193.216.86.144] (HELO [10.0.0.249]) by mailfe01.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 236422158; Thu, 17 Aug 2006 15:34:42 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, tofik@oxygen.az Date: Thu, 17 Aug 2006 15:34:51 +0200 User-Agent: KMail/1.7 References: <35069.85.132.32.38.1155816624.squirrel@85.132.32.38> <20060817121307.GA804@gremlin.foo.is> <35146.85.132.32.38.1155817977.squirrel@85.132.32.38> In-Reply-To: <35146.85.132.32.38.1155817977.squirrel@85.132.32.38> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608171534.53213.hselasky@c2i.net> Cc: Subject: Re: USB_ATTACH_SETUP macros question X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 13:34:45 -0000 > > Made a little test which shows that this code is going to be executed only > once.How did i miss that :) Now the other question comes next: > Why don not we use just: > #define USB_ATTACH_SETUP \ > sc->sc_dev = self; \ > device_set_desc_copy(self, devinfo); \ > device_printf(self, "%s\n", devinfo); Because that is dangerous. Consider the following: if (1) USB_ATTACH_SETUP; What is the meaning of the statement above? What is going to get executed? --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Aug 17 15:19:29 2006 Return-Path: X-Original-To: usb@freebsd.org 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 F07DA16A4DA for ; Thu, 17 Aug 2006 15:19:29 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0E0A43D49 for ; Thu, 17 Aug 2006 15:19:25 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k7HFGxPu012812; Thu, 17 Aug 2006 09:16:59 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 17 Aug 2006 09:17:00 -0600 (MDT) Message-Id: <20060817.091700.-432836888.imp@bsdimp.com> To: tofik@oxygen.az From: "M. Warner Losh" In-Reply-To: <35146.85.132.32.38.1155817977.squirrel@85.132.32.38> References: <35069.85.132.32.38.1155816624.squirrel@85.132.32.38> <20060817121307.GA804@gremlin.foo.is> <35146.85.132.32.38.1155817977.squirrel@85.132.32.38> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Thu, 17 Aug 2006 09:16:59 -0600 (MDT) Cc: usb@freebsd.org Subject: Re: USB_ATTACH_SETUP macros question X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 15:19:30 -0000 In message: <35146.85.132.32.38.1155817977.squirrel@85.132.32.38> "Tofig Suleymanov" writes: : : > On Thu, Aug 17, 2006 at 05:10:02PM +0500, Tofig Suleymanov wrote: : >> Hello hackers, : >> : >> is there anybody to explain why do we have infinite loop inside of : >> USB_ATTACH_SETUP macros inside of usb_port.h ? How does his loop gets : >> escaped when we use it in some usb driver ? : >> : >> #define USB_ATTACH_SETUP \ : >> do { \ : >> sc->sc_dev = self; \ : >> device_set_desc_copy(self, devinfo); \ : >> device_printf(self, "%s\n", devinfo); \ : >> } while (0); : >> : >> Thank you ! : >> : >> Tofig Suleymanov : >> : > This isn't an infinite loop, in fact it will never be executed. : > : > Baldur : > : : Made a little test which shows that this code is going to be executed only : once.How did i miss that :) Now the other question comes next: : Why don not we use just: : #define USB_ATTACH_SETUP \ : sc->sc_dev = self; \ : device_set_desc_copy(self, devinfo); \ : device_printf(self, "%s\n", devinfo); Actually, it is neither an infinite loop, nor is it a never execute loop. the do { ... } while (0); is a way to make a macro lexically identical to a function call so that if you do something like: if (blah) USB_ATTACH_SETUP; it will parse as you intended. Which is to say it will parse exactly the same as: if (blah) { USB_ATTACH_STUP; } Without the do while construct, your example would cause different results in the latter and former cases. Warner From owner-freebsd-usb@FreeBSD.ORG Thu Aug 17 16:45:01 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 2BDBA16A4DF for ; Thu, 17 Aug 2006 16:45:01 +0000 (UTC) (envelope-from richard@beaton.co.uk) Received: from webmailsmtp1.uk2net.com (mailout.uk2.net [83.170.69.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EC7243D5F for ; Thu, 17 Aug 2006 16:44:59 +0000 (GMT) (envelope-from richard@beaton.co.uk) Received: from [10.0.1.52] (helo=mailnew-2.uk2.net) by webmailsmtp1.uk2net.com with smtp (Exim 4.43) id 1GDkzL-0002AG-44 for freebsd-usb@freebsd.org; Thu, 17 Aug 2006 17:44:59 +0100 Received: from 86.139.245.75 (SquirrelMail authenticated user richardbeaton) by maxproxy2.uk2net.com with HTTP; Thu, 17 Aug 2006 17:44:58 +0100 (BST) Message-ID: <50463.86.139.245.75.1155833098.squirrel@maxproxy2.uk2net.com> Date: Thu, 17 Aug 2006 17:44:58 +0100 (BST) From: "Richard Beaton" To: freebsd-usb@freebsd.org User-Agent: SquirrelMail/1.4.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: drivers issue X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: richard@beaton.co.uk List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 16:45:01 -0000 Jarrod, I have a Japanese LHD-EB250U2S and now want to connect it to a UK laptop. What are the drivers that I download to get around the USB connectivity problem. Many thanks, richard@beaton.co.uk 07966 827563 From owner-freebsd-usb@FreeBSD.ORG Thu Aug 17 17:16:03 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 A08F116A4DE for ; Thu, 17 Aug 2006 17:16:03 +0000 (UTC) (envelope-from freebsd4@fadesa.es) Received: from fuego.fadesa.es (fuego.fadesa.es [195.55.55.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id A266843D6B for ; Thu, 17 Aug 2006 17:16:01 +0000 (GMT) (envelope-from freebsd4@fadesa.es) Received: (from root@localhost) by fuego.fadesa.es (8.9.3p2/8.8.8) id TAA14946 for ; Thu, 17 Aug 2006 19:08:21 +0200 Received: from tierra.fadesa.es(195.55.55.7) by fuego.fadesa.es Thu, 17 Aug 06 19:08:19 +0200 Received: from [195.55.55.6] (filemon.fadesa.es [195.55.55.6] (may be forged)) by tierra.fadesa.es (8.9.3p2/8.8.8) with ESMTP id TAA32115 for ; Thu, 17 Aug 2006 19:15:47 +0200 Message-ID: <44E4A443.3040301@fadesa.es> Date: Thu, 17 Aug 2006 19:15:47 +0200 From: =?ISO-8859-1?Q?=22Jos=E9_M=2E_Fandi=F1o=22?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417 X-Accept-Language: gl, es, en MIME-Version: 1.0 To: freebsd-usb@freebsd.org References: <44E3544C.3030204@fadesa.es> <44E44F52.1060103@fadesa.es> In-Reply-To: <44E44F52.1060103@fadesa.es> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Logged: Logged by tierra.fadesa.es as TAA32115 at Thu Aug 17 19:15:47 2006 Subject: Re: ums(4) and Apple Mighty Mouse X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 17:16:03 -0000 >Jos=E9 M. Fandi=F1o wrote: >> Now is when the problem comes, the Z axis is mapped to >> the horizontal scrolling, which is very confusing because >> to scroll a web page you need move horizontally the >> trackball. I've found a possible solution but I don't know if this might break something. --- sys/dev/usb/ums.c.original Thu Aug 17 19:06:33 2006 +++ sys/dev/usb/ums.c Thu Aug 17 19:06:55 2006 @@ -267,9 +267,9 @@ } /* try to guess the Z activator: first check Z, then WHEEL */ - if (hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_Z)= , + if (hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_WH= EEL), hid_input, &sc->sc_loc_z, &flags) || - hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_WH= EEL), + hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_Z)= , hid_input, &sc->sc_loc_z, &flags) || hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP, HUG_T= WHEEL), hid_input, &sc->sc_loc_z, &flags)) { now the Z axis is located at 32/8 with the mighty mouse and at 24/8 with a standard mouse. Aug 17 19:07:54 info kernel: ums0: Mitsumi Electric Apple Optical USB Mou= se, rev 1.10/1.08, addr 2, iclass 3/1 Aug 17 19:07:54 info kernel: ums_attach: bLength=3D7 bDescriptorType=3D5 = bEndpointAddress=3D1-in bmAttributes=3D3 wMaxPacketSize=3D6 bInterval=3D1= 0 Aug 17 19:07:54 info kernel: ums0: 4 buttons and Z dir. Aug 17 19:07:54 info kernel: ums_attach: sc=3D0xc27ae000 Aug 17 19:07:54 info kernel: ums_attach: X 8/8 Aug 17 19:07:54 info kernel: ums_attach: Y 16/8 Aug 17 19:07:54 info kernel: ums_attach3: Z 32/8 Aug 17 19:07:54 info kernel: ums_attach: B1 0/1 Aug 17 19:07:54 info kernel: ums_attach: B2 1/1 Aug 17 19:07:54 info kernel: ums_attach: B3 2/1 Aug 17 19:07:54 info kernel: ums_attach: B4 3/1 Aug 17 19:07:54 info kernel: ums_attach: size=3D6, id=3D0 Aug 17 19:08:08 info kernel: ums0: Logitech USB-PS/2 Optical Mouse, rev 2= =2E00/20.00, addr 2, iclass 3/1 Aug 17 19:08:08 info kernel: ums_attach: bLength=3D7 bDescriptorType=3D5 = bEndpointAddress=3D1-in bmAttributes=3D3 wMaxPacketSize=3D4 bInterval=3D1= 0 Aug 17 19:08:08 info kernel: ums0: 3 buttons and Z dir. Aug 17 19:08:08 info kernel: ums_attach: sc=3D0xc26a0000 Aug 17 19:08:08 info kernel: ums_attach: X 8/8 Aug 17 19:08:08 info kernel: ums_attach: Y 16/8 Aug 17 19:08:08 info kernel: ums_attach3: Z 24/8 Aug 17 19:08:08 info kernel: ums_attach: B1 0/1 Aug 17 19:08:08 info kernel: ums_attach: B2 1/1 Aug 17 19:08:08 info kernel: ums_attach: B3 2/1 Aug 17 19:08:08 info kernel: ums_attach: size=3D4, id=3D0 From owner-freebsd-usb@FreeBSD.ORG Thu Aug 17 22:37:37 2006 Return-Path: X-Original-To: usb@freebsd.org 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 F100E16A4E5 for ; Thu, 17 Aug 2006 22:37:37 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3743943D6A for ; Thu, 17 Aug 2006 22:37:27 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (3bubmeekwlb65ab8@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id k7HMbJSk023246; Thu, 17 Aug 2006 15:37:19 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id k7HMbGEX023245; Thu, 17 Aug 2006 15:37:16 -0700 (PDT) (envelope-from jmg) Date: Thu, 17 Aug 2006 15:37:16 -0700 From: John-Mark Gurney To: Tofig Suleymanov Message-ID: <20060817223716.GW99774@funkthat.com> Mail-Followup-To: Tofig Suleymanov , usb@freebsd.org References: <35069.85.132.32.38.1155816624.squirrel@85.132.32.38> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <35069.85.132.32.38.1155816624.squirrel@85.132.32.38> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: usb@freebsd.org Subject: Re: USB_ATTACH_SETUP macros question X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 22:37:38 -0000 Tofig Suleymanov wrote this message on Thu, Aug 17, 2006 at 17:10 +0500: > is there anybody to explain why do we have infinite loop inside of > USB_ATTACH_SETUP macros inside of usb_port.h ? How does his loop gets > escaped when we use it in some usb driver ? > > #define USB_ATTACH_SETUP \ > do { \ > sc->sc_dev = self; \ > device_set_desc_copy(self, devinfo); \ > device_printf(self, "%s\n", devinfo); \ > } while (0); The real bug here is the extra ; after the while(0) part... because if you use it as such: if (case) USB_ATTACH_SETUP; else somethingelse; you will get a compile error due to the double semicolon... In cases like this, it is also common to have parens after the macro name so that it looks like a function, and not a simple expresion. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-usb@FreeBSD.ORG Thu Aug 17 22:55:19 2006 Return-Path: X-Original-To: usb@freebsd.org 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 E76AD16A4DD for ; Thu, 17 Aug 2006 22:55:19 +0000 (UTC) (envelope-from prvs=julian=377da0077@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88A7243D46 for ; Thu, 17 Aug 2006 22:55:19 +0000 (GMT) (envelope-from prvs=julian=377da0077@elischer.org) Received: from unknown (HELO [10.251.18.229]) ([10.251.18.229]) by a50.ironport.com with ESMTP; 17 Aug 2006 15:55:19 -0700 Message-ID: <44E4F3D6.9040808@elischer.org> Date: Thu, 17 Aug 2006 15:55:18 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: John-Mark Gurney References: <35069.85.132.32.38.1155816624.squirrel@85.132.32.38> <20060817223716.GW99774@funkthat.com> In-Reply-To: <20060817223716.GW99774@funkthat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, Tofig Suleymanov Subject: Re: USB_ATTACH_SETUP macros question X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 22:55:20 -0000 John-Mark Gurney wrote: >Tofig Suleymanov wrote this message on Thu, Aug 17, 2006 at 17:10 +0500: > > >>is there anybody to explain why do we have infinite loop inside of >>USB_ATTACH_SETUP macros inside of usb_port.h ? How does his loop gets >>escaped when we use it in some usb driver ? >> >>#define USB_ATTACH_SETUP \ >> do { \ >> sc->sc_dev = self; \ >> device_set_desc_copy(self, devinfo); \ >> device_printf(self, "%s\n", devinfo); \ >> } while (0); >> >> > >The real bug here is the extra ; after the while(0) part... because >if you use it as such: > if (case) > USB_ATTACH_SETUP; > else > somethingelse; > >you will get a compile error due to the double semicolon... > > yes style(9) specifies this form of macro should NOT have the semicolon. >In cases like this, it is also common to have parens after the macro >name so that it looks like a function, and not a simple expresion. > > yes From owner-freebsd-usb@FreeBSD.ORG Fri Aug 18 06:38:05 2006 Return-Path: X-Original-To: usb@freebsd.org 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 059A416A4DE for ; Fri, 18 Aug 2006 06:38:05 +0000 (UTC) (envelope-from tofik@oxygen.az) Received: from mail.oxygen.az (mail.oxygen.az [212.47.128.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57DD343D49 for ; Fri, 18 Aug 2006 06:38:04 +0000 (GMT) (envelope-from tofik@oxygen.az) Received: from mail.oxygen.az (localhost [127.0.0.1]) by mail.oxygen.az (Postfix) with ESMTP id 3A76413C8D; Fri, 18 Aug 2006 11:38:02 +0500 (AZST) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on earth.oxygen.az X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 Received: from webmail.oxygen.az (mail.oxygen.az [212.47.128.37]) by mail.oxygen.az (Postfix) with ESMTP id 8F5FE13BC6; Fri, 18 Aug 2006 11:38:01 +0500 (AZST) Received: from 85.132.32.38 (proxying for 85.132.14.38) (SquirrelMail authenticated user secnews); by webmail.oxygen.az with HTTP; Fri, 18 Aug 2006 11:38:01 +0500 (AZST) Message-ID: <38357.85.132.32.38.1155883103.squirrel@85.132.32.38> In-Reply-To: <20060817.091700.-432836888.imp@bsdimp.com> References: <35069.85.132.32.38.1155816624.squirrel@85.132.32.38> <20060817121307.GA804@gremlin.foo.is> <35146.85.132.32.38.1155817977.squirrel@85.132.32.38> <20060817.091700.-432836888.imp@bsdimp.com> Date: Fri, 18 Aug 2006 11:38:01 +0500 (AZST) From: "Tofig Suleymanov" To: "M. Warner Losh" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: -= ClamAV =- Cc: usb@freebsd.org Subject: Re: USB_ATTACH_SETUP macros question X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tofik@oxygen.az List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2006 06:38:05 -0000 > In message: <35146.85.132.32.38.1155817977.squirrel@85.132.32.38> > "Tofig Suleymanov" writes: > : > : > On Thu, Aug 17, 2006 at 05:10:02PM +0500, Tofig Suleymanov wrote: > : >> Hello hackers, > : >> > : >> is there anybody to explain why do we have infinite loop inside of > : >> USB_ATTACH_SETUP macros inside of usb_port.h ? How does his loop gets > : >> escaped when we use it in some usb driver ? > : >> > : >> #define USB_ATTACH_SETUP \ > : >> do { \ > : >> sc->sc_dev = self; \ > : >> device_set_desc_copy(self, devinfo); \ > : >> device_printf(self, "%s\n", devinfo); \ > : >> } while (0); > : >> > : >> Thank you ! > : >> > : >> Tofig Suleymanov > : >> > : > This isn't an infinite loop, in fact it will never be executed. > : > > : > Baldur > : > > : > : Made a little test which shows that this code is going to be executed > only > : once.How did i miss that :) Now the other question comes next: > : Why don not we use just: > : #define USB_ATTACH_SETUP \ > : sc->sc_dev = self; \ > : device_set_desc_copy(self, devinfo); \ > : device_printf(self, "%s\n", devinfo); > > Actually, it is neither an infinite loop, nor is it a never execute > loop. > > the do { ... } while (0); is a way to make a macro lexically identical > to a function call so that if you do something like: > > if (blah) > USB_ATTACH_SETUP; > > it will parse as you intended. Which is to say it will parse exactly > the same as: > > if (blah) { > USB_ATTACH_STUP; > } > > Without the do while construct, your example would cause different > results in the latter and former cases. > > Warner > _______________________________________________ > 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" > > Thank you, now it is clear to me. Sincerely, Tofig Suleymanov From owner-freebsd-usb@FreeBSD.ORG Fri Aug 18 06:41:37 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 53CC216A4DF for ; Fri, 18 Aug 2006 06:41:37 +0000 (UTC) (envelope-from tofik@oxygen.az) Received: from mail.oxygen.az (mail.oxygen.az [212.47.128.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8F5C43D49 for ; Fri, 18 Aug 2006 06:41:36 +0000 (GMT) (envelope-from tofik@oxygen.az) Received: from mail.oxygen.az (localhost [127.0.0.1]) by mail.oxygen.az (Postfix) with ESMTP id 0CCAD13651; Fri, 18 Aug 2006 11:41:35 +0500 (AZST) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on earth.oxygen.az X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 Received: from webmail.oxygen.az (mail.oxygen.az [212.47.128.37]) by mail.oxygen.az (Postfix) with ESMTP id BE0E713611; Fri, 18 Aug 2006 11:41:34 +0500 (AZST) Received: from 85.132.32.38 (proxying for 85.132.14.38) (SquirrelMail authenticated user secnews); by webmail.oxygen.az with HTTP; Fri, 18 Aug 2006 11:41:34 +0500 (AZST) Message-ID: <38370.85.132.32.38.1155883316.squirrel@85.132.32.38> In-Reply-To: <200608171534.53213.hselasky@c2i.net> References: <35069.85.132.32.38.1155816624.squirrel@85.132.32.38> <20060817121307.GA804@gremlin.foo.is> <35146.85.132.32.38.1155817977.squirrel@85.132.32.38> <200608171534.53213.hselasky@c2i.net> Date: Fri, 18 Aug 2006 11:41:34 +0500 (AZST) From: "Tofig Suleymanov" To: "Hans Petter Selasky" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: -= ClamAV =- Cc: tofik@oxygen.az, freebsd-usb@freebsd.org Subject: Re: USB_ATTACH_SETUP macros question X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tofik@oxygen.az List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2006 06:41:37 -0000 > >> >> Made a little test which shows that this code is going to be executed >> only >> once.How did i miss that :) Now the other question comes next: >> Why don not we use just: >> #define USB_ATTACH_SETUP \ >> sc->sc_dev = self; \ >> device_set_desc_copy(self, devinfo); \ >> device_printf(self, "%s\n", devinfo); > > Because that is dangerous. > > Consider the following: > > if (1) USB_ATTACH_SETUP; > > What is the meaning of the statement above? > > What is going to get executed? > > --HPS > _______________________________________________ > 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" > > Thank you for usefull example. Now it is clear to me. Thank you, Tofig Suleymanov From owner-freebsd-usb@FreeBSD.ORG Fri Aug 18 11:22:16 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org 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 2FBE416A4E0 for ; Fri, 18 Aug 2006 11:22:16 +0000 (UTC) (envelope-from fnoyan@linuxmail.org) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 530B843D49 for ; Fri, 18 Aug 2006 11:22:15 +0000 (GMT) (envelope-from fnoyan@linuxmail.org) Received: from unknown (unknown [192.168.8.90]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 1FCDF1800D58 for ; Fri, 18 Aug 2006 11:22:14 +0000 (GMT) X-OB-Received: from unknown (205.158.62.133) by wfilter2.us4.outblaze.com; 18 Aug 2006 11:22:12 -0000 Received: by ws5-3.us4.outblaze.com (Postfix, from userid 1001) id 1566A245E3; Fri, 18 Aug 2006 11:22:13 +0000 (GMT) Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 From: "Fehmi Noyan ISI" To: freebsd-usb@freebsd.org Date: Fri, 18 Aug 2006 19:22:13 +0800 Received: from [88.226.6.67] by ws5-3.us4.outblaze.com with http for fnoyan@linuxmail.org; Fri, 18 Aug 2006 19:22:13 +0800 X-Originating-Ip: 88.226.6.67 X-Originating-Server: ws5-3.us4.outblaze.com Message-Id: <20060818112213.1566A245E3@ws5-3.us4.outblaze.com> Subject: Cannot mount usb flash disk X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2006 11:22:16 -0000 Hi I cannot mount my USB flash disk. The problem is that, if i boot the machin= e with the disk is plugged, I am ablr to mount/umount it. But after unplug= ging the disk from my laptop I am no longer able to mount it again! When I = plug it second time, there are some messages on my console.=20 Output of uname -q FreeBSD numb 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu Aug 17 12:09:15 EEST 2= 006 root@numb:/usr/src/sys/i386/compile/GENERIC i386 The messages on my console da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: UNIT ATTENTION, Medium not present (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Retries Exhausted Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Retries Exhausted Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data) (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): UNIT ATTENTION asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Retries Exhausted Opened disk da0 -> 6 # mount -t msdosfs /dev/da0s1 /mnt/ mount_msdosfs: /dev/da0s1: No such file or directory The /dev/da0 device is present. And I am also using a mouse which is connec= ted to USB port. There is no such problem with my mouse. What may be the problem? Thanks... --=20 _______________________________________________ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox. Powered by Outblaze From owner-freebsd-usb@FreeBSD.ORG Sat Aug 19 06:00:32 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0F4016A4FA for ; Sat, 19 Aug 2006 06:00:32 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0131443D45 for ; Sat, 19 Aug 2006 06:00:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7J60VDo081315 for ; Sat, 19 Aug 2006 06:00:31 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7J60VO1081311; Sat, 19 Aug 2006 06:00:31 GMT (envelope-from gnats) Resent-Date: Sat, 19 Aug 2006 06:00:31 GMT Resent-Message-Id: <200608190600.k7J60VO1081311@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Grochowski Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 945C616A4E0 for ; Sat, 19 Aug 2006 05:53:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB4E043D68 for ; Sat, 19 Aug 2006 05:53:36 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k7J5ra3V018814 for ; Sat, 19 Aug 2006 05:53:36 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k7J5raQo018813; Sat, 19 Aug 2006 05:53:36 GMT (envelope-from nobody) Message-Id: <200608190553.k7J5raQo018813@www.freebsd.org> Date: Sat, 19 Aug 2006 05:53:36 GMT From: David Grochowski To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/102260: [PATCH] Add Belkin FC6550-AVR UPS to the usb quirks list. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Aug 2006 06:00:32 -0000 >Number: 102260 >Category: usb >Synopsis: [PATCH] Add Belkin FC6550-AVR UPS to the usb quirks list. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 19 06:00:30 GMT 2006 >Closed-Date: >Last-Modified: >Originator: David Grochowski >Release: 6.1-STABLE >Organization: Rowan University >Environment: FreeBSD berserker 6.1-STABLE FreeBSD 6.1-STABLE #40: Fri Aug 18 01:21:30 EDT 2006 root@berserker:/usr/obj/usr/src/sys/BERSERKER i386 >Description: The Belkin FC6550-AVR is detected as a uhid device instead of a ugen device, preventing it from working with nut. A simple patch against 6.1-STABLE is provided below. >How-To-Repeat: >Fix: ------------------------------- BEGIN PATCH HERE ------------------------------- --- sys/dev/usb/usbdevs.orig Sat Aug 5 03:51:39 2006 +++ sys/dev/usb/usbdevs Sat Aug 5 03:52:46 2006 @@ -707,6 +707,7 @@ product BELKIN F5U109 0x0109 F5U109 Serial product BELKIN F5U208 0x0208 F5U208 VideoBus II product BELKIN F5U409 0x0409 F5U409 Serial +product BELKIN F6C550AVR 0x0551 F6C550-AVR UPS product BELKIN F5U120 0x1203 F5U120-PC Hub product BELKIN F5D7050 0x7050 F5D7050 wireless adapter --- sys/dev/usb/usb_quirks.c.orig Wed Feb 15 17:51:08 2006 +++ sys/dev/usb/usb_quirks.c Sat Aug 19 00:45:14 2006 @@ -104,6 +104,8 @@ /* Devices which should be ignored by uhid */ { USB_VENDOR_APC, USB_PRODUCT_APC_UPS, ANY, { UQ_HID_IGNORE }}, + { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_F6C550AVR, + ANY, { UQ_HID_IGNORE }}, { USB_VENDOR_DELORME, USB_PRODUCT_DELORME_EARTHMATE, ANY, { UQ_HID_IGNORE }}, { USB_VENDOR_MGE, USB_PRODUCT_MGE_UPS1, -------------------------------- END PATCH HERE -------------------------------- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sat Aug 19 18:50:15 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBE7E16A4DE for ; Sat, 19 Aug 2006 18:50:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DF4C43D45 for ; Sat, 19 Aug 2006 18:50:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7JIoFjb082908 for ; Sat, 19 Aug 2006 18:50:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7JIoFXh082905; Sat, 19 Aug 2006 18:50:15 GMT (envelope-from gnats) Resent-Date: Sat, 19 Aug 2006 18:50:15 GMT Resent-Message-Id: <200608191850.k7JIoFXh082905@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Volker Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA19816A4DA for ; Sat, 19 Aug 2006 18:47:11 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id A981943D46 for ; Sat, 19 Aug 2006 18:47:11 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k7JIlBK4023884 for ; Sat, 19 Aug 2006 18:47:11 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k7JIlBhi023883; Sat, 19 Aug 2006 18:47:11 GMT (envelope-from nobody) Message-Id: <200608191847.k7JIlBhi023883@www.freebsd.org> Date: Sat, 19 Aug 2006 18:47:11 GMT From: Volker To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/102286: support for Netgear FA101 ethernet USB NIC X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Aug 2006 18:50:15 -0000 >Number: 102286 >Category: usb >Synopsis: support for Netgear FA101 ethernet USB NIC >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 19 18:50:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Volker >Release: RELENG_6 >Organization: >Environment: support for Netgear FA101 USB ethernet adapter USB 1.x using ADMtek Pegasus chipset >Description: see attached diff's against RELENG_6 >How-To-Repeat: >Fix: --- /usr/src/sys/dev/usb/usbdevs Wed Jun 21 14:05:46 2006 +++ usbdevs Wed Aug 9 01:35:23 2006 @@ -1309,12 +1310,16 @@ /* Netgear products */ product NETGEAR EA101 0x1001 Ethernet +product NETGEAR FA101 0x1020 Ethernet 10/100, USB1.1 product NETGEAR FA120 0x1040 USB 2.0 Ethernet --- /usr/src/sys/dev/usb/if_aue.c Tue Jul 25 23:04:19 2006 +++ if_aue.c Wed Aug 9 00:53:25 2006 @@ -169,6 +169,7 @@ {{ USB_VENDOR_MELCO, USB_PRODUCT_MELCO_LUATX1}, 0 }, {{ USB_VENDOR_MELCO, USB_PRODUCT_MELCO_LUATX5}, 0 }, {{ USB_VENDOR_MELCO, USB_PRODUCT_MELCO_LUA2TX5}, PII }, + {{ USB_VENDOR_NETGEAR, USB_PRODUCT_NETGEAR_FA101}, PII }, {{ USB_VENDOR_SIEMENS, USB_PRODUCT_SIEMENS_SPEEDSTREAM}, PII }, {{ USB_VENDOR_SMARTBRIDGES, USB_PRODUCT_SMARTBRIDGES_SMARTNIC},PII }, {{ USB_VENDOR_SMC, USB_PRODUCT_SMC_2202USB}, 0 }, --- /usr/src/share/man/man4/aue.4 Thu Feb 2 22:36:37 2006 +++ aue.4 Wed Aug 9 00:56:52 2006 @@ -161,6 +161,8 @@ .It MELCO LUA-TX, LUA2-TX .It +Netgear FA101 +.It Planex UE-200TX .It Sandberg USB to Network Link (model number 133-06) >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sat Aug 19 22:00:40 2006 Return-Path: X-Original-To: freebsd-usb@hub.freebsd.org Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80E0316A4DE for ; Sat, 19 Aug 2006 22:00:40 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0408B43D46 for ; Sat, 19 Aug 2006 22:00:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7JM0XqE045665 for ; Sat, 19 Aug 2006 22:00:33 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7JM0XEs045664; Sat, 19 Aug 2006 22:00:33 GMT (envelope-from gnats) Resent-Date: Sat, 19 Aug 2006 22:00:33 GMT Resent-Message-Id: <200608192200.k7JM0XEs045664@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Volker Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3AD116A4DA for ; Sat, 19 Aug 2006 21:55:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B889143D68 for ; Sat, 19 Aug 2006 21:55:58 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k7JLtwiG076998 for ; Sat, 19 Aug 2006 21:55:58 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k7JLtwDa076997; Sat, 19 Aug 2006 21:55:58 GMT (envelope-from nobody) Message-Id: <200608192155.k7JLtwDa076997@www.freebsd.org> Date: Sat, 19 Aug 2006 21:55:58 GMT From: Volker To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: usb/102296: [patch] support for Psion Gold Port Ethernet USB NIC X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Aug 2006 22:00:40 -0000 >Number: 102296 >Category: usb >Synopsis: [patch] support for Psion Gold Port Ethernet USB NIC >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 19 22:00:32 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Volker >Release: RELENG_6 >Organization: >Environment: support for Psion Gold Port Ethernet adapter USB 1.0 10MB/s NIC using Kawasaki chip - a way outdated... I know :) >Description: see attached diffs (RELENG_6) >How-To-Repeat: >Fix: --- /usr/src/sys/dev/usb/usbdevs Wed Jun 21 14:05:46 2006 +++ usbdevs Wed Aug 9 01:35:23 2006 @@ -1493,6 +1498,9 @@ product SIIG WINTERREADER 0x0330 WINTERREADER Reader product SIIG2 US2308 0x0421 Serial +/* Silicom products */ +product SILICOM GPE 0x0002 Psion Gold Port Ethernet + /* Silicon Portals Inc. */ product SILICONPORTALS YAPPH_NF 0x0200 YAP Phone (no firmware) product SILICONPORTALS YAPPHONE 0x0201 YAP Phone --- /usr/src/sys/dev/usb/if_kue.c Sat Oct 15 02:17:15 2005 +++ if_kue.c Wed Aug 9 01:37:28 2006 @@ -124,6 +124,7 @@ { USB_VENDOR_PERACOM, USB_PRODUCT_PERACOM_ENET3 }, { USB_VENDOR_IODATA, USB_PRODUCT_IODATA_USBETT }, { USB_VENDOR_ABOCOM, USB_PRODUCT_ABOCOM_URE450 }, + { USB_VENDOR_SILICOM, USB_PRODUCT_SILICOM_GPE }, { 0, 0 } }; --- /usr/src/share/man/man4/kue.4 Thu Feb 2 22:36:38 2006 +++ kue.4 Sat Aug 19 23:36:55 2006 @@ -107,6 +107,8 @@ .It Peracom USB Ethernet Adapter .It +Psion Gold Port USB Ethernet adapter +.It SMC 2102USB, 2104USB .El .Sh DIAGNOSTICS >Release-Note: >Audit-Trail: >Unformatted: