From owner-freebsd-usb@FreeBSD.ORG Sun Aug 1 02:49:18 2010 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 195B01065670; Sun, 1 Aug 2010 02:49:18 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id EC5088FC14; Sun, 1 Aug 2010 02:49:17 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id o712nGOF049844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 31 Jul 2010 19:49:16 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id o712nGge049843; Sat, 31 Jul 2010 19:49:16 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA13209; Sat, 31 Jul 10 19:37:47 PDT Date: Sat, 31 Jul 2010 19:37:39 -0700 From: perryh@pluto.rain.com To: fli@shapeshifter.se Message-Id: <4c54ddf3.dbUwkfoxXwnHLLQz%perryh@pluto.rain.com> References: <201007311310.o6VDA3S6082887@freefall.freebsd.org> In-Reply-To: <201007311310.o6VDA3S6082887@freefall.freebsd.org> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org, freebsd-net@freebsd.org, pilzableiter@web.de, bug-followup@freebsd.org Subject: Re: usb/149039: [uhso] Binding problem with uhso 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, 01 Aug 2010 02:49:18 -0000 > The following reply was made to PR usb/149039; it has been noted > by GNATS. > > From: Fredrik Lindberg > To: bug-followup@FreeBSD.org, pilzableiter@web.de > Cc: Hans Petter Selasky > Subject: Re: usb/149039: [uhso] Binding problem with uhso > Date: Sat, 31 Jul 2010 15:00:07 +0200 > > I apparently missed some interface flags (that really doesn't make > sense for this device, it's configured with a /32 mask so broadcast > etc can only be to itself) that the network stack wants to work > properly. Is a /32 mask even legal? Unless there's a special case involved, it ought to mean that there are no interfaces on the subnet other than this one, thus this interface has no peer to communicate with and might as well not exist. Adding net@ in hopes someone there knows what should happen. From owner-freebsd-usb@FreeBSD.ORG Sun Aug 1 02:50:03 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C475F1065672 for ; Sun, 1 Aug 2010 02:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9AD158FC17 for ; Sun, 1 Aug 2010 02:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o712o3OF079264 for ; Sun, 1 Aug 2010 02:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o712o3ZW079263; Sun, 1 Aug 2010 02:50:03 GMT (envelope-from gnats) Date: Sun, 1 Aug 2010 02:50:03 GMT Message-Id: <201008010250.o712o3ZW079263@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: perryh@pluto.rain.com Cc: Subject: Re: usb/149039: [uhso] Binding problem with uhso X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: perryh@pluto.rain.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Aug 2010 02:50:03 -0000 The following reply was made to PR usb/149039; it has been noted by GNATS. From: perryh@pluto.rain.com To: fli@shapeshifter.se Cc: pilzableiter@web.de, bug-followup@freebsd.org, freebsd-net@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/149039: [uhso] Binding problem with uhso Date: Sat, 31 Jul 2010 19:37:39 -0700 > The following reply was made to PR usb/149039; it has been noted > by GNATS. > > From: Fredrik Lindberg > To: bug-followup@FreeBSD.org, pilzableiter@web.de > Cc: Hans Petter Selasky > Subject: Re: usb/149039: [uhso] Binding problem with uhso > Date: Sat, 31 Jul 2010 15:00:07 +0200 > > I apparently missed some interface flags (that really doesn't make > sense for this device, it's configured with a /32 mask so broadcast > etc can only be to itself) that the network stack wants to work > properly. Is a /32 mask even legal? Unless there's a special case involved, it ought to mean that there are no interfaces on the subnet other than this one, thus this interface has no peer to communicate with and might as well not exist. Adding net@ in hopes someone there knows what should happen. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 2 06:53:03 2010 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 13A6C106566C for ; Mon, 2 Aug 2010 06:53:03 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swipnet.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 3A5C88FC14 for ; Mon, 2 Aug 2010 06:53:01 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=wOCrJj2TqmIA:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=7hMUrjSbhET8jHKOMsUA:9 a=XK2_XiQBLKE2YZNVRSwA:7 a=k9-BKZAQusv6nXY3TfTTfJ6GY8EA:4 a=PUjeQqilurYA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 645053108; Mon, 02 Aug 2010 08:53:00 +0200 From: Hans Petter Selasky To: Alexey A Bukreev Date: Mon, 2 Aug 2010 08:49:46 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <201007311934.o6VJYSYu030910@www.freebsd.org> <201007312143.18198.hselasky@c2i.net> <4C55EA65.8040500@lepis.net.ru> In-Reply-To: <4C55EA65.8040500@lepis.net.ru> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201008020849.46521.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) 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, 02 Aug 2010 06:53:03 -0000 On Sunday 01 August 2010 23:43:01 Alexey A Bukreev wrote: > On 31.07.2010 23:43, Hans Petter Selasky wrote: > > Can you compile the kernel with "options USB_DEBUG". Then set the > > following > > debug variable: > > > > sysctl hw.usb.ural.debug=15 > > > > What is printed in dmesg, when you try to activate the wlan0? > > > > --HPS > > I compiled kernel with "options USB_DEBUG", set hw.usb.ural.debug to 15, > inputed into console "ifconfig wlan0 create wlandev ural0". > > There are no messages in dmesg or 1st console. dmesg ends with string > "rl0: link state changed to UP" > > In "top" process ifconfig uses 100% of CPU core. If you wish I can send > you the photo of "top". > > After 10 minutes there several messages displays on dmesg: > > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 1506 usec to 1483 usec for pid 1358 (csh) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 414 usec to 344 usec for pid 1317 (inetd) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 734 usec to 610 usec for pid 1277 (sendmail) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 544 usec to 452 usec for pid 1277 (sendmail) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 537 usec to 446 usec for pid 1273 (sendmail) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 687 usec to 570 usec for pid 1257 (sshd) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 4830 usec to 4629 usec for pid 966 (syslogd) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 304 usec to 253 usec for pid 811 (devd) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 7516 usec to 6244 usec for pid 811 (devd) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 18540 usec to 17888 usec for pid 4 (g_down) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 949398 usec to 793650 usec for pid 1 (init) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 5350 usec to 4664 usec for pid 0 (kernel) > > > On 7.3-STABLE on the same computer I have the same messages, but all > works normally: > > calcru: runtime went backwards from 193 usec to 160 usec for pid 128 > (adjkerntz) > calcru: runtime went backwards from 24328 usec to 20212 usec for pid > 30 (usbtask-dr) > calcru: runtime went backwards from 633 usec to 560 usec for pid 24 > (swi6: task queue) > calcru: runtime went backwards from 5000 usec to 4622 usec for pid 0 > (swapper) Hi, Try to enter the debugger from the console by pressing CTRL+ALT+ESC. Use bt to get the backtrace. Then backtrace the ifconfig process. Figure out where it gets stuck. Did you run: sysctl hw.usb.ural.debug=15 --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Aug 2 06:54:39 2010 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 24044106566B; Mon, 2 Aug 2010 06:54:39 +0000 (UTC) (envelope-from fli@shapeshifter.se) Received: from mx1.h3q.net (mx1.h3q.net [IPv6:2001:16d8:ffe5:1::f1]) by mx1.freebsd.org (Postfix) with ESMTP id D80928FC1C; Mon, 2 Aug 2010 06:54:38 +0000 (UTC) Received: from smtp-auth.h3q.net (smtp-auth.h3q.net [127.0.0.1]) (Authenticated sender: hidden) by mx1.h3q.net (Postfix) with ESMTPSA id 6381833D11 ; Mon, 2 Aug 2010 08:54:37 +0200 (CEST) Message-ID: <4C566B94.5090405@shapeshifter.se> Date: Mon, 02 Aug 2010 08:54:12 +0200 From: Fredrik Lindberg User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 MIME-Version: 1.0 To: perryh@pluto.rain.com References: <201007311310.o6VDA3S6082887@freefall.freebsd.org> <4c54ddf3.dbUwkfoxXwnHLLQz%perryh@pluto.rain.com> In-Reply-To: <4c54ddf3.dbUwkfoxXwnHLLQz%perryh@pluto.rain.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org, freebsd-net@freebsd.org, pilzableiter@web.de, bug-followup@freebsd.org Subject: Re: usb/149039: [uhso] Binding problem with uhso 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, 02 Aug 2010 06:54:39 -0000 On 08/01/2010 04:37 AM, perryh@pluto.rain.com wrote: >> The following reply was made to PR usb/149039; it has been noted >> by GNATS. >> >> From: Fredrik Lindberg >> To: bug-followup@FreeBSD.org, pilzableiter@web.de >> Cc: Hans Petter Selasky >> Subject: Re: usb/149039: [uhso] Binding problem with uhso >> Date: Sat, 31 Jul 2010 15:00:07 +0200 >> >> I apparently missed some interface flags (that really doesn't make >> sense for this device, it's configured with a /32 mask so broadcast >> etc can only be to itself) that the network stack wants to work >> properly. > > Is a /32 mask even legal? Unless there's a special case involved, > it ought to mean that there are no interfaces on the subnet other > than this one, thus this interface has no peer to communicate with > and might as well not exist. > > Adding net@ in hopes someone there knows what should happen. > Yes, technically a /32 mask defines only one single address, but it's the only mask that really makes sense for this device. /32 masks are "legal" and commonly used for the loopback address of routers. But this is is indeed a very special case. The device has a USB interface that accepts raw IP-packets (with no other encapsulation). Once you have told the device to connect, it will tell you what IP-address you have and what DNS-servers to use, but that's it. My best guess is that the devices does PPP internally in firmware and abstracts the point-to-point link with a IP-packet interface. But since none of these details are available the only (as far as I know) viable thing is to set a /32 mask and set 0.0.0.0 (default route) to be directly reachable through the interface (route add -interface). Fredrik Lindberg From owner-freebsd-usb@FreeBSD.ORG Mon Aug 2 07:00:04 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50E821065676 for ; Mon, 2 Aug 2010 07:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 18F658FC08 for ; Mon, 2 Aug 2010 07:00:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o72703Z5064464 for ; Mon, 2 Aug 2010 07:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o72703EO064463; Mon, 2 Aug 2010 07:00:03 GMT (envelope-from gnats) Date: Mon, 2 Aug 2010 07:00:03 GMT Message-Id: <201008020700.o72703EO064463@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Fredrik Lindberg Cc: Subject: Re: usb/149039: [uhso] Binding problem with uhso X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fredrik Lindberg List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2010 07:00:04 -0000 The following reply was made to PR usb/149039; it has been noted by GNATS. From: Fredrik Lindberg To: perryh@pluto.rain.com Cc: pilzableiter@web.de, bug-followup@freebsd.org, freebsd-net@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/149039: [uhso] Binding problem with uhso Date: Mon, 02 Aug 2010 08:54:12 +0200 On 08/01/2010 04:37 AM, perryh@pluto.rain.com wrote: >> The following reply was made to PR usb/149039; it has been noted >> by GNATS. >> >> From: Fredrik Lindberg >> To: bug-followup@FreeBSD.org, pilzableiter@web.de >> Cc: Hans Petter Selasky >> Subject: Re: usb/149039: [uhso] Binding problem with uhso >> Date: Sat, 31 Jul 2010 15:00:07 +0200 >> >> I apparently missed some interface flags (that really doesn't make >> sense for this device, it's configured with a /32 mask so broadcast >> etc can only be to itself) that the network stack wants to work >> properly. > > Is a /32 mask even legal? Unless there's a special case involved, > it ought to mean that there are no interfaces on the subnet other > than this one, thus this interface has no peer to communicate with > and might as well not exist. > > Adding net@ in hopes someone there knows what should happen. > Yes, technically a /32 mask defines only one single address, but it's the only mask that really makes sense for this device. /32 masks are "legal" and commonly used for the loopback address of routers. But this is is indeed a very special case. The device has a USB interface that accepts raw IP-packets (with no other encapsulation). Once you have told the device to connect, it will tell you what IP-address you have and what DNS-servers to use, but that's it. My best guess is that the devices does PPP internally in firmware and abstracts the point-to-point link with a IP-packet interface. But since none of these details are available the only (as far as I know) viable thing is to set a /32 mask and set 0.0.0.0 (default route) to be directly reachable through the interface (route add -interface). Fredrik Lindberg From owner-freebsd-usb@FreeBSD.ORG Mon Aug 2 07:10:04 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0663F1065676 for ; Mon, 2 Aug 2010 07:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BFF7E8FC22 for ; Mon, 2 Aug 2010 07:10:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o727A3sN073708 for ; Mon, 2 Aug 2010 07:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o727A32U073706; Mon, 2 Aug 2010 07:10:03 GMT (envelope-from gnats) Date: Mon, 2 Aug 2010 07:10:03 GMT Message-Id: <201008020710.o727A32U073706@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2010 07:10:04 -0000 The following reply was made to PR usb/149162; it has been noted by GNATS. From: Hans Petter Selasky To: Alexey A Bukreev Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) Date: Mon, 2 Aug 2010 08:49:46 +0200 On Sunday 01 August 2010 23:43:01 Alexey A Bukreev wrote: > On 31.07.2010 23:43, Hans Petter Selasky wrote: > > Can you compile the kernel with "options USB_DEBUG". Then set the > > following > > debug variable: > > > > sysctl hw.usb.ural.debug=15 > > > > What is printed in dmesg, when you try to activate the wlan0? > > > > --HPS > > I compiled kernel with "options USB_DEBUG", set hw.usb.ural.debug to 15, > inputed into console "ifconfig wlan0 create wlandev ural0". > > There are no messages in dmesg or 1st console. dmesg ends with string > "rl0: link state changed to UP" > > In "top" process ifconfig uses 100% of CPU core. If you wish I can send > you the photo of "top". > > After 10 minutes there several messages displays on dmesg: > > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 1506 usec to 1483 usec for pid 1358 (csh) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 414 usec to 344 usec for pid 1317 (inetd) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 734 usec to 610 usec for pid 1277 (sendmail) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 544 usec to 452 usec for pid 1277 (sendmail) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 537 usec to 446 usec for pid 1273 (sendmail) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 687 usec to 570 usec for pid 1257 (sshd) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 4830 usec to 4629 usec for pid 966 (syslogd) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 304 usec to 253 usec for pid 811 (devd) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 7516 usec to 6244 usec for pid 811 (devd) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 18540 usec to 17888 usec for pid 4 (g_down) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 949398 usec to 793650 usec for pid 1 (init) > Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from > 5350 usec to 4664 usec for pid 0 (kernel) > > > On 7.3-STABLE on the same computer I have the same messages, but all > works normally: > > calcru: runtime went backwards from 193 usec to 160 usec for pid 128 > (adjkerntz) > calcru: runtime went backwards from 24328 usec to 20212 usec for pid > 30 (usbtask-dr) > calcru: runtime went backwards from 633 usec to 560 usec for pid 24 > (swi6: task queue) > calcru: runtime went backwards from 5000 usec to 4622 usec for pid 0 > (swapper) Hi, Try to enter the debugger from the console by pressing CTRL+ALT+ESC. Use bt to get the backtrace. Then backtrace the ifconfig process. Figure out where it gets stuck. Did you run: sysctl hw.usb.ural.debug=15 --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Aug 2 11:07:13 2010 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 6BDD81065675 for ; Mon, 2 Aug 2010 11:07:13 +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 588A08FC20 for ; Mon, 2 Aug 2010 11:07:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o72B7DeO035261 for ; Mon, 2 Aug 2010 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o72B7C0Y035259 for freebsd-usb@FreeBSD.org; Mon, 2 Aug 2010 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 2 Aug 2010 11:07:12 GMT Message-Id: <201008021107.o72B7C0Y035259@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, 02 Aug 2010 11:07:13 -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/149162 usb ASUS WL-167g doesn't work in 8.1 (continue of 149058) o usb/149039 usb [uhso] Binding problem with uhso s usb/148702 usb [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usb usbconfig(8) sometimes does not turn off the device o usb/147516 usb [umass] [usb67] kernel unable to deal with Olympus USB o usb/146871 usb [usbdevs] [usb8] [patch] provide descriprive string fo o usb/146840 usb [hang] FreeBSD 7.2 / 7.3 / 8.0 hang at startup after e o usb/146153 usb [axe] [usb8] Hosts in network doesn't receive any pack o usb/146054 usb [urtw] [usb8] urtw driver potentially out of date f usb/145513 usb [usb8] New USB stack: no new devices after forced usb o usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] [usb8] USB card reader does not create slices a usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] [usb8] ukbd_set_leds_callback: error=USB_ER f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144751 usb [ukbd] [usb8] kernel without keyboard support won't co o usb/144387 usb [run] [panic] if_run panic o usb/144043 usb [umass] [usb8] USB DLT tape drive throws random errors o usb/143790 usb [boot] can not boot from usb hdd f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system f usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J o usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d o usb/142991 usb [uftdi] [usb67] [patch] Patch to add Crystalfontz 533 f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa o usb/142713 usb [usb67] [panic] Kernel Panik when connecting an IPhone f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P o usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR o usb/141327 usb [ukbd] [usb67] USB kbd not working with 7.1+PAE on IBM o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb] Encrypted root, geli password at boot; enter key o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b f usb/140883 usb [axe] [usb8] USB gigabit ethernet hangs after short pe o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o kern/140614 usb [uplcom] [patch] adding support for Radio Shack Gigwar o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A s usb/139990 usb [panic] [patch] [usb67] Kernel frequently panics after a usb/139598 usb [umass] [usb8] CAM reports "xptioctl: put "device pass o usb/139243 usb [uhci] [usb67] unplug prolific USB serial -> uhci_abor a usb/138904 usb [rum] [panic] [usb67] unpluging USB wifi card panics s f usb/138882 usb [ohci] [panic] [usb67] Can't install FreeBSD 7.2 due t o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o usb/138570 usb [usb] [panic] USB mass device panics current 7.2-STABL o usb/138548 usb [usb67] [usb8] usb devices periodically have unknown a o usb/138175 usb [usb67] [boot] System cannot boot, when USB reader wit o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u o usb/138119 usb [usb67] [usb8] MultiBay CDROM (probably on USB bus) is o usb/137872 usb [usb67] [boot] slow booting on usb flash drive o usb/137806 usb [ukbd] [usb67] USB keyboard doesn't work until it's un o usb/137763 usb [usb67][ukbd] Logitech wireless keyboard media keys no o usb/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f 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 f bin/137180 usb [build] [patch] building world for 8.0-BETA2 fails on o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att p usb/136761 usb [usbdevs][usb67][patch] Teach usbdevs / u3g(4) about H o usb/135938 usb [aue] [usb67] aue driver only passes traffic in promis o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135348 usb [umass] [patch] USB Drive Hangs with ZFS (JMicron USB2 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/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o usb/133989 usb [usb8] [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 o usb/132594 usb USB subsystem causes page fault and crashes o usb/132312 usb [hang] 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/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 p usb/131123 usb [patch] [usb67] re-add UQ_ASSUME_CM_OVER_DATA USB quir 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/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 [usb8] DVD drive detects as 'da' device o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb67] [patch] uaudio is not full duplex p 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 p usb/127980 usb [umass] [patch] [usb67] Fix Samsung YP U2 MP3 player o o usb/127926 usb [boot] USB Timeout during bootup p usb/127549 usb [umass] [usb67] [patch] Meizu MiniPlayer M6 (SL) requi s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should p docs/127406 usb [patch] update umodem man page: Sony Ericsson W810i o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach 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 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 f 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/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um 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/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/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/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/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 [snd_uaudio] [patch] Not possible to record with Plant 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/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/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/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/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 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/80854 usb [patch] [request] suggestion for new iface-no-probe me 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 " f usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails f 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/78984 usb [umass] [patch] Creative MUVO umass failure f usb/77294 usb [ucom] [panic] ucom + ulpcom panic 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 f 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 f 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 f usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) f 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 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 Mon Aug 2 16:42:46 2010 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 2DF40106564A; Mon, 2 Aug 2010 16:42:46 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 7B2058FC18; Mon, 2 Aug 2010 16:42:45 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=6KUfmzbym87FxoMGRWTr46e60yW4QTEOPMCHQyBOt0U= c=1 sm=1 a=wOCrJj2TqmIA:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=z9RF_iCKAAAA:8 a=atYnjNFxjaqPPzf40E4A:9 a=smlJQK0Q3XE-W0ZcincA:7 a=Yg3gPitK7-BtelKKoWRPTf8otcgA:4 a=PUjeQqilurYA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 3538589; Mon, 02 Aug 2010 18:42:39 +0200 From: Hans Petter Selasky To: Alexey A Bukreev Date: Mon, 2 Aug 2010 18:39:30 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <201007311934.o6VJYSYu030910@www.freebsd.org> <201008020849.46521.hselasky@c2i.net> <4C56F131.9040607@lepis.net.ru> In-Reply-To: <4C56F131.9040607@lepis.net.ru> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201008021839.30655.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) 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, 02 Aug 2010 16:42:46 -0000 On Monday 02 August 2010 18:24:17 Alexey A Bukreev wrote: > On 02.08.2010 10:49, Hans Petter Selasky wrote: > > Hi, > > Try to enter the debugger from the console by pressing CTRL+ALT+ESC. Use > > bt to get the backtrace. Then backtrace the ifconfig process. Figure out > > where it gets stuck. > > > > Did you run: > > > > sysctl hw.usb.ural.debug=15 > > > > --HPS > > I input in console "ifconfig wlan0 create wlandev ural0". After I press > ALT+CTRL+ESC - nothing happens. > I reboot PC and input "gdb ifconfig wlan0 create wlandev ural0" - result > you can see here: http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG > > I think I did it wrong :) I'm dummy. > > > But I saw one strange thing. > In one of tries I started ifconfig command and rebooted PC after 3-5 > minutes. In first console I saw next messages after "Uptime": > > Uptime: 3m21s > ugen0.2: at usbus0 > ural1: ...... > ural1: ...... > > You can see photo of these messages: > http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG > > And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL. > I think that it's a bug in ifconfig with duplicating devices. > > Sorry my bad English. 1) gdb 2) type: file ifconfig 3) type: run wlan0 create wlandev ural0 --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Aug 2 16:50:07 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4132F106566C for ; Mon, 2 Aug 2010 16:50:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 12C5F8FC23 for ; Mon, 2 Aug 2010 16:50:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o72Go63j075003 for ; Mon, 2 Aug 2010 16:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o72Go6K4075002; Mon, 2 Aug 2010 16:50:06 GMT (envelope-from gnats) Date: Mon, 2 Aug 2010 16:50:06 GMT Message-Id: <201008021650.o72Go6K4075002@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2010 16:50:07 -0000 The following reply was made to PR usb/149162; it has been noted by GNATS. From: Hans Petter Selasky To: Alexey A Bukreev Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) Date: Mon, 2 Aug 2010 18:39:30 +0200 On Monday 02 August 2010 18:24:17 Alexey A Bukreev wrote: > On 02.08.2010 10:49, Hans Petter Selasky wrote: > > Hi, > > Try to enter the debugger from the console by pressing CTRL+ALT+ESC. Use > > bt to get the backtrace. Then backtrace the ifconfig process. Figure out > > where it gets stuck. > > > > Did you run: > > > > sysctl hw.usb.ural.debug=15 > > > > --HPS > > I input in console "ifconfig wlan0 create wlandev ural0". After I press > ALT+CTRL+ESC - nothing happens. > I reboot PC and input "gdb ifconfig wlan0 create wlandev ural0" - result > you can see here: http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG > > I think I did it wrong :) I'm dummy. > > > But I saw one strange thing. > In one of tries I started ifconfig command and rebooted PC after 3-5 > minutes. In first console I saw next messages after "Uptime": > > Uptime: 3m21s > ugen0.2: at usbus0 > ural1: ...... > ural1: ...... > > You can see photo of these messages: > http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG > > And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL. > I think that it's a bug in ifconfig with duplicating devices. > > Sorry my bad English. 1) gdb 2) type: file ifconfig 3) type: run wlan0 create wlandev ural0 --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Aug 3 15:54:05 2010 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 6AB771065884; Tue, 3 Aug 2010 15:54:05 +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 B8C758FC17; Tue, 3 Aug 2010 15:54:04 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=8mUlEYGF/1ewVNyGLrc5XeWvvpKOEXP975HI1NO5ccA= c=1 sm=1 a=wOCrJj2TqmIA:10 a=IkcTkHD0fZMA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=z9RF_iCKAAAA:8 a=fF4Ax9joa8HUS5S7Bd8A:9 a=wMsuwJ3r6KjwA5F_xW8A:7 a=zePCc9InwLrEnlcic_diBndQ-rMA:4 a=QEXdDO2ut3YA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 4402684; Tue, 03 Aug 2010 17:53:41 +0200 From: Hans Petter Selasky To: Alexey A Bukreev Date: Tue, 3 Aug 2010 17:50:45 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <201007311934.o6VJYSYu030910@www.freebsd.org> <201008021839.30655.hselasky@c2i.net> <4C5839CD.3060302@lepis.net.ru> In-Reply-To: <4C5839CD.3060302@lepis.net.ru> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201008031750.45654.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) 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, 03 Aug 2010 15:54:05 -0000 On Tuesday 03 August 2010 17:46:21 Alexey A Bukreev wrote: > On 02.08.2010 20:39, Hans Petter Selasky wrote: > > On Monday 02 August 2010 18:24:17 Alexey A Bukreev wrote: > >> I input in console "ifconfig wlan0 create wlandev ural0". After I press > >> ALT+CTRL+ESC - nothing happens. > >> I reboot PC and input "gdb ifconfig wlan0 create wlandev ural0" - result > >> you can see here: http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG > >> > >> But I saw one strange thing. > >> In one of tries I started ifconfig command and rebooted PC after 3-5 > >> > >> minutes. In first console I saw next messages after "Uptime": > >> Uptime: 3m21s > >> ugen0.2: at usbus0 > >> ural1: ...... > >> ural1: ...... > >> > >> You can see photo of these messages: > >> http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG > >> > >> And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL. > >> I think that it's a bug in ifconfig with duplicating devices. > > > > 1) gdb > > > > 2) type: file ifconfig > > > > 3) type: run wlan0 create wlandev ural0 > > > > --HPS > > gdb says "no debugging symbols found" > Hi, Actually, my intention was to get you into the kernel debugger and not the userland debugger. Maybe you have some missing keywords in your kernel config. Try google. When setup correctly, CTRL+ALT+ESC should get you into the kernel debugger. That means you should exit X11 before typing this sequence. When in the kernel debugger, try to dump all threads. Look for function names that contain the word "ural". Write down brief stack backtrace. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Aug 3 16:00:22 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BBB91065670 for ; Tue, 3 Aug 2010 16:00:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F3E608FC19 for ; Tue, 3 Aug 2010 16:00:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o73G0LZm065284 for ; Tue, 3 Aug 2010 16:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o73G0LEw065283; Tue, 3 Aug 2010 16:00:21 GMT (envelope-from gnats) Date: Tue, 3 Aug 2010 16:00:21 GMT Message-Id: <201008031600.o73G0LEw065283@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 16:00:22 -0000 The following reply was made to PR usb/149162; it has been noted by GNATS. From: Hans Petter Selasky To: Alexey A Bukreev Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) Date: Tue, 3 Aug 2010 17:50:45 +0200 On Tuesday 03 August 2010 17:46:21 Alexey A Bukreev wrote: > On 02.08.2010 20:39, Hans Petter Selasky wrote: > > On Monday 02 August 2010 18:24:17 Alexey A Bukreev wrote: > >> I input in console "ifconfig wlan0 create wlandev ural0". After I press > >> ALT+CTRL+ESC - nothing happens. > >> I reboot PC and input "gdb ifconfig wlan0 create wlandev ural0" - result > >> you can see here: http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG > >> > >> But I saw one strange thing. > >> In one of tries I started ifconfig command and rebooted PC after 3-5 > >> > >> minutes. In first console I saw next messages after "Uptime": > >> Uptime: 3m21s > >> ugen0.2: at usbus0 > >> ural1: ...... > >> ural1: ...... > >> > >> You can see photo of these messages: > >> http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG > >> > >> And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL. > >> I think that it's a bug in ifconfig with duplicating devices. > > > > 1) gdb > > > > 2) type: file ifconfig > > > > 3) type: run wlan0 create wlandev ural0 > > > > --HPS > > gdb says "no debugging symbols found" > Hi, Actually, my intention was to get you into the kernel debugger and not the userland debugger. Maybe you have some missing keywords in your kernel config. Try google. When setup correctly, CTRL+ALT+ESC should get you into the kernel debugger. That means you should exit X11 before typing this sequence. When in the kernel debugger, try to dump all threads. Look for function names that contain the word "ural". Write down brief stack backtrace. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 01:21:47 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA30D1065676; Wed, 4 Aug 2010 01:21:47 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BFBB08FC12; Wed, 4 Aug 2010 01:21:47 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o741LlvQ020699; Wed, 4 Aug 2010 01:21:47 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o741Llnt020695; Wed, 4 Aug 2010 01:21:47 GMT (envelope-from linimon) Date: Wed, 4 Aug 2010 01:21:47 GMT Message-Id: <201008040121.o741Llnt020695@freefall.freebsd.org> To: ggg_mail@inbox.ru, linimon@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/149231: Re: usb/143790: [boot] can not boot from usb hdd 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, 04 Aug 2010 01:21:48 -0000 Old Synopsis: =?koi8-r?Q?Re=3A_usb/143790=3A_[boot]_can_not_boot_from_usb_hdd?= New Synopsis: Re: usb/143790: [boot] can not boot from usb hdd State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Wed Aug 4 01:19:56 UTC 2010 State-Changed-Why: Misfiled followup to usb/143790; content migrated. Responsible-Changed-From-To: gnats-admin->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Wed Aug 4 01:19:56 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149231 From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 10:50:16 2010 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 D8D3A1065674; Wed, 4 Aug 2010 10:50:16 +0000 (UTC) (envelope-from lepis@lepis.net.ru) Received: from lepis.net.ru (lepis.org.ru [109.170.96.84]) by mx1.freebsd.org (Postfix) with ESMTP id 695158FC23; Wed, 4 Aug 2010 10:50:16 +0000 (UTC) Received: from [127.0.0.1] (helo=[172.30.0.101]) by lepis.net.ru with esmtpa (Exim 4.72 (FreeBSD)) (envelope-from ) id 1OfgKF-0000L2-FM; Mon, 02 Aug 2010 01:44:07 +0400 Message-ID: <4C55EA59.9020706@lepis.net.ru> Date: Mon, 02 Aug 2010 01:42:49 +0400 From: Alexey A Bukreev User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: Hans Petter Selasky References: <201007311934.o6VJYSYu030910@www.freebsd.org> <201007312143.18198.hselasky@c2i.net> In-Reply-To: <201007312143.18198.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) 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, 04 Aug 2010 10:50:16 -0000 On 31.07.2010 23:43, Hans Petter Selasky wrote: > Can you compile the kernel with "options USB_DEBUG". Then set the > following > debug variable: > > sysctl hw.usb.ural.debug=15 > > What is printed in dmesg, when you try to activate the wlan0? > > --HPS > I compiled kernel with "options USB_DEBUG", set hw.usb.ural.debug to 15, inputed into console "ifconfig wlan0 create wlandev ural0". There are no messages in dmesg or 1st console. dmesg ends with string "rl0: link state changed to UP" In "top" process ifconfig uses 100% of CPU core. If you wish I can send you the photo of "top". After 10 minutes there several messages displays on dmesg: Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 1506 usec to 1483 usec for pid 1358 (csh) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 414 usec to 344 usec for pid 1317 (inetd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 734 usec to 610 usec for pid 1277 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 544 usec to 452 usec for pid 1277 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 537 usec to 446 usec for pid 1273 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 687 usec to 570 usec for pid 1257 (sshd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 4830 usec to 4629 usec for pid 966 (syslogd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 304 usec to 253 usec for pid 811 (devd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 7516 usec to 6244 usec for pid 811 (devd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 18540 usec to 17888 usec for pid 4 (g_down) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 949398 usec to 793650 usec for pid 1 (init) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 5350 usec to 4664 usec for pid 0 (kernel) On 7.3-STABLE on the same computer I have the same messages, but all works normally: calcru: runtime went backwards from 193 usec to 160 usec for pid 128 (adjkerntz) calcru: runtime went backwards from 24328 usec to 20212 usec for pid 30 (usbtask-dr) calcru: runtime went backwards from 633 usec to 560 usec for pid 24 (swi6: task queue) calcru: runtime went backwards from 5000 usec to 4622 usec for pid 0 (swapper) -- ? ?????????, ??????? ??????? +7(926) 249-90-25 http://lepisgame.net.ru From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 10:50:18 2010 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 A046F1065675; Wed, 4 Aug 2010 10:50:18 +0000 (UTC) (envelope-from lepis@lepis.net.ru) Received: from lepis.net.ru (lepis.org.ru [109.170.96.84]) by mx1.freebsd.org (Postfix) with ESMTP id 5049F8FC14; Wed, 4 Aug 2010 10:50:18 +0000 (UTC) Received: from [127.0.0.1] (helo=[172.30.0.101]) by lepis.net.ru with esmtpa (Exim 4.72 (FreeBSD)) (envelope-from ) id 1OfxpW-0000LD-Lp; Mon, 02 Aug 2010 20:25:34 +0400 Message-ID: <4C56F131.9040607@lepis.net.ru> Date: Mon, 02 Aug 2010 20:24:17 +0400 From: Alexey A Bukreev User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: Hans Petter Selasky References: <201007311934.o6VJYSYu030910@www.freebsd.org> <201007312143.18198.hselasky@c2i.net> <4C55EA65.8040500@lepis.net.ru> <201008020849.46521.hselasky@c2i.net> In-Reply-To: <201008020849.46521.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) 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, 04 Aug 2010 10:50:18 -0000 On 02.08.2010 10:49, Hans Petter Selasky wrote: > Hi, > Try to enter the debugger from the console by pressing CTRL+ALT+ESC. Use bt to > get the backtrace. Then backtrace the ifconfig process. Figure out where it > gets stuck. > > Did you run: > > sysctl hw.usb.ural.debug=15 > > --HPS > I input in console "ifconfig wlan0 create wlandev ural0". After I press ALT+CTRL+ESC - nothing happens. I reboot PC and input "gdb ifconfig wlan0 create wlandev ural0" - result you can see here: http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG I think I did it wrong :) I'm dummy. But I saw one strange thing. In one of tries I started ifconfig command and rebooted PC after 3-5 minutes. In first console I saw next messages after "Uptime": Uptime: 3m21s ugen0.2: at usbus0 ural1: ...... ural1: ...... You can see photo of these messages: http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL. I think that it's a bug in ifconfig with duplicating devices. Sorry my bad English. -- ? ?????????, ??????? ??????? +7(926) 249-90-25 http://lepisgame.net.ru From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 10:50:20 2010 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 2C53B106567D; Wed, 4 Aug 2010 10:50:20 +0000 (UTC) (envelope-from lepis@lepis.net.ru) Received: from lepis.net.ru (lepis.org.ru [109.170.96.84]) by mx1.freebsd.org (Postfix) with ESMTP id D30268FC1D; Wed, 4 Aug 2010 10:50:19 +0000 (UTC) Received: from [127.0.0.1] (helo=[172.30.0.101]) by lepis.net.ru with esmtpa (Exim 4.72 (FreeBSD)) (envelope-from ) id 1OgJiR-0002zu-4P; Tue, 03 Aug 2010 19:47:43 +0400 Message-ID: <4C5839CD.3060302@lepis.net.ru> Date: Tue, 03 Aug 2010 19:46:21 +0400 From: Alexey A Bukreev User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: Hans Petter Selasky References: <201007311934.o6VJYSYu030910@www.freebsd.org> <201008020849.46521.hselasky@c2i.net> <4C56F131.9040607@lepis.net.ru> <201008021839.30655.hselasky@c2i.net> In-Reply-To: <201008021839.30655.hselasky@c2i.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) 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, 04 Aug 2010 10:50:20 -0000 On 02.08.2010 20:39, Hans Petter Selasky wrote: > On Monday 02 August 2010 18:24:17 Alexey A Bukreev wrote: > >> I input in console "ifconfig wlan0 create wlandev ural0". After I press >> ALT+CTRL+ESC - nothing happens. >> I reboot PC and input "gdb ifconfig wlan0 create wlandev ural0" - result >> you can see here: http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG >> >> But I saw one strange thing. >> In one of tries I started ifconfig command and rebooted PC after 3-5 >> minutes. In first console I saw next messages after "Uptime": >> >> Uptime: 3m21s >> ugen0.2: at usbus0 >> ural1: ...... >> ural1: ...... >> >> You can see photo of these messages: >> http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG >> >> And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL. >> I think that it's a bug in ifconfig with duplicating devices. >> > 1) gdb > > 2) type: file ifconfig > > 3) type: run wlan0 create wlandev ural0 > > --HPS > gdb says "no debugging symbols found" [lepis@lepis ~]$ cat /usr/src/sys/i386/conf/lepis | grep DEBUG makeoptions DEBUG=-g #... options USB_DEBUG options IEEE80211_DEBUG #.... options USB_DEBUG #.... -- С уважением, Букреев ÐлекÑей +7(926) 249-90-25 http://lepisgame.net.ru From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 10:50:21 2010 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 C354D1065673; Wed, 4 Aug 2010 10:50:21 +0000 (UTC) (envelope-from lepis@lepis.net.ru) Received: from lepis.net.ru (lepis.org.ru [109.170.96.84]) by mx1.freebsd.org (Postfix) with ESMTP id 547E88FC16; Wed, 4 Aug 2010 10:50:21 +0000 (UTC) Received: from [127.0.0.1] (helo=[172.30.0.101]) by lepis.net.ru with esmtpa (Exim 4.72 (FreeBSD)) (envelope-from ) id 1OfgKQ-0000L7-Pl; Mon, 02 Aug 2010 01:44:18 +0400 Message-ID: <4C55EA65.8040500@lepis.net.ru> Date: Mon, 02 Aug 2010 01:43:01 +0400 From: Alexey A Bukreev User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: Hans Petter Selasky References: <201007311934.o6VJYSYu030910@www.freebsd.org> <201007312143.18198.hselasky@c2i.net> In-Reply-To: <201007312143.18198.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) 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, 04 Aug 2010 10:50:21 -0000 On 31.07.2010 23:43, Hans Petter Selasky wrote: > Can you compile the kernel with "options USB_DEBUG". Then set the > following > debug variable: > > sysctl hw.usb.ural.debug=15 > > What is printed in dmesg, when you try to activate the wlan0? > > --HPS > I compiled kernel with "options USB_DEBUG", set hw.usb.ural.debug to 15, inputed into console "ifconfig wlan0 create wlandev ural0". There are no messages in dmesg or 1st console. dmesg ends with string "rl0: link state changed to UP" In "top" process ifconfig uses 100% of CPU core. If you wish I can send you the photo of "top". After 10 minutes there several messages displays on dmesg: Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 1506 usec to 1483 usec for pid 1358 (csh) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 414 usec to 344 usec for pid 1317 (inetd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 734 usec to 610 usec for pid 1277 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 544 usec to 452 usec for pid 1277 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 537 usec to 446 usec for pid 1273 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 687 usec to 570 usec for pid 1257 (sshd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 4830 usec to 4629 usec for pid 966 (syslogd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 304 usec to 253 usec for pid 811 (devd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 7516 usec to 6244 usec for pid 811 (devd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 18540 usec to 17888 usec for pid 4 (g_down) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 949398 usec to 793650 usec for pid 1 (init) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 5350 usec to 4664 usec for pid 0 (kernel) On 7.3-STABLE on the same computer I have the same messages, but all works normally: calcru: runtime went backwards from 193 usec to 160 usec for pid 128 (adjkerntz) calcru: runtime went backwards from 24328 usec to 20212 usec for pid 30 (usbtask-dr) calcru: runtime went backwards from 633 usec to 560 usec for pid 24 (swi6: task queue) calcru: runtime went backwards from 5000 usec to 4622 usec for pid 0 (swapper) -- ? ?????????, ??????? ??????? +7(926) 249-90-25 http://lepisgame.net.ru From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 11:00:20 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D4BD1065676 for ; Wed, 4 Aug 2010 11:00:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F13F48FC18 for ; Wed, 4 Aug 2010 11:00:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o74B0JDF017129 for ; Wed, 4 Aug 2010 11:00:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o74B0JKG017127; Wed, 4 Aug 2010 11:00:19 GMT (envelope-from gnats) Date: Wed, 4 Aug 2010 11:00:19 GMT Message-Id: <201008041100.o74B0JKG017127@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Alexey A Bukreev Cc: Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexey A Bukreev List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 11:00:20 -0000 The following reply was made to PR usb/149162; it has been noted by GNATS. From: Alexey A Bukreev To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) Date: Mon, 02 Aug 2010 01:42:49 +0400 This is a multi-part message in MIME format. --------------050204090808000200030105 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit On 31.07.2010 23:43, Hans Petter Selasky wrote: > Can you compile the kernel with "options USB_DEBUG". Then set the > following > debug variable: > > sysctl hw.usb.ural.debug=15 > > What is printed in dmesg, when you try to activate the wlan0? > > --HPS > I compiled kernel with "options USB_DEBUG", set hw.usb.ural.debug to 15, inputed into console "ifconfig wlan0 create wlandev ural0". There are no messages in dmesg or 1st console. dmesg ends with string "rl0: link state changed to UP" In "top" process ifconfig uses 100% of CPU core. If you wish I can send you the photo of "top". After 10 minutes there several messages displays on dmesg: Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 1506 usec to 1483 usec for pid 1358 (csh) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 414 usec to 344 usec for pid 1317 (inetd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 734 usec to 610 usec for pid 1277 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 544 usec to 452 usec for pid 1277 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 537 usec to 446 usec for pid 1273 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 687 usec to 570 usec for pid 1257 (sshd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 4830 usec to 4629 usec for pid 966 (syslogd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 304 usec to 253 usec for pid 811 (devd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 7516 usec to 6244 usec for pid 811 (devd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 18540 usec to 17888 usec for pid 4 (g_down) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 949398 usec to 793650 usec for pid 1 (init) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 5350 usec to 4664 usec for pid 0 (kernel) On 7.3-STABLE on the same computer I have the same messages, but all works normally: calcru: runtime went backwards from 193 usec to 160 usec for pid 128 (adjkerntz) calcru: runtime went backwards from 24328 usec to 20212 usec for pid 30 (usbtask-dr) calcru: runtime went backwards from 633 usec to 560 usec for pid 24 (swi6: task queue) calcru: runtime went backwards from 5000 usec to 4622 usec for pid 0 (swapper) -- ? ?????????, ??????? ??????? +7(926) 249-90-25 http://lepisgame.net.ru --------------050204090808000200030105 Content-Type: text/html; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit On 31.07.2010 23:43, Hans Petter Selasky wrote:
Can you compile the kernel with "options USB_DEBUG". Then set the following
debug variable:
 
 sysctl hw.usb.ural.debug=15
 
 What is printed in dmesg, when you try to activate the wlan0?
 
 --HPS
   
I compiled kernel with "options USB_DEBUG", set hw.usb.ural.debug to 15, inputed into console "ifconfig wlan0 create wlandev ural0".

There are no messages in dmesg or 1st console. dmesg ends with string "rl0: link state changed to UP"

In "top" process ifconfig uses 100% of CPU core. If you wish I can send you the photo of "top".

After 10 minutes there several messages displays on dmesg:
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 1506 usec to 1483 usec for pid 1358 (csh)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 414 usec to 344 usec for pid 1317 (inetd)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 734 usec to 610 usec for pid 1277 (sendmail)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 544 usec to 452 usec for pid 1277 (sendmail)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 537 usec to 446 usec for pid 1273 (sendmail)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 687 usec to 570 usec for pid 1257 (sshd)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 4830 usec to 4629 usec for pid 966 (syslogd)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 304 usec to 253 usec for pid 811 (devd)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 7516 usec to 6244 usec for pid 811 (devd)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 18540 usec to 17888 usec for pid 4 (g_down)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 949398 usec to 793650 usec for pid 1 (init)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 5350 usec to 4664 usec for pid 0 (kernel)

On 7.3-STABLE on the same computer I have the same messages, but all works normally:
calcru: runtime went backwards from 193 usec to 160 usec for pid 128 (adjkerntz)
calcru: runtime went backwards from 24328 usec to 20212 usec for pid 30 (usbtask-dr)
calcru: runtime went backwards from 633 usec to 560 usec for pid 24 (swi6: task queue)
calcru: runtime went backwards from 5000 usec to 4622 usec for pid 0 (swapper)


-- 
 С уважением,
 Букреев Алексей
 +7(926) 249-90-25
 http://lepisgame.net.ru
 
--------------050204090808000200030105-- From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 11:00:21 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAFC5106566B for ; Wed, 4 Aug 2010 11:00:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B87298FC23 for ; Wed, 4 Aug 2010 11:00:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o74B0LtR017147 for ; Wed, 4 Aug 2010 11:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o74B0Lcr017143; Wed, 4 Aug 2010 11:00:21 GMT (envelope-from gnats) Date: Wed, 4 Aug 2010 11:00:21 GMT Message-Id: <201008041100.o74B0Lcr017143@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Alexey A Bukreev Cc: Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexey A Bukreev List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 11:00:22 -0000 The following reply was made to PR usb/149162; it has been noted by GNATS. From: Alexey A Bukreev To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) Date: Mon, 02 Aug 2010 20:24:17 +0400 This is a multi-part message in MIME format. --------------070709020906090407080201 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit On 02.08.2010 10:49, Hans Petter Selasky wrote: > Hi, > Try to enter the debugger from the console by pressing CTRL+ALT+ESC. Use bt to > get the backtrace. Then backtrace the ifconfig process. Figure out where it > gets stuck. > > Did you run: > > sysctl hw.usb.ural.debug=15 > > --HPS > I input in console "ifconfig wlan0 create wlandev ural0". After I press ALT+CTRL+ESC - nothing happens. I reboot PC and input "gdb ifconfig wlan0 create wlandev ural0" - result you can see here: http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG I think I did it wrong :) I'm dummy. But I saw one strange thing. In one of tries I started ifconfig command and rebooted PC after 3-5 minutes. In first console I saw next messages after "Uptime": Uptime: 3m21s ugen0.2: at usbus0 ural1: ...... ural1: ...... You can see photo of these messages: http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL. I think that it's a bug in ifconfig with duplicating devices. Sorry my bad English. -- ? ?????????, ??????? ??????? +7(926) 249-90-25 http://lepisgame.net.ru --------------070709020906090407080201 Content-Type: text/html; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit On 02.08.2010 10:49, Hans Petter Selasky wrote:
Hi,
 Try to enter the debugger from the console by pressing CTRL+ALT+ESC. Use bt to 
 get the backtrace. Then backtrace the ifconfig process. Figure out where it 
 gets stuck.
 
 Did you run:
 
 sysctl hw.usb.ural.debug=15
 
 --HPS
   
