From owner-freebsd-usb@FreeBSD.ORG Tue Jan 1 00:27:15 2008 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 45A7516A417; Tue, 1 Jan 2008 00:27:15 +0000 (UTC) (envelope-from arved@FreeBSD.org) Received: from mx.rise-world.com (fwswe.rise-s.com [83.65.168.194]) by mx1.freebsd.org (Postfix) with ESMTP id EEFF713C45D; Tue, 1 Jan 2008 00:27:14 +0000 (UTC) (envelope-from arved@FreeBSD.org) Received: from [192.168.1.28] (85-126-209-251.work.xdsl-line.inode.at [85.126.209.251]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.rise-world.com (Postfix) with ESMTP id ED65870201; Tue, 1 Jan 2008 00:55:30 +0100 (CET) In-Reply-To: <20071230132547.3i4xvitdwg88g8ck@webmail.leidinger.net> References: <200712212341.44308@aldan> <200712221313.lBMDDx5M036478@lava.sentex.ca> <200712260038.11546@aldan> <20071226.003547.-932932005.imp@bsdimp.com> <1198689316.1119.382.camel@Particle> <20071226180415.GA27409@soaustin.net> <20071230010119.2pb0qqvx4w8s8o00@webmail.leidinger.net> <20071230042602.GA32282@soaustin.net> <20071230132547.3i4xvitdwg88g8ck@webmail.leidinger.net> Mime-Version: 1.0 (Apple Message framework v753) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <950CB10D-EADB-440C-8B07-A056F2F4A67E@FreeBSD.org> Content-Transfer-Encoding: 7bit From: Tilman Linneweh Date: Tue, 1 Jan 2008 00:53:51 +0100 To: Alexander Leidinger X-Mailer: Apple Mail (2.753) Cc: stable@freebsd.org, freebsd-bugbusters@freebsd.org, freebsd-usb@freebsd.org Subject: Re: PR backlog [was: Re: usb/umass, devfs: this sucks] 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, 01 Jan 2008 00:27:15 -0000 >> It's sent out weekly. > > So only people which are on bugbusters@ receive it. If someone is > interested in this but is not interested in the other bugbusters@ > mails, they will not see it. Actually apart from this thread that weekly email is the only traffic on bugbusters@ From owner-freebsd-usb@FreeBSD.ORG Tue Jan 1 06:00:07 2008 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 4CF8116A4CB for ; Tue, 1 Jan 2008 06:00: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 46ACB13C4EE for ; Tue, 1 Jan 2008 06:00:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m01606dn030928 for ; Tue, 1 Jan 2008 06:00:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m01606a7030927; Tue, 1 Jan 2008 06:00:06 GMT (envelope-from gnats) Resent-Date: Tue, 1 Jan 2008 06:00:06 GMT Resent-Message-Id: <200801010600.m01606a7030927@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, tyxcmchz Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B1CA16A418 for ; Tue, 1 Jan 2008 05:58:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id E7D9D13C468 for ; Tue, 1 Jan 2008 05:58:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m015vJAE087507 for ; Tue, 1 Jan 2008 05:57:19 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m015vJj5087506; Tue, 1 Jan 2008 05:57:19 GMT (envelope-from nobody) Message-Id: <200801010557.m015vJj5087506@www.freebsd.org> Date: Tue, 1 Jan 2008 05:57:19 GMT From: tyxcmchz To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/119217: tyxcmchz 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, 01 Jan 2008 06:00:07 -0000 >Number: 119217 >Category: usb >Synopsis: tyxcmchz >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jan 01 06:00:05 UTC 2008 >Closed-Date: >Last-Modified: >Originator: tyxcmchz >Release: tyxcmchz >Organization: tyxcmchz >Environment: tyxcmchz >Description: uudioqmi http://mouomtbl.com minrekcc zkbhyoub >How-To-Repeat: tyxcmchz >Fix: tyxcmchz >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Jan 1 09:43:28 2008 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 73E4B16A417 for ; Tue, 1 Jan 2008 09:43:28 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id 57AEB13C4E3 for ; Tue, 1 Jan 2008 09:43:28 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id m019Couq088370 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 1 Jan 2008 01:12:50 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id m019CoIl088369 for freebsd-usb@freebsd.org; Tue, 1 Jan 2008 01:12:50 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA29242; Tue, 1 Jan 08 01:00:56 PST Date: Tue, 01 Jan 2008 00:59:22 -0800 From: perryh@pluto.rain.com To: freebsd-usb@freebsd.org Message-Id: <477a00ea.73gFojnRSqtUufCO%perryh@pluto.rain.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: ZyXEL Omni 56K Plus USB/serial modem 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, 01 Jan 2008 09:43:28 -0000 Has anyone tried, either successfully or not, to use a ZyXEL Omni 56K Plus modem with recent FreeBSD? It's listed in /usr/src/sys/dev/usb/usbdevs, and thus in usbdevs.h and usbdevs_data.h, but I found no other mentions of ZyXEL in the kernel source and none at all in the handbook. (The comments in /usr/src/sys/dev/usb/usbdevs point out that simply having an entry there does not mean that any driver will necessarily recognize the device.) I'd prefer to connect it via USB if that will work, but the modem also supports serial connection. From owner-freebsd-usb@FreeBSD.ORG Tue Jan 1 10:10:43 2008 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 D5F9916A420; Tue, 1 Jan 2008 10:10:43 +0000 (UTC) (envelope-from blackend@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AF9EB13C4E1; Tue, 1 Jan 2008 10:10:43 +0000 (UTC) (envelope-from blackend@FreeBSD.org) Received: from freefall.freebsd.org (blackend@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m01AAh46041553; Tue, 1 Jan 2008 10:10:43 GMT (envelope-from blackend@freefall.freebsd.org) Received: (from blackend@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m01AAhLZ041549; Tue, 1 Jan 2008 10:10:43 GMT (envelope-from blackend) Date: Tue, 1 Jan 2008 10:10:43 GMT Message-Id: <200801011010.m01AAhLZ041549@freefall.freebsd.org> To: cmobruny@omqvetge.com, blackend@FreeBSD.org, freebsd-usb@FreeBSD.org From: blackend@FreeBSD.org Cc: Subject: Re: usb/119217: tyxcmchz 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, 01 Jan 2008 10:10:43 -0000 Synopsis: tyxcmchz State-Changed-From-To: open->closed State-Changed-By: blackend State-Changed-When: Tue Jan 1 10:10:06 UTC 2008 State-Changed-Why: This is Spam not a PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=119217 From owner-freebsd-usb@FreeBSD.ORG Tue Jan 1 11:08:32 2008 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 466E516A417 for ; Tue, 1 Jan 2008 11:08:32 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.swipnet.se [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id CAA2413C4D1 for ; Tue, 1 Jan 2008 11:08:31 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [85.19.218.45] (account mc467741@c2i.net [85.19.218.45] verified) by mailfe11.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 582524022; Tue, 01 Jan 2008 11:08:27 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 1 Jan 2008 11:09:11 +0100 User-Agent: KMail/1.9.7 References: <477a00ea.73gFojnRSqtUufCO%perryh@pluto.rain.com> In-Reply-To: <477a00ea.73gFojnRSqtUufCO%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801011109.12871.hselasky@c2i.net> Cc: Subject: Re: ZyXEL Omni 56K Plus USB/serial modem 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, 01 Jan 2008 11:08:32 -0000 On Tuesday 01 January 2008, perryh@pluto.rain.com wrote: > Has anyone tried, either successfully or not, to > use a ZyXEL Omni 56K Plus modem with recent FreeBSD? > It's listed in /usr/src/sys/dev/usb/usbdevs, and > thus in usbdevs.h and usbdevs_data.h, but I found > no other mentions of ZyXEL in the kernel source > and none at all in the handbook. (The comments in > /usr/src/sys/dev/usb/usbdevs point out that simply > having an entry there does not mean that any driver > will necessarily recognize the device.) > > I'd prefer to connect it via USB if that will work, > but the modem also supports serial connection. > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" Hi, We need a dump of the USB descriptors to say for sure. See "/usr/ports/sysutils/udesc_dump" and "man ugen". If that is not possible you can try searching the Linux sources and see if they support your VID/PID . --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jan 1 13:30:01 2008 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 8651A16A419 for ; Tue, 1 Jan 2008 13:30:01 +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 673E913C478 for ; Tue, 1 Jan 2008 13:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m01DU1PC045335 for ; Tue, 1 Jan 2008 13:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m01DU1bG045334; Tue, 1 Jan 2008 13:30:01 GMT (envelope-from gnats) Resent-Date: Tue, 1 Jan 2008 13:30:01 GMT Resent-Message-Id: <200801011330.m01DU1bG045334@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, Jindrich Fucik Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A70D616A418 for ; Tue, 1 Jan 2008 13:21:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 8B12C13C442 for ; Tue, 1 Jan 2008 13:21:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m01DKa47036164 for ; Tue, 1 Jan 2008 13:20:36 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m01DKa2h036163; Tue, 1 Jan 2008 13:20:36 GMT (envelope-from nobody) Message-Id: <200801011320.m01DKa2h036163@www.freebsd.org> Date: Tue, 1 Jan 2008 13:20:36 GMT From: Jindrich Fucik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/119227: ubsa buffer 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, 01 Jan 2008 13:30:01 -0000 >Number: 119227 >Category: usb >Synopsis: ubsa buffer >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Jan 01 13:30:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Jindrich Fucik >Release: 6.2-RELEASE* >Organization: home user >Environment: 6.2-RELEASE* on i386 and amd64 >Description: For some modems using qualcomm MSM chipset (tested on AnyDATA ADU-E100) need bigger input and output buffer for enabling full speed (<256kbps) Following patch adding properties hw.usb.ubsa.ibufsize and hw.usb.ubsa.obufsize for tuning this buffers. >How-To-Repeat: >Fix: Patch attached with submission follows: --- ubsa.c.orig Tue Oct 16 11:04:46 2007 +++ ubsa.c Tue Oct 16 11:05:11 2007 @@ -25,7 +25,7 @@ */ #include -__FBSDID("$FreeBSD: src/sys/dev/usb/ubsa.c,v 1.17 2005/01/06 01:43:28 imp Exp $"); +__FBSDID("$FreeBSD: src/sys/dev/usb/ubsa.c,v 1.25 2007/06/09 06:39:43 imp Exp $"); /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. * All rights reserved. @@ -93,11 +93,9 @@ #include -#ifdef USB_DEBUG -Static int ubsadebug = 0; SYSCTL_NODE(_hw_usb, OID_AUTO, ubsa, CTLFLAG_RW, 0, "USB ubsa"); -SYSCTL_INT(_hw_usb_ubsa, OID_AUTO, debug, CTLFLAG_RW, - &ubsadebug, 0, "ubsa debug level"); + +#ifdef USB_DEBUG #define DPRINTFN(n, x) do { \ if (ubsadebug > (n)) \ @@ -106,6 +104,19 @@ #else #define DPRINTFN(n, x) #endif +Static int ubsadebug = 0; +SYSCTL_INT(_hw_usb_ubsa, OID_AUTO, debug, CTLFLAG_RW, + &ubsadebug, 0, "ubsa debug level"); +int ubsaibufsize = 4096; +int ubsaobufsize = 256; +TUNABLE_INT("hw.usb.ubsa.ibufsize", &ubsaibufsize); +TUNABLE_INT("hw.usb.ubsa.obufsize", &ubsaobufsize); +SYSCTL_INT(_hw_usb_ubsa, OID_AUTO, ibufsize, CTLFLAG_RD, + &ubsaibufsize, 0, "ubsa input packet length"); +SYSCTL_INT(_hw_usb_ubsa, OID_AUTO, obufsize, CTLFLAG_RD, + &ubsaobufsize, 0, "ubsa output packet length"); +#define UBSAIBUFSIZE (ubsaibufsize) +#define UBSAOBUFSIZE (ubsaobufsize) #define DPRINTF(x) DPRINTFN(0, x) #define UBSA_MODVER 1 /* module version */ @@ -214,6 +225,8 @@ uint16_t vendor; uint16_t product; } ubsa_products [] = { +/* AnyData ADU-E100A/H */ +{ USB_VENDOR_ANYDATA, USB_PRODUCT_ANYDATA_ADU_E100X }, /* BELKIN F5U103 */ { USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_F5U103 }, /* BELKIN F5U120 */ @@ -224,8 +237,16 @@ { USB_VENDOR_GOHUBS, USB_PRODUCT_GOHUBS_GOCOM232 }, /* Peracom */ { USB_VENDOR_PERACOM, USB_PRODUCT_PERACOM_SERIAL1 }, - /* Vodafone */ - { USB_VENDOR_VODAFONE, USB_PRODUCT_VODAFONE_MC3G }, +/* Novatel Wireless Merlin cards */ +{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_U740 }, +/* Option Vodafone MC3G */ +{ USB_VENDOR_OPTION, USB_PRODUCT_OPTION_VODAFONEMC3G }, +/* Option GlobeTrotter 3G */ +{ USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3G }, +/* Option GlobeTrotter 3G QUAD */ +{ USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GQUAD }, +/* Huawei Mobile */ +{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE }, { 0, 0 } }; @@ -277,17 +298,13 @@ usb_config_descriptor_t *cdesc; usb_interface_descriptor_t *id; usb_endpoint_descriptor_t *ed; - char *devinfo; const char *devname; usbd_status err; int i; dev = uaa->device; - devinfo = malloc(1024, M_USBDEV, M_WAITOK); ucom = &sc->sc_ucom; - bzero(sc, sizeof (struct ubsa_softc)); - /* * initialize rts, dtr variables to something * different from boolean 0, 1 @@ -295,17 +312,12 @@ sc->sc_dtr = -1; sc->sc_rts = -1; - usbd_devinfo(dev, 0, devinfo); - /* USB_ATTACH_SETUP; */ ucom->sc_dev = self; - device_set_desc_copy(self, devinfo); - /* USB_ATTACH_SETUP; */ ucom->sc_udev = dev; ucom->sc_iface = uaa->iface; - devname = USBDEVNAME(ucom->sc_dev); - printf("%s: %s\n", devname, devinfo); +devname = device_get_nameunit(ucom->sc_dev); DPRINTF(("ubsa attach: sc = %p\n", sc)); @@ -328,7 +340,7 @@ if (cdesc == NULL) { printf("%s: failed to get configuration descriptor\n", - USBDEVNAME(ucom->sc_dev)); + device_get_nameunit(ucom->sc_dev)); ucom->sc_dying = 1; goto error; } @@ -352,7 +364,7 @@ ed = usbd_interface2endpoint_descriptor(ucom->sc_iface, i); if (ed == NULL) { printf("%s: no endpoint descriptor for %d\n", - USBDEVNAME(ucom->sc_dev), i); + device_get_nameunit(ucom->sc_dev), i); ucom->sc_dying = 1; goto error; } @@ -364,17 +376,23 @@ } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) { ucom->sc_bulkin_no = ed->bEndpointAddress; +if (uaa->product == USB_PRODUCT_ANYDATA_ADU_E100X) +ucom->sc_ibufsize = UBSAIBUFSIZE; //UGETW(ed->wMaxPacketSize); +else ucom->sc_ibufsize = UGETW(ed->wMaxPacketSize); } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) { ucom->sc_bulkout_no = ed->bEndpointAddress; +if (uaa->product == USB_PRODUCT_ANYDATA_ADU_E100X) +ucom->sc_obufsize = UBSAOBUFSIZE; //UGETW(ed->wMaxPacketSize); +else ucom->sc_obufsize = UGETW(ed->wMaxPacketSize); } } if (sc->sc_intr_number == -1) { printf("%s: Could not find interrupt in\n", - USBDEVNAME(ucom->sc_dev)); + device_get_nameunit(ucom->sc_dev)); ucom->sc_dying = 1; goto error; } @@ -384,14 +402,14 @@ if (ucom->sc_bulkin_no == -1) { printf("%s: Could not find data bulk in\n", - USBDEVNAME(ucom->sc_dev)); + device_get_nameunit(ucom->sc_dev)); ucom->sc_dying = 1; goto error; } if (ucom->sc_bulkout_no == -1) { printf("%s: Could not find data bulk out\n", - USBDEVNAME(ucom->sc_dev)); + device_get_nameunit(ucom->sc_dev)); ucom->sc_dying = 1; goto error; } @@ -408,12 +426,9 @@ TASK_INIT(&sc->sc_task, 0, ubsa_notify, sc); ucom_attach(ucom); - - free(devinfo, M_USBDEV); USB_ATTACH_SUCCESS_RETURN; error: - free(devinfo, M_USBDEV); USB_ATTACH_ERROR_RETURN; } @@ -456,7 +471,7 @@ err = usbd_do_request(sc->sc_ucom.sc_udev, &req, 0); if (err) printf("%s: ubsa_request: %s\n", - USBDEVNAME(sc->sc_ucom.sc_dev), usbd_errstr(err)); + device_get_nameunit(sc->sc_ucom.sc_dev), usbd_errstr(err)); return (err); } @@ -542,7 +557,7 @@ default: printf("%s: ubsa_param: unsupported baudrate, " "forcing default of 9600\n", - USBDEVNAME(sc->sc_ucom.sc_dev)); + device_get_nameunit(sc->sc_ucom.sc_dev)); value = B230400 / B9600; break; }; @@ -585,7 +600,7 @@ default: printf("%s: ubsa_param: unsupported databits requested, " "forcing default of 8\n", - USBDEVNAME(sc->sc_ucom.sc_dev)); + device_get_nameunit(sc->sc_ucom.sc_dev)); value = 3; } @@ -663,7 +678,7 @@ UBSA_INTR_INTERVAL); if (err) { printf("%s: cannot open interrupt pipe (addr %d)\n", - USBDEVNAME(sc->sc_ucom.sc_dev), + device_get_nameunit(sc->sc_ucom.sc_dev), sc->sc_intr_number); return (EIO); } @@ -688,12 +703,12 @@ err = usbd_abort_pipe(sc->sc_intr_pipe); if (err) printf("%s: abort interrupt pipe failed: %s\n", - USBDEVNAME(sc->sc_ucom.sc_dev), + device_get_nameunit(sc->sc_ucom.sc_dev), usbd_errstr(err)); err = usbd_close_pipe(sc->sc_intr_pipe); if (err) printf("%s: close interrupt pipe failed: %s\n", - USBDEVNAME(sc->sc_ucom.sc_dev), + device_get_nameunit(sc->sc_ucom.sc_dev), usbd_errstr(err)); free(sc->sc_intr_buf, M_USBDEV); sc->sc_intr_pipe = NULL; @@ -716,7 +731,7 @@ return; DPRINTF(("%s: ubsa_intr: abnormal status: %s\n", - USBDEVNAME(sc->sc_ucom.sc_dev), + device_get_nameunit(sc->sc_ucom.sc_dev), usbd_errstr(status))); usbd_clear_endpoint_stall_async(sc->sc_intr_pipe); return; @@ -727,7 +742,7 @@ sc->sc_msr = buf[3]; DPRINTF(("%s: ubsa lsr = 0x%02x, msr = 0x%02x\n", - USBDEVNAME(sc->sc_ucom.sc_dev), sc->sc_lsr, sc->sc_msr)); + device_get_nameunit(sc->sc_ucom.sc_dev), sc->sc_lsr, sc->sc_msr)); taskqueue_enqueue(taskqueue_swi_giant, &sc->sc_task); } --- usb_quirks.c.orig Tue Oct 16 11:04:46 2007 +++ usb_quirks.c Tue Oct 16 11:08:30 2007 @@ -103,6 +103,8 @@ ANY, { UQ_ASSUME_CM_OVER_DATA }}, { USB_VENDOR_SUNTAC, USB_PRODUCT_SUNTAC_AS64LX, 0x100, { UQ_ASSUME_CM_OVER_DATA }}, + { USB_VENDOR_SIEMENSMOBILE, USB_PRODUCT_SIEMENSMOBILE_ES75, + ANY, { UQ_ASSUME_CM_OVER_DATA }}, { USB_VENDOR_MOTOROLA2, USB_PRODUCT_MOTOROLA2_A41XV32X, ANY, { UQ_ASSUME_CM_OVER_DATA }}, /* Devices which should be ignored by uhid */ --- usbdevs.orig Tue Oct 16 11:04:46 2007 +++ usbdevs Tue Oct 16 11:10:24 2007 @@ -546,6 +546,11 @@ vendor SITECOM 0x6189 Sitecom vendor INTEL 0x8086 Intel vendor HP2 0xf003 Hewlett Packard +vendor SIEMENSMOBILE 0x0681 SiemensMobile +vendor ANYDATA 0x16d5 AnyDATA Corporation +vendor NOVATEL 0x1410 Novatel Wireless +vendor OPTION 0x0af0 Option +vendor HUAWEI 0x12d1 Huawei Technologies /* * List of known products. Grouped by vendor. @@ -1506,6 +1511,16 @@ /* Siemens products */ product SIEMENS SPEEDSTREAM 0x1001 SpeedStream USB +product SIEMENSMOBILE ES75 0x0034 GSM module MC35 + +/* Option products */ +product NOVATEL U740 0x1400 Merlin U740 +product OPTION VODAFONEMC3G 0x5000 Vodafone Mobile Connect 3G datacard +product OPTION GT3G 0x6000 GlobeTrotter 3G datacard +product OPTION GT3GQUAD 0x6300 GlobeTrotter 3G QUAD datacard +product ANYDATA ADU_E100X 0x6501 CDMA 2000 1xRTT/EV-DO USB Modem +/* HUAWEI products */ +product HUAWEI MOBILE 0x1001 Huawei Mobile /* Sierra Wireless products */ product SIERRA MC5720 0x0218 MC5720 Wireless Modem >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Jan 1 23:14:14 2008 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 F265716A420 for ; Tue, 1 Jan 2008 23:14:14 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id D467A13C447 for ; Tue, 1 Jan 2008 23:14:14 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id m01NEBb6021671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 1 Jan 2008 15:14:11 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id m01NEAPh021668; Tue, 1 Jan 2008 15:14:10 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA01166; Tue, 1 Jan 08 15:11:17 PST Date: Tue, 01 Jan 2008 15:09:42 -0800 From: perryh@pluto.rain.com To: hselasky@c2i.net Message-Id: <477ac836.0swXCGb2q4hiQ0WS%perryh@pluto.rain.com> References: <477a00ea.73gFojnRSqtUufCO%perryh@pluto.rain.com> <200801011109.12871.hselasky@c2i.net> In-Reply-To: <200801011109.12871.hselasky@c2i.net> 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 Subject: Re: ZyXEL Omni 56K Plus USB/serial modem 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, 01 Jan 2008 23:14:15 -0000 Hans Petter Selasky wrote: > On Tuesday 01 January 2008, perryh@pluto.rain.com wrote: > > Has anyone tried, either successfully or not, to > > use a ZyXEL Omni 56K Plus modem with recent FreeBSD? > > ... > We need a dump of the USB descriptors to say for sure. > See "/usr/ports/sysutils/udesc_dump" and "man ugen". The complication is that I have got the modem, but not its power brick (somewhat long story), and was trying to avoid tracking down a power brick for it if it wasn't going to work anyway. I was thinking more along the lines of someone recognizing it and being able to report either that they had gotten it to work, or had tried it and not gotten it to work :) > If that is not possible you can try searching the Linux > sources and see if they support your VID/PID . I've already searched for (case-independent) zyxel in all *.[ch] under /usr/src, getting no hits other than in (various instances of) usbdevs.h and usbdevs_data.h. Is there another place where I should be looking, or something other than the symbolic references that I should be looking for? From owner-freebsd-usb@FreeBSD.ORG Wed Jan 2 17:13:50 2008 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 AC62516A417 for ; Wed, 2 Jan 2008 17:13:50 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 6709413C459 for ; Wed, 2 Jan 2008 17:13:50 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 420441B10EE8; Wed, 2 Jan 2008 17:53:58 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_33 autolearn=no version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 63E441B10EE0 for ; Wed, 2 Jan 2008 17:53:55 +0100 (CET) Message-ID: <477BC1A3.5080406@moneybookers.com> Date: Wed, 02 Jan 2008 18:53:55 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5340/Wed Jan 2 14:37:52 2008 on blah.cmotd.com X-Virus-Status: Clean Subject: problem with usb4bsd and hal 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, 02 Jan 2008 17:13:50 -0000 Hi list, I have the same problem as described here : http://monkey.org/freebsd/archive/freebsd-current/200706/msg00423.html So i switched to usb4bsd http://www.turbocat.net/~hselasky/usb4bsd/ - revision 548 But now I'm unable to compile sysutils/hal - error included here: http://lists.freebsd.org/pipermail/freebsd-current/2008-January/081670.html Can someone help me with this? Is there someone interested in fixing the problem with PCMCI Huawei E630 UMTS/HSDPA modem? I can help with debugging and testing patches. Unfortunately my "C" skills are not enough to make patch myself. 7.0-RC1 FreeBSD 7.0-RC1 #10: Wed Jan 2 13:53:06 EET 2008 i386 -- Best Wishes, Stefan Lambrev ICQ# 24134177http://lists.freebsd.org/pipermail/freebsd-current/2008-January/081670.html From owner-freebsd-usb@FreeBSD.ORG Wed Jan 2 17:37:08 2008 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 5A9E916A420 for ; Wed, 2 Jan 2008 17:37:08 +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 E382213C4D3 for ; Wed, 2 Jan 2008 17:37:07 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [85.19.218.155] (account mc467741@c2i.net [85.19.218.155] verified) by mailfe12.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 581651743; Wed, 02 Jan 2008 18:37:05 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 2 Jan 2008 18:37:50 +0100 User-Agent: KMail/1.9.7 References: <477BC1A3.5080406@moneybookers.com> In-Reply-To: <477BC1A3.5080406@moneybookers.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801021837.51376.hselasky@c2i.net> Cc: Stefan Lambrev Subject: Re: problem with usb4bsd and hal 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, 02 Jan 2008 17:37:08 -0000 On Wednesday 02 January 2008, Stefan Lambrev wrote: > Hi list, > > I have the same problem as described here : > http://monkey.org/freebsd/archive/freebsd-current/200706/msg00423.html > So i switched to usb4bsd http://www.turbocat.net/~hselasky/usb4bsd/ - > revision 548 > But now I'm unable to compile sysutils/hal - error included here: > http://lists.freebsd.org/pipermail/freebsd-current/2008-January/081670.html > Can someone help me with this? > Is there someone interested in fixing the problem with PCMCI Huawei E630 > UMTS/HSDPA modem? > I can help with debugging and testing patches. > Unfortunately my "C" skills are not enough to make patch myself. > > 7.0-RC1 FreeBSD 7.0-RC1 #10: Wed Jan 2 13:53:06 EET 2008 i386 Hi Stefan, The "struct usb_event" has been removed and replaced by "devd". Probably the HAL port needs to be updated. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Jan 2 20:02:03 2008 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 E861916A419 for ; Wed, 2 Jan 2008 20:02:03 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 4CF9113C4CC for ; Wed, 2 Jan 2008 20:02:03 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [85.19.218.155] (account mc467741@c2i.net [85.19.218.155] verified) by mailfe02.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 755851064; Wed, 02 Jan 2008 21:02:01 +0100 From: Hans Petter Selasky To: perryh@pluto.rain.com Date: Wed, 2 Jan 2008 21:02:40 +0100 User-Agent: KMail/1.9.7 References: <477a00ea.73gFojnRSqtUufCO%perryh@pluto.rain.com> <200801011109.12871.hselasky@c2i.net> <477ac836.0swXCGb2q4hiQ0WS%perryh@pluto.rain.com> In-Reply-To: <477ac836.0swXCGb2q4hiQ0WS%perryh@pluto.rain.com> MIME-Version: 1.0 Message-Id: <200801022102.41840.hselasky@c2i.net> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-usb@freebsd.org Subject: Re: ZyXEL Omni 56K Plus USB/serial modem 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, 02 Jan 2008 20:02:04 -0000 Hi, No, there are no other places to look. There are some generic classes of modems for example "umodem". If you have such a modem then it might be the case that the VID/PID won't be listed, hence the USB driver will be matched using the "bInterfaceClass" and "bInterfaceSubclass" fields of the interface descriptor. --HPS On Wednesday 02 January 2008, perryh@pluto.rain.com wrote: > Hans Petter Selasky wrote: > > On Tuesday 01 January 2008, perryh@pluto.rain.com wrote: > > > Has anyone tried, either successfully or not, to > > > use a ZyXEL Omni 56K Plus modem with recent FreeBSD? > > > ... > > > > We need a dump of the USB descriptors to say for sure. > > See "/usr/ports/sysutils/udesc_dump" and "man ugen". > > The complication is that I have got the modem, but not its > power brick (somewhat long story), and was trying to avoid > tracking down a power brick for it if it wasn't going to > work anyway. > > I was thinking more along the lines of someone recognizing > it and being able to report either that they had gotten it > to work, or had tried it and not gotten it to work :) > > > If that is not possible you can try searching the Linux > > sources and see if they support your VID/PID . > > I've already searched for (case-independent) zyxel in all > *.[ch] under /usr/src, getting no hits other than in (various > instances of) usbdevs.h and usbdevs_data.h. Is there another > place where I should be looking, or something other than the > symbolic references that I should be looking for? From owner-freebsd-usb@FreeBSD.ORG Thu Jan 3 12:26:33 2008 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 F09F016A41A for ; Thu, 3 Jan 2008 12:26:33 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id A7CA913C465 for ; Thu, 3 Jan 2008 12:26:33 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 683161B10EE8; Thu, 3 Jan 2008 13:26:31 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, J_CHICKENPOX_33 autolearn=no version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 3A9C51B10EE7; Thu, 3 Jan 2008 13:26:28 +0100 (CET) Message-ID: <477CD474.6080302@moneybookers.com> Date: Thu, 03 Jan 2008 14:26:28 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Hans Petter Selasky References: <477BC1A3.5080406@moneybookers.com> <200801021837.51376.hselasky@c2i.net> In-Reply-To: <200801021837.51376.hselasky@c2i.net> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5348/Thu Jan 3 06:26:56 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-usb@freebsd.org Subject: Re: problem with usb4bsd and hal 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, 03 Jan 2008 12:26:34 -0000 Hi Hans, Hans Petter Selasky wrote: > On Wednesday 02 January 2008, Stefan Lambrev wrote: > >> Hi list, >> >> I have the same problem as described here : >> http://monkey.org/freebsd/archive/freebsd-current/200706/msg00423.html >> So i switched to usb4bsd http://www.turbocat.net/~hselasky/usb4bsd/ - >> revision 548 >> But now I'm unable to compile sysutils/hal - error included here: >> http://lists.freebsd.org/pipermail/freebsd-current/2008-January/081670.html >> Can someone help me with this? >> Is there someone interested in fixing the problem with PCMCI Huawei E630 >> UMTS/HSDPA modem? >> I can help with debugging and testing patches. >> Unfortunately my "C" skills are not enough to make patch myself. >> >> 7.0-RC1 FreeBSD 7.0-RC1 #10: Wed Jan 2 13:53:06 EET 2008 i386 >> > > Hi Stefan, > > The "struct usb_event" has been removed and replaced by "devd". Probably the > HAL port needs to be updated. > This means that sysutils/hal does not build and without usb4bsd on latest FreeBSD 7? Btw if you are responsible for usb4bsd, may be you want to know this. To have working "make install" with latest RELENG_7_0 I had to manually "mkdir /usr/src/usr.sbin/usbd/" > --HPS > -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-usb@FreeBSD.ORG Thu Jan 3 15:48:42 2008 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 2CDA016A419 for ; Thu, 3 Jan 2008 15:48:42 +0000 (UTC) (envelope-from trtrgav@mail.ru) Received: from mx44.mail.ru (mx44.mail.ru [195.239.211.10]) by mx1.freebsd.org (Postfix) with ESMTP id DB5E813C469 for ; Thu, 3 Jan 2008 15:48:41 +0000 (UTC) (envelope-from trtrgav@mail.ru) Received: from f142.mail.ru (f142.mail.ru [194.67.57.135]) by mx44.mail.ru (mPOP.Fallback_MX) with ESMTP id B0AC338003727 for ; Thu, 3 Jan 2008 18:35:25 +0300 (MSK) Received: from mail by f142.mail.ru with local id 1JAS6O-000EJp-00 for freebsd-usb@freebsd.org; Thu, 03 Jan 2008 18:35:24 +0300 Received: from [88.73.119.193] by koi.mail.ru with HTTP; Thu, 03 Jan 2008 18:35:24 +0300 From: Ivan To: freebsd-usb@freebsd.org Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [88.73.119.193] Date: Thu, 03 Jan 2008 18:35:24 +0300 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: Subject: trying to catch the bug in usb-support X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ivan List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2008 15:48:42 -0000 Dear friends, since a couple of days I'm trying to fix some issues concerning the broken support of some usb-devices. I have started with HP ScanJet 4300C usb-scanner. The problem seems to be rather old (you can look at: http://lists.freebsd.org/mailman/htdig/freebsd-usb/2005-August/001377.html http://lists.freebsd.org/mailman/htdig/freebsd-usb/2005-August/001399.html http://www.freebsd.org/cgi/query-pr.cgi?pr=119018 ) I have tried to attach the scanner on 4.11-STABLE, 7.0-PRERELEASE and now on 8.0-CURRENT. Everywhere the same problem. I have added some debug-output to the uscanner.c and found out, that uaa->iface in uscanner_match() is set to NULL. As I tried to attach the device as ugen, I saw: uhub1: port1, set config at addr 2 failed, error=STALLED I have also tried to set the iface-value explicitly in usb_subr.c by adding: usbd_device2interface_handle(dev,0,&uaa.iface) but also without success. device_get_ivars() seems to be broken. But what can I do about that? Or what else could be wrong? I hope someone of you have more experience with that stuff to help me out. Best regards, Ivan From owner-freebsd-usb@FreeBSD.ORG Thu Jan 3 17:02:26 2008 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 DBB4516A41A for ; Thu, 3 Jan 2008 17:02:26 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 9D70B13C457 for ; Thu, 3 Jan 2008 17:02:26 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.1/8.14.1) with ESMTP id m03H06wd094472; Thu, 3 Jan 2008 10:00:09 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 03 Jan 2008 10:00:18 -0700 (MST) Message-Id: <20080103.100018.500323586.imp@bsdimp.com> To: trtrgav@mail.ru From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: trying to catch the bug in usb-support 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, 03 Jan 2008 17:02:26 -0000 In message: Ivan writes: : Dear friends, : : since a couple of days I'm trying to fix some issues concerning the broken support of some usb-devices. I have started with HP ScanJet 4300C usb-scanner. The problem seems to be rather old (you can look at: : http://lists.freebsd.org/mailman/htdig/freebsd-usb/2005-August/001377.html : http://lists.freebsd.org/mailman/htdig/freebsd-usb/2005-August/001399.html : http://www.freebsd.org/cgi/query-pr.cgi?pr=119018 : ) : I have tried to attach the scanner on 4.11-STABLE, 7.0-PRERELEASE and now on 8.0-CURRENT. Everywhere the same problem. I have added some debug-output to the uscanner.c and found out, that uaa->iface in uscanner_match() is set to NULL. As I tried to attach the device as ugen, I saw: : : uhub1: port1, set config at addr 2 failed, error=STALLED : : I have also tried to set the iface-value explicitly in usb_subr.c by adding: : : usbd_device2interface_handle(dev,0,&uaa.iface) : : but also without success. : : device_get_ivars() seems to be broken. But what can I do about that? Or what else could be wrong? : : I hope someone of you have more experience with that stuff to help me out. On current from October, I've been able to use my scanjet without a problem, but it has to attach to ugen to work. Maybe it is a cable issue? Warner From owner-freebsd-usb@FreeBSD.ORG Thu Jan 3 21:08:03 2008 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 ED1CD16A418 for ; Thu, 3 Jan 2008 21:08:03 +0000 (UTC) (envelope-from lioux-list@uol.com.br) Received: from goat.gigo.com (goat.gigo.com [216.218.228.114]) by mx1.freebsd.org (Postfix) with ESMTP id DA39C13C4DB for ; Thu, 3 Jan 2008 21:08:03 +0000 (UTC) (envelope-from lioux-list@uol.com.br) Received: from 201.88.36.55 (201-88-36-55.bsace702.dsl.brasiltelecom.net.br [201.88.36.55]) by goat.gigo.com (Postfix) with ESMTP id 2B4A1B83E for ; Thu, 3 Jan 2008 13:08:02 -0800 (PST) Received: (qmail 92205 invoked from network); 3 Jan 2008 19:06:22 -0200 Received: from unknown (HELO nexxus.fedaykin.here) (127.0.0.1) by exxodus.fedaykin.here with SMTP; 3 Jan 2008 19:06:22 -0200 Message-ID: <477D4E4E.50006@uol.com.br> Date: Thu, 03 Jan 2008 21:06:22 +0000 From: Mario Sergio Fujikawa Ferreira User-Agent: Thunderbird 2.0.0.9 (X11/20071118) MIME-Version: 1.0 To: Mike Tancsa References: <4778E109.2060209@uol.com.br> <200712311442.lBVEgUSv092620@lava.sentex.ca> In-Reply-To: <200712311442.lBVEgUSv092620@lava.sentex.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: RFC: ugensa(4) driver ported from NetBSD 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, 03 Jan 2008 21:08:04 -0000 Hi, There is an updated version of the driver available at http://people.FreeBSD.org/~lioux/ugensa.tar.gz Let me know how it goes. I enabled debug mode so there should be more information this time if something goes wrong. Regards, -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature From owner-freebsd-usb@FreeBSD.ORG Thu Jan 3 21:29:58 2008 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 8C8E416A418 for ; Thu, 3 Jan 2008 21:29:58 +0000 (UTC) (envelope-from laa@hyp.ru) Received: from relay.hyp.ru (relay.hyp.ru [194.186.216.68]) by mx1.freebsd.org (Postfix) with ESMTP id 4C74613C4DB for ; Thu, 3 Jan 2008 21:29:58 +0000 (UTC) (envelope-from laa@hyp.ru) Received: from " laa" by relay.hyp.ru with local (Exim) (envelope-from ) id 1JAXJO-0009SO-H3; Fri, 04 Jan 2008 00:09:10 +0300 Date: Fri, 4 Jan 2008 00:09:10 +0300 From: Lystopad Oleksandr To: freebsd-usb@freebsd.org Message-ID: <20080103210910.GG64392@laa.zp.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline X-Mailer: Mutt Sender: Lystopad Oleksandr X-Bounce-ID: relay.hyp.ru Cc: Subject: Ralink(0x15a9) and 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: Thu, 03 Jan 2008 21:29:58 -0000 hi! I have HP s3200n with Ralink(0x15a9) wifi usb adapter integrated. Please, help me activate this wireless interface on FreeBSD. 6.2, 6.3 and 7.0 does not support this device. Thanks. -- Oleksandr Lystopad From owner-freebsd-usb@FreeBSD.ORG Thu Jan 3 22:08:48 2008 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 071CE16A41B for ; Thu, 3 Jan 2008 22:08:48 +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 925AF13C447 for ; Thu, 3 Jan 2008 22:08:47 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [85.19.218.155] (account mc467741@c2i.net [85.19.218.155] verified) by mailfe08.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 752487632; Thu, 03 Jan 2008 23:08:45 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 3 Jan 2008 23:09:24 +0100 User-Agent: KMail/1.9.7 References: <20080103210910.GG64392@laa.zp.ua> In-Reply-To: <20080103210910.GG64392@laa.zp.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801032309.25853.hselasky@c2i.net> Cc: Subject: Re: Ralink(0x15a9) and 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: Thu, 03 Jan 2008 22:08:48 -0000 On Thursday 03 January 2008, Lystopad Oleksandr wrote: > hi! > > I have HP s3200n with Ralink(0x15a9) wifi usb adapter integrated. > > Please, help me activate this wireless interface on FreeBSD. 6.2, > 6.3 and 7.0 does not support this device. > > Thanks. Hi, Can you get us an USB descriptor dump ? See /usr/ports/sysutils/udesc_dump and "man ugen" --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Jan 4 10:47:26 2008 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 A917416A417 for ; Fri, 4 Jan 2008 10:47:26 +0000 (UTC) (envelope-from lioux@FreeBSD.org) Received: from goat.gigo.com (goat.gigo.com [216.218.228.114]) by mx1.freebsd.org (Postfix) with ESMTP id 960A213C455 for ; Fri, 4 Jan 2008 10:47:26 +0000 (UTC) (envelope-from lioux@FreeBSD.org) Received: from 201.88.36.55 (201-88-36-55.bsace702.dsl.brasiltelecom.net.br [201.88.36.55]) by goat.gigo.com (Postfix) with ESMTP id 53277B8A9 for ; Fri, 4 Jan 2008 02:27:53 -0800 (PST) Received: (qmail 28580 invoked from network); 4 Jan 2008 08:27:15 -0200 Received: from unknown (HELO exxodus.fedaykin.here) (127.0.0.1) by exxodus.fedaykin.here with SMTP; 4 Jan 2008 08:27:15 -0200 Message-ID: <477E09FA.7020108@FreeBSD.org> Date: Fri, 04 Jan 2008 08:27:06 -0200 From: Mario Sergio Fujikawa Ferreira User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: Mike Tancsa References: <4778E109.2060209@uol.com.br> <200712311442.lBVEgUSv092620@lava.sentex.ca> <477D4E4E.50006@uol.com.br> In-Reply-To: <477D4E4E.50006@uol.com.br> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@freebsd.org Subject: Re: RFC: ugensa(4) driver ported from NetBSD 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, 04 Jan 2008 10:47:26 -0000 Hi, I fixed the permissions. You can grab the updated version now. Regards, Mario Sergio Fujikawa Ferreira wrote: > Hi, > > There is an updated version of the driver available at > > http://people.FreeBSD.org/~lioux/ugensa.tar.gz > > Let me know how it goes. I enabled debug mode so there should be more > information this time if something goes wrong. > > Regards, From owner-freebsd-usb@FreeBSD.ORG Fri Jan 4 16:22:12 2008 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 D85D116A418 for ; Fri, 4 Jan 2008 16:22:12 +0000 (UTC) (envelope-from laa@hyp.ru) Received: from relay.hyp.ru (relay.hyp.ru [194.186.216.68]) by mx1.freebsd.org (Postfix) with ESMTP id 94FCE13C4DB for ; Fri, 4 Jan 2008 16:22:12 +0000 (UTC) (envelope-from laa@hyp.ru) Received: from " laa" by relay.hyp.ru with local (Exim) (envelope-from ) id 1JApJD-000L9e-Bp for freebsd-usb@freebsd.org; Fri, 04 Jan 2008 19:22:11 +0300 Date: Fri, 4 Jan 2008 19:22:11 +0300 From: Lystopad Oleksandr To: freebsd-usb@freebsd.org Message-ID: <20080104162211.GL64392@laa.zp.ua> References: <20080103210910.GG64392@laa.zp.ua> <200801032309.25853.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200801032309.25853.hselasky@c2i.net> X-Mailer: Mutt Sender: Lystopad Oleksandr X-Bounce-ID: relay.hyp.ru Subject: Re: Ralink(0x15a9) and 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: Fri, 04 Jan 2008 16:22:12 -0000 Hello, Hans Petter Selasky! Thank you for your reply! Please, take a look at my udesc_dump output bellow: pavilion# udesc_dump Standard Device Descriptor: bLength 18 bDescriptorType 01 bcdUSB 0200 bDeviceClass 00 bDeviceSubClass 00 bDeviceProtocol 00 bMaxPacketSize 64 idVendor 15a9 idProduct 0004 bcdDevice 0001 iManufacturer 1 iProduct 2 iSerialNumber 0 bNumConfigurations 1 Configuration 0: Standard Configuration Descriptor: bLength 9 bDescriptorType 02 wTotalLength 53 bNumInterface 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 80 bMaxPower 150 (300 mA) Standard Interface Descriptor: bLength 9 bDescriptorType 04 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 5 bInterfaceClass ff bInterfaceSubClass ff bInterfaceProtocol ff iInterface 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 81 (in) bmAttributes 02 (Bulk) wMaxPacketSize 512 bInterval 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 01 (out) bmAttributes 02 (Bulk) wMaxPacketSize 512 bInterval 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 02 (out) bmAttributes 02 (Bulk) wMaxPacketSize 512 bInterval 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 03 (out) bmAttributes 02 (Bulk) wMaxPacketSize 512 bInterval 0 Standard Endpoint Descriptor: bLength 7 bDescriptorType 05 bEndpointAddress 04 (out) bmAttributes 02 (Bulk) wMaxPacketSize 512 bInterval 0 Codes Representing Languages by the Device: bLength 4 bDescriptorType 03 wLANGID[0] 0409 String (index 1): Ralink String (index 2): 802.11 bg WLAN pavilion# What can I do to make it works fine? Thanks. On Thu, Jan 03, 2008 at 11:09:24PM +0100 hselasky@c2i.net wrote about "Re: Ralink(0x15a9) and FreeBSD": > On Thursday 03 January 2008, Lystopad Oleksandr wrote: > > hi! > > > > I have HP s3200n with Ralink(0x15a9) wifi usb adapter integrated. > > > > Please, help me activate this wireless interface on FreeBSD. 6.2, > > 6.3 and 7.0 does not support this device. > > > > Thanks. > > Hi, > > Can you get us an USB descriptor dump ? > > See /usr/ports/sysutils/udesc_dump and "man ugen" -- Oleksandr Lystopad From owner-freebsd-usb@FreeBSD.ORG Fri Jan 4 16:30:38 2008 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 795F516A421 for ; Fri, 4 Jan 2008 16:30:38 +0000 (UTC) (envelope-from laa@hyp.ru) Received: from relay.hyp.ru (relay.hyp.ru [194.186.216.68]) by mx1.freebsd.org (Postfix) with ESMTP id 367F913C467 for ; Fri, 4 Jan 2008 16:30:38 +0000 (UTC) (envelope-from laa@hyp.ru) Received: from " laa" by relay.hyp.ru with local (Exim) (envelope-from ) id 1JApRN-000LEG-Bw for freebsd-usb@freebsd.org; Fri, 04 Jan 2008 19:30:37 +0300 Date: Fri, 4 Jan 2008 19:30:37 +0300 From: Lystopad Oleksandr To: freebsd-usb@freebsd.org Message-ID: <20080104163037.GM64392@laa.zp.ua> References: <20080103210910.GG64392@laa.zp.ua> <200801032309.25853.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200801032309.25853.hselasky@c2i.net> X-Mailer: Mutt Sender: Lystopad Oleksandr X-Bounce-ID: relay.hyp.ru Subject: Re: Ralink(0x15a9) and 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: Fri, 04 Jan 2008 16:30:38 -0000 Hello, Hans Petter Selasky! On Thu, Jan 03, 2008 at 11:09:24PM +0100 hselasky@c2i.net wrote about "Re: Ralink(0x15a9) and FreeBSD": > On Thursday 03 January 2008, Lystopad Oleksandr wrote: > > hi! > > > > I have HP s3200n with Ralink(0x15a9) wifi usb adapter integrated. > > > > Please, help me activate this wireless interface on FreeBSD. 6.2, > > 6.3 and 7.0 does not support this device. > > > > Thanks. > > Hi, > > Can you get us an USB descriptor dump ? > > See /usr/ports/sysutils/udesc_dump and "man ugen" pavilion# usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), nVidia(0x0000), rev 1.00 port 1 powered port 2 powered port 3 addr 2: low speed, power 98 mA, config 1, USB-PS/2 Optical Mouse(0xc03e), Logitech(0x046d), rev 20.00 port 4 powered port 5 powered port 6 powered port 7 powered port 8 powered port 9 powered port 10 powered Controller /dev/usb1: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), nVidia(0x0000), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 addr 2: high speed, power 500 mA, config 1, USB2.0-CRW(0x0111), Generic(0x0bda), rev 11.22 port 6 powered port 7 powered port 8 powered port 9 addr 3: high speed, power 300 mA, config 1, 802.11 bg WLAN(0x0004), Ralink(0x15a9), rev 0.01 port 10 powered pavilion# pavilion# dmesg |grep ^uge ugen0: on uhub1 pavilion# pavilion# uname -msr FreeBSD 7.0-PRERELEASE i386 pavilion# I can install any version of FreeBSD if needed. Thanks. -- Oleksandr Lystopad From owner-freebsd-usb@FreeBSD.ORG Sat Jan 5 16:10:03 2008 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 1D75716A479 for ; Sat, 5 Jan 2008 16: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 28A0A13C467 for ; Sat, 5 Jan 2008 16:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m05GA22S037329 for ; Sat, 5 Jan 2008 16:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m05GA2Yo037327; Sat, 5 Jan 2008 16:10:02 GMT (envelope-from gnats) Date: Sat, 5 Jan 2008 16:10:02 GMT Message-Id: <200801051610.m05GA2Yo037327@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Alexey Popov Cc: Subject: Re: usb/92083: [ural] [panic] panic using WPA on ural NIC in 6.0-RELEASE X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexey Popov List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2008 16:10:03 -0000 The following reply was made to PR usb/92083; it has been noted by GNATS. From: Alexey Popov To: bug-followup@FreeBSD.org, anders@FreeBSD.org Cc: "Phillip Mumford" Subject: Re: usb/92083: [ural] [panic] panic using WPA on ural NIC in 6.0-RELEASE Date: Sat, 05 Jan 2008 19:03:43 +0300 Hi. Phillip, could you try workaround for if_ural that is similar to if_rum described at the last part of http://www.freebsd.org/cgi/query-pr.cgi?pr=117820 ? In /sys/dev/usb/if_ural.c ural_txeof() just replace the strings: ieee80211_free_node(data->ni); data->ni = NULL; with: if (data->ni != NULL) { ieee80211_free_node(data->ni); data->ni = NULL; } Then rebuild and reinstall kernel (or module, if you use it as a module). It works for me with if_rum and I think the problem here is possibly identical because the backtraces are very similar. With best regards, Alexey Popov From owner-freebsd-usb@FreeBSD.ORG Sat Jan 5 20:50:03 2008 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 8969716A419 for ; Sat, 5 Jan 2008 20: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 7F3E913C4DD for ; Sat, 5 Jan 2008 20:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m05Ko356031403 for ; Sat, 5 Jan 2008 20:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m05Ko38T031402; Sat, 5 Jan 2008 20:50:03 GMT (envelope-from gnats) Date: Sat, 5 Jan 2008 20:50:03 GMT Message-Id: <200801052050.m05Ko38T031402@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: linimon@lonesome.com (Mark Linimon) Cc: Subject: Re: usb/78984: [patch] Creative MUVO umass failure X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Linimon List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2008 20:50:03 -0000 The following reply was made to PR usb/78984; it has been noted by GNATS. From: linimon@lonesome.com (Mark Linimon) To: bug-followup@FreeBSD.org Cc: linimon@FreeBSD.org Subject: Re: usb/78984: [patch] Creative MUVO umass failure Date: Sat, 5 Jan 2008 14:47:57 -0600 [bugmeister note: the following initially appeared in http://lists.freebsd.org/pipermail/freebsd-usb/2007-December/004285.html. The preferred method would have been for this message to be cross-posted to bug-followup@FreeBSD, fwiw.] From: Henrik Gulbrandsen (henrik at gulbra.net) Date: Sun Dec 30 16:54:45 PST 2007 I hate when reality interferes with a clean design! :-) OK. I'm convinced. We might still use heuristics as a hint for future bug hunters, but I'm not going to worry about that for the moment. This is the quirk patch needed for the 128 MB Creative MuVo device (where "MB" seems to be 1024000 bytes...). I hope email formatting works. PR usb/78984 can hopefully be closed once this is applied. /Henrik =============================================================================== --- sys/dev/usb/umass.c.orig 2007-12-29 11:13:06.000000000 +0100 +++ sys/dev/usb/umass.c 2007-12-29 14:37:57.000000000 +0100 @@ -374,6 +374,10 @@ UMASS_PROTO_SCSI | UMASS_PROTO_BBB, FORCE_SHORT_INQUIRY | NO_START_STOP | IGNORE_RESIDUE }, + { USB_VENDOR_CREATIVE, USB_PRODUCT_CREATIVE_NOMAD, 0x001, + UMASS_PROTO_SCSI | UMASS_PROTO_BBB, + READ_CAPACITY_OFFBY1 + }, { USB_VENDOR_DESKNOTE, USB_PRODUCT_DESKNOTE_UCR_61S2B, RID_WILDCARD, UMASS_PROTO_SCSI | UMASS_PROTO_BBB, NO_QUIRKS ===============================================================================