From owner-freebsd-usb@FreeBSD.ORG Sun Oct 4 12:44:36 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1514106566B for ; Sun, 4 Oct 2009 12:44:36 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-exrelay1.uni-muenster.de (ZIVM-EXRELAY1.UNI-MUENSTER.DE [128.176.192.14]) by mx1.freebsd.org (Postfix) with ESMTP id 84A708FC17 for ; Sun, 4 Oct 2009 12:44:35 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.44,502,1249250400"; d="scan'208";a="284586876" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER01.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay1.uni-muenster.de with ESMTP; 04 Oct 2009 14:44:34 +0200 Received: by ZIVMAILUSER01.UNI-MUENSTER.DE (Postfix, from userid 149459) id 991E21B0766; Sun, 4 Oct 2009 14:44:34 +0200 (CEST) Date: Sun, 04 Oct 2009 14:44:34 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Hans Petter Selasky Message-ID: In-Reply-To: <200910011536.08436.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: mouse behaving strange on high cpu load and rapid movements 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, 04 Oct 2009 12:44:37 -0000 Hans Petter Selasky schrieb am 2009-10-01: > On Wednesday 30 September 2009 15:23:18 Alexander Best wrote: > > here's some debug output: > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 f6 1a 00 f6 ff 1a 00 > > ums_intr_callback:291: x:-10 y:-26 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 fd 19 00 fd ff 19 00 > > ums_intr_callback:291: x:-3 y:-25 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 04 18 00 04 00 18 00 > > ums_intr_callback:291: x:4 y:-24 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 0b 17 00 0b 00 17 00 > > ums_intr_callback:291: x:11 y:-23 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 13 15 00 13 00 15 00 > > ums_intr_callback:291: x:19 y:-21 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 16 12 00 16 00 12 00 > > ums_intr_callback:291: x:22 y:-18 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 1c 0e 00 1c 00 0e 00 > > ums_intr_callback:291: x:28 y:-14 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 54 c5 00 54 00 c5 ff > > ums_intr_callback:291: x:84 y:59 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 fb f8 00 fb ff f8 ff > > ums_intr_callback:291: x:-5 y:8 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 fd fa 00 fd ff fa ff > > ums_intr_callback:291: x:-3 y:6 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 fe fc 00 fe ff fc ff > > ums_intr_callback:291: x:-2 y:4 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 ff fd 00 ff ff fd ff > > ums_intr_callback:291: x:-1 y:3 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 00 ff 00 00 00 ff ff > > ums_intr_callback:291: x:0 y:1 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 00 ff 00 00 00 ff ff > > ums_intr_callback:291: x:0 y:1 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 00 01 00 00 00 01 00 > > ums_intr_callback:291: x:0 y:-1 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 00 01 00 00 00 01 00 > > ums_intr_callback:291: x:0 y:-1 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 ff 01 00 ff ff 01 00 > > ums_intr_callback:291: x:-1 y:-1 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 00 03 00 00 00 03 00 > > ums_intr_callback:291: x:0 y:-3 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 ff 03 00 ff ff 03 00 > > ums_intr_callback:291: x:-1 y:-3 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 ff 03 00 ff ff 03 00 > > ums_intr_callback:291: x:-1 y:-3 z:0 t:0 w:0 buttons:0x00000000 > > ums_intr_callback:207: sc=0xc95f1800 actlen=8 > > ums_intr_callback:225: data = 00 ff 00 00 ff ff 00 00 > > ums_intr_callback:291: x:-1 y:0 z:0 t:0 w:0 buttons:0x00000000 > The debug trace looks normal. Maybe there is a bug in your mouse, if > your CPU > is so busy that there is no bandwidth left for the USB hostcontroller > schedule. > --HPS thx. i'll try to atach another mouse and see if that solves the issue but i've been usng the usb2-stack for quite some time now and never experienced this issue beforehand. so i don't think it has something to do with my mouse. also i've notice that during heavy cpu load my keyboard's input rate is much lower than usual. i'll try producing a few benchmark results when writing/reading to a usb stick under heavy cpu load to give you an idea about the slowdown rate. cheers. alex From owner-freebsd-usb@FreeBSD.ORG Sun Oct 4 14:34:38 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A763106566B; Sun, 4 Oct 2009 14:34:38 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.swipnet.se [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id 66A3C8FC0A; Sun, 4 Oct 2009 14:34:37 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=8YK_f-J1wT4A:10 a=RERtC8nhXGhYvIZhK0yWrQ==:17 a=LIg3jhB6OPZ-x56TDigA:9 a=1ENNEl6FuEHaYT3uoZ86hAtlV48A:4 Received: from [90.149.203.35] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 571845360; Sun, 04 Oct 2009 16:34:35 +0200 From: Hans Petter Selasky To: Alexander Best , Andrew Thompson Date: Sun, 4 Oct 2009 16:35:23 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: In-Reply-To: X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910041635.24139.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: mouse behaving strange on high cpu load and rapid movements 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, 04 Oct 2009 14:34:38 -0000 On Sunday 04 October 2009 14:44:34 Alexander Best wrote: > Hans Petter Selasky schrieb am 2009-10-01: > > On Wednesday 30 September 2009 15:23:18 Alexander Best wrote: > > > here's some debug output: > > > > also i've notice that during heavy cpu load my keyboard's input rate is > much lower than usual. > > i'll try producing a few benchmark results when writing/reading to a usb > stick under heavy cpu load to give you an idea about the slowdown rate. > Hi, If you look at the top of usb_process() in sys/dev/usb/usb_process.c, then you see there is some code to do priority settings. Recently something about the USB processes/threads was changed in USB regard, and I don't know if this might be the cause. Andrew, you might want to check if the priority settings in the USB code are still valid. I'm currently using the BSD scheduler, not ULE. --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Oct 4 14:53:39 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D614106568B for ; Sun, 4 Oct 2009 14:53:39 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-exrelay1.uni-muenster.de (ZIVM-EXRELAY1.UNI-MUENSTER.DE [128.176.192.14]) by mx1.freebsd.org (Postfix) with ESMTP id EFF9D8FC13 for ; Sun, 4 Oct 2009 14:53:38 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.44,503,1249250400"; d="scan'208";a="284595738" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER05.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay1.uni-muenster.de with ESMTP; 04 Oct 2009 16:53:37 +0200 Received: by ZIVMAILUSER05.UNI-MUENSTER.DE (Postfix, from userid 149459) id 00D611B07E5; Sun, 4 Oct 2009 16:53:36 +0200 (CEST) Date: Sun, 04 Oct 2009 16:53:36 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Hans Petter Selasky , Andrew Thompson Message-ID: In-Reply-To: <200910041635.24139.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: mouse behaving strange on high cpu load and rapid movements 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, 04 Oct 2009 14:53:39 -0000 Hans Petter Selasky schrieb am 2009-10-04: > On Sunday 04 October 2009 14:44:34 Alexander Best wrote: > > Hans Petter Selasky schrieb am 2009-10-01: > > > On Wednesday 30 September 2009 15:23:18 Alexander Best wrote: > > > > here's some debug output: > > also i've notice that during heavy cpu load my keyboard's input > > rate is > > much lower than usual. > > i'll try producing a few benchmark results when writing/reading to > > a usb > > stick under heavy cpu load to give you an idea about the slowdown > > rate. > Hi, > If you look at the top of usb_process() in sys/dev/usb/usb_process.c, > then you > see there is some code to do priority settings. Recently something > about the > USB processes/threads was changed in USB regard, and I don't know if > this > might be the cause. Andrew, you might want to check if the priority > settings > in the USB code are still valid. > I'm currently using the BSD scheduler, not ULE. > --HPS i did some more tests. first i attached a different mouse and in fact you were right: the other mouse wasn't producing random copy&pastes during movements. however the mouse was also behaving sloppy. so i think there is in fact a priority problem somewhere. here are some SCHED/SMP tests i made: SMP enabled + SCHED_ULE: sloppy mouse/keyboard SMP disabled + SCHED_ULE: no problems SMP enabled + SCHED_4BSD: no porblems i did some bencmarking under SCHED_ULE + SMP enabled using the following command `time dd if=/dev/zero of=/mnt/umass/test bs=1m count=100`. here are the results: without cpu intensive tasks running: 100+0 records in 100+0 records out 104857600 bytes transferred in 26.391317 secs (3973186 bytes/sec) real 0m26.409s user 0m0.000s sys 0m1.385s with cpu intensive tasks running: 100+0 records in 100+0 records out 104857600 bytes transferred in 41.911261 secs (2501896 bytes/sec) real 0m42.748s user 0m0.009s sys 0m0.376s i've also switched to the 4BSD scheduler and everything's fine now. to produce heavy cpu load i compiled www/firefox35 and simultaniously ran this app: #include void tower(int n, int source, int target, int help) { if (n >= 1) { turm(n-1, source, help, target); turm(n-1, help, target, source); } } int main() { tower(10000, 1, 3, 2); } cheers. alex From owner-freebsd-usb@FreeBSD.ORG Sun Oct 4 15:14:06 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58D6D1065676; Sun, 4 Oct 2009 15:14:06 +0000 (UTC) (envelope-from vinnix.bsd@gmail.com) Received: from mail-pz0-f201.google.com (mail-pz0-f201.google.com [209.85.222.201]) by mx1.freebsd.org (Postfix) with ESMTP id 1EC018FC56; Sun, 4 Oct 2009 15:14:06 +0000 (UTC) Received: by pzk39 with SMTP id 39so365948pzk.15 for ; Sun, 04 Oct 2009 08:14:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=H+BPl6cMVcDBTgiPO46NrVG9ef5xZSixhCZt+/Ylmv4=; b=uicsga0lEidJiIt3Zj6AXvWMCv1EGNvjkFwsE1njfVuti/8payn1GzJ2zPF0CE4HPf 474/ZvNSbHHJ83r5dF4B2YaPZolxyGaJFXsPa1V6Np1/9zEgvXSCZx18SAkpUOV4+/Fj nU2/w5L5CKsW9ZwBZ8AzAYX9KUN8/TKHUypZ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=JwS24sq/ugcjf2DRHztZOm/h/bhOMu8+nVlpFB5lc4DdfZKzhen+h4MCYNfzd99q4s jldkUSLpl4a0DCR99rvKrB3j6VkyLfYTRCqx399vD7ojYeAu10mKm8UDh/TEzLN6F/Fu bF5wpIiKFmztW01M7rBNpDMrwmY9uS1/tIZ4I= MIME-Version: 1.0 Received: by 10.140.157.5 with SMTP id f5mr841109rve.242.1254669244502; Sun, 04 Oct 2009 08:14:04 -0700 (PDT) In-Reply-To: <200909131508.05025.hselasky@c2i.net> References: <20090908201713.GD41185@e.0x20.net> <1e31c7980909130516g1b3cb9fn5df77c23ec072413@mail.gmail.com> <200909131508.05025.hselasky@c2i.net> Date: Sun, 4 Oct 2009 12:14:04 -0300 Message-ID: <1e31c7980910040814o48a1a57bgde86571fa3265c4c@mail.gmail.com> From: Vinicius Abrahao To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: luigi@freebsd.org, freebsd-current , lars.engels@0x20.net, freebsd-usb@freebsd.org, Florent Thoumie Subject: Re: CFH: fix multimedia/pwcbsd with usb2 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, 04 Oct 2009 15:14:06 -0000 Hi Hans, Thanks for your help! I try to do exactly what you say, but without success= . When I attach my camera I see at dmesg: ugen2.3: at usbus2 Trying pwcview: #./pwcview -d /dev/ugen2.3 Failed to access webcam: Operation not supported by device *********************************************************** Make sure you have connected your webcam to the root hub or to a USB 1.1 hub, also check your dmesg for any errors. *********************************************************** What I'm doing wrong? Thanks again, Best regards, Vin=EDcius On 9/13/09, Hans Petter Selasky wrote: > On Sunday 13 September 2009 14:16:10 Vinicius Abrahao wrote: >> Thanks Florent, >> >> That's it for sure. I recompile my kernel yesterday and now pwcbsd is >> loading normally. >> Therefore, now I see that pwc is the wrong driver for me. My webcam is >> a Philips SPC500NC. >> ID 093a:2603 Pixart Imaging, Inc. >> >> At Google I found that linux-gspca-kmod is the right driver for me. >> But this seen broken as >> pwcbsd was in the past. > > Hi, > > The closes you will currently get is: > > svn --username anonsvn --password anonsvn \ > checkout svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux > > As root: > > make fetch > make patch > make > > You manually have to patch: > > ee libv4l/v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol.c > > control/libv4lcontrol.c: In function 'v4lcontrol_vidioc_queryctrl': > control/libv4lcontrol.c:586: error: '__u32' undeclared (first use in this > function) > control/libv4lcontrol.c:586: error: (Each undeclared identifier is report= ed > only once > control/libv4lcontrol.c:586: error: for each function it appears in.) > control/libv4lcontrol.c:586: error: expected ';' before 'orig_id' > control/libv4lcontrol.c:600: error: 'orig_id' undeclared (first use in th= is > function) > > __u32 to uint32_t > > In the end: > > cd pwcview > > ./pwcview > > > Should bring your webcam right up in userland though. > > --HPS > > From owner-freebsd-usb@FreeBSD.ORG Sun Oct 4 15:41:24 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 262291065670 for ; Sun, 4 Oct 2009 15:41:24 +0000 (UTC) (envelope-from linux-bounces@polinux.upv.es) Received: from marfik.cc.upv.es (marfik.cc.upv.es [158.42.249.21]) by mx1.freebsd.org (Postfix) with ESMTP id A4B858FC0A for ; Sun, 4 Oct 2009 15:41:23 +0000 (UTC) Received: from smtpx.upv.es (smtpxv.cc.upv.es [158.42.249.46]) by marfik.cc.upv.es (8.13.6/8.13.6) with ESMTP id n94FPWvh024318 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 4 Oct 2009 17:25:32 +0200 Received: from smtp.upv.es (celaeno.cc.upv.es [158.42.249.55]) by smtpx.upv.es (8.14.3/8.14.3) with ESMTP id n94FPVST017784 for ; Sun, 4 Oct 2009 17:25:31 +0200 Received: from www.polinux.upv.es (polinux2.eui.upv.es [158.42.249.231]) by smtp.upv.es (8.13.6/8.13.6) with ESMTP id n94FPVDn022021 for ; Sun, 4 Oct 2009 17:25:31 +0200 Received: from polinux2.eui.upv.es (localhost [127.0.0.1]) by www.polinux.upv.es (Postfix) with ESMTP id 963FCEB14 for ; Sun, 4 Oct 2009 17:33:48 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: linux-bounces@polinux.upv.es To: freebsd-usb@freebsd.org Message-ID: Date: Sun, 04 Oct 2009 17:33:47 +0200 Precedence: bulk X-BeenThere: linux@polinux.upv.es X-Mailman-Version: 2.1.11 X-List-Administrivia: yes Sender: linux-bounces@polinux.upv.es Errors-To: linux-bounces@polinux.upv.es Subject: Your message to Linux awaits moderator approval X-BeenThere: freebsd-usb@freebsd.org List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Oct 2009 15:41:24 -0000 Your mail to 'Linux' with the subject [SPAM RBL] Delivery reports about your e-mail Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive notification of the moderator's decision. If you would like to cancel this posting, please visit the following URL: http://www.polinux.upv.es/mailman/confirm/linux/e905aaa9ef0c09c7a848f93384f59c432f2f32ae From owner-freebsd-usb@FreeBSD.ORG Sun Oct 4 16:26:14 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7F2E106566B; Sun, 4 Oct 2009 16:26:14 +0000 (UTC) (envelope-from vinnix.bsd@gmail.com) Received: from mail-px0-f192.google.com (mail-px0-f192.google.com [209.85.216.192]) by mx1.freebsd.org (Postfix) with ESMTP id 8BD598FC18; Sun, 4 Oct 2009 16:26:14 +0000 (UTC) Received: by pxi30 with SMTP id 30so3492734pxi.7 for ; Sun, 04 Oct 2009 09:26:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zW2Ad4nKDwC6og3v6NiaeLeVJyHjHG+7kccTlqLcnOo=; b=qqMGjlxf934gUCE64Wh4EgOBs/ntMTwZ23ntbAKwPZLwQSrpD5+wlJo+D5nmsilmW7 U7S0KT40fgsHCKRjM14ZPemKDHahyEWGIzYrzGuxpJryJJiYEu6y2chIVIiHWy+Df3So Dxq/K1ugdcXj91bWf1+JMx2OTsFNqjDgtoPcI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=FUPCt75p5eAjXnuCBtIJv+PlXSgNJy2IB6srPJJmoCxV37RXfSauVBjk0LgeFA5vXx SoGz0fqxVyAJWtAPMw3EbQ3w9UlL79c5SQxqp3oMBWqhq5AvQjqHvYDVJ/gR6n8H5YpX FeBRPNP9+iEd5VURDaj6tlv6YdWpVLs11Eh6M= MIME-Version: 1.0 Received: by 10.140.136.5 with SMTP id j5mr136238rvd.0.1254673573286; Sun, 04 Oct 2009 09:26:13 -0700 (PDT) In-Reply-To: <1e31c7980910040814o48a1a57bgde86571fa3265c4c@mail.gmail.com> References: <20090908201713.GD41185@e.0x20.net> <1e31c7980909130516g1b3cb9fn5df77c23ec072413@mail.gmail.com> <200909131508.05025.hselasky@c2i.net> <1e31c7980910040814o48a1a57bgde86571fa3265c4c@mail.gmail.com> Date: Sun, 4 Oct 2009 13:26:13 -0300 Message-ID: <1e31c7980910040926s35b01c5dn3e31d6b1509d1c76@mail.gmail.com> From: Vinicius Abrahao To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: luigi@freebsd.org, freebsd-current , lars.engels@0x20.net, freebsd-usb@freebsd.org, Florent Thoumie Subject: Re: CFH: fix multimedia/pwcbsd with usb2 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, 04 Oct 2009 16:26:15 -0000 Trying multimedia/pwcbwd-1.4.1_6 I added a line at multimedia/pwcbsd/work/pwcbsd/pwc.c # diff pwc.c /root/pwc.c --normal 94a95 > {USB_VPI(0x093a, 0x2603, 720)}, /* Philips SPC500NC */ But the problem now is that pwcview don't recognize and "operation" mode for this camera. I try setting 720, but I'll try with others. # /usr/local/bin/pwcview Failed to access webcam: Not a directory *********************************************************** Make sure you have connected your webcam to the root hub or to a USB 1.1 hub, also check your dmesg for any errors. *********************************************************** At /var/log/messages: vinnix kernel: pwc0: Failed to set video mode to SIF@10 fps; return code = =3D 20 vinnix kernel: pwc0: Failed to set video mode to QSIF@10 fps; return code = =3D 20 Thanks, Vin=EDcius On 10/4/09, Vinicius Abrahao wrote: > Hi Hans, > > Thanks for your help! I try to do exactly what you say, but without > success. > When I attach my camera I see at dmesg: > ugen2.3: at usbus2 > > Trying pwcview: > > #./pwcview -d /dev/ugen2.3 > Failed to access webcam: Operation not supported by device > *********************************************************** > Make sure you have connected your webcam to the root hub > or to a USB 1.1 hub, also check your dmesg for any errors. > *********************************************************** > > > What I'm doing wrong? > > Thanks again, > Best regards, > Vin=EDcius > > On 9/13/09, Hans Petter Selasky wrote: >> On Sunday 13 September 2009 14:16:10 Vinicius Abrahao wrote: >>> Thanks Florent, >>> >>> That's it for sure. I recompile my kernel yesterday and now pwcbsd is >>> loading normally. >>> Therefore, now I see that pwc is the wrong driver for me. My webcam is >>> a Philips SPC500NC. >>> ID 093a:2603 Pixart Imaging, Inc. >>> >>> At Google I found that linux-gspca-kmod is the right driver for me. >>> But this seen broken as >>> pwcbsd was in the past. >> >> Hi, >> >> The closes you will currently get is: >> >> svn --username anonsvn --password anonsvn \ >> checkout svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux >> >> As root: >> >> make fetch >> make patch >> make >> >> You manually have to patch: >> >> ee libv4l/v4l2-apps/libv4l/libv4lconvert/control/libv4lcontrol.c >> >> control/libv4lcontrol.c: In function 'v4lcontrol_vidioc_queryctrl': >> control/libv4lcontrol.c:586: error: '__u32' undeclared (first use in thi= s >> function) >> control/libv4lcontrol.c:586: error: (Each undeclared identifier is >> reported >> only once >> control/libv4lcontrol.c:586: error: for each function it appears in.) >> control/libv4lcontrol.c:586: error: expected ';' before 'orig_id' >> control/libv4lcontrol.c:600: error: 'orig_id' undeclared (first use in >> this >> function) >> >> __u32 to uint32_t >> >> In the end: >> >> cd pwcview >> >> ./pwcview >> >> >> Should bring your webcam right up in userland though. >> >> --HPS >> >> > From owner-freebsd-usb@FreeBSD.ORG Sun Oct 4 18:10:06 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CD25106568D; Sun, 4 Oct 2009 18:10:03 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id 3A5268FC17; Sun, 4 Oct 2009 18:10:01 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=uRDWFtAGNAUA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=bvIxxGM5OkfLVrZCnukA:9 a=BHQk4mzU4VyoRCSf6AoToKLvfNUA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1308394159; Sun, 04 Oct 2009 20:10:00 +0200 From: Hans Petter Selasky To: Vinicius Abrahao Date: Sun, 4 Oct 2009 20:10:46 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <20090908201713.GD41185@e.0x20.net> <200909131508.05025.hselasky@c2i.net> <1e31c7980910040814o48a1a57bgde86571fa3265c4c@mail.gmail.com> In-Reply-To: <1e31c7980910040814o48a1a57bgde86571fa3265c4c@mail.gmail.com> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910042010.49054.hselasky@c2i.net> Cc: luigi@freebsd.org, freebsd-current , lars.engels@0x20.net, freebsd-usb@freebsd.org, Florent Thoumie Subject: Re: CFH: fix multimedia/pwcbsd with usb2 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, 04 Oct 2009 18:10:06 -0000 On Sunday 04 October 2009 17:14:04 Vinicius Abrahao wrote: > ./pwcview Try to run without -d /dev/ugenX.Y. Which pwcview did you build? The one from ports or I4B SVN? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Oct 5 09:21:52 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FFB0106568D; Mon, 5 Oct 2009 09:21:52 +0000 (UTC) (envelope-from vinnix.bsd@gmail.com) Received: from mail-pz0-f201.google.com (mail-pz0-f201.google.com [209.85.222.201]) by mx1.freebsd.org (Postfix) with ESMTP id D7E7B8FC21; Mon, 5 Oct 2009 09:21:51 +0000 (UTC) Received: by pzk39 with SMTP id 39so886362pzk.15 for ; Mon, 05 Oct 2009 02:21:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Jc/A+BGtmYJLEIcQPHyJJi7WFrluR93N/ZLNANzCJh4=; b=Wq2gl4ytFByhzb3qB4+1t6BHFQz71uPVkcH9SPNIzDUqw7c4MYPyvoAl1dDGNNrLzp +pGQJzRHzdOfMOLkb/rYTgwlVVzbnTl2nb8c8+vyfKOIMgWIgXGKRg5ehGUw+fd71BIu 24YxkOlaGX3NvbIjmqrK1kdH4I6DATr/dEZj4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=lP40MCRX61ft9DVVn0AKKVIp5p+eAx8ER/kOuvJAdHVusBq1amEiMne6yJ8N2WKQT/ EB+xYMR5k1Dx2+fyj1y9URyj6VrzrldnpfBGqx3rWJ55Sk1s49J1WQbtmP9rjtu/dkta YDg9mbJCnyKphW3OKoGX/KLxm2hpGhYc06cPc= MIME-Version: 1.0 Received: by 10.141.3.16 with SMTP id f16mr859460rvi.261.1254734509463; Mon, 05 Oct 2009 02:21:49 -0700 (PDT) In-Reply-To: <200910042010.49054.hselasky@c2i.net> References: <20090908201713.GD41185@e.0x20.net> <200909131508.05025.hselasky@c2i.net> <1e31c7980910040814o48a1a57bgde86571fa3265c4c@mail.gmail.com> <200910042010.49054.hselasky@c2i.net> Date: Mon, 5 Oct 2009 10:21:49 +0100 Message-ID: <1e31c7980910050221u11b93be9ye390bad8b6857c0b@mail.gmail.com> From: Vinicius Abrahao To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Cc: luigi@freebsd.org, freebsd-current , lars.engels@0x20.net, freebsd-usb@freebsd.org, Florent Thoumie Subject: Re: CFH: fix multimedia/pwcbsd with usb2 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, 05 Oct 2009 09:21:52 -0000 Hi Hans, With the pwcview from I4B SVN: Did not recognize my device at all, with or without -d option. With pwcbsd from ports: The pwc.ko only recognize my cam If I apply this patch in pwc.c: 94a95 > {USB_VPI(0x093a, 0x2603, 675)}, /* Philips SPC500NC */ Note that 675 (type field) is just my guess. I try some others without success. But only appears a green or black screen. Research more about this cam I found that it uses a sensor: PAC7311 [1]. Cause this problems I'm wondering buy a new camera (better quality) and default support by pwc.ko. For the other side, put this camera to work, seens a cool opportunity to learn more about drivers at FreeBSD environment. [1] http://www.pixart.com.tw/upload/PAC7311%20Spec%20V15_20051122092509.pdf Thanks for your help, Vinnix On 10/4/09, Hans Petter Selasky wrote: > On Sunday 04 October 2009 17:14:04 Vinicius Abrahao wrote: >> ./pwcview > > Try to run without -d /dev/ugenX.Y. > > Which pwcview did you build? The one from ports or I4B SVN? > > --HPS > > From owner-freebsd-usb@FreeBSD.ORG Mon Oct 5 11:07:03 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 057001065695 for ; Mon, 5 Oct 2009 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E6A518FC26 for ; Mon, 5 Oct 2009 11:07:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n95B72fj088830 for ; Mon, 5 Oct 2009 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n95B72tG088828 for freebsd-usb@FreeBSD.org; Mon, 5 Oct 2009 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 5 Oct 2009 11:07:02 GMT Message-Id: <200910051107.n95B72tG088828@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org 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, 05 Oct 2009 11:07:03 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/139243 usb [uhci] unplug prolific USB serial -> uhci_abort_xfer: o usb/139142 usb [regression] ehci drivers (NVIDIA nForce4 USB 2.0 cont o usb/138915 usb [patch][usb8][usb67] add support for SheevaPlug serial o usb/138904 usb [rum] unpluging USB wifi card panics system f usb/138882 usb [ohci] [panic] Can't install FreeBSD 7.2 due to ohci p o usb/138879 usb [uftdi] [patch] Patch to add support for CTI USB-Mini o usb/138798 usb 8.0-BETA4 can't boot from USB flash drive [regression] o usb/138675 usb [usb8] [panic] page fault, perhaps in USB o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o usb/138563 usb [usb8] [patch] Increase buffer sizes to accomodate lon o usb/138389 usb [usb8] [patch] NULL pointer dereference in usb_endpoin o usb/138175 usb [usb67] [boot] System cannot boot, when USB reader wit o usb/138172 usb Additional dev id for u3g (Option mini PCIe) o usb/138138 usb Novatel U760 for u3g (Verizon and Bell Canada) o usb/138124 usb [usb8] Axed uaudio functionality in the usbng (alterna o usb/138119 usb MultiBay CDROM (propably on USB bus) is not recognized o usb/137872 usb slow booting on usb flash drive f usb/137848 usb Page fault when using an USB bluetooth adapter o usb/137806 usb [ukbd] USB keyboard doesn't work until it's unplugged o usb/137763 usb [usb67][ukbd] Logitech wireless keyboard media keys no o usb/137616 usb [usb67][usb8][usbdevs] [patch]: usbdevs update: Please o usb/137377 usb [usb8] Support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro p usb/137226 usb [usb67][patch] quirk for Philips extern USB disk o usb/137191 usb [usb8][patch] export ums(4) output report parser data o usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors o usb/137129 usb SteelSeries Ikari USB laser mouse not attaching o usb/137035 usb Sony cyber-shot DSC-P72 not accessible - cam quirks p usb/136761 usb [usbdevs][usb67][patch] Teach usbdevs / u3g(4) about H o usb/135938 usb [aue] aue driver only passes traffic in promisc mode f usb/135857 usb RTL8187 Wireless Adapter o usb/135575 usb [usbdevs] [patch] Add HTC Wizard phone vid/pid informa o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa p usb/135372 usb [usb67][umass] Quirk report for Teclast TL-C300 usb me o usb/135348 usb [umass] USB Drive Hangs with ZFS (JMicron USB2/eSata) o usb/135206 usb machine reboots when inserted USB device o usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/135182 usb UMASS quirk - Olympus FE20 camera o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134633 usb Add support for WILLCOM03(SHARP smart phone) o usb/134631 usb [usbdevs] [patch] WiSPY DBx support requires usb tweak o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134117 usb [Patch] Add support for 'Option GlobeTrotter HSDPA Mod o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o usb/133989 usb [newusb] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode p usb/132799 usb [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CA o usb/132785 usb [usb] [patch] Gemtech remote powersocket is classed as o usb/132594 usb USB subsystem causes page fault and crashes o usb/132312 usb Xorg 7.4 halts USB controller o usb/132080 usb [patch] [usb] [rum] Kernel panic after NOMEM caused by o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131912 usb [uslcom] [patch] New devices using Silicon Labs chips o usb/131900 usb [usbdevs] [patch] Additional product identification co o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c o usb/131123 usb [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130325 usb [usb] [patch] fix tools/tools/usb/print-usb-if-vids.sh o usb/130230 usb Samsung Electronics YP-U3 does not attach in 7.1-RELEA o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [newusb] DVD drive detects as 'da' device o usb/129945 usb [usbdevs] [patch] add u3g support for Longcheer WM66 U o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129522 usb [ubsa] [patch] add support for ZTE AC8700 modem o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader o usb/129251 usb [usbdevs] [patch] Liebert UPS being assigned uhid and o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb] [patch] uaudio is not full duplex o usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23 o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an o usb/127926 usb [boot] USB Timeout during bootup s usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o usb/127423 usb [boot] BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempr o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attaach and detach o usb/127222 usb [ohci] Regression in 7.0 usb storage generic driver o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d o usb/125450 usb [panic] Removing USB flash card while being accessed c p usb/125264 usb [patch] sysctl for set usb mouse rate (very useful for o usb/125238 usb [ums] Habu Mouse turns off in X o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2 o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870 o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122621 usb [new driver] [patch] New driver for Sierra Wireless 3G o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/122025 usb [uscanner] [patch] uscanner does not attach to Epson R o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o usb/121232 usb [usb] [panic] USB CardBus card removal causes reboot s p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114068 usb [usb67] [usb8] [umass] [patch] Problem with connection o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/113060 usb [usb67] [ulpt] [patch] Samsung printer not working in o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated s usb/108344 usb [usb67] [atausb] [panic] kernel with atausb panics whe o usb/107924 usb [usb67] usbd(8) does not call detach o usb/107827 usb [usb67] [ohci] [panic] ohci_add_done addr not found o usb/107388 usb [usb67] [usb8] [new driver] [patch] add utoppy device o usb/107243 usb [usb67] [cam] [quirk] [patch] Apacer USB Flash Drive q o usb/106041 usb [usb67] [usb8] [request] FreeBSD does not recognise Mu o usb/105361 usb [usb67] [panic] Kernel panic during unmounting mass st s usb/103917 usb [usb67] [uhub] USB driver reports "Addr 0 should never o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele o usb/101775 usb [usb67] [usb8] [libusbhid] [patch] possible error in r o usb/101761 usb [usb67] [patch] [request] usb.h: increase maximal size o usb/100746 usb [usb67] [ukbd] system does not boot due to USB keyboar o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o kern/99200 usb [bluetooth] SMP-Kernel crashes reliably when Bluetooth o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91629 usb [usb] usbd_abort_pipe() may result in infinite loop o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80829 usb [modules] [panic] possible panic when loading USB-modu s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/79722 usb [ehci] wrong alignments in ehci.h a usb/79656 usb [ehci] RHSC interrupts lost o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/76732 usb [ums] Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75797 usb [sound] [regression] 5.3-STABLE(2005 1/4) detect USB h o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/74771 usb [umass] [hang] mounting write-protected umass device a s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 311 problems total. From owner-freebsd-usb@FreeBSD.ORG Thu Oct 8 10:02:39 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C31721065694 for ; Thu, 8 Oct 2009 10:02:39 +0000 (UTC) (envelope-from gofdu-freebsd-usb@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 7FD5D8FC1E for ; Thu, 8 Oct 2009 10:02:39 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MvpYW-0008Ue-7X for freebsd-usb@freebsd.org; Thu, 08 Oct 2009 11:45:04 +0200 Received: from ppp78-37-191-47.pppoe.avangarddsl.ru ([78.37.191.47]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Oct 2009 11:45:04 +0200 Received: from pg by ppp78-37-191-47.pppoe.avangarddsl.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Oct 2009 11:45:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-usb@freebsd.org From: Pavel Gubin Date: Thu, 08 Oct 2009 13:40:14 +0400 Lines: 55 Message-ID: References: <4ABA36B1.9070706@icyb.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp78-37-191-47.pppoe.avangarddsl.ru User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.8.1.23) Gecko/20090913 SeaMonkey/1.1.18 In-Reply-To: <4ABA36B1.9070706@icyb.net.ua> Sender: news Subject: Re: sb600/sb700 ohci experimental patch 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, 08 Oct 2009 10:02:39 -0000 Andriy Gapon пишет: > If you have a system with SB600, SB700, etc chipset and you have problems with low > speed USB devices attached during boot (keyboard, mouse), could you please try the > following experimental patch and report back? > I am primarily interested in the first several lines produced during boot with > printfs that are introduced by the patch. Preferably in the context of surrounding > USB-related dmesg messages. No need to report subsequent same-looking > ever-repeating messages (if any). The problem was when the Prolific-based (uplcom driver) SonyEricsson USB2COM cable was connected during reboot, it was not properly recognized. This path fixes the issue. mb: Gigabyte GA-MA69VM-S2 FreeBSD 8.0-RC1 #0: Mon Oct 5 04:30:50 MSD 2009 [...] CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ (2305.24-MHz 686-class CPU) [...] ohci0: mem 0xfe02e000-0xfe02efff irq 16 at device 19.0 on pci0 ohci0: [ITHREAD] usbus0: on ohci0 [... almost the same for ohci[1-4] ...] usbus0: 12Mbps Full Speed USB v1.0 (hw power) control head <= 0x162f880 (hw power) control head => 0x162f880 usbus1: 12Mbps Full Speed USB v1.0 (hw power) control head <= 0x1658a80 (hw power) control head => 0x1658a80 usbus2: 12Mbps Full Speed USB v1.0 (hw power) control head <= 0x77ef1c90 (hw power) control head => 0x165c400 usbus3: 12Mbps Full Speed USB v1.0 (hw power) control head <= 0x165dd80 (hw power) control head => 0x165dd80 usbus4: 12Mbps Full Speed USB v1.0 (hw power) control head <= 0x1661900 (hw power) control head => 0x1661900 [...] (hw power) control head <= 0x165c400 (hw power) control head => 0x165c400 ugen2.2: at usbus2 (hw power) control head <= 0x165c400 (hw power) control head => 0x165c400 (hw power) control head <= 0x165c400 (hw power) control head => 0x165c400 re0: link state changed to UP (hw power) control head <= 0x165c400 (hw power) control head => 0x165c400 -- Pavel Gubin Jabber: xmpp:pg@2lazy.ru / Phone +79218959055 / sip:pg@2lazy.ru From owner-freebsd-usb@FreeBSD.ORG Thu Oct 8 11:24:59 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B8711065670 for ; Thu, 8 Oct 2009 11:24:59 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 484628FC0A for ; Thu, 8 Oct 2009 11:24:59 +0000 (UTC) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1Mvqqv-000CDZ-92 for freebsd-usb@FreeBSD.org; Thu, 08 Oct 2009 15:08:09 +0400 From: Boris Samorodov To: freebsd-usb@FreeBSD.org Date: Thu, 08 Oct 2009 15:08:09 +0400 Message-ID: <22747878@bb.ipt.ru> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: [umass] card reader at 9-CURRENT 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, 08 Oct 2009 11:24:59 -0000 Hello List, I own a card reader which happend to work fine until this week. Two days ago I renewed my 9-CURRENT (seems from 3 Oct but actually I didn't use the card reader with that kernel). The card reader does not work properly: ----- bb% uname -a FreeBSD bb.ipt.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #3: Tue Oct 6 17:00:54 MSD 2009 root@bb.ipt.ru:/usr/obj/usr/src/sys/BB i386 ----- Here is a debugging info: ftp://ftp.ipt.ru/pub/tmp/usb/messages.usb.debug.bad.txt The same card works at other system: ----- % uname -a FreeBSD tba.bsam.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon Oct 5 19:56:42 MSD 2009 root@tba.bsam.ru:/usr/obj/usr/src/sys/TBA amd64 ----- And debug from this system: ftp://ftp.ipt.ru/pub/tmp/usb/messages.usb.debug.good.txt Any help is appreciated. Thanks. -- WBR, Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-usb@FreeBSD.ORG Thu Oct 8 11:38:04 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44A691065679 for ; Thu, 8 Oct 2009 11:38:04 +0000 (UTC) (envelope-from pg@2lazy.ru) Received: from cloud9.2lazy.ru (cloud9.2lazy.ru [88.204.75.147]) by mx1.freebsd.org (Postfix) with ESMTP id 8AD838FC13 for ; Thu, 8 Oct 2009 11:38:03 +0000 (UTC) Received: from mx.2lazy.ru (localhost [127.0.0.1]) by cloud9.2lazy.ru (8.14.3/8.14.3) with ESMTP id n98BH28w030030 for ; Thu, 8 Oct 2009 18:17:03 +0700 (TSD) (envelope-from pg@2lazy.ru) Message-ID: <4ACDCA2E.6000601@2lazy.ru> Date: Thu, 08 Oct 2009 15:17:02 +0400 From: Pavel Gubin Organization: Lazy User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.8.1.23) Gecko/20090913 SeaMonkey/1.1.18 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: Old USB1 umass device (OLYMPUS C-2 camera) does not work. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pg@2lazy.ru List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 11:38:04 -0000 Hello, I've got a problem attaching device in subject: ------ piece from dmesg ------ ugen2.3: at usbus2 umass0: on usbus2 umass0: SCSI over (unknown 0x00); quirks = 0x0100 umass0: could not setup required transfers, USB_ERR_INVAL device_attach: umass0 attach returned 6 ------ Tried on two different M/B -- ohci and uhci. When I'm attaching this camera to 7.x, it panics; 6.x works OK. What can I do to fix this? -- Pavel Gubin Jabber: xmpp:pg@2lazy.ru / Phone +79218959055 / sip:pg@2lazy.ru From owner-freebsd-usb@FreeBSD.ORG Thu Oct 8 12:42:01 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5211106568D for ; Thu, 8 Oct 2009 12:42:01 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.tele2.se [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id 31CAF8FC23 for ; Thu, 8 Oct 2009 12:42:00 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=U8-3xOE_AAAA:8 a=6I5d2MoRAAAA:8 a=tyrU636WpKJW7a7d2EoA:9 a=z-QZKFI4rPfGgM-01EUA:7 a=SURGkXUM9zcNqEVuGG_c9-DgHOYA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 573956255; Thu, 08 Oct 2009 14:41:57 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 8 Oct 2009 14:42:47 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <22747878@bb.ipt.ru> In-Reply-To: <22747878@bb.ipt.ru> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910081442.48775.hselasky@c2i.net> Cc: Subject: Re: [umass] card reader at 9-CURRENT 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, 08 Oct 2009 12:42:01 -0000 On Thursday 08 October 2009 13:08:09 Boris Samorodov wrote: > Hello List, > > I own a card reader which happend to work fine until this week. > Two days ago I renewed my 9-CURRENT (seems from 3 Oct but actually I > didn't use the card reader with that kernel). The card reader does not > work properly: > ----- > bb% uname -a > FreeBSD bb.ipt.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #3: Tue Oct 6 17:00:54 > MSD 2009 root@bb.ipt.ru:/usr/obj/usr/src/sys/BB i386 ----- > Here is a debugging info: > ftp://ftp.ipt.ru/pub/tmp/usb/messages.usb.debug.bad.txt > > The same card works at other system: > ----- > % uname -a > FreeBSD tba.bsam.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon Oct 5 19:56:42 > MSD 2009 root@tba.bsam.ru:/usr/obj/usr/src/sys/TBA amd64 ----- > And debug from this system: > ftp://ftp.ipt.ru/pub/tmp/usb/messages.usb.debug.good.txt > > Any help is appreciated. Thanks. Hi, USB was last changed 6 days ago, so the window you show does not directly indicate an USB issue. Try to look for deltas in the CAM layer. http://www.freebsd.org/cgi/cvsweb.cgi/src/sys --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Oct 8 12:44:32 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 951C51065670 for ; Thu, 8 Oct 2009 12:44:32 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 208798FC21 for ; Thu, 8 Oct 2009 12:44:31 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=07XZgFNO_1wA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=-vR3oEbchhhhS-pT4g8A:9 a=KlotPi82I5V_wbK-oAUA:7 a=_z8X6yQ84r4UEhkf_FDpSIQYRngA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1311992796; Thu, 08 Oct 2009 14:44:29 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, pg@2lazy.ru Date: Thu, 8 Oct 2009 14:45:21 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4ACDCA2E.6000601@2lazy.ru> In-Reply-To: <4ACDCA2E.6000601@2lazy.ru> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910081445.22620.hselasky@c2i.net> Cc: Subject: Re: Old USB1 umass device (OLYMPUS C-2 camera) does not 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: Thu, 08 Oct 2009 12:44:32 -0000 On Thursday 08 October 2009 13:17:02 Pavel Gubin wrote: > Hello, > > I've got a problem attaching device in subject: > > ------ piece from dmesg ------ > ugen2.3: at usbus2 > umass0: on usbus2 > umass0: SCSI over (unknown 0x00); quirks = 0x0100 > umass0: could not setup required transfers, USB_ERR_INVAL > device_attach: umass0 attach returned 6 > ------ > > Tried on two different M/B -- ohci and uhci. > > When I'm attaching this camera to 7.x, it panics; 6.x works OK. > > What can I do to fix this? Hi, There seems to be a bug in the quirks table. Can you first try edit: /usr/src/sys/dev/usb/storage/umass.c And change the proto and bbb lines into only: UMASS_PROTO_DEFAULT, ? {USB_VENDOR_OLYMPUS, USB_PRODUCT_OLYMPUS_C1, RID_WILDCARD, UMASS_PROTO_SCSI | UMASS_PROTO_BBB, WRONG_CSWSIG }, {USB_VENDOR_OLYMPUS, USB_PRODUCT_OLYMPUS_C700, RID_WILDCARD, UMASS_PROTO_SCSI, NO_GETMAXLUN }, --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Oct 8 18:09:47 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA64D1065693 for ; Thu, 8 Oct 2009 18:09:47 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe13.swip.net [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id 1307B8FC13 for ; Thu, 8 Oct 2009 18:09:46 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=7H_uI1Jp-TAA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=7o0vgxtEv0OaWoPWRUQA:9 a=W1AdtfT8KQEDeUfaTPUsA-dZUtcA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe13.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 929858533; Thu, 08 Oct 2009 20:09:44 +0200 Received-SPF: softfail receiver=mailfe13.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 8 Oct 2009 20:10:34 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200909251909.31503.hselasky@freebsd.org> <4ABE2B4F.6080104@tomjudge.com> <200909271950.55189.hselasky@freebsd.org> In-Reply-To: <200909271950.55189.hselasky@freebsd.org> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910082010.36621.hselasky@freebsd.org> Cc: Tom Judge , freebsd-current@freebsd.org Subject: Re: Polling support for USB serial port adapters [patches] 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, 08 Oct 2009 18:09:47 -0000 On Sunday 27 September 2009 19:50:54 Hans Petter Selasky wrote: > Hi, > > Here is a patchset which you can try. > > http://perforce.freebsd.org/chv.cgi?CH=168932 > > You need to download at least: > > usb_serial.h > and > usb_serial.c > > Download serial port drivers as needed. > > You need to at least recompile all USB serial modules. > > To enable you set: > > hw.usb.ucom.cons_unit=0 > hw.usb.ucom.cons_baud=9600 > > In /boot/loader.conf > > NOTE: The patches have not been tested yet, only carefully reviewed. If you > experience any problems, please debug and send patch to me. > Has anyone tried this out? --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Oct 9 07:17:02 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3E8D106568D for ; Fri, 9 Oct 2009 07:17:02 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.swipnet.se [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id 524B38FC16 for ; Fri, 9 Oct 2009 07:17:01 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=07XZgFNO_1wA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=4S2gDXU2eTzUl25iNlgA:9 a=1YWgXNbEJWK9-zuYjC3ntHG_QB4A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 574341022; Fri, 09 Oct 2009 09:16:57 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 9 Oct 2009 09:17:49 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4ACDCA2E.6000601@2lazy.ru> <200910081445.22620.hselasky@c2i.net> In-Reply-To: <200910081445.22620.hselasky@c2i.net> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910090917.50261.hselasky@c2i.net> Cc: Subject: Re: Old USB1 umass device (OLYMPUS C-2 camera) does not 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: Fri, 09 Oct 2009 07:17:02 -0000 Thanks for your report. Issue has been fixed in USB P4: http://perforce.freebsd.org/chv.cgi?CH=169337 --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Oct 10 09:58:18 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 976151065670; Sat, 10 Oct 2009 09:58:18 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id 5A3798FC15; Sat, 10 Oct 2009 09:58:18 +0000 (UTC) Received: from baby-jane.lamaiziere.net (20.6.192-77.rev.gaoland.net [77.192.6.20]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 7ED51633322; Sat, 10 Oct 2009 11:41:01 +0200 (CEST) Received: from baby-jane.lamaiziere.net (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id 6336DB662; Sat, 10 Oct 2009 11:41:01 +0200 (CEST) Date: Sat, 10 Oct 2009 11:41:00 +0200 From: Patrick Lamaiziere To: Hans Petter Selasky Message-ID: <20091010114100.51b67abd@baby-jane.lamaiziere.net> In-Reply-To: <200910082010.36621.hselasky@freebsd.org> References: <200909251909.31503.hselasky@freebsd.org> <4ABE2B4F.6080104@tomjudge.com> <200909271950.55189.hselasky@freebsd.org> <200910082010.36621.hselasky@freebsd.org> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: Polling support for USB serial port adapters [patches] 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, 10 Oct 2009 09:58:18 -0000 Le Thu, 8 Oct 2009 20:10:34 +0200, Hans Petter Selasky a =E9crit : Hello, > > hw.usb.ucom.cons_unit=3D0 > > hw.usb.ucom.cons_baud=3D9600 > > > > In /boot/loader.conf > > > > NOTE: The patches have not been tested yet, only carefully > > reviewed. If you experience any problems, please debug and send > > patch to me. I'm trying with uplcom (Prolific chipset) but I'm not familiar with serial debuging. Shall I use a remote gdb. Or should it work if I set a serial console on the machine (like with uart)? I'm testing on 8.0.=20 Regards. From owner-freebsd-usb@FreeBSD.ORG Sat Oct 10 10:38:16 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD1D71065672; Sat, 10 Oct 2009 10:38:16 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id 1C9FE8FC1F; Sat, 10 Oct 2009 10:38:15 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=7H_uI1Jp-TAA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=R5zHh6Q0aC69Z2J8_2IA:9 a=bqN_6H8h7G0Dbm70ma9dyuXSeBQA:4 a=SV7veod9ZcQA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1309878422; Sat, 10 Oct 2009 12:38:13 +0200 Received-SPF: softfail receiver=mailfe06.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 10 Oct 2009 12:39:00 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200909251909.31503.hselasky@freebsd.org> <200910082010.36621.hselasky@freebsd.org> <20091010114100.51b67abd@baby-jane.lamaiziere.net> In-Reply-To: <20091010114100.51b67abd@baby-jane.lamaiziere.net> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpO< =?iso-8859-1?q?Q0yAl=7E=3F=60=27F=3FjDVb=5DE6TQ7=27=23h-VlLs=7Dk/=0A=09?=(yxg(p!IL.`#ng"%`BMrham7%UK,}VH\wUOm=^>wEEQ+KWt[{J#x6ow~JO:,zwp.(t; @ =?iso-8859-1?q?Aq=0A=09=3A4=3A=26nFCgDb8=5B3oIeTb=5E=27?=",; u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200910101239.02783.hselasky@freebsd.org> Cc: freebsd-current@freebsd.org, Patrick Lamaiziere Subject: Re: Polling support for USB serial port adapters [patches] 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, 10 Oct 2009 10:38:16 -0000 On Saturday 10 October 2009 11:41:00 Patrick Lamaiziere wrote: > Le Thu, 8 Oct 2009 20:10:34 +0200, > Hans Petter Selasky a =E9crit : > > Hello, > > > > hw.usb.ucom.cons_unit=3D0 > > > hw.usb.ucom.cons_baud=3D9600 > > > > > > In /boot/loader.conf > > > > > > NOTE: The patches have not been tested yet, only carefully > > > reviewed. If you experience any problems, please debug and send > > > patch to me. > > I'm trying with uplcom (Prolific chipset) but I'm not familiar with > serial debuging. Shall I use a remote gdb. Or should it work if I > set a serial console on the machine (like with uart)? > > I'm testing on 8.0. It should work with both GDB and the console driver. =2D-HPS