I input in console "ifconfig wlan0 create wlandev ural0". After I press ALT+CTRL+ESC - nothing happens.
I reboot PC and input "gdb ifconfig wlan0 create wlandev ural0" - result you can see here: http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG

I think I did it wrong :) I'm dummy.


But I saw one strange thing.
In one of tries I started ifconfig command and rebooted PC after 3-5 minutes. In first console I saw next messages after "Uptime":
Uptime: 3m21s
ugen0.2: <ASUS> at usbus0
ural1: ......
ural1: ......
You can see photo of these messages: http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG

And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL.
I think that it's a bug in ifconfig with duplicating devices.

Sorry my bad English.

-- 
 С уважением,
 Букреев Алексей
 +7(926) 249-90-25
 http://lepisgame.net.ru
 
--------------070709020906090407080201-- From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 11:00:24 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 075F1106564A for ; Wed, 4 Aug 2010 11:00:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E9C6A8FC19 for ; Wed, 4 Aug 2010 11:00:23 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o74B0NRk017323 for ; Wed, 4 Aug 2010 11:00:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o74B0NHu017316; Wed, 4 Aug 2010 11:00:23 GMT (envelope-from gnats) Date: Wed, 4 Aug 2010 11:00:23 GMT Message-Id: <201008041100.o74B0NHu017316@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Alexey A Bukreev Cc: Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexey A Bukreev List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 11:00:24 -0000 The following reply was made to PR usb/149162; it has been noted by GNATS. From: Alexey A Bukreev To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) Date: Tue, 03 Aug 2010 19:46:21 +0400 On 02.08.2010 20:39, Hans Petter Selasky wrote: > On Monday 02 August 2010 18:24:17 Alexey A Bukreev wrote: > >> I input in console "ifconfig wlan0 create wlandev ural0". After I press >> ALT+CTRL+ESC - nothing happens. >> I reboot PC and input "gdb ifconfig wlan0 create wlandev ural0" - result >> you can see here: http://lepis.org.ru/~lepis/freebsd/IMG_0072.JPG >> >> But I saw one strange thing. >> In one of tries I started ifconfig command and rebooted PC after 3-5 >> minutes. In first console I saw next messages after "Uptime": >> >> Uptime: 3m21s >> ugen0.2: at usbus0 >> ural1: ...... >> ural1: ...... >> >> You can see photo of these messages: >> http://lepis.org.ru/~lepis/freebsd/IMG_0068.JPG >> >> And reboot stopped. Reboot continued only when I pressed ALT+CTRL+DEL. >> I think that it's a bug in ifconfig with duplicating devices. >> > 1) gdb > > 2) type: file ifconfig > > 3) type: run wlan0 create wlandev ural0 > > --HPS > gdb says "no debugging symbols found" [lepis@lepis ~]$ cat /usr/src/sys/i386/conf/lepis | grep DEBUG makeoptions DEBUG=-g #... options USB_DEBUG options IEEE80211_DEBUG #.... options USB_DEBUG #.... -- С уважением, Букреев ÐлекÑей +7(926) 249-90-25 http://lepisgame.net.ru From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 11:00:26 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0DC7106567B for ; Wed, 4 Aug 2010 11:00:26 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AE3538FC1E for ; Wed, 4 Aug 2010 11:00:26 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o74B0QQe017574 for ; Wed, 4 Aug 2010 11:00:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o74B0Qw1017568; Wed, 4 Aug 2010 11:00:26 GMT (envelope-from gnats) Date: Wed, 4 Aug 2010 11:00:26 GMT Message-Id: <201008041100.o74B0Qw1017568@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Alexey A Bukreev Cc: Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexey A Bukreev List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 11:00:26 -0000 The following reply was made to PR usb/149162; it has been noted by GNATS. From: Alexey A Bukreev To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) Date: Mon, 02 Aug 2010 01:43:01 +0400 This is a multi-part message in MIME format. --------------030203030408040904040609 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit On 31.07.2010 23:43, Hans Petter Selasky wrote: > Can you compile the kernel with "options USB_DEBUG". Then set the > following > debug variable: > > sysctl hw.usb.ural.debug=15 > > What is printed in dmesg, when you try to activate the wlan0? > > --HPS > I compiled kernel with "options USB_DEBUG", set hw.usb.ural.debug to 15, inputed into console "ifconfig wlan0 create wlandev ural0". There are no messages in dmesg or 1st console. dmesg ends with string "rl0: link state changed to UP" In "top" process ifconfig uses 100% of CPU core. If you wish I can send you the photo of "top". After 10 minutes there several messages displays on dmesg: Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 1506 usec to 1483 usec for pid 1358 (csh) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 414 usec to 344 usec for pid 1317 (inetd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 734 usec to 610 usec for pid 1277 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 544 usec to 452 usec for pid 1277 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 537 usec to 446 usec for pid 1273 (sendmail) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 687 usec to 570 usec for pid 1257 (sshd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 4830 usec to 4629 usec for pid 966 (syslogd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 304 usec to 253 usec for pid 811 (devd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 7516 usec to 6244 usec for pid 811 (devd) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 18540 usec to 17888 usec for pid 4 (g_down) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 949398 usec to 793650 usec for pid 1 (init) Aug 2 01:25:46 lepis kernel: calcru: runtime went backwards from 5350 usec to 4664 usec for pid 0 (kernel) On 7.3-STABLE on the same computer I have the same messages, but all works normally: calcru: runtime went backwards from 193 usec to 160 usec for pid 128 (adjkerntz) calcru: runtime went backwards from 24328 usec to 20212 usec for pid 30 (usbtask-dr) calcru: runtime went backwards from 633 usec to 560 usec for pid 24 (swi6: task queue) calcru: runtime went backwards from 5000 usec to 4622 usec for pid 0 (swapper) -- ? ?????????, ??????? ??????? +7(926) 249-90-25 http://lepisgame.net.ru --------------030203030408040904040609 Content-Type: text/html; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit On 31.07.2010 23:43, Hans Petter Selasky wrote:
Can you compile the kernel with "options USB_DEBUG". Then set the following
debug variable:
 
 sysctl hw.usb.ural.debug=15
 
 What is printed in dmesg, when you try to activate the wlan0?
 
 --HPS
   
I compiled kernel with "options USB_DEBUG", set hw.usb.ural.debug to 15, inputed into console "ifconfig wlan0 create wlandev ural0".

There are no messages in dmesg or 1st console. dmesg ends with string "rl0: link state changed to UP"

In "top" process ifconfig uses 100% of CPU core. If you wish I can send you the photo of "top".

After 10 minutes there several messages displays on dmesg:
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 1506 usec to 1483 usec for pid 1358 (csh)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 414 usec to 344 usec for pid 1317 (inetd)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 734 usec to 610 usec for pid 1277 (sendmail)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 544 usec to 452 usec for pid 1277 (sendmail)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 537 usec to 446 usec for pid 1273 (sendmail)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 687 usec to 570 usec for pid 1257 (sshd)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 4830 usec to 4629 usec for pid 966 (syslogd)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 304 usec to 253 usec for pid 811 (devd)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 7516 usec to 6244 usec for pid 811 (devd)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 18540 usec to 17888 usec for pid 4 (g_down)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 949398 usec to 793650 usec for pid 1 (init)
Aug  2 01:25:46 lepis kernel: calcru: runtime went backwards from 5350 usec to 4664 usec for pid 0 (kernel)

On 7.3-STABLE on the same computer I have the same messages, but all works normally:
calcru: runtime went backwards from 193 usec to 160 usec for pid 128 (adjkerntz)
calcru: runtime went backwards from 24328 usec to 20212 usec for pid 30 (usbtask-dr)
calcru: runtime went backwards from 633 usec to 560 usec for pid 24 (swi6: task queue)
calcru: runtime went backwards from 5000 usec to 4622 usec for pid 0 (swapper)


-- 
 С уважением,
 Букреев Алексей
 +7(926) 249-90-25
 http://lepisgame.net.ru
 
--------------030203030408040904040609-- From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 16:27:10 2010 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 1085D1065675; Wed, 4 Aug 2010 16:27:10 +0000 (UTC) (envelope-from saper@saper.info) Received: from k.saper.info (smtp-out.saper.info [IPv6:2001:41d0:1:c823::1002]) by mx1.freebsd.org (Postfix) with ESMTP id 5EE4A8FC12; Wed, 4 Aug 2010 16:27:09 +0000 (UTC) Received: from k.saper.info (localhost [127.0.0.1]) by k.saper.info (8.14.4/8.14.4) with ESMTP id o74GR7xl095096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Aug 2010 16:27:07 GMT (envelope-from saper@saper.info) Received: (from uucp@localhost) by k.saper.info (8.14.4/8.14.4/Submit) with UUCP id o74GR7cF095095; Wed, 4 Aug 2010 16:27:07 GMT (envelope-from saper@saper.info) Received: from radziecki.saper.info (localhost [127.0.0.1]) by radziecki.saper.info (8.14.3/8.14.3) with ESMTP id o74GQN5E098299 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Aug 2010 16:26:23 GMT (envelope-from saper@saper.info) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=saper.info; s=Mar2008; t=1280939184; bh=qb2NlO2I6z6PyFz3okpWdem6DZNw+KPBMbAid1pgl2I=; h=Date:Message-Id:To:Subject:From:Reply-To:Cc; b=F15nqqqan3fIP/ScBqk/dpBF6KiTNSXD9otGY1EveqWuHvyXiNPCl/4CIg3AQwcLR D+keDs/FKOXBp4jWciDOdEtG7B51J3iMmBHqTM9rtxyPriz5IqKQwPkQc7JHJlqrMc WMdDqBQERjXI91YbwUbe9p78z+UKQUjL/A/8tNEk= Received: (from saper@localhost) by radziecki.saper.info (8.14.3/8.14.3/Submit) id o74GQMDL098191; Wed, 4 Aug 2010 16:26:22 GMT (envelope-from saper) Date: Wed, 4 Aug 2010 16:26:22 GMT Message-Id: <201008041626.o74GQMDL098191@radziecki.saper.info> To: FreeBSD-gnats-submit@freebsd.org From: Marcin Cieslak X-send-pr-version: 3.113 X-GNATS-Notify: Cc: freebsd-usb@freebsd.org, joerg@freebsd.org Subject: avrdude unable to talk to Arduino board (via uftdi) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcin Cieslak List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 16:27:10 -0000 >Submitter-Id: current-users >Originator: Marcin Cieslak >Confidential: no >Synopsis: avrdude unable to talk to Arduino board (via uftdi) >Severity: serious >Priority: medium >Category: usb >Class: sw-bug >Release: FreeBSD 9.0-CURRENT amd64 >Environment: System: FreeBSD radziecki.saper.info 9.0-CURRENT FreeBSD 9.0-CURRENT #5 r206987: Tue Apr 27 20:45:03 CEST 2010 saper@radziecki.saper.info:/usr/obj/usr/src/sys/VAIO amd64 avrdude-5.10 installed from ports, using default /usr/local/etc/avrdude.conf Arduino Duemilanove board with ATMega328 processor. Using Arduino USB interface, appearing as uftdi: # usbconfig -d ugen4.3 dump_device_desc ugen4.3: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x0403 idProduct = 0x6001 bcdDevice = 0x0600 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 bNumConfigurations = 0x0001 # usbconfig -d ugen4.3 dump_all_config_desc ugen4.3: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0020 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x00a0 bMaxPower = 0x002d Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x00ff iInterface = 0x0002 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 >Description: Any attempt to contact the board using avrdude fails. Checked with the same hardware (dual-boot) and Microsoft Vista (with arduino-0018 IDE) and the board can be contacted and programmed without any problems. Syslog with: hw.usb.ucom.debug: 15 hw.usb.uftdi.debug: 15 avrdude -c arduino -p m328p -P /dev/cuaU0 Aug 4 18:10:04 radziecki saper: Connecting board Aug 4 18:10:07 radziecki kernel: ugen4.3: at usbus4 Aug 4 18:10:07 radziecki kernel: uftdi0: on usbus4 Aug 4 18:10:07 radziecki kernel: uftdi_attach: Aug 4 18:10:07 radziecki kernel: ucom_attach_tty: tp = 0xffffff0003cd8400, unit = 0 Aug 4 18:10:07 radziecki kernel: ucom_attach_tty: ttycreate: U0 Aug 4 18:10:07 radziecki kernel: ucom_open: tp = 0xffffff0003cd8400 Aug 4 18:10:07 radziecki kernel: ucom_dtr: onoff = 1 Aug 4 18:10:07 radziecki kernel: ucom_line_state: on=0x01, off=0x00 Aug 4 18:10:07 radziecki kernel: ucom_rts: onoff = 1 Aug 4 18:10:07 radziecki kernel: ucom_line_state: on=0x02, off=0x00 Aug 4 18:10:07 radziecki kernel: ucom_ring: onoff = 0 Aug 4 18:10:07 radziecki kernel: ucom_line_state: on=0x00, off=0x08 Aug 4 18:10:07 radziecki kernel: ucom_break: onoff = 0 Aug 4 18:10:07 radziecki kernel: ucom_line_state: on=0x00, off=0x04 Aug 4 18:10:07 radziecki kernel: ucom_param: sc = 0xffffff0003cd9458 Aug 4 18:10:07 radziecki kernel: uftdi_pre_param: Aug 4 18:10:07 radziecki kernel: ucom_cfg_open: Aug 4 18:10:07 radziecki kernel: uftdi_cfg_open: uftdi_cfg_param: Aug 4 18:10:46 radziecki saper: Starting avrdude Aug 4 18:10:48 radziecki kernel: ucom_param: sc = 0xffffff0003cd9458 Aug 4 18:10:48 radziecki kernel: uftdi_pre_param: Aug 4 18:10:48 radziecki kernel: ucom_dtr: onoff = 1 Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x01, off=0x00 Aug 4 18:10:48 radziecki kernel: ucom_rts: onoff = 1 Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x02, off=0x00 Aug 4 18:10:48 radziecki kernel: uftdi_cfg_param: Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x402c7413 Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x402c7413 Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x802c7414 Aug 4 18:10:48 radziecki kernel: ucom_param: sc = 0xffffff0003cd9458 Aug 4 18:10:48 radziecki kernel: uftdi_pre_param: Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x8004667e Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x8004667d Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x4004746a Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x8004746d Aug 4 18:10:48 radziecki kernel: ucom_dtr: onoff = 1 Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x01, off=0x00 Aug 4 18:10:48 radziecki kernel: ucom_rts: onoff = 1 Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x02, off=0x00 Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x4004746a Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x8004746d Aug 4 18:10:48 radziecki kernel: ucom_dtr: onoff = 0 Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x00, off=0x01 Aug 4 18:10:48 radziecki kernel: ucom_rts: onoff = 0 Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x00, off=0x02 Aug 4 18:10:48 radziecki kernel: uftdi_cfg_param: Aug 4 18:10:48 radziecki kernel: ucom_outwakeup: sc = 0xffffff0003cd9458 Aug 4 18:10:48 radziecki last message repeated 2 times Aug 4 18:10:53 radziecki kernel: ucom_ioctl: cmd = 0x4004746a Aug 4 18:10:53 radziecki kernel: ucom_ioctl: cmd = 0x8004746d Aug 4 18:10:53 radziecki kernel: ucom_dtr: onoff = 1 Aug 4 18:10:53 radziecki kernel: ucom_line_state: on=0x01, off=0x00 Aug 4 18:10:53 radziecki kernel: ucom_rts: onoff = 1 Aug 4 18:10:53 radziecki kernel: ucom_line_state: on=0x02, off=0x00 Aug 4 18:10:53 radziecki kernel: ucom_ioctl: cmd = 0x802c7415 Aug 4 18:10:53 radziecki kernel: ucom_outwakeup: sc = 0xffffff0003cd9458 Aug 4 18:10:56 radziecki saper: avrdude timeout Aug 4 18:11:18 radziecki saper: Sending INTR to avrdude Aug 4 18:11:19 radziecki kernel: ucom_outwakeup: sc = 0xffffff0003cd9458 Aug 4 18:11:23 radziecki kernel: ucom_close: tp=0xffffff0003cd8400 Aug 4 18:11:23 radziecki kernel: ucom_shutdown: Aug 4 18:11:23 radziecki kernel: ucom_cfg_close: Aug 4 18:11:33 radziecki saper: avrdude ended Aug 4 18:11:41 radziecki saper: Disconnecting board Aug 4 18:11:44 radziecki kernel: ugen4.3: at usbus4 (disconnected) Aug 4 18:11:44 radziecki kernel: uftdi0: at uhub5, port 3, addr 3 (disconnected) Aug 4 18:11:44 radziecki kernel: ucom_detach_tty: sc = 0xffffff0003cd9458, tp = 0xffffff0003cd8400 Aug 4 18:11:44 radziecki kernel: ucom_close: tp=0xffffff0003cd8400 Aug 4 18:11:44 radziecki kernel: ucom_close: tp=0xffffff0003cd8400 already closed Aug 4 18:11:44 radziecki kernel: ucom_close: tp=0xffffff0003cd8400 Aug 4 18:11:44 radziecki kernel: ucom_close: tp=0xffffff0003cd8400 already closed Aug 4 18:11:55 radziecki saper: Board disconnected >How-To-Repeat: Use command: # avrdude -c arduino -p m328p -P /dev/cuaU0 -v avrdude: Version 5.10, compiled on Aug 3 2010 at 23:59:35 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch System wide configuration file is "/usr/local/etc/avrdude.conf" User configuration file is "/root/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : /dev/cuaU0 Using Programmer : arduino avrdude: stk500_recv(): programmer is not responding At the time the timeout message comes out Arduino's bootloader LED blinks once indicating firmware restart. >Fix: From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 16:30:09 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2BDB1065676 for ; Wed, 4 Aug 2010 16:30:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 87CB68FC1E for ; Wed, 4 Aug 2010 16:30:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o74GU9EG048515 for ; Wed, 4 Aug 2010 16:30:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o74GU9UY048514; Wed, 4 Aug 2010 16:30:09 GMT (envelope-from gnats) Resent-Date: Wed, 4 Aug 2010 16:30:09 GMT Resent-Message-Id: <201008041630.o74GU9UY048514@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, Marcin Cieslak Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1085D1065675; Wed, 4 Aug 2010 16:27:10 +0000 (UTC) (envelope-from saper@saper.info) Received: from k.saper.info (smtp-out.saper.info [IPv6:2001:41d0:1:c823::1002]) by mx1.freebsd.org (Postfix) with ESMTP id 5EE4A8FC12; Wed, 4 Aug 2010 16:27:09 +0000 (UTC) Received: from k.saper.info (localhost [127.0.0.1]) by k.saper.info (8.14.4/8.14.4) with ESMTP id o74GR7xl095096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Aug 2010 16:27:07 GMT (envelope-from saper@saper.info) Received: (from uucp@localhost) by k.saper.info (8.14.4/8.14.4/Submit) with UUCP id o74GR7cF095095; Wed, 4 Aug 2010 16:27:07 GMT (envelope-from saper@saper.info) Received: from radziecki.saper.info (localhost [127.0.0.1]) by radziecki.saper.info (8.14.3/8.14.3) with ESMTP id o74GQN5E098299 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Aug 2010 16:26:23 GMT (envelope-from saper@saper.info) Received: (from saper@localhost) by radziecki.saper.info (8.14.3/8.14.3/Submit) id o74GQMDL098191; Wed, 4 Aug 2010 16:26:22 GMT (envelope-from saper) Message-Id: <201008041626.o74GQMDL098191@radziecki.saper.info> Date: Wed, 4 Aug 2010 16:26:22 GMT From: Marcin Cieslak To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: freebsd-usb@FreeBSD.org, joerg@FreeBSD.org Subject: usb/149283: avrdude unable to talk to Arduino board (via uftdi) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcin Cieslak List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 16:30:09 -0000 >Number: 149283 >Category: usb >Synopsis: avrdude unable to talk to Arduino board (via uftdi) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 04 16:30:09 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Marcin Cieslak >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD radziecki.saper.info 9.0-CURRENT FreeBSD 9.0-CURRENT #5 r206987: Tue Apr 27 20:45:03 CEST 2010 saper@radziecki.saper.info:/usr/obj/usr/src/sys/VAIO amd64 avrdude-5.10 installed from ports, using default /usr/local/etc/avrdude.conf Arduino Duemilanove board with ATMega328 processor. Using Arduino USB interface, appearing as uftdi: # usbconfig -d ugen4.3 dump_device_desc ugen4.3: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x0403 idProduct = 0x6001 bcdDevice = 0x0600 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 bNumConfigurations = 0x0001 # usbconfig -d ugen4.3 dump_all_config_desc ugen4.3: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON Configuration index 0 bLength = 0x0009 bDescriptorType = 0x0002 wTotalLength = 0x0020 bNumInterfaces = 0x0001 bConfigurationValue = 0x0001 iConfiguration = 0x0000 bmAttributes = 0x00a0 bMaxPower = 0x002d Interface 0 bLength = 0x0009 bDescriptorType = 0x0004 bInterfaceNumber = 0x0000 bAlternateSetting = 0x0000 bNumEndpoints = 0x0002 bInterfaceClass = 0x00ff bInterfaceSubClass = 0x00ff bInterfaceProtocol = 0x00ff iInterface = 0x0002 Endpoint 0 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 Endpoint 1 bLength = 0x0007 bDescriptorType = 0x0005 bEndpointAddress = 0x0002 bmAttributes = 0x0002 wMaxPacketSize = 0x0040 bInterval = 0x0000 bRefresh = 0x0000 bSynchAddress = 0x0000 >Description: Any attempt to contact the board using avrdude fails. Checked with the same hardware (dual-boot) and Microsoft Vista (with arduino-0018 IDE) and the board can be contacted and programmed without any problems. Syslog with: hw.usb.ucom.debug: 15 hw.usb.uftdi.debug: 15 avrdude -c arduino -p m328p -P /dev/cuaU0 Aug 4 18:10:04 radziecki saper: Connecting board Aug 4 18:10:07 radziecki kernel: ugen4.3: at usbus4 Aug 4 18:10:07 radziecki kernel: uftdi0: on usbus4 Aug 4 18:10:07 radziecki kernel: uftdi_attach: Aug 4 18:10:07 radziecki kernel: ucom_attach_tty: tp = 0xffffff0003cd8400, unit = 0 Aug 4 18:10:07 radziecki kernel: ucom_attach_tty: ttycreate: U0 Aug 4 18:10:07 radziecki kernel: ucom_open: tp = 0xffffff0003cd8400 Aug 4 18:10:07 radziecki kernel: ucom_dtr: onoff = 1 Aug 4 18:10:07 radziecki kernel: ucom_line_state: on=0x01, off=0x00 Aug 4 18:10:07 radziecki kernel: ucom_rts: onoff = 1 Aug 4 18:10:07 radziecki kernel: ucom_line_state: on=0x02, off=0x00 Aug 4 18:10:07 radziecki kernel: ucom_ring: onoff = 0 Aug 4 18:10:07 radziecki kernel: ucom_line_state: on=0x00, off=0x08 Aug 4 18:10:07 radziecki kernel: ucom_break: onoff = 0 Aug 4 18:10:07 radziecki kernel: ucom_line_state: on=0x00, off=0x04 Aug 4 18:10:07 radziecki kernel: ucom_param: sc = 0xffffff0003cd9458 Aug 4 18:10:07 radziecki kernel: uftdi_pre_param: Aug 4 18:10:07 radziecki kernel: ucom_cfg_open: Aug 4 18:10:07 radziecki kernel: uftdi_cfg_open: uftdi_cfg_param: Aug 4 18:10:46 radziecki saper: Starting avrdude Aug 4 18:10:48 radziecki kernel: ucom_param: sc = 0xffffff0003cd9458 Aug 4 18:10:48 radziecki kernel: uftdi_pre_param: Aug 4 18:10:48 radziecki kernel: ucom_dtr: onoff = 1 Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x01, off=0x00 Aug 4 18:10:48 radziecki kernel: ucom_rts: onoff = 1 Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x02, off=0x00 Aug 4 18:10:48 radziecki kernel: uftdi_cfg_param: Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x402c7413 Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x402c7413 Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x802c7414 Aug 4 18:10:48 radziecki kernel: ucom_param: sc = 0xffffff0003cd9458 Aug 4 18:10:48 radziecki kernel: uftdi_pre_param: Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x8004667e Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x8004667d Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x4004746a Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x8004746d Aug 4 18:10:48 radziecki kernel: ucom_dtr: onoff = 1 Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x01, off=0x00 Aug 4 18:10:48 radziecki kernel: ucom_rts: onoff = 1 Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x02, off=0x00 Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x4004746a Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x8004746d Aug 4 18:10:48 radziecki kernel: ucom_dtr: onoff = 0 Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x00, off=0x01 Aug 4 18:10:48 radziecki kernel: ucom_rts: onoff = 0 Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x00, off=0x02 Aug 4 18:10:48 radziecki kernel: uftdi_cfg_param: Aug 4 18:10:48 radziecki kernel: ucom_outwakeup: sc = 0xffffff0003cd9458 Aug 4 18:10:48 radziecki last message repeated 2 times Aug 4 18:10:53 radziecki kernel: ucom_ioctl: cmd = 0x4004746a Aug 4 18:10:53 radziecki kernel: ucom_ioctl: cmd = 0x8004746d Aug 4 18:10:53 radziecki kernel: ucom_dtr: onoff = 1 Aug 4 18:10:53 radziecki kernel: ucom_line_state: on=0x01, off=0x00 Aug 4 18:10:53 radziecki kernel: ucom_rts: onoff = 1 Aug 4 18:10:53 radziecki kernel: ucom_line_state: on=0x02, off=0x00 Aug 4 18:10:53 radziecki kernel: ucom_ioctl: cmd = 0x802c7415 Aug 4 18:10:53 radziecki kernel: ucom_outwakeup: sc = 0xffffff0003cd9458 Aug 4 18:10:56 radziecki saper: avrdude timeout Aug 4 18:11:18 radziecki saper: Sending INTR to avrdude Aug 4 18:11:19 radziecki kernel: ucom_outwakeup: sc = 0xffffff0003cd9458 Aug 4 18:11:23 radziecki kernel: ucom_close: tp=0xffffff0003cd8400 Aug 4 18:11:23 radziecki kernel: ucom_shutdown: Aug 4 18:11:23 radziecki kernel: ucom_cfg_close: Aug 4 18:11:33 radziecki saper: avrdude ended Aug 4 18:11:41 radziecki saper: Disconnecting board Aug 4 18:11:44 radziecki kernel: ugen4.3: at usbus4 (disconnected) Aug 4 18:11:44 radziecki kernel: uftdi0: at uhub5, port 3, addr 3 (disconnected) Aug 4 18:11:44 radziecki kernel: ucom_detach_tty: sc = 0xffffff0003cd9458, tp = 0xffffff0003cd8400 Aug 4 18:11:44 radziecki kernel: ucom_close: tp=0xffffff0003cd8400 Aug 4 18:11:44 radziecki kernel: ucom_close: tp=0xffffff0003cd8400 already closed Aug 4 18:11:44 radziecki kernel: ucom_close: tp=0xffffff0003cd8400 Aug 4 18:11:44 radziecki kernel: ucom_close: tp=0xffffff0003cd8400 already closed Aug 4 18:11:55 radziecki saper: Board disconnected >How-To-Repeat: Use command: # avrdude -c arduino -p m328p -P /dev/cuaU0 -v avrdude: Version 5.10, compiled on Aug 3 2010 at 23:59:35 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch System wide configuration file is "/usr/local/etc/avrdude.conf" User configuration file is "/root/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : /dev/cuaU0 Using Programmer : arduino avrdude: stk500_recv(): programmer is not responding At the time the timeout message comes out Arduino's bootloader LED blinks once indicating firmware restart. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 16:42:51 2010 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 9BCED1065672; Wed, 4 Aug 2010 16:42:51 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swip.net [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 83B9E8FC19; Wed, 4 Aug 2010 16:42:49 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=7Ow_w9DkI-UA:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=mR_foD2xAAAA:8 a=OW9dnzc-AAAA:8 a=4xZDcpf8gaLOFcifTkMA:9 a=sQ9PLc6pe96a2gxHP-oA:7 a=W8L8YbFuyzxyPLH5afymxEPV8moA:4 a=PUjeQqilurYA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 645818823; Wed, 04 Aug 2010 18:42:48 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Marcin Cieslak Date: Wed, 4 Aug 2010 18:39:30 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201008041626.o74GQMDL098191@radziecki.saper.info> In-Reply-To: <201008041626.o74GQMDL098191@radziecki.saper.info> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201008041839.30114.hselasky@c2i.net> Cc: FreeBSD-gnats-submit@freebsd.org, joerg@freebsd.org Subject: Re: avrdude unable to talk to Arduino board (via uftdi) 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, 04 Aug 2010 16:42:51 -0000 On Wednesday 04 August 2010 18:26:22 Marcin Cieslak wrote: > >Submitter-Id: current-users > >Originator: Marcin Cieslak > >Confidential: no > >Synopsis: avrdude unable to talk to Arduino board (via uftdi) > >Severity: serious > >Priority: medium > >Category: usb > >Class: sw-bug > >Release: FreeBSD 9.0-CURRENT amd64 > > >Environment: > System: FreeBSD radziecki.saper.info 9.0-CURRENT FreeBSD 9.0-CURRENT #5 > r206987: Tue Apr 27 20:45:03 CEST 2010 > saper@radziecki.saper.info:/usr/obj/usr/src/sys/VAIO amd64 > > avrdude-5.10 installed from ports, using default > /usr/local/etc/avrdude.conf > > Arduino Duemilanove board with ATMega328 processor. > > Using Arduino USB interface, appearing as uftdi: > > # usbconfig -d ugen4.3 dump_device_desc > ugen4.3: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0008 > idVendor = 0x0403 > idProduct = 0x6001 > bcdDevice = 0x0600 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0003 > bNumConfigurations = 0x0001 > > # usbconfig -d ugen4.3 dump_all_config_desc > > ugen4.3: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=ON > > > Configuration index 0 > > bLength = 0x0009 > bDescriptorType = 0x0002 > wTotalLength = 0x0020 > bNumInterfaces = 0x0001 > bConfigurationValue = 0x0001 > iConfiguration = 0x0000 > bmAttributes = 0x00a0 > bMaxPower = 0x002d > > Interface 0 > bLength = 0x0009 > bDescriptorType = 0x0004 > bInterfaceNumber = 0x0000 > bAlternateSetting = 0x0000 > bNumEndpoints = 0x0002 > bInterfaceClass = 0x00ff > bInterfaceSubClass = 0x00ff > bInterfaceProtocol = 0x00ff > iInterface = 0x0002 > > Endpoint 0 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0081 > bmAttributes = 0x0002 > wMaxPacketSize = 0x0040 > bInterval = 0x0000 > bRefresh = 0x0000 > bSynchAddress = 0x0000 > > Endpoint 1 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0002 > bmAttributes = 0x0002 > wMaxPacketSize = 0x0040 > bInterval = 0x0000 > bRefresh = 0x0000 > bSynchAddress = 0x0000 > > >Description: > Any attempt to contact the board using avrdude fails. > Checked with the same hardware (dual-boot) and Microsoft > Vista (with arduino-0018 IDE) and the board can be > contacted and programmed without any problems. > > Syslog with: > hw.usb.ucom.debug: 15 > hw.usb.uftdi.debug: 15 > > avrdude -c arduino -p m328p -P /dev/cuaU0 > > Aug 4 18:10:04 radziecki saper: Connecting board > Aug 4 18:10:07 radziecki kernel: ugen4.3: at usbus4 > Aug 4 18:10:07 radziecki kernel: uftdi0: on usbus4 > Aug 4 18:10:07 radziecki kernel: uftdi_attach: > Aug 4 18:10:07 radziecki kernel: ucom_attach_tty: tp = 0xffffff0003cd8400, > unit = 0 Aug 4 18:10:07 radziecki kernel: ucom_attach_tty: ttycreate: U0 > Aug 4 18:10:07 radziecki kernel: ucom_open: tp = 0xffffff0003cd8400 > Aug 4 18:10:07 radziecki kernel: ucom_dtr: onoff = 1 > Aug 4 18:10:07 radziecki kernel: ucom_line_state: on=0x01, off=0x00 > Aug 4 18:10:07 radziecki kernel: ucom_rts: onoff = 1 > Aug 4 18:10:07 radziecki kernel: ucom_line_state: on=0x02, off=0x00 > Aug 4 18:10:07 radziecki kernel: ucom_ring: onoff = 0 > Aug 4 18:10:07 radziecki kernel: ucom_line_state: on=0x00, off=0x08 > Aug 4 18:10:07 radziecki kernel: ucom_break: onoff = 0 > Aug 4 18:10:07 radziecki kernel: ucom_line_state: on=0x00, off=0x04 > Aug 4 18:10:07 radziecki kernel: ucom_param: sc = 0xffffff0003cd9458 > Aug 4 18:10:07 radziecki kernel: uftdi_pre_param: > Aug 4 18:10:07 radziecki kernel: ucom_cfg_open: > Aug 4 18:10:07 radziecki kernel: uftdi_cfg_open: uftdi_cfg_param: > Aug 4 18:10:46 radziecki saper: Starting avrdude > Aug 4 18:10:48 radziecki kernel: ucom_param: sc = 0xffffff0003cd9458 > Aug 4 18:10:48 radziecki kernel: uftdi_pre_param: > Aug 4 18:10:48 radziecki kernel: ucom_dtr: onoff = 1 > Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x01, off=0x00 > Aug 4 18:10:48 radziecki kernel: ucom_rts: onoff = 1 > Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x02, off=0x00 > Aug 4 18:10:48 radziecki kernel: uftdi_cfg_param: > Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x402c7413 > Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x402c7413 > Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x802c7414 > Aug 4 18:10:48 radziecki kernel: ucom_param: sc = 0xffffff0003cd9458 > Aug 4 18:10:48 radziecki kernel: uftdi_pre_param: > Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x8004667e > Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x8004667d > Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x4004746a > Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x8004746d > Aug 4 18:10:48 radziecki kernel: ucom_dtr: onoff = 1 > Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x01, off=0x00 > Aug 4 18:10:48 radziecki kernel: ucom_rts: onoff = 1 > Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x02, off=0x00 > Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x4004746a > Aug 4 18:10:48 radziecki kernel: ucom_ioctl: cmd = 0x8004746d > Aug 4 18:10:48 radziecki kernel: ucom_dtr: onoff = 0 > Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x00, off=0x01 > Aug 4 18:10:48 radziecki kernel: ucom_rts: onoff = 0 > Aug 4 18:10:48 radziecki kernel: ucom_line_state: on=0x00, off=0x02 > Aug 4 18:10:48 radziecki kernel: uftdi_cfg_param: > Aug 4 18:10:48 radziecki kernel: ucom_outwakeup: sc = 0xffffff0003cd9458 > Aug 4 18:10:48 radziecki last message repeated 2 times > Aug 4 18:10:53 radziecki kernel: ucom_ioctl: cmd = 0x4004746a > Aug 4 18:10:53 radziecki kernel: ucom_ioctl: cmd = 0x8004746d > Aug 4 18:10:53 radziecki kernel: ucom_dtr: onoff = 1 > Aug 4 18:10:53 radziecki kernel: ucom_line_state: on=0x01, off=0x00 > Aug 4 18:10:53 radziecki kernel: ucom_rts: onoff = 1 > Aug 4 18:10:53 radziecki kernel: ucom_line_state: on=0x02, off=0x00 > Aug 4 18:10:53 radziecki kernel: ucom_ioctl: cmd = 0x802c7415 > Aug 4 18:10:53 radziecki kernel: ucom_outwakeup: sc = 0xffffff0003cd9458 > Aug 4 18:10:56 radziecki saper: avrdude timeout > Aug 4 18:11:18 radziecki saper: Sending INTR to avrdude > Aug 4 18:11:19 radziecki kernel: ucom_outwakeup: sc = 0xffffff0003cd9458 > Aug 4 18:11:23 radziecki kernel: ucom_close: tp=0xffffff0003cd8400 > Aug 4 18:11:23 radziecki kernel: ucom_shutdown: > Aug 4 18:11:23 radziecki kernel: ucom_cfg_close: > Aug 4 18:11:33 radziecki saper: avrdude ended > Aug 4 18:11:41 radziecki saper: Disconnecting board > Aug 4 18:11:44 radziecki kernel: ugen4.3: at usbus4 (disconnected) > Aug 4 18:11:44 radziecki kernel: uftdi0: at uhub5, port 3, addr 3 > (disconnected) Aug 4 18:11:44 radziecki kernel: ucom_detach_tty: sc = > 0xffffff0003cd9458, tp = 0xffffff0003cd8400 Aug 4 18:11:44 radziecki > kernel: ucom_close: tp=0xffffff0003cd8400 Aug 4 18:11:44 radziecki > kernel: ucom_close: tp=0xffffff0003cd8400 already closed Aug 4 18:11:44 > radziecki kernel: ucom_close: tp=0xffffff0003cd8400 Aug 4 18:11:44 > radziecki kernel: ucom_close: tp=0xffffff0003cd8400 already closed Aug 4 > 18:11:55 radziecki saper: Board disconnected > > >How-To-Repeat: > Use command: > > # avrdude -c arduino -p m328p -P /dev/cuaU0 -v > > avrdude: Version 5.10, compiled on Aug 3 2010 at 23:59:35 > Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ > Copyright (c) 2007-2009 Joerg Wunsch > > System wide configuration file is "/usr/local/etc/avrdude.conf" > User configuration file is "/root/.avrduderc" > User configuration file does not exist or is not a regular file, > skipping > > Using Port : /dev/cuaU0 > Using Programmer : arduino > avrdude: stk500_recv(): programmer is not responding > > At the time the timeout message comes out Arduino's bootloader LED > blinks once indicating firmware restart. Hi, What happens if you use "-P usb" ? --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 17:18:33 2010 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 1796A1065675; Wed, 4 Aug 2010 17:18:33 +0000 (UTC) (envelope-from saper@saper.info) Received: from k.saper.info (smtp-out.saper.info [IPv6:2001:41d0:1:c823::1002]) by mx1.freebsd.org (Postfix) with ESMTP id 8990F8FC14; Wed, 4 Aug 2010 17:18:32 +0000 (UTC) Received: from k.saper.info (localhost [127.0.0.1]) by k.saper.info (8.14.4/8.14.4) with ESMTP id o74HITWY095652 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Aug 2010 17:18:29 GMT (envelope-from saper@saper.info) Received: from localhost (saper@localhost) by k.saper.info (8.14.4/8.14.4/Submit) with ESMTP id o74HITeK095649; Wed, 4 Aug 2010 17:18:29 GMT (envelope-from saper@saper.info) X-Authentication-Warning: k.saper.info: saper owned process doing -bs Date: Wed, 4 Aug 2010 17:18:29 +0000 From: Marcin Cieslak To: Hans Petter Selasky In-Reply-To: <201008041839.30114.hselasky@c2i.net> Message-ID: References: <201008041626.o74GQMDL098191@radziecki.saper.info> <201008041839.30114.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-usb@freebsd.org, joerg@freebsd.org Subject: Re: avrdude unable to talk to Arduino board (via uftdi) 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, 04 Aug 2010 17:18:33 -0000 >> # avrdude -c arduino -p m328p -P /dev/cuaU0 -v On Wed, 4 Aug 2010, Hans Petter Selasky wrote: > What happens if you use "-P usb" ? # ldd /usr/local/bin/avrdude /usr/local/bin/avrdude: libusb.so.2 => /usr/lib/libusb.so.2 (0x80068e000) libm.so.5 => /lib/libm.so.5 (0x80079c000) libreadline.so.8 => /lib/libreadline.so.8 (0x8008bb000) libncurses.so.5.7 => /usr/local/lib/libncurses.so.5.7 (0x8009f7000) libncurses.so.8 => /lib/libncurses.so.8 (0x800b14000) libc.so.7 => /lib/libc.so.7 (0x800c5e000) libtinfo.so.5.7 => /usr/local/lib/libtinfo.so.5.7 (0x800e91000) # avrdude -c arduino -p m328p -P usb -v avrdude: Version 5.10, compiled on Aug 3 2010 at 23:59:35 Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch System wide configuration file is "/usr/local/etc/avrdude.conf" User configuration file is "/root/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : usb Using Programmer : arduino avrdude: ser_open(): can't open device "usb": No such file or directory --Marcin From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 18:37:06 2010 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 E9E681065673; Wed, 4 Aug 2010 18:37:06 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 1A9D08FC16; Wed, 4 Aug 2010 18:37:05 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=AloUlVQQLuutPgH7MSFGD/V8MYI3aUCj623mET0KTys= c=1 sm=1 a=7Ow_w9DkI-UA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=OW9dnzc-AAAA:8 a=DpF0VRuSIParWd00O1IA:9 a=_lJ5B5G0DDa7RUCdnigA:7 a=GJ45zCfdEjqC_zAkosUopL7GDa0A:4 a=wPNLvfGTeEIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 3797660; Wed, 04 Aug 2010 20:36:43 +0200 From: Hans Petter Selasky To: Marcin Cieslak Date: Wed, 4 Aug 2010 20:33:46 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201008041626.o74GQMDL098191@radziecki.saper.info> <201008041839.30114.hselasky@c2i.net> In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008042033.46796.hselasky@c2i.net> Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-usb@freebsd.org, joerg@freebsd.org Subject: Re: avrdude unable to talk to Arduino board (via uftdi) 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, 04 Aug 2010 18:37:07 -0000 On Wednesday 04 August 2010 19:18:29 Marcin Cieslak wrote: > >> # avrdude -c arduino -p m328p -P /dev/cuaU0 -v > > On Wed, 4 Aug 2010, Hans Petter Selasky wrote: > > What happens if you use "-P usb" ? > > # ldd /usr/local/bin/avrdude > /usr/local/bin/avrdude: > libusb.so.2 => /usr/lib/libusb.so.2 (0x80068e000) > libm.so.5 => /lib/libm.so.5 (0x80079c000) > libreadline.so.8 => /lib/libreadline.so.8 (0x8008bb000) > libncurses.so.5.7 => /usr/local/lib/libncurses.so.5.7 (0x8009f7000) > libncurses.so.8 => /lib/libncurses.so.8 (0x800b14000) > libc.so.7 => /lib/libc.so.7 (0x800c5e000) > libtinfo.so.5.7 => /usr/local/lib/libtinfo.so.5.7 (0x800e91000) > # avrdude -c arduino -p m328p -P usb -v > > avrdude: Version 5.10, compiled on Aug 3 2010 at 23:59:35 > Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ > Copyright (c) 2007-2009 Joerg Wunsch > > System wide configuration file is "/usr/local/etc/avrdude.conf" > User configuration file is "/root/.avrduderc" > User configuration file does not exist or is not a regular file, > skipping > > Using Port : usb > Using Programmer : arduino > avrdude: ser_open(): can't open device "usb": No such file or directory I think you need to define one more parameter when using USB. -t stk600 --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 18:46:01 2010 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 028B6106567A; Wed, 4 Aug 2010 18:46:01 +0000 (UTC) (envelope-from j@uriah.heep.sax.de) Received: from uriah.heep.sax.de (uriah.heep.sax.de [213.240.137.9]) by mx1.freebsd.org (Postfix) with ESMTP id 9A9CE8FC1F; Wed, 4 Aug 2010 18:46:00 +0000 (UTC) Received: by uriah.heep.sax.de (Postfix, from userid 107) id 49BAE25; Wed, 4 Aug 2010 20:14:29 +0200 (MET DST) Date: Wed, 4 Aug 2010 20:14:29 +0200 From: Joerg Wunsch To: Marcin Cieslak Message-ID: <20100804181429.GA45362@uriah.heep.sax.de> References: <201008041626.o74GQMDL098191@radziecki.saper.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201008041626.o74GQMDL098191@radziecki.saper.info> X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-GPG-Fingerprint: 5E84 F980 C3CA FD4B B584 1070 F48C A81B 69A8 5873 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: avrdude unable to talk to Arduino board (via uftdi) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 18:46:01 -0000 As Marcin Cieslak wrote: > Checked with the same hardware (dual-boot) and Microsoft > Vista (with arduino-0018 IDE) and the board can be > contacted and programmed without any problems. Your check on Windows has been using a stock AVRDUDE (e.g., a WinAVR compilation), too? Or another tool? IIRC, the Arduino bootloader requires some special tricks in order to talk to it. I think AVRDUDE v5.10 still lacks that feature. Could you try the SVN version of AVRDUDE? (I don't see a GNATS ID in the subject. Has this been actually filed via send-pr?) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 19:07:40 2010 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 126381065673; Wed, 4 Aug 2010 19:07:40 +0000 (UTC) (envelope-from j@uriah.heep.sax.de) Received: from uriah.heep.sax.de (uriah.heep.sax.de [213.240.137.9]) by mx1.freebsd.org (Postfix) with ESMTP id B19E28FC16; Wed, 4 Aug 2010 19:07:39 +0000 (UTC) Received: by uriah.heep.sax.de (Postfix, from userid 107) id 56E8F25; Wed, 4 Aug 2010 21:07:37 +0200 (MET DST) Date: Wed, 4 Aug 2010 21:07:37 +0200 From: Joerg Wunsch To: Hans Petter Selasky Message-ID: <20100804190737.GB45362@uriah.heep.sax.de> References: <201008041626.o74GQMDL098191@radziecki.saper.info> <201008041839.30114.hselasky@c2i.net> <201008042033.46796.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201008042033.46796.hselasky@c2i.net> X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-GPG-Fingerprint: 5E84 F980 C3CA FD4B B584 1070 F48C A81B 69A8 5873 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-usb@freebsd.org, Marcin Cieslak Subject: Re: avrdude unable to talk to Arduino board (via uftdi) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 19:07:40 -0000 As Hans Petter Selasky wrote: > I think you need to define one more parameter when using USB. The Arduino bootloader is /not/ an USB device from AVRDUDE's point of view. AVRDUDE wants to see it as a generic tty device (/dev/cua*). -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 19:32:21 2010 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 7187C1065672; Wed, 4 Aug 2010 19:32:21 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id C53A98FC20; Wed, 4 Aug 2010 19:32:20 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=9IIj2yEt9mCpiLyep4f0BnD2ZC7rS3PjQbiokY3Mrg0= c=1 sm=1 a=7Ow_w9DkI-UA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=-kuTkjcK6YvbnjWIhOkA:9 a=mPxeGAWVXh6hCWfN8vaV26m-8awA:4 a=wPNLvfGTeEIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 4768233; Wed, 04 Aug 2010 21:32:01 +0200 From: Hans Petter Selasky To: Joerg Wunsch Date: Wed, 4 Aug 2010 21:29:01 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201008041626.o74GQMDL098191@radziecki.saper.info> <201008042033.46796.hselasky@c2i.net> <20100804190737.GB45362@uriah.heep.sax.de> In-Reply-To: <20100804190737.GB45362@uriah.heep.sax.de> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008042129.01257.hselasky@c2i.net> Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-usb@freebsd.org, Marcin Cieslak Subject: Re: avrdude unable to talk to Arduino board (via uftdi) 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, 04 Aug 2010 19:32:21 -0000 On Wednesday 04 August 2010 21:07:37 Joerg Wunsch wrote: > As Hans Petter Selasky wrote: > > I think you need to define one more parameter when using USB. > > The Arduino bootloader is /not/ an USB device from AVRDUDE's > point of view. AVRDUDE wants to see it as a generic tty device > (/dev/cua*). And what USB protocol is it running? If raw, then the ID should be added to the ugensa driver instead. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 19:44:22 2010 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 B7EC91065673; Wed, 4 Aug 2010 19:44:22 +0000 (UTC) (envelope-from j@uriah.heep.sax.de) Received: from uriah.heep.sax.de (uriah.heep.sax.de [213.240.137.9]) by mx1.freebsd.org (Postfix) with ESMTP id 5FE208FC16; Wed, 4 Aug 2010 19:44:21 +0000 (UTC) Received: by uriah.heep.sax.de (Postfix, from userid 107) id CEDD025; Wed, 4 Aug 2010 21:44:20 +0200 (MET DST) Date: Wed, 4 Aug 2010 21:44:20 +0200 From: Joerg Wunsch To: Hans Petter Selasky Message-ID: <20100804194420.GC45362@uriah.heep.sax.de> References: <201008041626.o74GQMDL098191@radziecki.saper.info> <201008042033.46796.hselasky@c2i.net> <20100804190737.GB45362@uriah.heep.sax.de> <201008042129.01257.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201008042129.01257.hselasky@c2i.net> X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-GPG-Fingerprint: 5E84 F980 C3CA FD4B B584 1070 F48C A81B 69A8 5873 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-usb@freebsd.org, Marcin Cieslak Subject: Re: avrdude unable to talk to Arduino board (via uftdi) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 19:44:22 -0000 As Hans Petter Selasky wrote: > > AVRDUDE wants to see it as a generic tty device > > (/dev/cua*). > > And what USB protocol is it running? Whatever is hidden behind a /dev/cua*. ;-) I suppose it's CDC. AVRDUDE simply doesn't want to know that. Those programmers where AVRDUDE accepts a -P usb option are programmers where AVRDUDE talks directly to using an application-specific protocol. For all other programmers, the parameter to -P must be a device node under /dev. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 20:21:35 2010 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 71A56106566C; Wed, 4 Aug 2010 20:21:35 +0000 (UTC) (envelope-from saper@saper.info) Received: from k.saper.info (smtp-out.saper.info [IPv6:2001:41d0:1:c823::1002]) by mx1.freebsd.org (Postfix) with ESMTP id 098CB8FC1A; Wed, 4 Aug 2010 20:21:34 +0000 (UTC) Received: from k.saper.info (localhost [127.0.0.1]) by k.saper.info (8.14.4/8.14.4) with ESMTP id o74KLXxR097644 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Aug 2010 20:21:33 GMT (envelope-from saper@saper.info) Received: from localhost (saper@localhost) by k.saper.info (8.14.4/8.14.4/Submit) with ESMTP id o74KLXoE097641; Wed, 4 Aug 2010 20:21:33 GMT (envelope-from saper@saper.info) X-Authentication-Warning: k.saper.info: saper owned process doing -bs Date: Wed, 4 Aug 2010 20:21:32 +0000 From: Marcin Cieslak To: Joerg Wunsch In-Reply-To: <20100804181429.GA45362@uriah.heep.sax.de> Message-ID: References: <201008041626.o74GQMDL098191@radziecki.saper.info> <20100804181429.GA45362@uriah.heep.sax.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/149283: avrdude unable to talk to Arduino board (via uftdi) 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, 04 Aug 2010 20:21:35 -0000 On Wed, 4 Aug 2010, Joerg Wunsch wrote: > As Marcin Cieslak wrote: > >> Checked with the same hardware (dual-boot) and Microsoft >> Vista (with arduino-0018 IDE) and the board can be >> contacted and programmed without any problems. > > Your check on Windows has been using a stock AVRDUDE (e.g., a WinAVR > compilation), too? Or another tool? On Windows I have used arduino Java IDE. Arduino IDE distribution actually includes a whole WinAVR stack including avrdude.exe, but I didn't pay attention what is actually used. I will reboot to Windows now and check the commandline invocation. On FreeBSD arduino the Java IDE tries to use avrdude and fails the same was as from commandline. > IIRC, the Arduino bootloader requires some special tricks in order to > talk to it. I think AVRDUDE v5.10 still lacks that feature. Could > you try the SVN version of AVRDUDE? AVRDUDE is mentioned for example here http://www.arduino.cc/playground/FreeBSD/CLI as the tool to use. I have tried "-c arduino" or "-c stk500v1" with trunk and I get still the same affect as with 5.10 (Programmer timeout). What maybe important: TX/RX LED on the board don't react at all when trying to use avrdude (there is only a single blink on firmware LED - which means bootloader start). With Windows - TX/RX indicated clearly some activity. > (I don't see a GNATS ID in the subject. Has this been actually filed > via send-pr?) Hm, yes, sorry... You were copied on the original send-pr. --Marcin From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 20:30:12 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B1EE1065670 for ; Wed, 4 Aug 2010 20:30:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0F6C88FC18 for ; Wed, 4 Aug 2010 20:30:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o74KUB9v083767 for ; Wed, 4 Aug 2010 20:30:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o74KUBPS083762; Wed, 4 Aug 2010 20:30:11 GMT (envelope-from gnats) Date: Wed, 4 Aug 2010 20:30:11 GMT Message-Id: <201008042030.o74KUBPS083762@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Marcin Cieslak Cc: Subject: Re: usb/149283: avrdude unable to talk to Arduino board (via uftdi) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcin Cieslak List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 20:30:12 -0000 The following reply was made to PR usb/149283; it has been noted by GNATS. From: Marcin Cieslak To: Joerg Wunsch Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/149283: avrdude unable to talk to Arduino board (via uftdi) Date: Wed, 4 Aug 2010 20:21:32 +0000 On Wed, 4 Aug 2010, Joerg Wunsch wrote: > As Marcin Cieslak wrote: > >> Checked with the same hardware (dual-boot) and Microsoft >> Vista (with arduino-0018 IDE) and the board can be >> contacted and programmed without any problems. > > Your check on Windows has been using a stock AVRDUDE (e.g., a WinAVR > compilation), too? Or another tool? On Windows I have used arduino Java IDE. Arduino IDE distribution actually includes a whole WinAVR stack including avrdude.exe, but I didn't pay attention what is actually used. I will reboot to Windows now and check the commandline invocation. On FreeBSD arduino the Java IDE tries to use avrdude and fails the same was as from commandline. > IIRC, the Arduino bootloader requires some special tricks in order to > talk to it. I think AVRDUDE v5.10 still lacks that feature. Could > you try the SVN version of AVRDUDE? AVRDUDE is mentioned for example here http://www.arduino.cc/playground/FreeBSD/CLI as the tool to use. I have tried "-c arduino" or "-c stk500v1" with trunk and I get still the same affect as with 5.10 (Programmer timeout). What maybe important: TX/RX LED on the board don't react at all when trying to use avrdude (there is only a single blink on firmware LED - which means bootloader start). With Windows - TX/RX indicated clearly some activity. > (I don't see a GNATS ID in the subject. Has this been actually filed > via send-pr?) Hm, yes, sorry... You were copied on the original send-pr. --Marcin From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 20:57:01 2010 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 E592C106567A; Wed, 4 Aug 2010 20:57:01 +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 3CB898FC08; Wed, 4 Aug 2010 20:56:58 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=SLL6iUR4mT0wNXVHW9RxQHy4+MdEWXaI2PxhqtT+/BA= c=1 sm=1 a=FZgcmId4BNsA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=Ar_5JxPjAAAA:8 a=GBkwNfF7zVbcbh_gipAA:9 a=8faDAsZi2kEaUq4l7akA:7 a=SMgh_Cv-dD82RQlsHVsmqNGVPZkA:4 a=wPNLvfGTeEIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 4064429; Wed, 04 Aug 2010 22:56:39 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 4 Aug 2010 22:53:39 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201008041626.o74GQMDL098191@radziecki.saper.info> <20100804181429.GA45362@uriah.heep.sax.de> In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008042253.39619.hselasky@c2i.net> Cc: Joerg Wunsch , FreeBSD-gnats-submit@freebsd.org, Marcin Cieslak Subject: Re: usb/149283: avrdude unable to talk to Arduino board (via uftdi) 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, 04 Aug 2010 20:57:02 -0000 On Wednesday 04 August 2010 22:21:32 Marcin Cieslak wrote: > On Wed, 4 Aug 2010, Joerg Wunsch wrote: > > As Marcin Cieslak wrote: > >> Checked with the same hardware (dual-boot) and Microsoft > >> Vista (with arduino-0018 IDE) and the board can be > >> contacted and programmed without any problems. > > > > Your check on Windows has been using a stock AVRDUDE (e.g., a WinAVR > > compilation), too? Or another tool? > > On Windows I have used arduino Java IDE. Arduino IDE distribution > actually includes a whole WinAVR stack including avrdude.exe, > but I didn't pay attention what is actually used. > I will reboot to Windows now and check the commandline invocation. > > On FreeBSD arduino the Java IDE tries to use avrdude and fails the same > was as from commandline. > > > IIRC, the Arduino bootloader requires some special tricks in order to > > talk to it. I think AVRDUDE v5.10 still lacks that feature. Could > > you try the SVN version of AVRDUDE? > > AVRDUDE is mentioned for example here > http://www.arduino.cc/playground/FreeBSD/CLI as the tool to use. > > I have tried "-c arduino" or "-c stk500v1" with trunk and I get still > the same affect as with 5.10 (Programmer timeout). > > What maybe important: TX/RX LED on the board don't react at all > when trying to use avrdude (there is only a single blink > on firmware LED - which means bootloader start). > > With Windows - TX/RX indicated clearly some activity. > > > (I don't see a GNATS ID in the subject. Has this been actually filed > > via send-pr?) > You can try to comment out: /* clear stall at first run */ mtx_lock(&sc->sc_mtx); usbd_xfer_set_stall(sc->sc_xfer[UFTDI_BULK_DT_WR]); usbd_xfer_set_stall(sc->sc_xfer[UFTDI_BULK_DT_RD]); mtx_unlock(&sc->sc_mtx); In uftdi_attach in sys/dev/usb/serial/uftdi.c. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 20:57:49 2010 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 3D0721065672 for ; Wed, 4 Aug 2010 20:57:49 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id EA90B8FC0C for ; Wed, 4 Aug 2010 20:57:45 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id o74KvioL015613; Wed, 4 Aug 2010 14:57:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id o74Kvis1015610; Wed, 4 Aug 2010 14:57:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 4 Aug 2010 14:57:44 -0600 (MDT) From: Warren Block To: Marcin Cieslak In-Reply-To: <201008041626.o74GQMDL098191@radziecki.saper.info> Message-ID: References: <201008041626.o74GQMDL098191@radziecki.saper.info> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Wed, 04 Aug 2010 14:57:44 -0600 (MDT) Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-usb@freebsd.org, joerg@freebsd.org Subject: Re: avrdude unable to talk to Arduino board (via uftdi) 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, 04 Aug 2010 20:57:49 -0000 On Wed, 4 Aug 2010, Marcin Cieslak wrote: >> How-To-Repeat: > > Use command: > > # avrdude -c arduino -p m328p -P /dev/cuaU0 -v > > avrdude: Version 5.10, compiled on Aug 3 2010 at 23:59:35 > Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/ > Copyright (c) 2007-2009 Joerg Wunsch > > System wide configuration file is "/usr/local/etc/avrdude.conf" > User configuration file is "/root/.avrduderc" > User configuration file does not exist or is not a regular file, skipping > > Using Port : /dev/cuaU0 > Using Programmer : arduino > avrdude: stk500_recv(): programmer is not responding Steven Kreuzer and I had that type of problem when working on the devel/arduino port, but eventually ironed them out (AFAIK). If you install the port and set build.verbose=true and upload.verbose=true in ~/.arduino/preferences.txt, you should be able to see what options it uses. My hunch is a 19200 or 57600 baud rate, but I can't swear to that, and it's been some time since I tried it. From owner-freebsd-usb@FreeBSD.ORG Wed Aug 4 21:00:23 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 249331065670 for ; Wed, 4 Aug 2010 21:00:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EC9518FC14 for ; Wed, 4 Aug 2010 21:00:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o74L0MQF015125 for ; Wed, 4 Aug 2010 21:00:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o74L0M6d015119; Wed, 4 Aug 2010 21:00:22 GMT (envelope-from gnats) Date: Wed, 4 Aug 2010 21:00:22 GMT Message-Id: <201008042100.o74L0M6d015119@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/149283: avrdude unable to talk to Arduino board (via uftdi) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2010 21:00:23 -0000 The following reply was made to PR usb/149283; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Marcin Cieslak , Joerg Wunsch , FreeBSD-gnats-submit@freebsd.org Subject: Re: usb/149283: avrdude unable to talk to Arduino board (via uftdi) Date: Wed, 4 Aug 2010 22:53:39 +0200 On Wednesday 04 August 2010 22:21:32 Marcin Cieslak wrote: > On Wed, 4 Aug 2010, Joerg Wunsch wrote: > > As Marcin Cieslak wrote: > >> Checked with the same hardware (dual-boot) and Microsoft > >> Vista (with arduino-0018 IDE) and the board can be > >> contacted and programmed without any problems. > > > > Your check on Windows has been using a stock AVRDUDE (e.g., a WinAVR > > compilation), too? Or another tool? > > On Windows I have used arduino Java IDE. Arduino IDE distribution > actually includes a whole WinAVR stack including avrdude.exe, > but I didn't pay attention what is actually used. > I will reboot to Windows now and check the commandline invocation. > > On FreeBSD arduino the Java IDE tries to use avrdude and fails the same > was as from commandline. > > > IIRC, the Arduino bootloader requires some special tricks in order to > > talk to it. I think AVRDUDE v5.10 still lacks that feature. Could > > you try the SVN version of AVRDUDE? > > AVRDUDE is mentioned for example here > http://www.arduino.cc/playground/FreeBSD/CLI as the tool to use. > > I have tried "-c arduino" or "-c stk500v1" with trunk and I get still > the same affect as with 5.10 (Programmer timeout). > > What maybe important: TX/RX LED on the board don't react at all > when trying to use avrdude (there is only a single blink > on firmware LED - which means bootloader start). > > With Windows - TX/RX indicated clearly some activity. > > > (I don't see a GNATS ID in the subject. Has this been actually filed > > via send-pr?) > You can try to comment out: /* clear stall at first run */ mtx_lock(&sc->sc_mtx); usbd_xfer_set_stall(sc->sc_xfer[UFTDI_BULK_DT_WR]); usbd_xfer_set_stall(sc->sc_xfer[UFTDI_BULK_DT_RD]); mtx_unlock(&sc->sc_mtx); In uftdi_attach in sys/dev/usb/serial/uftdi.c. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 09:35:16 2010 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 026D1106566B; Thu, 5 Aug 2010 09:35:16 +0000 (UTC) (envelope-from saper@saper.info) Received: from k.saper.info (smtp-out.saper.info [IPv6:2001:41d0:1:c823::1002]) by mx1.freebsd.org (Postfix) with ESMTP id 8D6688FC1A; Thu, 5 Aug 2010 09:35:15 +0000 (UTC) Received: from k.saper.info (localhost [127.0.0.1]) by k.saper.info (8.14.4/8.14.4) with ESMTP id o759ZCQU006541 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Aug 2010 09:35:12 GMT (envelope-from saper@saper.info) Received: from localhost (saper@localhost) by k.saper.info (8.14.4/8.14.4/Submit) with ESMTP id o759ZAP7006537; Thu, 5 Aug 2010 09:35:12 GMT (envelope-from saper@saper.info) X-Authentication-Warning: k.saper.info: saper owned process doing -bs Date: Thu, 5 Aug 2010 09:35:10 +0000 From: Marcin Cieslak To: Hans Petter Selasky In-Reply-To: <201008042253.39619.hselasky@c2i.net> Message-ID: References: <201008041626.o74GQMDL098191@radziecki.saper.info> <20100804181429.GA45362@uriah.heep.sax.de> <201008042253.39619.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/149283: avrdude unable to talk to Arduino board (via uftdi) 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, 05 Aug 2010 09:35:16 -0000 On Wed, 4 Aug 2010, Hans Petter Selasky wrote: > You can try to comment out: > > /* clear stall at first run */ > mtx_lock(&sc->sc_mtx); > usbd_xfer_set_stall(sc->sc_xfer[UFTDI_BULK_DT_WR]); > usbd_xfer_set_stall(sc->sc_xfer[UFTDI_BULK_DT_RD]); > mtx_unlock(&sc->sc_mtx); > > In uftdi_attach in sys/dev/usb/serial/uftdi.c. That did not fix it ... --Marcin From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 09:40:12 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E1611065673 for ; Thu, 5 Aug 2010 09:40:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6C9EE8FC18 for ; Thu, 5 Aug 2010 09:40:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o759eCRh089308 for ; Thu, 5 Aug 2010 09:40:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o759eCYF089307; Thu, 5 Aug 2010 09:40:12 GMT (envelope-from gnats) Date: Thu, 5 Aug 2010 09:40:12 GMT Message-Id: <201008050940.o759eCYF089307@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Marcin Cieslak Cc: Subject: Re: usb/149283: avrdude unable to talk to Arduino board (via uftdi) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcin Cieslak List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2010 09:40:12 -0000 The following reply was made to PR usb/149283; it has been noted by GNATS. From: Marcin Cieslak To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, FreeBSD-gnats-submit@freebsd.org Subject: Re: usb/149283: avrdude unable to talk to Arduino board (via uftdi) Date: Thu, 5 Aug 2010 09:35:10 +0000 On Wed, 4 Aug 2010, Hans Petter Selasky wrote: > You can try to comment out: > > /* clear stall at first run */ > mtx_lock(&sc->sc_mtx); > usbd_xfer_set_stall(sc->sc_xfer[UFTDI_BULK_DT_WR]); > usbd_xfer_set_stall(sc->sc_xfer[UFTDI_BULK_DT_RD]); > mtx_unlock(&sc->sc_mtx); > > In uftdi_attach in sys/dev/usb/serial/uftdi.c. That did not fix it ... --Marcin From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 10:31:42 2010 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 0E7DD1065675; Thu, 5 Aug 2010 10:31:42 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 700088FC15; Thu, 5 Aug 2010 10:31:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o75ABuuC069096; Thu, 5 Aug 2010 20:11:57 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 5 Aug 2010 20:11:56 +1000 (EST) From: Ian Smith To: Hans Petter Selasky In-Reply-To: <201007301752.07485.hselasky@c2i.net> Message-ID: <20100805194336.D34284@sola.nimnet.asn.au> References: <201007301752.07485.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: bf1783@gmail.com, freebsd-acpi@freebsd.org, freebsd-usb@freebsd.org Subject: Re: suspend/resume and the freebsd usb stack 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, 05 Aug 2010 10:31:42 -0000 On Fri, 30 Jul 2010, Hans Petter Selasky wrote: > On Friday 30 July 2010 16:53:22 b. f. wrote: > > Are these criticisms of suspend/resume for the usb stack justified?: > > > > http://lists.freebsd.org/pipermail/svn-src-head/2010-July/018974.html > > > > If so, are there any plans to fix the problem(s)? > > > > Regards, > > b. > > Hi, > > Suspend and resume has not been too much tested! Some part is done in the > BIOS, the other part is done in the OS. You can try doing a detach instead of > a suspend, and an attach instead of a resume. Do you mean doing what you often used to have to do with the old usb stack, at least on some laptops, that is kldunload usb before suspend and kldload usb after resume, in /etc/rc.{suspend,resume} respectively? If so, how would that go if (eg) you had a USB stick or external drive mounted? And with usb in kernel, I guess you can't unload it anyway? I know doing that used to cause panics, but admit not having tried it more recently, except one suspend/resume (default rc.{suspend,resume}) from the Fixit shell booted from the 8.1-RELEASE-i386-memstick.img the other night, where I got I/O read errors on commands, that ceased after removing/reinserting the mounted stick (which WAS quite encouraging :) If not, what/how do you mean by detach and attach here? > Patches are welcome! First don't we need to describe just what the problems really are? cheers, Ian From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 14:21:16 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C9071065670; Thu, 5 Aug 2010 14:21:16 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7174A8FC26; Thu, 5 Aug 2010 14:21:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o75ELGCj073978; Thu, 5 Aug 2010 14:21:16 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o75ELGnn073942; Thu, 5 Aug 2010 14:21:16 GMT (envelope-from linimon) Date: Thu, 5 Aug 2010 14:21:16 GMT Message-Id: <201008051421.o75ELGnn073942@freefall.freebsd.org> To: hselasky@c2i.net, linimon@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/149287: Re: avrdude unable to talk to Arduino board (via uftdi) 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, 05 Aug 2010 14:21:16 -0000 Synopsis: Re: avrdude unable to talk to Arduino board (via uftdi) State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Thu Aug 5 14:20:03 UTC 2010 State-Changed-Why: Misfiled followup to usb/149283; content migrated. Responsible-Changed-From-To: gnats-admin->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 5 14:20:03 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149287 From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 14:21:41 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D16F71065677; Thu, 5 Aug 2010 14:21:41 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A67F48FC22; Thu, 5 Aug 2010 14:21:41 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o75ELfW6074356; Thu, 5 Aug 2010 14:21:41 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o75ELfq1074352; Thu, 5 Aug 2010 14:21:41 GMT (envelope-from linimon) Date: Thu, 5 Aug 2010 14:21:41 GMT Message-Id: <201008051421.o75ELfq1074352@freefall.freebsd.org> To: saper@saper.info, linimon@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/149289: Re: avrdude unable to talk to Arduino board (via uftdi) 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, 05 Aug 2010 14:21:41 -0000 Synopsis: Re: avrdude unable to talk to Arduino board (via uftdi) State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Thu Aug 5 14:20:03 UTC 2010 State-Changed-Why: Misfiled followup to usb/149283; content migrated. Responsible-Changed-From-To: gnats-admin->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 5 14:20:03 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149289 From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 14:22:02 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FAAD1065680; Thu, 5 Aug 2010 14:22:02 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 14DCF8FC12; Thu, 5 Aug 2010 14:22:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o75EM1eo074412; Thu, 5 Aug 2010 14:22:01 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o75EM1i0074408; Thu, 5 Aug 2010 14:22:01 GMT (envelope-from linimon) Date: Thu, 5 Aug 2010 14:22:01 GMT Message-Id: <201008051422.o75EM1i0074408@freefall.freebsd.org> To: hselasky@c2i.net, linimon@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/149291: Re: avrdude unable to talk to Arduino board (via uftdi) 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, 05 Aug 2010 14:22:02 -0000 Synopsis: Re: avrdude unable to talk to Arduino board (via uftdi) State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Thu Aug 5 14:20:03 UTC 2010 State-Changed-Why: Misfiled followup to usb/149283; content migrated. Responsible-Changed-From-To: gnats-admin->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 5 14:20:03 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149291 From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 14:22:28 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21B201065672; Thu, 5 Aug 2010 14:22:28 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CB7B58FC28; Thu, 5 Aug 2010 14:22:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o75EMRk3074455; Thu, 5 Aug 2010 14:22:27 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o75EMRSu074451; Thu, 5 Aug 2010 14:22:27 GMT (envelope-from linimon) Date: Thu, 5 Aug 2010 14:22:27 GMT Message-Id: <201008051422.o75EMRSu074451@freefall.freebsd.org> To: joerg_wunsch@uriah.heep.sax.de, linimon@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/149292: Re: avrdude unable to talk to Arduino board (via uftdi) 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, 05 Aug 2010 14:22:28 -0000 Synopsis: Re: avrdude unable to talk to Arduino board (via uftdi) State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Thu Aug 5 14:20:03 UTC 2010 State-Changed-Why: Misfiled followup to usb/149283; content migrated. Responsible-Changed-From-To: gnats-admin->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 5 14:20:03 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149292 From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 14:22:50 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC5931065670; Thu, 5 Aug 2010 14:22:50 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B13398FC22; Thu, 5 Aug 2010 14:22:50 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o75EMo0s074497; Thu, 5 Aug 2010 14:22:50 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o75EMoSQ074493; Thu, 5 Aug 2010 14:22:50 GMT (envelope-from linimon) Date: Thu, 5 Aug 2010 14:22:50 GMT Message-Id: <201008051422.o75EMoSQ074493@freefall.freebsd.org> To: joerg_wunsch@uriah.heep.sax.de, linimon@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/149294: Re: avrdude unable to talk to Arduino board (via uftdi) 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, 05 Aug 2010 14:22:50 -0000 Synopsis: Re: avrdude unable to talk to Arduino board (via uftdi) State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Thu Aug 5 14:20:03 UTC 2010 State-Changed-Why: Misfiled followup to usb/149283; content migrated. Responsible-Changed-From-To: gnats-admin->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 5 14:20:03 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149294 From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 14:23:10 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C217106567F; Thu, 5 Aug 2010 14:23:10 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D5AFA8FC08; Thu, 5 Aug 2010 14:23:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o75EN9Eo074537; Thu, 5 Aug 2010 14:23:09 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o75EN918074533; Thu, 5 Aug 2010 14:23:09 GMT (envelope-from linimon) Date: Thu, 5 Aug 2010 14:23:09 GMT Message-Id: <201008051423.o75EN918074533@freefall.freebsd.org> To: hselasky@c2i.net, linimon@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/149296: Re: avrdude unable to talk to Arduino board (via uftdi) 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, 05 Aug 2010 14:23:10 -0000 Synopsis: Re: avrdude unable to talk to Arduino board (via uftdi) State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Thu Aug 5 14:20:03 UTC 2010 State-Changed-Why: Misfiled followup to usb/149283; content migrated. Responsible-Changed-From-To: gnats-admin->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 5 14:20:03 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149296 From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 14:23:32 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B01C01065677; Thu, 5 Aug 2010 14:23:32 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 850DF8FC18; Thu, 5 Aug 2010 14:23:32 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o75ENWUH074578; Thu, 5 Aug 2010 14:23:32 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o75ENWi5074574; Thu, 5 Aug 2010 14:23:32 GMT (envelope-from linimon) Date: Thu, 5 Aug 2010 14:23:32 GMT Message-Id: <201008051423.o75ENWi5074574@freefall.freebsd.org> To: joerg_wunsch@uriah.heep.sax.de, linimon@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/149298: Re: avrdude unable to talk to Arduino board (via uftdi) 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, 05 Aug 2010 14:23:32 -0000 Synopsis: Re: avrdude unable to talk to Arduino board (via uftdi) State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Thu Aug 5 14:20:03 UTC 2010 State-Changed-Why: Misfiled followup to usb/149283; content migrated. Responsible-Changed-From-To: gnats-admin->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 5 14:20:03 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149298 From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 14:23:50 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CB6D1065678; Thu, 5 Aug 2010 14:23:50 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D448D8FC1A; Thu, 5 Aug 2010 14:23:49 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o75ENnnA074618; Thu, 5 Aug 2010 14:23:49 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o75ENnvn074614; Thu, 5 Aug 2010 14:23:49 GMT (envelope-from linimon) Date: Thu, 5 Aug 2010 14:23:49 GMT Message-Id: <201008051423.o75ENnvn074614@freefall.freebsd.org> To: wblock@wonkity.com, linimon@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/149301: Re: avrdude unable to talk to Arduino board (via uftdi) 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, 05 Aug 2010 14:23:50 -0000 Synopsis: Re: avrdude unable to talk to Arduino board (via uftdi) State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Thu Aug 5 14:20:03 UTC 2010 State-Changed-Why: Misfiled followup to usb/149283; content migrated. Responsible-Changed-From-To: gnats-admin->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Aug 5 14:20:03 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=149301 From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 21:06:01 2010 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 1456B106566B; Thu, 5 Aug 2010 21:06:01 +0000 (UTC) (envelope-from www@lepis.net.ru) Received: from lepis.net.ru (lepis.org.ru [109.170.96.84]) by mx1.freebsd.org (Postfix) with ESMTP id BE7D18FC15; Thu, 5 Aug 2010 21:06:00 +0000 (UTC) Received: from www by lepis.net.ru with local (Exim 4.72 (FreeBSD)) (envelope-from ) id 1Oh7O8-0000LK-GL; Fri, 06 Aug 2010 00:50:04 +0400 To: Hans Petter Selasky MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Fri, 06 Aug 2010 00:50:04 +0400 From: In-Reply-To: <201008031750.45654.hselasky@c2i.net> References: <201007311934.o6VJYSYu030910@www.freebsd.org> <201008021839.30655.hselasky@c2i.net> <4C5839CD.3060302@lepis.net.ru> <201008031750.45654.hselasky@c2i.net> Message-ID: <396c83c29e2f9fa58c21583d444efab5@lepis.net.ru> X-Sender: lepis@lepis.net.ru User-Agent: RoundCube Webmail/0.4-beta Sender: World Wide Web Owner Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) 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, 05 Aug 2010 21:06:01 -0000 On Tue, 3 Aug 2010 17:50:45 +0200, Hans Petter Selasky wrote: > Hi, > > Actually, my intention was to get you into the kernel debugger and not the > userland debugger. Maybe you have some missing keywords in your kernel > config. > Try google. When setup correctly, CTRL+ALT+ESC should get you into the > kernel > debugger. That means you should exit X11 before typing this sequence. When > in > the kernel debugger, try to dump all threads. Look for function names that > contain the word "ural". Write down brief stack backtrace. > Hello. I found very strange behavior. Ñ‚ot for nothing that I work for a tester :) http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-ddb.html - Here I found how to use kernel debugger (Ctrl+Alt+Esc). I added to my config-file next strings: options KDB options DDB options KDB_UNATTENDED options BREAK_TO_DEBUGGER I did the rebuild of kernel, installed it, rebooted the PC. After reboot I typed into console "ifconfig wlan0 create wlandev ural0" and ifconfig didn't hangs. Device wlan0 was successfully created. I commented this 4 strings --> ifconfig hangs, wlan0 wasn't created. It's very strange :) Now I'll rebuild kernel with this parameters, read "man ifconfig" and try to make workable wireless lan. I shall write you results. Thanks. Best regards, Bukreev Alexey From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 21:10:11 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D34201065686 for ; Thu, 5 Aug 2010 21:10:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C1AC08FC1B for ; Thu, 5 Aug 2010 21:10:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o75LABSp065880 for ; Thu, 5 Aug 2010 21:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o75LAB4c065879; Thu, 5 Aug 2010 21:10:11 GMT (envelope-from gnats) Date: Thu, 5 Aug 2010 21:10:11 GMT Message-Id: <201008052110.o75LAB4c065879@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Cc: Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lepis@lepis.net.ru List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2010 21:10:11 -0000 The following reply was made to PR usb/149162; it has been noted by GNATS. From: To: Hans Petter Selasky Cc: , Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) Date: Fri, 06 Aug 2010 00:50:04 +0400 On Tue, 3 Aug 2010 17:50:45 +0200, Hans Petter Selasky wrote: > Hi, > > Actually, my intention was to get you into the kernel debugger and not the > userland debugger. Maybe you have some missing keywords in your kernel > config. > Try google. When setup correctly, CTRL+ALT+ESC should get you into the > kernel > debugger. That means you should exit X11 before typing this sequence. When > in > the kernel debugger, try to dump all threads. Look for function names that > contain the word "ural". Write down brief stack backtrace. > Hello. I found very strange behavior. Ñ‚ot for nothing that I work for a tester :) http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-ddb.html - Here I found how to use kernel debugger (Ctrl+Alt+Esc). I added to my config-file next strings: options KDB options DDB options KDB_UNATTENDED options BREAK_TO_DEBUGGER I did the rebuild of kernel, installed it, rebooted the PC. After reboot I typed into console "ifconfig wlan0 create wlandev ural0" and ifconfig didn't hangs. Device wlan0 was successfully created. I commented this 4 strings --> ifconfig hangs, wlan0 wasn't created. It's very strange :) Now I'll rebuild kernel with this parameters, read "man ifconfig" and try to make workable wireless lan. I shall write you results. Thanks. Best regards, Bukreev Alexey From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 21:26:40 2010 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 AC3F71065677 for ; Thu, 5 Aug 2010 21:26:40 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.swip.net [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id 3A8E18FC1B for ; Thu, 5 Aug 2010 21:26:39 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=wOCrJj2TqmIA:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=wqgEYABqAAAA:8 a=STDO5LmHV0RkNnHoaTcA:9 a=yCgVZLxaBX8Xb8yjR3ujkBmweuwA:4 a=PUjeQqilurYA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1248014361; Thu, 05 Aug 2010 23:26:38 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, lepis@lepis.net.ru Date: Thu, 5 Aug 2010 23:23:18 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201008052110.o75LAB4c065879@freefall.freebsd.org> In-Reply-To: <201008052110.o75LAB4c065879@freefall.freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201008052323.18533.hselasky@c2i.net> Cc: Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) 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, 05 Aug 2010 21:26:40 -0000 On Thursday 05 August 2010 23:10:11 lepis@lepis.net.ru wrote: > options KDB_UNATTENDED This option you don't need. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 21:54:58 2010 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 43B3D1065672 for ; Thu, 5 Aug 2010 21:54:58 +0000 (UTC) (envelope-from www@lepis.net.ru) Received: from lepis.net.ru (lepis.org.ru [109.170.96.84]) by mx1.freebsd.org (Postfix) with ESMTP id B39F78FC08 for ; Thu, 5 Aug 2010 21:54:57 +0000 (UTC) Received: from www by lepis.net.ru with local (Exim 4.72 (FreeBSD)) (envelope-from ) id 1Oh8Ps-0000L7-Us; Fri, 06 Aug 2010 01:55:57 +0400 To: Hans Petter Selasky MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Fri, 06 Aug 2010 01:55:56 +0400 From: In-Reply-To: <201008052323.18533.hselasky@c2i.net> References: <201008052110.o75LAB4c065879@freefall.freebsd.org> <201008052323.18533.hselasky@c2i.net> Message-ID: <343165581875e3e6988b4b0112030cd0@lepis.net.ru> X-Sender: lepis@lepis.net.ru User-Agent: RoundCube Webmail/0.4-beta Sender: World Wide Web Owner Cc: freebsd-usb@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) 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, 05 Aug 2010 21:54:58 -0000 On Thu, 5 Aug 2010 23:23:18 +0200, Hans Petter Selasky wrote: > On Thursday 05 August 2010 23:10:11 lepis@lepis.net.ru wrote: >> options KDB_UNATTENDED > > This option you don't need. > > --HPS Hans, I tried to configure wlan0 as a access point, but all my tries was failed. When I type "ifconfig wlan0 mediaopt hostap" I get message "SIOCSFMEDIA (media): device not configured". I type "ifconfig -m wlan0" and see this: wlan0: flags=8802 metric 0 mtu 1500 ether 00:17:31:eb:9e:e7 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier supported media: media OFDM/54Mbps mode autoselect media OFDM/48Mbps mode autoselect media OFDM/36Mbps mode autoselect media OFDM/24Mbps mode autoselect media OFDM/18Mbps mode autoselect media OFDM/12Mbps mode autoselect media OFDM/9Mbps mode autoselect media OFDM/6Mbps mode autoselect media DS/11Mbps mode autoselect media DS/5.5Mbps mode autoselect media DS/2Mbps mode autoselect media DS/1Mbps mode autoselect media OFDM/54Mbps mode 11g media OFDM/48Mbps mode 11g media OFDM/36Mbps mode 11g media OFDM/24Mbps mode 11g media OFDM/18Mbps mode 11g media OFDM/12Mbps mode 11g media OFDM/9Mbps mode 11g media OFDM/6Mbps mode 11g media DS/11Mbps mode 11g media DS/5.5Mbps mode 11g media DS/2Mbps mode 11g media DS/1Mbps mode 11g media autoselect mode 11g media DS/11Mbps mode 11b media DS/5.5Mbps mode 11b media DS/2Mbps mode 11b media DS/1Mbps mode 11b media autoselect mode 11b media autoselect mode autoselect ssid "" channel 1 (2412 MHz 11b) country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 1 bintval 0 After that I type "ifconfig -m ural0" and see this: ural0: flags=8802 metric 0 mtu 2290 ether 00:17:31:eb:9e:e7 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier supported media: media OFDM/54Mbps mode autoselect mediaopt monitor media OFDM/54Mbps mode autoselect mediaopt hostap media OFDM/54Mbps mode autoselect mediaopt adhoc media OFDM/54Mbps mode autoselect media OFDM/48Mbps mode autoselect mediaopt monitor media OFDM/48Mbps mode autoselect mediaopt hostap media OFDM/48Mbps mode autoselect mediaopt adhoc media OFDM/48Mbps mode autoselect media OFDM/36Mbps mode autoselect mediaopt monitor media OFDM/36Mbps mode autoselect mediaopt hostap media OFDM/36Mbps mode autoselect mediaopt adhoc media OFDM/36Mbps mode autoselect media OFDM/24Mbps mode autoselect mediaopt monitor media OFDM/24Mbps mode autoselect mediaopt hostap media OFDM/24Mbps mode autoselect mediaopt adhoc media OFDM/24Mbps mode autoselect media OFDM/18Mbps mode autoselect mediaopt monitor media OFDM/18Mbps mode autoselect mediaopt hostap media OFDM/18Mbps mode autoselect mediaopt adhoc media OFDM/18Mbps mode autoselect media OFDM/12Mbps mode autoselect mediaopt monitor media OFDM/12Mbps mode autoselect mediaopt hostap media OFDM/12Mbps mode autoselect mediaopt adhoc media OFDM/12Mbps mode autoselect media OFDM/9Mbps mode autoselect mediaopt monitor media OFDM/9Mbps mode autoselect mediaopt hostap media OFDM/9Mbps mode autoselect mediaopt adhoc media OFDM/9Mbps mode autoselect media OFDM/6Mbps mode autoselect mediaopt monitor media OFDM/6Mbps mode autoselect mediaopt hostap media OFDM/6Mbps mode autoselect mediaopt adhoc media OFDM/6Mbps mode autoselect media DS/11Mbps mode autoselect mediaopt monitor media DS/11Mbps mode autoselect mediaopt hostap media DS/11Mbps mode autoselect mediaopt adhoc media DS/11Mbps mode autoselect media DS/5.5Mbps mode autoselect mediaopt monitor media DS/5.5Mbps mode autoselect mediaopt hostap media DS/5.5Mbps mode autoselect mediaopt adhoc media DS/5.5Mbps mode autoselect media DS/2Mbps mode autoselect mediaopt monitor media DS/2Mbps mode autoselect mediaopt hostap media DS/2Mbps mode autoselect mediaopt adhoc media DS/2Mbps mode autoselect media DS/1Mbps mode autoselect mediaopt monitor media DS/1Mbps mode autoselect mediaopt hostap media DS/1Mbps mode autoselect mediaopt adhoc media DS/1Mbps mode autoselect media OFDM/54Mbps mode 11g mediaopt monitor media OFDM/54Mbps mode 11g mediaopt hostap media OFDM/54Mbps mode 11g mediaopt adhoc media OFDM/54Mbps mode 11g media OFDM/48Mbps mode 11g mediaopt monitor media OFDM/48Mbps mode 11g mediaopt hostap media OFDM/48Mbps mode 11g mediaopt adhoc media OFDM/48Mbps mode 11g media OFDM/36Mbps mode 11g mediaopt monitor media OFDM/36Mbps mode 11g mediaopt hostap media OFDM/36Mbps mode 11g mediaopt adhoc media OFDM/36Mbps mode 11g media OFDM/24Mbps mode 11g mediaopt monitor media OFDM/24Mbps mode 11g mediaopt hostap media OFDM/24Mbps mode 11g mediaopt adhoc media OFDM/24Mbps mode 11g media OFDM/18Mbps mode 11g mediaopt monitor media OFDM/18Mbps mode 11g mediaopt hostap media OFDM/18Mbps mode 11g mediaopt adhoc media OFDM/18Mbps mode 11g media OFDM/12Mbps mode 11g mediaopt monitor media OFDM/12Mbps mode 11g mediaopt hostap media OFDM/12Mbps mode 11g mediaopt adhoc media OFDM/12Mbps mode 11g media OFDM/9Mbps mode 11g mediaopt monitor media OFDM/9Mbps mode 11g mediaopt hostap media OFDM/9Mbps mode 11g mediaopt adhoc media OFDM/9Mbps mode 11g media OFDM/6Mbps mode 11g mediaopt monitor media OFDM/6Mbps mode 11g mediaopt hostap media OFDM/6Mbps mode 11g mediaopt adhoc media OFDM/6Mbps mode 11g media DS/11Mbps mode 11g mediaopt monitor media DS/11Mbps mode 11g mediaopt hostap media DS/11Mbps mode 11g mediaopt adhoc media DS/11Mbps mode 11g media DS/5.5Mbps mode 11g mediaopt monitor media DS/5.5Mbps mode 11g mediaopt hostap media DS/5.5Mbps mode 11g mediaopt adhoc media DS/5.5Mbps mode 11g media DS/2Mbps mode 11g mediaopt monitor media DS/2Mbps mode 11g mediaopt hostap media DS/2Mbps mode 11g mediaopt adhoc media DS/2Mbps mode 11g media DS/1Mbps mode 11g mediaopt monitor media DS/1Mbps mode 11g mediaopt hostap media DS/1Mbps mode 11g mediaopt adhoc media DS/1Mbps mode 11g media autoselect mode 11g mediaopt monitor media autoselect mode 11g mediaopt hostap media autoselect mode 11g mediaopt adhoc media autoselect mode 11g media DS/11Mbps mode 11b mediaopt monitor media DS/11Mbps mode 11b mediaopt hostap media DS/11Mbps mode 11b mediaopt adhoc media DS/11Mbps mode 11b media DS/5.5Mbps mode 11b mediaopt monitor media DS/5.5Mbps mode 11b mediaopt hostap media DS/5.5Mbps mode 11b mediaopt adhoc media DS/5.5Mbps mode 11b media DS/2Mbps mode 11b mediaopt monitor media DS/2Mbps mode 11b mediaopt hostap media DS/2Mbps mode 11b mediaopt adhoc media DS/2Mbps mode 11b media DS/1Mbps mode 11b mediaopt monitor media DS/1Mbps mode 11b mediaopt hostap media DS/1Mbps mode 11b mediaopt adhoc media DS/1Mbps mode 11b media autoselect mode 11b mediaopt monitor media autoselect mode 11b mediaopt hostap media autoselect mode 11b mediaopt adhoc media autoselect mode 11b media autoselect mode autoselect mediaopt monitor media autoselect mode autoselect mediaopt hostap media autoselect mode autoselect mediaopt adhoc media autoselect mode autoselect Why device wlan0 haven't "hostap"? Now I'll try to update kernel sources and rebuild world and kernel. I hope update should help me. From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 22:12:56 2010 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 AFC15106566B for ; Thu, 5 Aug 2010 22:12:56 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id 3CB758FC1D for ; Thu, 5 Aug 2010 22:12:55 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=p0DJaE8zavVXm5tqcSh7H4n2mR2d5Wi7j6pzZ51DRjI= c=1 sm=1 a=wOCrJj2TqmIA:10 a=IkcTkHD0fZMA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=wqgEYABqAAAA:8 a=8kQB0OdkAAAA:8 a=pqchhew7Vv93J3Uq20QA:9 a=6M6GGdgBqNmJYUYza3oCzGHMctsA:4 a=QEXdDO2ut3YA:10 a=9aOQ2cSd83gA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 4169803; Fri, 06 Aug 2010 00:12:27 +0200 From: Hans Petter Selasky To: lepis@lepis.net.ru Date: Fri, 6 Aug 2010 00:09:34 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201008052110.o75LAB4c065879@freefall.freebsd.org> <201008052323.18533.hselasky@c2i.net> <343165581875e3e6988b4b0112030cd0@lepis.net.ru> In-Reply-To: <343165581875e3e6988b4b0112030cd0@lepis.net.ru> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201008060009.34735.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) 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, 05 Aug 2010 22:12:56 -0000 On Thursday 05 August 2010 23:55:56 lepis@lepis.net.ru wrote: > On Thu, 5 Aug 2010 23:23:18 +0200, Hans Petter Selasky > > wrote: > > On Thursday 05 August 2010 23:10:11 lepis@lepis.net.ru wrote: > >> options KDB_UNATTENDED > > > > This option you don't need. > > > > --HPS > > > Now I'll try to update kernel sources and rebuild world and kernel. I hope > update should help me. Sounds like a good idea. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Aug 5 23:25:15 2010 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 0DC0C106567A for ; Thu, 5 Aug 2010 23:25:15 +0000 (UTC) (envelope-from lepis@lepis.net.ru) Received: from lepis.net.ru (lepis.org.ru [109.170.96.84]) by mx1.freebsd.org (Postfix) with ESMTP id B9E808FC12 for ; Thu, 5 Aug 2010 23:25:14 +0000 (UTC) Received: from [127.0.0.1] (helo=[172.30.0.101]) by lepis.net.ru with esmtpa (Exim 4.72 (FreeBSD)) (envelope-from ) id 1Oh9pG-0000Ku-63; Fri, 06 Aug 2010 03:26:14 +0400 Message-ID: <4C5B4856.8030700@lepis.net.ru> Date: Fri, 06 Aug 2010 03:25:10 +0400 From: Alexey A Bukreev User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: Hans Petter Selasky References: <201008052110.o75LAB4c065879@freefall.freebsd.org> <201008052323.18533.hselasky@c2i.net> <343165581875e3e6988b4b0112030cd0@lepis.net.ru> <201008060009.34735.hselasky@c2i.net> In-Reply-To: <201008060009.34735.hselasky@c2i.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 05 Aug 2010 23:33:01 +0000 Cc: freebsd-usb@freebsd.org Subject: Re: usb/149162: ASUS WL-167g doesn't work in 8.1 (continue of 149058) 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, 05 Aug 2010 23:25:15 -0000 On 06.08.2010 2:09, Hans Petter Selasky wrote: > >> Now I'll try to update kernel sources and rebuild world and kernel. I hope >> update should help me. >> > Sounds like a good idea. > I updated, did rebuild and installed world and kernel - wlan0 don't have hostap Hans, how do you think, will wlan0 have "hostap" if I change wi-fi card? I have PCI card DLink DWL-G510 rev.C on another PC (ral driver). As I recall this card does not work on FreeBSD 7.2 - it loses signal strength. -- С уважением, Букреев ÐлекÑей +7(926) 249-90-25 http://lepisgame.net.ru From owner-freebsd-usb@FreeBSD.ORG Fri Aug 6 13:29:12 2010 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 5635E1065673 for ; Fri, 6 Aug 2010 13:29:12 +0000 (UTC) (envelope-from beni@brinckman.info) Received: from yorgi.telenet-ops.be (yorgi.telenet-ops.be [195.130.133.69]) by mx1.freebsd.org (Postfix) with ESMTP id E5E358FC15 for ; Fri, 6 Aug 2010 13:29:11 +0000 (UTC) Received: from jacques.telenet-ops.be (jacques.telenet-ops.be [195.130.132.50]) by yorgi.telenet-ops.be (Postfix) with ESMTP id 7D2A2650370 for ; Fri, 6 Aug 2010 15:18:03 +0200 (CEST) Received: from bsdaddict.localnet ([81.83.106.121]) by jacques.telenet-ops.be with bizsmtp id r1J01e00T2dAcU10J1J0r8; Fri, 06 Aug 2010 15:18:00 +0200 From: beni brinckman To: freebsd-usb@freebsd.org Date: Fri, 6 Aug 2010 15:17:59 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-RELEASE; KDE/4.4.5; i386; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201008061517.59917.beni@brinckman.info> Subject: webcamd and webcams under 8.1-rel 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, 06 Aug 2010 13:29:12 -0000 Hi, I've tried to get 2 different webcams working under 8.1-rel with webcamd (0.1.14). But neither usb webcam is willing to work... The first is a Logitech V-UAP41 : [beni@bsdaddict] /etc# kldstat -vvv | grep cuse 19 1 0xc1294000 47b8 cuse4bsd.ko (/boot/modules/cuse4bsd.ko) [beni@bsdaddict] /etc# usbconfig list ... ugen3.2: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON [beni@bsdaddict] /etc# webcamd -d ugen3.2 -i 0 -v -1 -B Webcamd is already running for ugen3.2.0 The second is an older one : a Creative Webcam 5. This one gets recognized, but... The webcam gets recognized in dmesg : ugen3.2: at usbus3 pwc0: on usbus3 pwc0: This camera is equipped with a Hyundai CMOS sensor (0) But a bit further down the road, my dmesg shows this : ... ugen3.2: <(null)> at usbus3 (disconnected) uhub_reattach_port: could not allocate new device uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1 uhub_reattach_port: port 1 reset failed, error=USB_ERR_TIMEOUT uhub_reattach_port: device problem (USB_ERR_TIMEOUT), disabling port 1 usb_alloc_device: set address 2 failed (USB_ERR_STALLED, ignored) usb_alloc_device: getting device descriptor at addr 2 failed, USB_ERR_STALLED usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_STALLED, ignored) usbd_req_re_enumerate: getting device descriptor at addr 2 failed, USB_ERR_STALLED usbd_req_re_enumerate: addr=2, port reset failed, USB_ERR_TIMEOUT ugen3.2: <(null)> at usbus3 (disconnected) uhub_reattach_port: could not allocate new device ugen3.2: at usbus3 pwc0: on usbus3 pwc0: This camera is equipped with a Hyundai CMOS sensor (0) ugen3.2: at usbus3 (disconnected) pwc0: at uhub3, port 1, addr 2 (disconnected) ugen3.2: at usbus3 pwc0: on usbus3 pwc0: This camera is equipped with a Hyundai CMOS sensor (0) ugen3.2: at usbus3 (disconnected) and that goes on for a while. Are my 2 cams too old or is something else wrong here ? How do i get (one) webcam working in p. ex. skype ? Thanks for any help here. Beni. PS : i am not subscribed to this mailinglist, so please put me in cc. From owner-freebsd-usb@FreeBSD.ORG Fri Aug 6 13:32:22 2010 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 4A809106566B for ; Fri, 6 Aug 2010 13:32:22 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.swip.net [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id D3DB88FC0A for ; Fri, 6 Aug 2010 13:32:21 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=KdKog-BfXvEA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=dvcOFqaXP3-XLuivJukA:9 a=CGsfq3B63tvxykO1okgA:7 a=HtJzhKsSUj5JG2rWUMBVQjxOzvAA:4 a=wPNLvfGTeEIA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1215051299; Fri, 06 Aug 2010 15:32:19 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 6 Aug 2010 15:28:58 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201008061517.59917.beni@brinckman.info> In-Reply-To: <201008061517.59917.beni@brinckman.info> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008061528.58214.hselasky@c2i.net> Cc: beni brinckman Subject: Re: webcamd and webcams under 8.1-rel 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, 06 Aug 2010 13:32:22 -0000 On Friday 06 August 2010 15:17:59 beni brinckman wrote: > Hi, > > Are my 2 cams too old or is something else wrong here ? How do i get (one) > webcam working in p. ex. skype ? Skype is known not to always work with webcamd. Try using pwcview instead. What does: ls -l /dev/video* output? --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Aug 6 13:39:04 2010 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 74C02106567E for ; Fri, 6 Aug 2010 13:39:04 +0000 (UTC) (envelope-from beni@brinckman.info) Received: from juliette.telenet-ops.be (juliette.telenet-ops.be [195.130.137.74]) by mx1.freebsd.org (Postfix) with ESMTP id D9D5F8FC1E for ; Fri, 6 Aug 2010 13:39:03 +0000 (UTC) Received: from bsdaddict.localnet ([81.83.106.121]) by juliette.telenet-ops.be with bizsmtp id r1f21e00B2dAcU1061f2gH; Fri, 06 Aug 2010 15:39:02 +0200 From: beni brinckman To: Hans Petter Selasky Date: Fri, 6 Aug 2010 15:39:01 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-RELEASE; KDE/4.4.5; i386; ; ) References: <201008061517.59917.beni@brinckman.info> <201008061528.58214.hselasky@c2i.net> In-Reply-To: <201008061528.58214.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008061539.01715.beni@brinckman.info> Cc: freebsd-usb@freebsd.org Subject: Re: webcamd and webcams under 8.1-rel 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, 06 Aug 2010 13:39:04 -0000 On Friday 06 August 2010 15:28:58 Hans Petter Selasky wrote: > On Friday 06 August 2010 15:17:59 beni brinckman wrote: > > Hi, > > > > > > Are my 2 cams too old or is something else wrong here ? How do i get > > (one) webcam working in p. ex. skype ? > > Skype is known not to always work with webcamd. Try using pwcview instead. > What does: > > ls -l /dev/video* > > output? > > --HPS With the V-UAP41 : [beni@bsdaddict] /usr/home/beni# ls -l /dev/video* crw-rw-rw- 1 root operator 0, 195 Aug 6 15:35 /dev/video0 And with the Webcam5 nothing : [beni@bsdaddict] /usr/home/beni# ls -l /dev/video* ls: No match. [beni@bsdaddict] /usr/home/beni# I will install pwcview and see which of the 2 cams works. Beni. From owner-freebsd-usb@FreeBSD.ORG Fri Aug 6 13:47:44 2010 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 4302F106566B for ; Fri, 6 Aug 2010 13:47:44 +0000 (UTC) (envelope-from beni@brinckman.info) Received: from juliette.telenet-ops.be (juliette.telenet-ops.be [195.130.137.74]) by mx1.freebsd.org (Postfix) with ESMTP id B43AC8FC0C for ; Fri, 6 Aug 2010 13:47:43 +0000 (UTC) Received: from bsdaddict.localnet ([81.83.106.121]) by juliette.telenet-ops.be with bizsmtp id r1ni1e0032dAcU1061nicf; Fri, 06 Aug 2010 15:47:42 +0200 From: beni brinckman To: Hans Petter Selasky Date: Fri, 6 Aug 2010 15:47:41 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-RELEASE; KDE/4.4.5; i386; ; ) References: <201008061517.59917.beni@brinckman.info> <201008061528.58214.hselasky@c2i.net> In-Reply-To: <201008061528.58214.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008061547.41596.beni@brinckman.info> Cc: freebsd-usb@freebsd.org Subject: Re: webcamd and webcams under 8.1-rel 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, 06 Aug 2010 13:47:44 -0000 On Friday 06 August 2010 15:28:58 Hans Petter Selasky wrote: > On Friday 06 August 2010 15:17:59 beni brinckman wrote: > > Hi, > > > > > > Are my 2 cams too old or is something else wrong here ? How do i get > > (one) webcam working in p. ex. skype ? > > Skype is known not to always work with webcamd. Try using pwcview instead. > What does: > > ls -l /dev/video* > > output? > > --HPS pwcview is installed. This is the result with the V-uap cam : [beni@bsdaddict] /usr/home/beni# pwcview Webcam set to: 320x240 (sif) at 5 fps Failed to create yuvoverlay: Can't use YUV data on non 16/24/32 bit surfaces : uninitializing With the Creative cam : [beni@bsdaddict] /usr/home/beni# pwcview Failed to access webcam: No such file or 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. *********************************************************** [beni@bsdaddict] /usr/home/beni# I just switched the usb connectors (maybe to fast ?). Don't know if it has anything to do with this. -- Beni. From owner-freebsd-usb@FreeBSD.ORG Fri Aug 6 13:49:10 2010 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 3FD20106566C for ; Fri, 6 Aug 2010 13:49:10 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.tele2.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id C308A8FC19 for ; Fri, 6 Aug 2010 13:49:09 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=KdKog-BfXvEA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=UefsROzZMdiNzG_O83oA:9 a=fVMK2JXYQ8JfM6QUhm1khgF-SM0A:4 a=wPNLvfGTeEIA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 646380038; Fri, 06 Aug 2010 15:49:07 +0200 From: Hans Petter Selasky To: beni brinckman Date: Fri, 6 Aug 2010 15:45:41 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201008061517.59917.beni@brinckman.info> <201008061528.58214.hselasky@c2i.net> <201008061547.41596.beni@brinckman.info> In-Reply-To: <201008061547.41596.beni@brinckman.info> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008061545.41639.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: webcamd and webcams under 8.1-rel 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, 06 Aug 2010 13:49:10 -0000 On Friday 06 August 2010 15:47:41 beni brinckman wrote: > pwcview is installed. > This is the result with the V-uap cam : > > [beni@bsdaddict] /usr/home/beni# pwcview > Webcam set to: 320x240 (sif) at 5 fps > Failed to create yuvoverlay: Can't use YUV data on non 16/24/32 bit > surfaces > Try to chown /dev/videoX instead of running pwcview like root. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Aug 6 14:00:30 2010 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 C08F9106567B for ; Fri, 6 Aug 2010 14:00:30 +0000 (UTC) (envelope-from beni@brinckman.info) Received: from juliette.telenet-ops.be (juliette.telenet-ops.be [195.130.137.74]) by mx1.freebsd.org (Postfix) with ESMTP id 36A468FC14 for ; Fri, 6 Aug 2010 14:00:29 +0000 (UTC) Received: from bsdaddict.localnet ([81.83.106.121]) by juliette.telenet-ops.be with bizsmtp id r20V1e0012dAcU10620VJw; Fri, 06 Aug 2010 16:00:29 +0200 From: beni brinckman To: Hans Petter Selasky Date: Fri, 6 Aug 2010 16:00:28 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-RELEASE; KDE/4.4.5; i386; ; ) References: <201008061517.59917.beni@brinckman.info> <201008061547.41596.beni@brinckman.info> <201008061545.41639.hselasky@c2i.net> In-Reply-To: <201008061545.41639.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008061600.28305.beni@brinckman.info> Cc: freebsd-usb@freebsd.org Subject: Re: webcamd and webcams under 8.1-rel 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, 06 Aug 2010 14:00:30 -0000 On Friday 06 August 2010 15:45:41 Hans Petter Selasky wrote: > On Friday 06 August 2010 15:47:41 beni brinckman wrote: > > pwcview is installed. > > This is the result with the V-uap cam : > > > > [beni@bsdaddict] /usr/home/beni# pwcview > > Webcam set to: 320x240 (sif) at 5 fps > > Failed to create yuvoverlay: Can't use YUV data on non 16/24/32 bit > > surfaces > > Try to chown /dev/videoX instead of running pwcview like root. > > --HPS Changed the owner of /dev/video0. Now I'm getting this (as normal user): [beni@bsdaddict /usr/home/beni]$ pwcview Webcam set to: 320x240 (sif) at 5 fps Warning short read, got only 3066 of 115200 bytes Warning short read, got only 25550 of 115200 bytes Warning short read, got only 25550 of 115200 bytes Warning short read, got only 25550 of 115200 bytes Warning short read, got only 25550 of 115200 bytes Warning short read, got only 25550 of 115200 bytes Warning short read, got only 25550 of 115200 bytes And this message goes on and on. I get a new pwcview window on the desktop with a billiard green color but still no image. But it is already more than before ! With the Creative webcam5 still nothing. So I guess i will have to abandon that one and stick with the Logitech. -- Beni. From owner-freebsd-usb@FreeBSD.ORG Sat Aug 7 08:26:36 2010 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 2D3BA106567B for ; Sat, 7 Aug 2010 08:26:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.swipnet.se [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id AE4F58FC1E for ; Sat, 7 Aug 2010 08:26:35 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=KdKog-BfXvEA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=OLWVuSQ4Px0b29JJzsoA:9 a=LEucJiKdDb_UXKAmlyAA:7 a=lGM5KHq8qmZS7n5RJniDxFirBGkA:4 a=wPNLvfGTeEIA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe13.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1031357378; Sat, 07 Aug 2010 10:26:33 +0200 From: Hans Petter Selasky To: beni brinckman Date: Sat, 7 Aug 2010 10:23:11 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201008061517.59917.beni@brinckman.info> <201008061545.41639.hselasky@c2i.net> <201008061600.28305.beni@brinckman.info> In-Reply-To: <201008061600.28305.beni@brinckman.info> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008071023.11660.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: webcamd and webcams under 8.1-rel 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, 07 Aug 2010 08:26:36 -0000 On Friday 06 August 2010 16:00:28 beni brinckman wrote: > On Friday 06 August 2010 15:45:41 Hans Petter Selasky wrote: > > On Friday 06 August 2010 15:47:41 beni brinckman wrote: > > > pwcview is installed. > > > This is the result with the V-uap cam : > > > > > > [beni@bsdaddict] /usr/home/beni# pwcview > > > Webcam set to: 320x240 (sif) at 5 fps > > > Failed to create yuvoverlay: Can't use YUV data on non 16/24/32 bit > > > surfaces > > > > Try to chown /dev/videoX instead of running pwcview like root. > > > > --HPS > > Changed the owner of /dev/video0. Now I'm getting this (as normal user): > > [beni@bsdaddict /usr/home/beni]$ pwcview > Webcam set to: 320x240 (sif) at 5 fps > Warning short read, got only 3066 of 115200 bytes > Warning short read, got only 25550 of 115200 bytes > Warning short read, got only 25550 of 115200 bytes > Warning short read, got only 25550 of 115200 bytes > Warning short read, got only 25550 of 115200 bytes > Warning short read, got only 25550 of 115200 bytes > Warning short read, got only 25550 of 115200 bytes > > And this message goes on and on. I get a new pwcview window on the desktop > with a billiard green color but still no image. > But it is already more than before ! > > With the Creative webcam5 still nothing. So I guess i will have to abandon > that one and stick with the Logitech. Try installing a newer version of libv4l. Or try a different mode: pwcview -s vga --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Aug 7 12:00:26 2010 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 D532A10656A3 for ; Sat, 7 Aug 2010 12:00:26 +0000 (UTC) (envelope-from beni@brinckman.info) Received: from gerard.telenet-ops.be (gerard.telenet-ops.be [195.130.132.48]) by mx1.freebsd.org (Postfix) with ESMTP id 418C98FC1B for ; Sat, 7 Aug 2010 12:00:25 +0000 (UTC) Received: from bsdaddict.localnet ([81.83.106.121]) by gerard.telenet-ops.be with bizsmtp id rQ0Q1e0052dAcU10HQ0QdQ; Sat, 07 Aug 2010 14:00:24 +0200 From: beni brinckman To: Hans Petter Selasky Date: Sat, 7 Aug 2010 14:00:22 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-RELEASE; KDE/4.4.5; i386; ; ) References: <201008061517.59917.beni@brinckman.info> <201008061600.28305.beni@brinckman.info> <201008071023.11660.hselasky@c2i.net> In-Reply-To: <201008071023.11660.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008071400.22995.beni@brinckman.info> Cc: freebsd-usb@freebsd.org Subject: Re: webcamd and webcams under 8.1-rel 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, 07 Aug 2010 12:00:26 -0000 On Saturday 07 August 2010 10:23:11 Hans Petter Selasky wrote: > On Friday 06 August 2010 16:00:28 beni brinckman wrote: > > On Friday 06 August 2010 15:45:41 Hans Petter Selasky wrote: > > > On Friday 06 August 2010 15:47:41 beni brinckman wrote: > > > > pwcview is installed. > > > > This is the result with the V-uap cam : > > > > > > > > [beni@bsdaddict] /usr/home/beni# pwcview > > > > Webcam set to: 320x240 (sif) at 5 fps > > > > Failed to create yuvoverlay: Can't use YUV data on non 16/24/32 bit > > > > surfaces > > > > > > Try to chown /dev/videoX instead of running pwcview like root. > > > > > > --HPS > > > > Changed the owner of /dev/video0. Now I'm getting this (as normal user): > > > > [beni@bsdaddict /usr/home/beni]$ pwcview > > Webcam set to: 320x240 (sif) at 5 fps > > Warning short read, got only 3066 of 115200 bytes > > Warning short read, got only 25550 of 115200 bytes > > Warning short read, got only 25550 of 115200 bytes > > Warning short read, got only 25550 of 115200 bytes > > Warning short read, got only 25550 of 115200 bytes > > Warning short read, got only 25550 of 115200 bytes > > Warning short read, got only 25550 of 115200 bytes > > > > And this message goes on and on. I get a new pwcview window on the > > desktop with a billiard green color but still no image. > > But it is already more than before ! > > > > With the Creative webcam5 still nothing. So I guess i will have to > > abandon that one and stick with the Logitech. > > Try installing a newer version of libv4l. Or try a different mode: > > pwcview -s vga > > --HPS This is what I get with pwcview -s vga : [beni@bsdaddict /usr/home/beni]$ pwcview -s vga Webcam set to: 640x480 (vga) at 5 fps Warning short read, got only 30660 of 460800 bytes Warning short read, got only 29638 of 460800 bytes Warning short read, got only 30660 of 460800 bytes Warning short read, got only 30660 of 460800 bytes Warning short read, got only 30660 of 460800 bytes Warning short read, got only 30660 of 460800 bytes Warning short read, got only 29638 of 460800 bytes Warning short read, got only 29638 of 460800 bytes Warning short read, got only 30660 of 460800 bytes Warning short read, got only 29638 of 460800 bytes Warning short read, got only 30660 of 460800 bytes Warning short read, got only 29638 of 460800 bytes Warning short read, got only 29638 of 460800 bytes This warning goes on and on and my pwcview window stays green. I'm using libv4l-0.6.4 now. -- Beni. From owner-freebsd-usb@FreeBSD.ORG Sat Aug 7 12:23:09 2010 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 49CD31065678 for ; Sat, 7 Aug 2010 12:23:09 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swip.net [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 9ADFB8FC1B for ; Sat, 7 Aug 2010 12:23:08 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=KdKog-BfXvEA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=cRPEV4IHqizLVOQ0tKgA:9 a=k4iuD_LI7KXunyNCp_YA:7 a=aYreNUGe1JxeLam62eX3EPCt1jEA:4 a=wPNLvfGTeEIA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1214232842; Sat, 07 Aug 2010 14:23:06 +0200 From: Hans Petter Selasky To: beni brinckman Date: Sat, 7 Aug 2010 14:19:44 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201008061517.59917.beni@brinckman.info> <201008071023.11660.hselasky@c2i.net> <201008071400.22995.beni@brinckman.info> In-Reply-To: <201008071400.22995.beni@brinckman.info> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008071419.44931.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: webcamd and webcams under 8.1-rel 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, 07 Aug 2010 12:23:09 -0000 On Saturday 07 August 2010 14:00:22 beni brinckman wrote: > On Saturday 07 August 2010 10:23:11 Hans Petter Selasky wrote: > > On Friday 06 August 2010 16:00:28 beni brinckman wrote: > > > On Friday 06 August 2010 15:45:41 Hans Petter Selasky wrote: > > > > On Friday 06 August 2010 15:47:41 beni brinckman wrote: > > > > > pwcview is installed. > > > > > This is the result with the V-uap cam : > > > > > > > > > > [beni@bsdaddict] /usr/home/beni# pwcview > > > > > Webcam set to: 320x240 (sif) at 5 fps > > > > > Failed to create yuvoverlay: Can't use YUV data on non 16/24/32 bit > > > > > surfaces > > > > > > > > Try to chown /dev/videoX instead of running pwcview like root. > > > > > > > > --HPS > > > > > > Changed the owner of /dev/video0. Now I'm getting this (as normal > > > user): > > > > > > [beni@bsdaddict /usr/home/beni]$ pwcview > > > Webcam set to: 320x240 (sif) at 5 fps > > > Warning short read, got only 3066 of 115200 bytes > > > Warning short read, got only 25550 of 115200 bytes > > > Warning short read, got only 25550 of 115200 bytes > > > Warning short read, got only 25550 of 115200 bytes > > > Warning short read, got only 25550 of 115200 bytes > > > Warning short read, got only 25550 of 115200 bytes > > > Warning short read, got only 25550 of 115200 bytes > > > > > > And this message goes on and on. I get a new pwcview window on the > > > desktop with a billiard green color but still no image. > > > But it is already more than before ! > > > > > > With the Creative webcam5 still nothing. So I guess i will have to > > > abandon that one and stick with the Logitech. > > > > Try installing a newer version of libv4l. Or try a different mode: > > > > pwcview -s vga > > > > --HPS > > This is what I get with pwcview -s vga : > > [beni@bsdaddict /usr/home/beni]$ pwcview -s vga > Webcam set to: 640x480 (vga) at 5 fps > Warning short read, got only 30660 of 460800 bytes > Warning short read, got only 29638 of 460800 bytes > Warning short read, got only 30660 of 460800 bytes > Warning short read, got only 30660 of 460800 bytes > Warning short read, got only 30660 of 460800 bytes > Warning short read, got only 30660 of 460800 bytes > Warning short read, got only 29638 of 460800 bytes > Warning short read, got only 29638 of 460800 bytes > Warning short read, got only 30660 of 460800 bytes > Warning short read, got only 29638 of 460800 bytes > Warning short read, got only 30660 of 460800 bytes > Warning short read, got only 29638 of 460800 bytes > Warning short read, got only 29638 of 460800 bytes > > This warning goes on and on and my pwcview window stays green. > I'm using libv4l-0.6.4 now. If you boot an ubuntu live-cd does your webcam work then? --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Aug 7 13:23:06 2010 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 028C1106566B for ; Sat, 7 Aug 2010 13:23:06 +0000 (UTC) (envelope-from beni.brinckman@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id A565A8FC12 for ; Sat, 7 Aug 2010 13:23:05 +0000 (UTC) Received: by mail-qy0-f175.google.com with SMTP id 11so644316qyk.13 for ; Sat, 07 Aug 2010 06:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=vJ683Jdl/Zwb3oSwIaIjSzDyJ7BQ5F6RMXc3xzcDPuk=; b=efKn2LpvEGNpNJHC46s7b3cXK5xZ2Set4DtieL4eLGC6KWdhiVat/Q8nMpquSynWop TZu0UaDWSlZ/e0rYmovAYbiEiItiY9l7zFaPNHbH4cuBEmwyXpFKHEZnX7DmYIf+SJmZ s7LYTU6ciRxl2YIXWwsNKl1dpYaQzr3bikq0g= 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=viSFL6s6XV9AIx5kUR+YpCxjWdu36s3bQe1jRNAFtJ2Dnwn8uzdCJ6GAiWIWo4vYJB yF1AWiLBHsgIdrANiM0X43AKsFxCgolrnbdDVWgzLMrwpyxkcFrXRFzl/UfBuQyrPdoB K74n7SNnvsYfD8PVjNka/FP5MuNoiUes8Lt7w= MIME-Version: 1.0 Received: by 10.224.19.129 with SMTP id a1mr7027652qab.12.1281186079493; Sat, 07 Aug 2010 06:01:19 -0700 (PDT) Received: by 10.229.241.200 with HTTP; Sat, 7 Aug 2010 06:01:19 -0700 (PDT) In-Reply-To: <201008071419.44931.hselasky@c2i.net> References: <201008061517.59917.beni@brinckman.info> <201008071023.11660.hselasky@c2i.net> <201008071400.22995.beni@brinckman.info> <201008071419.44931.hselasky@c2i.net> Date: Sat, 7 Aug 2010 15:01:19 +0200 Message-ID: From: Beni Brinckman To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org, beni brinckman Subject: Re: webcamd and webcams under 8.1-rel 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, 07 Aug 2010 13:23:06 -0000 2010/8/7 Hans Petter Selasky > On Saturday 07 August 2010 14:00:22 beni brinckman wrote: > > On Saturday 07 August 2010 10:23:11 Hans Petter Selasky wrote: > > > On Friday 06 August 2010 16:00:28 beni brinckman wrote: > > > > On Friday 06 August 2010 15:45:41 Hans Petter Selasky wrote: > > > > > On Friday 06 August 2010 15:47:41 beni brinckman wrote: > > > > > > pwcview is installed. > > > > > > This is the result with the V-uap cam : > > > > > > > > > > > > [beni@bsdaddict] /usr/home/beni# pwcview > > > > > > Webcam set to: 320x240 (sif) at 5 fps > > > > > > Failed to create yuvoverlay: Can't use YUV data on non 16/24/32 > bit > > > > > > surfaces > > > > > > > > > > Try to chown /dev/videoX instead of running pwcview like root. > > > > > > > > > > --HPS > > > > > > > > Changed the owner of /dev/video0. Now I'm getting this (as normal > > > > user): > > > > > > > > [beni@bsdaddict /usr/home/beni]$ pwcview > > > > Webcam set to: 320x240 (sif) at 5 fps > > > > Warning short read, got only 3066 of 115200 bytes > > > > Warning short read, got only 25550 of 115200 bytes > > > > Warning short read, got only 25550 of 115200 bytes > > > > Warning short read, got only 25550 of 115200 bytes > > > > Warning short read, got only 25550 of 115200 bytes > > > > Warning short read, got only 25550 of 115200 bytes > > > > Warning short read, got only 25550 of 115200 bytes > > > > > > > > And this message goes on and on. I get a new pwcview window on the > > > > desktop with a billiard green color but still no image. > > > > But it is already more than before ! > > > > > > > > With the Creative webcam5 still nothing. So I guess i will have to > > > > abandon that one and stick with the Logitech. > > > > > > Try installing a newer version of libv4l. Or try a different mode: > > > > > > pwcview -s vga > > > > > > --HPS > > > > This is what I get with pwcview -s vga : > > > > [beni@bsdaddict /usr/home/beni]$ pwcview -s vga > > Webcam set to: 640x480 (vga) at 5 fps > > Warning short read, got only 30660 of 460800 bytes > > Warning short read, got only 29638 of 460800 bytes > > Warning short read, got only 30660 of 460800 bytes > > Warning short read, got only 30660 of 460800 bytes > > Warning short read, got only 30660 of 460800 bytes > > Warning short read, got only 30660 of 460800 bytes > > Warning short read, got only 29638 of 460800 bytes > > Warning short read, got only 29638 of 460800 bytes > > Warning short read, got only 30660 of 460800 bytes > > Warning short read, got only 29638 of 460800 bytes > > Warning short read, got only 30660 of 460800 bytes > > Warning short read, got only 29638 of 460800 bytes > > Warning short read, got only 29638 of 460800 bytes > > > > This warning goes on and on and my pwcview window stays green. > > I'm using libv4l-0.6.4 now. > > If you boot an ubuntu live-cd does your webcam work then? > > --HPS > Under Ubuntu 10.04 are these the last lines from dmesg when I plug the Creative webcam in : [ 241.428030] usb 4-1: new full speed USB device using uhci_hcd and address 2 [ 241.685142] usb 4-1: configuration #1 chosen from 1 choice [ 241.700782] pwc: Philips webcam module version 10.0.13 loaded. [ 241.700790] pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840. [ 241.700794] pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30, [ 241.700798] pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100. [ 241.700859] pwc: Creative Labs Webcam 5 detected. [ 242.038082] pwc: Registered as /dev/video2. [ 242.039997] input: PWC snapshot button as /devices/pci0000:00/0000:00:1d.2/usb4/4-1/input/input7 [ 242.040086] usbcore: registered new interface driver Philips webcam bsdaddict@bsdaddict-desktop:~$ But here with Ubuntu, the Logitech cam does not seem to work. Unplugging and re-plugging shows this in dmesg : [ 684.648065] usb 5-1: USB disconnect, address 2 [ 684.648286] gspca: disconnect complete [ 689.485026] usb 5-1: new full speed USB device using uhci_hcd and address 3 [ 689.682151] usb 5-1: configuration #1 chosen from 1 choice [ 689.685151] gspca: probing 046d:092f [ 689.744119] gspca: probe ok bsdaddict@bsdaddict-desktop:~$ In Ekiga in de Video Devices (when both cams are plugged in), I can choose out of : Camera (PTLIB/V4L), Unknown/Generic (PTLIB/V4L) and Unknown/generic (2) (PTLIB/V4L). But in Ekiga I have no camera image. In Skype 2.1.0.81 the Creative Webcam 5 works as /dev/video2. When I click on the Test button I get an image. Beni From owner-freebsd-usb@FreeBSD.ORG Sat Aug 7 13:35:28 2010 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 36C50106566C for ; Sat, 7 Aug 2010 13:35:28 +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 B38368FC20 for ; Sat, 7 Aug 2010 13:35:27 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=SLL6iUR4mT0wNXVHW9RxQHy4+MdEWXaI2PxhqtT+/BA= c=1 sm=1 a=KdKog-BfXvEA:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=OWoK3IW8bMO3FJEUUQkA:9 a=uPLJlvSYsmO2nAKx7VQA:7 a=k70ZDBDM61anNS7qcpi5mAPqXUoA:4 a=PUjeQqilurYA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 4738344; Sat, 07 Aug 2010 15:35:05 +0200 From: Hans Petter Selasky To: Beni Brinckman Date: Sat, 7 Aug 2010 15:32:04 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201008061517.59917.beni@brinckman.info> <201008071419.44931.hselasky@c2i.net> In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201008071532.04167.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org, beni brinckman Subject: Re: webcamd and webcams under 8.1-rel 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, 07 Aug 2010 13:35:28 -0000 On Saturday 07 August 2010 15:01:19 Beni Brinckman wrote: > But in Ekiga I have no camera image. This might be because of the format your webcam is using. You could try re- installing VLC from /usr/ports, which now builds with V4L support by default, and open it up there. Compare with Ubuntu again. If it doesn't work on Ubuntu, then it is not very likely to work with webcamd. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Aug 7 18:08:56 2010 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 223E91065675 for ; Sat, 7 Aug 2010 18:08:56 +0000 (UTC) (envelope-from a3coligny@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id A301E8FC0C for ; Sat, 7 Aug 2010 18:08:55 +0000 (UTC) Received: by ywf9 with SMTP id 9so3909359ywf.13 for ; Sat, 07 Aug 2010 11:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:message-id:date :content-type:x-mailer:from:references:x-fid:x-priority:to:subject; bh=1sXot6zvv0cjOtoxiPYztSlznXpGTbikCaomsTvIoQ4=; b=mj1IQmqAUI+nsno5iI1/s5vsFDuqwC4afMy6k7U+mScCIi6d0vd2JRp95Kwk/rksmk 7VQEEzOb8CFub1TLlgMg3jYmJA3fBRK5c7njzzoEXK1lwuFSFJAayzLBshSX7dXvwDCu xwiXYoqdmLZuq75HOUoYJ1sxmF7m0krZ8oDhs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:message-id:date:content-type:x-mailer:from:references :x-fid:x-priority:to:subject; b=GC0mDCeQ0Gnx7X5Asx+sxwJQ0z110DcNcfhYK44VjczoFKH7THrytcVQODlnXMR+hu 3lgImomW6q+wpnVHMLO2MF5bja+8SntdoKncw77UpCMbsLrm+LC8l/3tGs0hf/JeKPNE /zLAmNrYhxoqXGY0EaVgn+v6EzAb/CyEhTV00= Received: by 10.150.14.8 with SMTP id 8mr15775881ybn.60.1281204534834; Sat, 07 Aug 2010 11:08:54 -0700 (PDT) Received: from A3 (m1.snowballeffect.net [196.36.8.74]) by mx.google.com with ESMTPS id q17sm2840107ybk.17.2010.08.07.11.08.46 (version=SSLv3 cipher=RC4-MD5); Sat, 07 Aug 2010 11:08:52 -0700 (PDT) MIME-Version: 1.0 Message-Id: <4C5DA12B.000003.03240@A3> Date: Sat, 7 Aug 2010 20:08:43 +0200 Content-Type: Multipart/related; charset="shift_jis"; type="multipart/alternative"; boundary="------------Boundary-00=_JQNSG6G0000000000000" X-Mailer: IncrediMail (6144668) From: "Adrie" References: <4C5BCA47.000007.01304@A3> X-FID: FLAVOR00-NONE-0000-0000-000000000000 X-Priority: 3 To: X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Fw: Re: USB modem driver needed 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, 07 Aug 2010 18:08:56 -0000 --------------Boundary-00=_JQNSG6G0000000000000 Content-Type: Text/Plain; charset="shift_jis" Content-Transfer-Encoding: quoted-printable Hi,=0D More info for getting this device running under Ubuntu from a forum:=0D =0D =0D =0D How I got Neotel running on Ubuntu 9.04...=0D Decided to install Jaunty as my Hardy was very messy. I've been running Linux since Breezy but still regard myself as a noobie.=0D After much trial and tribulation, and many failed attempts on Hardy, I finally got my Neotel Prime running, first time round on Jaunty.=0D Following is a step-by-step process which I take NO CREDIT for!=0D I am merely posting this in an attempt to make the process a bit easier t= o understand and follow for all Linux(Ubuntu) users out there wishing to us= e Neotel.=0D This was done on a fresh installation of Ubuntu 9.04 Jaunty Jackalope.=0D It helps having an Internet connection for the first step of the process.= =2E. Otherwise packages can be downloaded seperately and Google will provide details on unpacking and installing.=0D Step 1)=0D First download the necessary packages we need.=0D Open System>Administration>Synaptic Package Manager=0D Find and install:=0D Code:=0D 1) wvdial=0D 2) Linux-source=0D If the above are not listed, open terminal, use the code(s):=0D Code:=0D 1) $ sudo apt-get install wvdial=0D 2) $ sudo apt-get install Linux-source=0D Step 2) =0D Open a terminal and type: =0D Code:=0D $ sudo -s=0D $ cd /usr/src=0D $ tar xjvf Linux-source-2.6.28.tar.bz2=0D $ gedit /usr/src/Linux-source-2.6.28/drivers/USB/serial/option.c=0D "Now look for static struct USB_device_id option_ids[] about line 300 and add the following just above it:"=0D Code:=0D // +++ chrisb=0D #define NEOTEL_DEVICE_VENDOR_ID 0x1d09=0D #define NEOTEL_DEVICE_PRODUCT_ID 0x4000=0D // +++=0D "and then in the struct add:" (the line in BOLD)=0D Code:=0D Static struct USB_device_id option_ids[] =3D {=0D { USB_DEVICE(NEOTEL_DEVICE_VENDOR_ID, NEOTEL_DEVICE_PRODUCT_ID) },=0D { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },=0D { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) },=0D Save and close gedit.=0D "To compile:"=0D Code:=0D $ cd /usr/src/Linux-source-2.6.28/drivers/USB/serial/=0D $ make -C /lib/modules/`uname -r`/build M=3D`pwd`=0D If successful you should see a long list without errors resembling the following:=0D Code:=0D Make: Entering directory `/usr/src/Linux-headers-2.6.24-21-generic'=0D LD /usr/src/Linux-source-2.6.24/drivers/USB/serial/built-in.o=0D CC [M] /usr/src/Linux-source-2.6.24/drivers/USB/serial/USB-serial.o=0D CC [M] /usr/src/Linux-source-2.6.24/drivers/USB/serial/generic.o=0D CC [M] /usr/src/Linux-source-2.6.24/drivers/USB/serial/bus.o=0D =2E...=0D Make: Leaving directory `/usr/src/Linux-headers-2.6.24-21-generic'=0D "Backup the old drivers"=0D Code:=0D $ mv /lib/modules/2.6.28-11-generic/kernel/drivers/USB/serial/option.ko /lib/modules/2.6.28-11-generic/kernel/drivers/USB/serial/option.ko.backup= =0D "Now add new drivers (compiled):"=0D Code:=0D $ cp /usr/src/Linux-source-2.6.28/drivers/USB/serial/option.ko /lib/modules/2.6.28-11-generic/kernel/drivers/USB/serial/option.ko=0D "You also need to load the new option:"=0D Code:=0D $ gedit /etc/modules=0D "And just add to the end of the file:"=0D Code:=0D Option=0D Reboot your computer, open a terminal again and type:=0D Code:=0D $ lsusb=0D Which should produce, among others:=0D Code:=0D Bus 002 Device 002: ID 1d09:4000 TechFaith Wireless Technology Limited=0D Step 3) =0D Open a terminal and type:=0D Code:=0D $ sudo -s=0D And then:=0D Code:=0D $ wvdialconf=0D Which should produce something similar to:=0D Code:=0D Editing `/etc/wvdial.conf'.=0D Scanning your serial ports for a modem.=0D ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud=0D ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud=0D ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.=0D Modem Port Scan<*1>: S1 S2 S3 =0D WvModem<*1>: Cannot get information for serial port.=0D ttyUSB0<*1>: ATQ0 V1 E1 -- OK=0D ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK=0D ttyUSB0<*1>: ATQ0 V1 E1 S0=3D0 -- OK=0D ttyUSB0<*1>: ATQ0 V1 E1 S0=3D0 &C1 -- OK=0D ttyUSB0<*1>: ATQ0 V1 E1 S0=3D0 &C1 &D2 -- OK=0D ttyUSB0<*1>: ATQ0 V1 E1 S0=3D0 &C1 &D2 +FCLASS=3D0 -- OK=0D ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: QUALCOMM INCORPORATED= =0D ttyUSB0<*1>: Speed 9600: AT -- OK=0D ttyUSB0<*1>: Max speed is 9600; that should be safe.=0D ttyUSB0<*1>: ATQ0 V1 E1 S0=3D0 &C1 &D2 +FCLASS=3D0 -- OK=0D WvModem<*1>: Cannot get information for serial port.=0D ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud=0D ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud=0D ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.=0D Found a modem on /dev/ttyUSB0.=0D Modem configuration written to /etc/wvdial.conf.=0D ttyUSB0: Speed 9600; init "ATQ0 V1 E1 S0=3D0 &C1 &D2 +FCLASS=3D0"=0D Now run:=0D $ gedit /etc/wvdial.conf=0D Copy and paste the following and change your username and password:=0D Code:=0D [Dialer Defaults]=0D Init1 =3D ATZ=0D Init2 =3D ATQ0 V1 E1 S0=3D0 &C1 &D2 +FCLASS=3D0=0D Modem Type =3D USB Modem=0D Baud =3D 9600=0D New PPPD =3D yes=0D Modem =3D /dev/ttyUSB0=0D ISDN =3D 0=0D Stupid Mode =3D 1=0D Phone =3D #777=0D Modem =3D /dev/ttyUSB0=0D Username =3D 1234567890@neotel.co.za=0D Dial Command =3D ATDT=0D Password =3D 1234=0D Baud =3D 460800=0D PPPD Options =3D crtcts multilink usepeerdns lock defaultroute=0D [Dialer neotel]=0D Init1 =3D ATZ=0D Init2 =3D ATQ0 V1 E1 S0=3D0 &C1 &D2 +FCLASS=3D0=0D Baud =3D 460800=0D Stupid Mode =3D 1=0D Modem =3D /dev/ttyUSB0=0D Modem Type =3D USB Modem=0D Dial Command =3D ATDT=0D PPPD Options =3D crtcts multilink usepeerdns lock defaultroute=0D Save and close gedit=0D Step 4)=0D In the terminal, as any user, type: =0D $ wvdial=0D Which, if successful, should result in:=0D --> WvDial: Internet dialer version 1.60 =0D --> Cannot get information for serial port.=0D --> Initializing modem. =0D --> Sending: ATZ ATZ OK =0D --> Sending: ATQ0 V1 E1 S0=3D0 &C1 &D2 +FCLASS=3D0 ATQ0 V1 E1 S0=3D0 &C1 = &D2 +FCLASS=3D0 OK =0D --> Modem initialized. --> Sending: ATDT#777 =0D --> Waiting for carrier. ATDT#777 CONNECT =0D --> Carrier detected. Starting PPP immediately. =0D --> Starting pppd at Thu May 14 22:59:46 2009 =0D --> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied =0D --> --> PAP (Password Authentication Protocol) may be flaky. =0D --> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied =0D --> --> CHAP (Challenge Handshake) may be flaky. =0D --> Pid of pppd: 4541 =0D --> Using interface ppp0 =0D --> pppd: 0 [1c][08]P [1c][08] =0D --> pppd: 0 [1c][08]P [1c][08] =0D --> pppd: 0 [1c][08]P [1c][08] =0D --> pppd: 0 [1c][08]P [1c][08] =0D --> pppd: 0 [1c][08]P [1c][08] =0D --> local IP address 41.174.2.250 =0D --> pppd: 0 [1c][08]P [1c][08] =0D --> remote IP address 2.2.2.2 =0D --> pppd: 0 [1c][08]P [1c][08] =0D --> primary DNS address 41.160.0.36 =0D --> pppd: 0 [1c][08]P [1c][08] =0D --> secondary DNS address 41.160.0.37 =0D --> pppd: 0 [1c][08]P [1c][08]=0D and a fully working internet connection!!!!! :D=0D =81@=0D to disconnect, in the terminal that is running wvdial, hold ctrl-c=0D For a graphical way of dialing...=0D Install Gnome-PPP, it uses wvdial as it's backend and works perfectly. =0D =81@=0D NEOTEL:=0D Instructions for Use:=0D Steps are as follows (with sample explanation to follow):=0D * modprobe the usbserial driver directly for the device=0D * ppp dialer config=0D How to do it:=0D Plug in your modem, and then use the 'lsusb' command.=0D Code=0D user@linux:~$> lsusb=0D Bus 002 Device 002: ID 1d09:4000=0D Bus 002 Device 001: ID 0000:0000=0D Bus 001 Device 001: ID 0000:0000 =0D Here we get the USB vendor and product ID's (the first one, in this case)= =2E=0D Now we load the 'usbserial' driver specifically for this device:=0D Code=0D user@linux:~$> sudo modprobe usbserial vendor=3D0x1d09 product=3D0x4000=0D As you can see, we use the first segment of the ID number as the vendor, = =0D and the second segment as the product ID, both with 0x prepended.=0D Now, we check /dev to see that the devices are there:=0D Code:=0D user@linux:~$>ls /dev/ttyU*=0D /dev/ttyUSB0 /dev/ttyUSB1=0D Next step is to configure the ppp connection. =0D Since this example is done on an Ubuntu installation, we can use the Debi= an pppconfig utility=0D Code:=0D user@linux:~$> sudo pppconfig=0D In this utility, you enter the your username, password and the telephone number as needed, and then save the connection. =0D Be sure to pick a descriptive name, as it is what you will be using to di= al it up. Exit, and then we're ready to dial.=0D Dialing on Ubuntu:=0D Code:=0D user@linux:~$> sudo pon neotel=0D Where "neotel" is the connection name you picked in setup.=0D And that's it. At this point if nothing went wrong, you'll have a fully working ppp0 connection up.=0D Code:=0D ifconfig | grep ppp0=0D =0D =20 --------------Boundary-00=_JQNSG6G0000000000000-- From owner-freebsd-usb@FreeBSD.ORG Sat Aug 7 19:47:26 2010 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 24985106566B; Sat, 7 Aug 2010 19:47:26 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 177518FC20; Sat, 7 Aug 2010 19:47:24 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=AloUlVQQLuutPgH7MSFGD/V8MYI3aUCj623mET0KTys= c=1 sm=1 a=RNuux4yrUmIA:10 a=kj9zAlcOel0A:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=RwUky6g2H-i7pbPcAiQA:9 a=inY1KdxnDVBgk11NvRQA:7 a=tjeHdgyKuMZ54x2bjGU0jKzOzaIA:4 a=CjuIK1q_8ugA:10 a=fgf5PR_cwQYA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 4609153; Sat, 07 Aug 2010 21:46:57 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org, freebsd-arm@freebsd.org, Andrew Thompson Date: Sat, 7 Aug 2010 21:43:59 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201008072144.00002.hselasky@c2i.net> Cc: Subject: [BETA testing] USB 3.0 Super Speed support in FreeBSD 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, 07 Aug 2010 19:47:26 -0000 Hi, During the last two weeks I've been working hard to get USB 3.0 support added to the FreeBSD 8+ USB stack. There are a couple of issues left, but right now the code is in a state were enumeration of USB devices is possible and there are no dirty hacks :-) The XHCI chip, which is the PCI interface for USB 3.0, is a replacement for OHCI/UHCI/EHCI and can also drive USB Super Speed (4.8 Gbps). I expect there to be a througput and performance increase when switching over to the XHCI interface also for 2.0 compatible devices, because it has a better data queuing mechanism. Currently all code has been committed to the USB P4 project at FreeBSD.org. You need to copy all files under sys/dev/usb + sys/modules/usb/xhci into 8- stable for example, and then build a new kernel. You need to manually to cd into sys/modules/usb/xhci and type make all install after you built the kernel. Reference: http://p4db.freebsd.org/changeList.cgi?FSPC=%2F%2Fdepot%2Fprojects%2Fusb%2Fsrc%2F...&USERS=hselasky&ignore=GO! Comments are welcome! --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Aug 7 19:50:00 2010 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 C88E5106564A for ; Sat, 7 Aug 2010 19:50:00 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.tele2.se [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id B992A8FC18 for ; Sat, 7 Aug 2010 19:49:59 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=mo_Lc_VjFegA:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=MsiTmR_cXBIC6WRYNmIA:9 a=K3z6YRFe9MkwcGaxPWUA:7 a=JgrfCVr-vGEHNhQqCPi-7zqiCt4A:4 a=PUjeQqilurYA:10 a=I_Rn52zq8KD53u4I:21 a=10nRvvSgSX974x-I:21 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1248451128; Sat, 07 Aug 2010 21:49:58 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Fredrik Lindberg Date: Sat, 7 Aug 2010 21:46:35 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <4C5BCA47.000007.01304@A3> <4C5DA12B.000003.03240@A3> In-Reply-To: <4C5DA12B.000003.03240@A3> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Message-Id: <201008072146.35213.hselasky@c2i.net> Cc: Adrie Subject: Re: Fw: Re: USB modem driver needed 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, 07 Aug 2010 19:50:01 -0000 On Saturday 07 August 2010 20:08:43 Adrie wrote: > Hi, > More info for getting this device running under Ubuntu from a forum: I think the driver is called uhso.c, see /sys/dev/usb/net/uhso.c . Maybe th= ere=20 is a missing VID+PID in the table there if it does not get detected under=20 =46reeBSD 8+. =2D-HPS >=20 >=20 >=20 > How I got Neotel running on Ubuntu 9.04... > Decided to install Jaunty as my Hardy was very messy. I've been running > Linux since Breezy but still regard myself as a noobie. > After much trial and tribulation, and many failed attempts on Hardy, I > finally got my Neotel Prime running, first time round on Jaunty. > Following is a step-by-step process which I take NO CREDIT for! > I am merely posting this in an attempt to make the process a bit easier to > understand and follow for all Linux(Ubuntu) users out there wishing to use > Neotel. > This was done on a fresh installation of Ubuntu 9.04 Jaunty Jackalope. > It helps having an Internet connection for the first step of the process.= =2E. > Otherwise packages can be downloaded seperately and Google will provide > details on unpacking and installing. > Step 1) > First download the necessary packages we need. > Open System>Administration>Synaptic Package Manager > Find and install: > Code: > 1) wvdial > 2) Linux-source > If the above are not listed, open terminal, use the code(s): > Code: > 1) $ sudo apt-get install wvdial > 2) $ sudo apt-get install Linux-source > Step 2) > Open a terminal and type: > Code: > $ sudo -s > $ cd /usr/src > $ tar xjvf Linux-source-2.6.28.tar.bz2 > $ gedit /usr/src/Linux-source-2.6.28/drivers/USB/serial/option.c > "Now look for static struct USB_device_id option_ids[] about line 300 and > add the following just above it:" > Code: > // +++ chrisb > #define NEOTEL_DEVICE_VENDOR_ID 0x1d09 > #define NEOTEL_DEVICE_PRODUCT_ID 0x4000 > // +++ > "and then in the struct add:" (the line in BOLD) > Code: > Static struct USB_device_id option_ids[] =3D { > { USB_DEVICE(NEOTEL_DEVICE_VENDOR_ID, NEOTEL_DEVICE_PRODUCT_ID) }, > { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) }, > { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) }, > Save and close gedit. > "To compile:" > Code: > $ cd /usr/src/Linux-source-2.6.28/drivers/USB/serial/ > $ make -C /lib/modules/`uname -r`/build M=3D`pwd` > If successful you should see a long list without errors resembling the > following: > Code: > Make: Entering directory `/usr/src/Linux-headers-2.6.24-21-generic' > LD /usr/src/Linux-source-2.6.24/drivers/USB/serial/built-in.o > CC [M] /usr/src/Linux-source-2.6.24/drivers/USB/serial/USB-serial.o > CC [M] /usr/src/Linux-source-2.6.24/drivers/USB/serial/generic.o > CC [M] /usr/src/Linux-source-2.6.24/drivers/USB/serial/bus.o > .... > Make: Leaving directory `/usr/src/Linux-headers-2.6.24-21-generic' > "Backup the old drivers" > Code: > $ mv /lib/modules/2.6.28-11-generic/kernel/drivers/USB/serial/option.ko > /lib/modules/2.6.28-11-generic/kernel/drivers/USB/serial/option.ko.backup > "Now add new drivers (compiled):" > Code: > $ cp /usr/src/Linux-source-2.6.28/drivers/USB/serial/option.ko > /lib/modules/2.6.28-11-generic/kernel/drivers/USB/serial/option.ko > "You also need to load the new option:" > Code: > $ gedit /etc/modules > "And just add to the end of the file:" > Code: > Option > Reboot your computer, open a terminal again and type: > Code: > $ lsusb > Which should produce, among others: > Code: > Bus 002 Device 002: ID 1d09:4000 TechFaith Wireless Technology Limited > Step 3) > Open a terminal and type: > Code: > $ sudo -s > And then: > Code: > $ wvdialconf > Which should produce something similar to: > Code: > Editing `/etc/wvdial.conf'. > Scanning your serial ports for a modem. > ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud > ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud > ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. > Modem Port Scan<*1>: S1 S2 S3 > WvModem<*1>: Cannot get information for serial port. > ttyUSB0<*1>: ATQ0 V1 E1 -- OK > ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK > ttyUSB0<*1>: ATQ0 V1 E1 S0=3D0 -- OK > ttyUSB0<*1>: ATQ0 V1 E1 S0=3D0 &C1 -- OK > ttyUSB0<*1>: ATQ0 V1 E1 S0=3D0 &C1 &D2 -- OK > ttyUSB0<*1>: ATQ0 V1 E1 S0=3D0 &C1 &D2 +FCLASS=3D0 -- OK > ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: QUALCOMM INCORPORATED > ttyUSB0<*1>: Speed 9600: AT -- OK > ttyUSB0<*1>: Max speed is 9600; that should be safe. > ttyUSB0<*1>: ATQ0 V1 E1 S0=3D0 &C1 &D2 +FCLASS=3D0 -- OK > WvModem<*1>: Cannot get information for serial port. > ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud > ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud > ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. > Found a modem on /dev/ttyUSB0. > Modem configuration written to /etc/wvdial.conf. > ttyUSB0: Speed 9600; init "ATQ0 V1 E1 S0=3D0 &C1 &D2 +FCLASS=3D0" > Now run: > $ gedit /etc/wvdial.conf > Copy and paste the following and change your username and password: > Code: > [Dialer Defaults] > Init1 =3D ATZ > Init2 =3D ATQ0 V1 E1 S0=3D0 &C1 &D2 +FCLASS=3D0 > Modem Type =3D USB Modem > Baud =3D 9600 > New PPPD =3D yes > Modem =3D /dev/ttyUSB0 > ISDN =3D 0 > Stupid Mode =3D 1 > Phone =3D #777 > Modem =3D /dev/ttyUSB0 > Username =3D 1234567890@neotel.co.za > Dial Command =3D ATDT > Password =3D 1234 > Baud =3D 460800 > PPPD Options =3D crtcts multilink usepeerdns lock defaultroute > [Dialer neotel] > Init1 =3D ATZ > Init2 =3D ATQ0 V1 E1 S0=3D0 &C1 &D2 +FCLASS=3D0 > Baud =3D 460800 > Stupid Mode =3D 1 > Modem =3D /dev/ttyUSB0 > Modem Type =3D USB Modem > Dial Command =3D ATDT > PPPD Options =3D crtcts multilink usepeerdns lock defaultroute > Save and close gedit > Step 4) > In the terminal, as any user, type: > $ wvdial > Which, if successful, should result in: > --> WvDial: Internet dialer version 1.60 > --> Cannot get information for serial port. > --> Initializing modem. > --> Sending: ATZ ATZ OK > --> Sending: ATQ0 V1 E1 S0=3D0 &C1 &D2 +FCLASS=3D0 ATQ0 V1 E1 S0=3D0 &C1 = &D2 > +FCLASS=3D0 OK > --> Modem initialized. --> Sending: ATDT#777 > --> Waiting for carrier. ATDT#777 CONNECT > --> Carrier detected. Starting PPP immediately. > --> Starting pppd at Thu May 14 22:59:46 2009 > --> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied > --> --> PAP (Password Authentication Protocol) may be flaky. > --> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied > --> --> CHAP (Challenge Handshake) may be flaky. > --> Pid of pppd: 4541 > --> Using interface ppp0 > --> pppd: 0 [1c][08]P [1c][08] > --> pppd: 0 [1c][08]P [1c][08] > --> pppd: 0 [1c][08]P [1c][08] > --> pppd: 0 [1c][08]P [1c][08] > --> pppd: 0 [1c][08]P [1c][08] > --> local IP address 41.174.2.250 > --> pppd: 0 [1c][08]P [1c][08] > --> remote IP address 2.2.2.2 > --> pppd: 0 [1c][08]P [1c][08] > --> primary DNS address 41.160.0.36 > --> pppd: 0 [1c][08]P [1c][08] > --> secondary DNS address 41.160.0.37 > --> pppd: 0 [1c][08]P [1c][08] > and a fully working internet connection!!!!! :D > =81@ > to disconnect, in the terminal that is running wvdial, hold ctrl-c > For a graphical way of dialing... > Install Gnome-PPP, it uses wvdial as it's backend and works perfectly. > =81@ > NEOTEL: > Instructions for Use: > Steps are as follows (with sample explanation to follow): > * modprobe the usbserial driver directly for the device > * ppp dialer config > How to do it: > Plug in your modem, and then use the 'lsusb' command. > Code > user@linux:~$> lsusb > Bus 002 Device 002: ID 1d09:4000 > Bus 002 Device 001: ID 0000:0000 > Bus 001 Device 001: ID 0000:0000 > Here we get the USB vendor and product ID's (the first one, in this case). > Now we load the 'usbserial' driver specifically for this device: > Code > user@linux:~$> sudo modprobe usbserial vendor=3D0x1d09 product=3D0x4000 > As you can see, we use the first segment of the ID number as the vendor, > and the second segment as the product ID, both with 0x prepended. > Now, we check /dev to see that the devices are there: > Code: > user@linux:~$>ls /dev/ttyU* > /dev/ttyUSB0 /dev/ttyUSB1 > Next step is to configure the ppp connection. > Since this example is done on an Ubuntu installation, we can use the Debi= an > pppconfig utility > Code: > user@linux:~$> sudo pppconfig > In this utility, you enter the your username, password and the telephone > number as needed, and then save the connection. > Be sure to pick a descriptive name, as it is what you will be using to di= al > it up. Exit, and then we're ready to dial. > Dialing on Ubuntu: > Code: > user@linux:~$> sudo pon neotel > Where "neotel" is the connection name you picked in setup. > And that's it. At this point if nothing went wrong, you'll have a fully > working ppp0 connection up. > Code: > ifconfig | grep ppp0 From owner-freebsd-usb@FreeBSD.ORG Sat Aug 7 20:26:07 2010 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 86A4F1065675 for ; Sat, 7 Aug 2010 20:26:07 +0000 (UTC) (envelope-from fli@shapeshifter.se) Received: from mx1.h3q.net (mx1.h3q.net [IPv6:2001:16d8:ffe5:1::f1]) by mx1.freebsd.org (Postfix) with ESMTP id 471BB8FC08 for ; Sat, 7 Aug 2010 20:26:06 +0000 (UTC) Received: from smtp-auth.h3q.net (smtp-auth.h3q.net [127.0.0.1]) (Authenticated sender: hidden) by mx1.h3q.net (Postfix) with ESMTPSA id D8B1E33D11 ; Sat, 7 Aug 2010 22:26:04 +0200 (CEST) Message-ID: <4C5DC15A.8030200@shapeshifter.se> Date: Sat, 07 Aug 2010 22:26:02 +0200 From: Fredrik Lindberg User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100427 Thunderbird/3.0.4 MIME-Version: 1.0 To: Hans Petter Selasky References: <4C5BCA47.000007.01304@A3> <4C5DA12B.000003.03240@A3> <201008072146.35213.hselasky@c2i.net> In-Reply-To: <201008072146.35213.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Adrie , freebsd-usb@freebsd.org Subject: Re: Fw: Re: USB modem driver needed 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, 07 Aug 2010 20:26:07 -0000 On 08/07/10 21:46, Hans Petter Selasky wrote: > On Saturday 07 August 2010 20:08:43 Adrie wrote: >> Hi, >> More info for getting this device running under Ubuntu from a forum: > > I think the driver is called uhso.c, see /sys/dev/usb/net/uhso.c . Maybe there > is a missing VID+PID in the table there if it does not get detected under > FreeBSD 8+. > I don't recognize the device name nor the IDs. If it's a standard plain serial modem for use with ppp then u3g is most likely the correct driver. Fredrik