From owner-freebsd-usb@FreeBSD.ORG Sun Dec 13 22:45:08 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CA981065670 for ; Sun, 13 Dec 2009 22:45:08 +0000 (UTC) (envelope-from tlb@tlb.org) Received: from anybots.com (mail.anybots.com [64.142.12.96]) by mx1.freebsd.org (Postfix) with SMTP id 522198FC0C for ; Sun, 13 Dec 2009 22:45:08 +0000 (UTC) Received: (qmail 16873 invoked from network); 13 Dec 2009 22:45:07 -0000 Received: from unknown (HELO ?10.10.10.66?) (10.10.10.66) by 10.10.10.20 with SMTP; 13 Dec 2009 22:45:07 -0000 Message-Id: From: Trevor Blackwell To: ed@freebsd.org In-Reply-To: <200912111038.06875.hselasky@c2i.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sun, 13 Dec 2009 14:45:07 -0800 References: <43EC7D78-31E5-4B86-9316-002AE650727A@tlb.org> <200912111038.06875.hselasky@c2i.net> X-Mailer: Apple Mail (2.936) Cc: freebsd-usb@freebsd.org Subject: Re: USB serial device naming X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Dec 2009 22:45:08 -0000 I can't seem to find a way to match USB serial ports & tty names. I have two serial USB devices, which I can distinguish easily from "usbconfig show_ifdrv" ugen2.2: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.2.0: umodem0: ugen2.3: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.3.0: uplcom0: and they result in two ttys: /dev/cuaU0 /dev/cuaU1 but I can't figure out how to map the USB devices to tty names. It depends on what order they come up in. They're assigned sequentially by a bitmap system in usb_serial.c How can my code figure this out? I think what I want is some sort of ioctl on the raw USB device or usbconfig option to tell me what tty it appears as. -- Trevor Blackwell 650 776 7870 tlb@tlb.org From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 02:41:04 2009 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 2F4691065670; Mon, 14 Dec 2009 02:41:04 +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 064108FC14; Mon, 14 Dec 2009 02:41:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBE2f3F6097788; Mon, 14 Dec 2009 02:41:03 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBE2f3dd097784; Mon, 14 Dec 2009 02:41:03 GMT (envelope-from linimon) Date: Mon, 14 Dec 2009 02:41:03 GMT Message-Id: <200912140241.nBE2f3dd097784@freefall.freebsd.org> To: romain@blogreen.org, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/140951: [uftdi] [patch] Add support for FT2232D Dual USB UART/FIFO I.C. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 02:41:04 -0000 Synopsis: [uftdi] [patch] Add support for FT2232D Dual USB UART/FIFO I.C. State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Mon Dec 14 02:40:13 UTC 2009 State-Changed-Why: Patch committed to 8; cannot be merged to -7. http://www.freebsd.org/cgi/query-pr.cgi?pr=140951 From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 02:42:53 2009 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 8251C1065693; Mon, 14 Dec 2009 02:42:53 +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 5934F8FC0C; Mon, 14 Dec 2009 02:42:53 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBE2grgx097859; Mon, 14 Dec 2009 02:42:53 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBE2grvE097855; Mon, 14 Dec 2009 02:42:53 GMT (envelope-from linimon) Date: Mon, 14 Dec 2009 02:42:53 GMT Message-Id: <200912140242.nBE2grvE097855@freefall.freebsd.org> To: romain@blogreen.org, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, thompsa@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/140951: [uftdi] [patch] Add support for FT2232D Dual USB UART/FIFO I.C. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 02:42:53 -0000 Synopsis: [uftdi] [patch] Add support for FT2232D Dual USB UART/FIFO I.C. State-Changed-From-To: closed->patched State-Changed-By: linimon State-Changed-When: Mon Dec 14 02:41:07 UTC 2009 State-Changed-Why: grr, my mistake, in -9 but needs MFC to 8. Responsible-Changed-From-To: freebsd-usb->thompsa Responsible-Changed-By: linimon Responsible-Changed-When: Mon Dec 14 02:41:07 UTC 2009 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=140951 From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 02:44:28 2009 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 0D2C91065679; Mon, 14 Dec 2009 02:44: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 D767A8FC0C; Mon, 14 Dec 2009 02:44:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBE2iR8N097953; Mon, 14 Dec 2009 02:44:27 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBE2iRDs097949; Mon, 14 Dec 2009 02:44:27 GMT (envelope-from linimon) Date: Mon, 14 Dec 2009 02:44:27 GMT Message-Id: <200912140244.nBE2iRDs097949@freefall.freebsd.org> To: freebsd-prs@brettglass.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, thompsa@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/140923: [axe] [patch] [usb8] Add support for new rev of USB Ethernet chip X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 02:44:28 -0000 Old Synopsis: [axe] [patch] Add support for new rev of USB Ethernet chip New Synopsis: [axe] [patch] [usb8] Add support for new rev of USB Ethernet chip State-Changed-From-To: open->patched State-Changed-By: linimon State-Changed-When: Mon Dec 14 02:43:47 UTC 2009 State-Changed-Why: set as MFC reminder. Responsible-Changed-From-To: freebsd-usb->thompsa Responsible-Changed-By: linimon Responsible-Changed-When: Mon Dec 14 02:43:47 UTC 2009 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=140923 From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 02:50:59 2009 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 C54BA1065696; Mon, 14 Dec 2009 02:50:59 +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 9B05D8FC12; Mon, 14 Dec 2009 02:50:59 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBE2oxdD006329; Mon, 14 Dec 2009 02:50:59 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBE2oxEq006317; Mon, 14 Dec 2009 02:50:59 GMT (envelope-from linimon) Date: Mon, 14 Dec 2009 02:50:59 GMT Message-Id: <200912140250.nBE2oxEq006317@freefall.freebsd.org> To: robertjenssen@hotmail.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, thompsa@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/140325: [libusb] Missing/incorrect initialisation and memory leak in libusb10/libusb20 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 02:50:59 -0000 Old Synopsis: Missing/incorrect initialisation and memory leak in libusb10/libusb20 New Synopsis: [libusb] Missing/incorrect initialisation and memory leak in libusb10/libusb20 State-Changed-From-To: open->patched State-Changed-By: linimon State-Changed-When: Mon Dec 14 02:48:20 UTC 2009 State-Changed-Why: set as MFC reminder. Responsible-Changed-From-To: freebsd-usb->thompsa Responsible-Changed-By: linimon Responsible-Changed-When: Mon Dec 14 02:48:20 UTC 2009 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=140325 From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 02:53:29 2009 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 32B2B1065670; Mon, 14 Dec 2009 02:53:29 +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 092658FC0A; Mon, 14 Dec 2009 02:53:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBE2rSGo006487; Mon, 14 Dec 2009 02:53:28 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBE2rSSj006483; Mon, 14 Dec 2009 02:53:28 GMT (envelope-from linimon) Date: Mon, 14 Dec 2009 02:53:28 GMT Message-Id: <200912140253.nBE2rSSj006483@freefall.freebsd.org> To: sebastian.huber@embedded-brains.de, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, thompsa@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/140242: [ehci] dev/usb/controller/ehci_ix4xx.c shortcomings X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 02:53:29 -0000 Old Synopsis: dev/usb/controller/ehci_ix4xx.c shortcomings New Synopsis: [ehci] dev/usb/controller/ehci_ix4xx.c shortcomings State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Mon Dec 14 02:52:26 UTC 2009 State-Changed-Why: Committed to head and MFCed to 8. Responsible-Changed-From-To: freebsd-usb->thompsa Responsible-Changed-By: linimon Responsible-Changed-When: Mon Dec 14 02:52:26 UTC 2009 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=140242 From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 02:56:38 2009 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 708821065670; Mon, 14 Dec 2009 02:56:38 +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 479778FC12; Mon, 14 Dec 2009 02:56:38 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBE2uc4J006645; Mon, 14 Dec 2009 02:56:38 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBE2ubng006641; Mon, 14 Dec 2009 02:56:37 GMT (envelope-from linimon) Date: Mon, 14 Dec 2009 02:56:37 GMT Message-Id: <200912140256.nBE2ubng006641@freefall.freebsd.org> To: dalroi@solfertje.student.utwente.nl, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/139990: [panic] [patch] [usb67] Kernel frequently panics after printing X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 02:56:38 -0000 Old Synopsis: [panic] Kernel frequently panics after printing New Synopsis: [panic] [patch] [usb67] Kernel frequently panics after printing State-Changed-From-To: open->analyzed State-Changed-By: linimon State-Changed-When: Mon Dec 14 02:55:42 UTC 2009 State-Changed-Why: A patch has been contributed which apparently fixes the problem. Waiting for a committer interested in working on the older USB drivers. http://www.freebsd.org/cgi/query-pr.cgi?pr=139990 From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 02:57:31 2009 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 0B16D1065670; Mon, 14 Dec 2009 02:57:31 +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 D59E08FC0C; Mon, 14 Dec 2009 02:57:30 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBE2vU06006695; Mon, 14 Dec 2009 02:57:30 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBE2vUDs006691; Mon, 14 Dec 2009 02:57:30 GMT (envelope-from linimon) Date: Mon, 14 Dec 2009 02:57:30 GMT Message-Id: <200912140257.nBE2vUDs006691@freefall.freebsd.org> To: wblock@wonkity.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/139598: [umass] [usb8] CAM reports "xptioctl: put "device pass" in your kernel config file" even when already present X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 02:57:31 -0000 Old Synopsis: [umass] CAM reports "xptioctl: put "device pass" in your kernel config file" even when already present New Synopsis: [umass] [usb8] CAM reports "xptioctl: put "device pass" in your kernel config file" even when already present State-Changed-From-To: open->analyzed State-Changed-By: linimon State-Changed-When: Mon Dec 14 02:56:52 UTC 2009 State-Changed-Why: A workaround is included in the Audit-Trail. http://www.freebsd.org/cgi/query-pr.cgi?pr=139598 From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 03:02:57 2009 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 A2D85106566C; Mon, 14 Dec 2009 03:02:57 +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 780278FC08; Mon, 14 Dec 2009 03:01:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBE31pk2015108; Mon, 14 Dec 2009 03:01:51 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBE30j6N011802; Mon, 14 Dec 2009 03:00:45 GMT (envelope-from linimon) Date: Mon, 14 Dec 2009 03:00:45 GMT Message-Id: <200912140300.nBE30j6N011802@freefall.freebsd.org> To: hsn@sendmail.cz, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/138904: [rum] [panic] [usb67] unpluging USB wifi card panics system X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 03:02:57 -0000 Old Synopsis: [rum] unpluging USB wifi card panics system New Synopsis: [rum] [panic] [usb67] unpluging USB wifi card panics system State-Changed-From-To: open->analyzed State-Changed-By: linimon State-Changed-When: Mon Dec 14 03:00:03 UTC 2009 State-Changed-Why: Apparently this only applies to the older USB stack. http://www.freebsd.org/cgi/query-pr.cgi?pr=138904 From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 03:20:17 2009 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 50AC4106568D; Mon, 14 Dec 2009 03:20:17 +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 252EB8FC1E; Mon, 14 Dec 2009 03:20:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBE3KH1N025708; Mon, 14 Dec 2009 03:20:17 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBE3KG1X025697; Mon, 14 Dec 2009 03:20:17 GMT (envelope-from linimon) Date: Mon, 14 Dec 2009 03:20:17 GMT Message-Id: <200912140320.nBE3KG1X025697@freefall.freebsd.org> To: ardovm@yahoo.it, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/138879: [uftdi] [patch] Patch to add support for CTI USB-Mini 485 and USB-Nano 485 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 03:20:17 -0000 Synopsis: [uftdi] [patch] Patch to add support for CTI USB-Mini 485 and USB-Nano 485 State-Changed-From-To: open->analyzed State-Changed-By: linimon State-Changed-When: Mon Dec 14 03:19:22 UTC 2009 State-Changed-Why: patch committed to P4, awaiting commit to 9-CURRENT and 8-STABLE. http://www.freebsd.org/cgi/query-pr.cgi?pr=138879 From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 03:21:38 2009 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 8BD2F1065670; Mon, 14 Dec 2009 03:21:38 +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 62ABB8FC16; Mon, 14 Dec 2009 03:21:38 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBE3LcET032704; Mon, 14 Dec 2009 03:21:38 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBE3LcIU032700; Mon, 14 Dec 2009 03:21:38 GMT (envelope-from linimon) Date: Mon, 14 Dec 2009 03:21:38 GMT Message-Id: <200912140321.nBE3LcIU032700@freefall.freebsd.org> To: jhanna@pangolin-systems.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, linimon@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/138675: [usb8] [panic] page fault, perhaps in USB X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 03:21:38 -0000 Synopsis: [usb8] [panic] page fault, perhaps in USB State-Changed-From-To: open->feedback State-Changed-By: linimon State-Changed-When: Mon Dec 14 03:21:03 UTC 2009 State-Changed-Why: To submitter: can you confirm that this issue is fixed in -CURRENT? Responsible-Changed-From-To: freebsd-usb->linimon Responsible-Changed-By: linimon Responsible-Changed-When: Mon Dec 14 03:21:03 UTC 2009 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=138675 From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 03:24:16 2009 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 626511065676; Mon, 14 Dec 2009 03:24: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 3847A8FC1D; Mon, 14 Dec 2009 03:24:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBE3OGFU032850; Mon, 14 Dec 2009 03:24:16 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBE3OFTV032846; Mon, 14 Dec 2009 03:24:15 GMT (envelope-from linimon) Date: Mon, 14 Dec 2009 03:24:15 GMT Message-Id: <200912140324.nBE3OFTV032846@freefall.freebsd.org> To: argp@census-labs.com, linimon@FreeBSD.org, freebsd-usb@FreeBSD.org, thompsa@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/138389: [usb8] [patch] NULL pointer dereference in usb_endpoint_foreach() in file sys/dev/usb/usb_device.c X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 03:24:16 -0000 Synopsis: [usb8] [patch] NULL pointer dereference in usb_endpoint_foreach() in file sys/dev/usb/usb_device.c State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Mon Dec 14 03:23:38 UTC 2009 State-Changed-Why: Committed to -CURRENT and MFCed to 8. Responsible-Changed-From-To: freebsd-usb->thompsa Responsible-Changed-By: linimon Responsible-Changed-When: Mon Dec 14 03:23:38 UTC 2009 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=138389 From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 07:42:05 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 791E6106566B for ; Mon, 14 Dec 2009 07:42:05 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 1D7488FC21 for ; Mon, 14 Dec 2009 07:42:05 +0000 (UTC) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 3C3981CC5C; Mon, 14 Dec 2009 08:42:04 +0100 (CET) Date: Mon, 14 Dec 2009 08:42:04 +0100 From: Ed Schouten To: Trevor Blackwell Message-ID: <20091214074204.GW64905@hoeg.nl> References: <43EC7D78-31E5-4B86-9316-002AE650727A@tlb.org> <200912111038.06875.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AOVdNAQjoPfa0oJU" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-usb@freebsd.org Subject: Re: USB serial device naming X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 07:42:05 -0000 --AOVdNAQjoPfa0oJU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Trevor, * Trevor Blackwell wrote: > I can't seem to find a way to match USB serial ports & tty names. I > have two serial USB devices, which I can distinguish easily from > "usbconfig show_ifdrv" >=20 > >=20 > and they result in two ttys: > /dev/cuaU0 > /dev/cuaU1 Be sure to keep in mind: the `real' TTY devices are ttyU0 and ttyU1. The cua* devices are callout devices, which unlike the tty* devices don't wait for a carrier detect signal during open(). My opinion is that the USB serial driver shouldn't use a bitmask to keep track of which unit number are available, because we've got a nice KPI for that: http://www.freebsd.org/cgi/man.cgi?query=3Dnew_unrhdr Unfortunately I cannot answer your question. Hopefully Hans can. ;-) Cheers, --=20 Ed Schouten WWW: http://80386.nl/ --AOVdNAQjoPfa0oJU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAksl7EwACgkQ52SDGA2eCwU/UwCdFBjvg00/N7vgWJA8hVsPR0On 0QIAn0s17C3ZhyZPJWtLXQDIjuV5TWr1 =QU0O -----END PGP SIGNATURE----- --AOVdNAQjoPfa0oJU-- From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 08:41:44 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BE681065670; Mon, 14 Dec 2009 08:41:44 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swipnet.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 82B318FC1F; Mon, 14 Dec 2009 08:41:43 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=BcPxCKPcWeNu8wncUssA:9 a=5vfRSZayrzRnyFNfcHcl-yOq-YcA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1154073699; Mon, 14 Dec 2009 09:41:41 +0100 From: Hans Petter Selasky To: Trevor Blackwell Date: Mon, 14 Dec 2009 09:43:36 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <43EC7D78-31E5-4B86-9316-002AE650727A@tlb.org> <200912111038.06875.hselasky@c2i.net> In-Reply-To: X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912140943.37162.hselasky@c2i.net> Cc: ed@freebsd.org, freebsd-usb@freebsd.org Subject: Re: USB serial device naming X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 08:41:44 -0000 On Sunday 13 December 2009 23:45:07 Trevor Blackwell wrote: > I can't figure out how to map the USB devices to tty names. I think this is not possible at the moment. And there is no TTY API to pass this information. Please provide a patch. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 08:46:15 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95130106566B for ; Mon, 14 Dec 2009 08:46:15 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.tele2.se [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id 264A88FC1A for ; Mon, 14 Dec 2009 08:46:14 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=s3R5Xy8iAAAA:8 a=6I5d2MoRAAAA:8 a=YKBVzh_K6lbdwv6lF4cA:9 a=ksciu5rkS4OP27EGhqoA:7 a=IlXwXMWMWEHXgxBrl5xDhJ98jKQA:4 a=HMEDajeASh8A:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 587202230; Mon, 14 Dec 2009 09:46:13 +0100 From: Hans Petter Selasky To: Ed Schouten Date: Mon, 14 Dec 2009 09:48:07 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <43EC7D78-31E5-4B86-9316-002AE650727A@tlb.org> <20091214074204.GW64905@hoeg.nl> In-Reply-To: <20091214074204.GW64905@hoeg.nl> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912140948.08171.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: USB serial device naming X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 08:46:15 -0000 On Monday 14 December 2009 08:42:04 Ed Schouten wrote: > Hello Trevor, > > * Trevor Blackwell wrote: > > I can't seem to find a way to match USB serial ports & tty names. I > > have two serial USB devices, which I can distinguish easily from > > "usbconfig show_ifdrv" > > > > > > > > and they result in two ttys: > > /dev/cuaU0 > > /dev/cuaU1 > > Be sure to keep in mind: the `real' TTY devices are ttyU0 and ttyU1. The > cua* devices are callout devices, which unlike the tty* devices don't > wait for a carrier detect signal during open(). > > My opinion is that the USB serial driver shouldn't use a bitmask to keep > track of which unit number are available, because we've got a nice KPI > for that: > > http://www.freebsd.org/cgi/man.cgi?query=new_unrhdr > > Unfortunately I cannot answer your question. Hopefully Hans can. ;-) That's OK, but the real problem is that TTY is not a visible child of UPLCOM for example. I would suggest adding a new IOCTL or maybe you have a better idea, where we can pass the "device_get_nameunit()" string, and then TTY can store it and pass it to userland. Also TTY should have a printout in dmesg, which unit is create if this string is specified. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 08:48:42 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1BE8C106566C for ; Mon, 14 Dec 2009 08:48:42 +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 741398FC12 for ; Mon, 14 Dec 2009 08:48:41 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=Gruf5nAm4nYA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=_Yv7MrWqlXihvAoF5gIA:9 a=dEtFkXl7oUE3-cDj-iEpTvm7S2IA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1327417052; Mon, 14 Dec 2009 09:48:39 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 14 Dec 2009 09:50:33 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <3a142e750912120418h2e57c3c4g351d44b4a342a789@mail.gmail.com> In-Reply-To: <3a142e750912120418h2e57c3c4g351d44b4a342a789@mail.gmail.com> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912140950.34624.hselasky@c2i.net> Cc: freebsd-net@freebsd.org Subject: Re: patch: ndisusb: show device description on attach X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 08:48:42 -0000 On Saturday 12 December 2009 13:18:53 Paul B Mahol wrote: > --- /sys/dev/if_ndis/if_ndis_usb.c 2009-11-25 21:49:03.000000000 +0000 > +++ if_ndis_usb.c 2009-12-12 12:17:27.000000000 +0000 > @@ -165,6 +165,7 @@ > driver_object *drv; > int devidx = 0; > > + device_set_usb_desc(self); > db = uaa->driver_ivar; > sc = (struct ndis_softc *)dummy; > sc->ndis_dev = self; The patch looks good. Just commit it! --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 08:53:52 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6BE91065701 for ; Mon, 14 Dec 2009 08:53:52 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 5B16B8FC22 for ; Mon, 14 Dec 2009 08:53:52 +0000 (UTC) Received: by palm.hoeg.nl (Postfix, from userid 1000) id A24A01CC5C; Mon, 14 Dec 2009 09:53:51 +0100 (CET) Date: Mon, 14 Dec 2009 09:53:51 +0100 From: Ed Schouten To: Hans Petter Selasky Message-ID: <20091214085351.GX64905@hoeg.nl> References: <43EC7D78-31E5-4B86-9316-002AE650727A@tlb.org> <20091214074204.GW64905@hoeg.nl> <200912140948.08171.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RzhTjNcg6tU6joYs" Content-Disposition: inline In-Reply-To: <200912140948.08171.hselasky@c2i.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-usb@freebsd.org Subject: Re: USB serial device naming X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 08:53:52 -0000 --RzhTjNcg6tU6joYs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Hans Petter Selasky wrote: > Also TTY should have a printout in dmesg, which unit is create if this > string is specified. Just patch your ucom driver to print that information. It doesn't belong in the TTY layer. Can't you just extend usbconfig to also dump that information? --=20 Ed Schouten WWW: http://80386.nl/ --RzhTjNcg6tU6joYs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAksl/R8ACgkQ52SDGA2eCwWVtgCfaeSZ6Zmx2ssFt4+07Sp8koUV +rYAnRkNEuHwgdLEGIxSpKXae/Jwj31T =KPAt -----END PGP SIGNATURE----- --RzhTjNcg6tU6joYs-- From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 09:04:09 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E6BF1065670 for ; Mon, 14 Dec 2009 09:04:09 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 30A4B8FC0C for ; Mon, 14 Dec 2009 09:04:08 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=vBAHag5i4-WVGLsJKq8A:9 a=PJ7jiR6wcTtt0hNgjx3jYcnTcxkA:4 a=9aOQ2cSd83gA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 290350874; Mon, 14 Dec 2009 10:04:07 +0100 From: Hans Petter Selasky To: Ed Schouten Date: Mon, 14 Dec 2009 10:06:00 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <43EC7D78-31E5-4B86-9316-002AE650727A@tlb.org> <200912140948.08171.hselasky@c2i.net> <20091214085351.GX64905@hoeg.nl> In-Reply-To: <20091214085351.GX64905@hoeg.nl> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912141006.01480.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: USB serial device naming X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 09:04:09 -0000 On Monday 14 December 2009 09:53:51 Ed Schouten wrote: > * Hans Petter Selasky wrote: > > Also TTY should have a printout in dmesg, which unit is create if this > > string is specified. > > Just patch your ucom driver to print that information. It doesn't belong > in the TTY layer. Can't you just extend usbconfig to also dump that > information? Hi, A printout in USB is OK for the user, but what about applications? Probably I could extend with an USB IOCTL for the TTY device to do what I want, in addition to a printout. USB_IOCTL_GET_PARENT_NAME --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 11:07:06 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 337D5106568F for ; Mon, 14 Dec 2009 11:07:06 +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 214258FC15 for ; Mon, 14 Dec 2009 11:07:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBEB76J7076098 for ; Mon, 14 Dec 2009 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBEB75iZ076096 for freebsd-usb@FreeBSD.org; Mon, 14 Dec 2009 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 Dec 2009 11:07:05 GMT Message-Id: <200912141107.nBEB75iZ076096@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, 14 Dec 2009 11:07:06 -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/141327 usb [ukbd] [usb67] USB kbd not working with 7.1+PAE on IBM o usb/141313 usb [usb8] nvidia USB 2.0 controller - stops copying on US o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o usb/140928 usb [u3g] [usb8] [patch] ZTE CDMA2000 1X EV-DO (MG478/AC87 o usb/140920 usb [install] USB based install fails on 8.0-RELEASE [regr 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 f usb/140714 usb [hang] [usb8] system freeze when disconect my flash us o kern/140614 usb [uplcom] [patch] adding support for Radio Shack Gigwar o usb/140590 usb [bluetooth] [usb8] ng_ubt(4) ng_l2cap_process_cmd_rej o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140259 usb [libusb] [patch] [usb8] libusb-1.0 portability/compati 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 a 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 o usb/139142 usb [ehci] [usb8] [patch] ehci drivers (NVIDIA nForce4 USB o usb/138915 usb [patch] [usb8] [usb67] add support for SheevaPlug seri 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 a usb/138879 usb [uftdi] [patch] Patch to add support for CTI USB-Mini 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/138175 usb [usb67] [boot] System cannot boot, when USB reader wit o usb/138172 usb [u3g] [patch] [usb67] Additional dev id for u3g (Optio o usb/138138 usb [u3g] [patch] [usb67] Novatel U760 for u3g (Verizon an o usb/138124 usb [usbaudio] [usb8] Axed uaudio functionality in the usb 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 f usb/137848 usb [panic] [usb67] Page fault when using an USB bluetooth 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/137616 usb [usb67][usb8][usbdevs] [patch]: usbdevs update: Please o usb/137377 usb [usb8] Support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro p usb/137226 usb [usb67][patch] quirk for Philips extern USB disk o usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors o usb/137129 usb [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 f usb/135857 usb [urtw] [usb67] RTL8187 Wireless Adapter o usb/135575 usb [usbdevs] [patch] [usb67] Add HTC Wizard phone vid/pid o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa p usb/135372 usb [usb67][umass] Quirk report for Teclast TL-C300 usb me o usb/135348 usb [umass] USB Drive Hangs with ZFS (JMicron USB2/eSata) o usb/135206 usb machine reboots when inserted USB device o usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/135182 usb UMASS quirk - Olympus FE20 camera o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134633 usb Add support for WILLCOM03(SHARP smart phone) o usb/134631 usb [usbdevs] [patch] WiSPY DBx support requires usb tweak o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134117 usb [Patch] Add support for 'Option GlobeTrotter HSDPA Mod o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o usb/133989 usb [newusb] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode p usb/132799 usb [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CA o usb/132785 usb [usb] [patch] Gemtech remote powersocket is classed as o usb/132594 usb USB subsystem causes page fault and crashes o usb/132312 usb Xorg 7.4 halts USB controller o usb/132080 usb [patch] [usb] [rum] Kernel panic after NOMEM caused by o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131912 usb [uslcom] [patch] New devices using Silicon Labs chips o usb/131900 usb [usbdevs] [patch] Additional product identification co o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c o usb/131123 usb [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130230 usb Samsung Electronics YP-U3 does not attach in 7.1-RELEA o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [newusb] DVD drive detects as 'da' device o usb/129945 usb [usbdevs] [patch] add u3g support for Longcheer WM66 U o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129522 usb [ubsa] [patch] add support for ZTE AC8700 modem o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader o usb/129251 usb [usbdevs] [patch] Liebert UPS being assigned uhid and o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb] [patch] uaudio is not full duplex o usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23 o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an o usb/127926 usb [boot] USB Timeout during bootup p usb/127549 usb [umass] [usb67] [patch] Meizu MiniPlayer M6 (SL) requi s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o usb/127423 usb [boot] BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempr o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attaach and detach o usb/127222 usb [ohci] Regression in 7.0 usb storage generic driver o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d o usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125238 usb [ums] Habu Mouse turns off in X o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2 o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870 o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122621 usb [new driver] [patch] New driver for Sierra Wireless 3G o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/122025 usb [uscanner] [patch] uscanner does not attach to Epson R o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o usb/121232 usb [usb] [panic] USB CardBus card removal causes reboot s p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114068 usb [usb67] [usb8] [umass] [patch] Problem with connection o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/113060 usb [usb67] [ulpt] [patch] Samsung printer not working in o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated s usb/108344 usb [usb67] [atausb] [panic] kernel with atausb panics whe o usb/107827 usb [usb67] [ohci] [panic] ohci_add_done addr not found o usb/107388 usb [usb67] [usb8] [new driver] [patch] add utoppy device o usb/107243 usb [usb67] [cam] [quirk] [patch] Apacer USB Flash Drive q o usb/106041 usb [usb67] [usb8] [request] FreeBSD does not recognise Mu o usb/105361 usb [usb67] [panic] Kernel panic during unmounting mass st s usb/103917 usb [usb67] [uhub] USB driver reports "Addr 0 should never o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele o usb/101775 usb [usb67] [usb8] [libusbhid] [patch] possible error in r o usb/101761 usb [usb67] [patch] [request] usb.h: increase maximal size o usb/100746 usb [usb67] [ukbd] system does not boot due to USB keyboar o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o kern/99200 usb [bluetooth] SMP-Kernel crashes reliably when Bluetooth o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91629 usb [usb] usbd_abort_pipe() may result in infinite loop o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80829 usb [modules] [panic] possible panic when loading USB-modu s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/79722 usb [ehci] wrong alignments in ehci.h a usb/79656 usb [ehci] RHSC interrupts lost o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/76732 usb [ums] Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75797 usb [sound] [regression] 5.3-STABLE(2005 1/4) detect USB h o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/74771 usb [umass] [hang] mounting write-protected umass device a s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 321 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 17:44:02 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3E14106566C for ; Mon, 14 Dec 2009 17:44:02 +0000 (UTC) (envelope-from tlb@tlb.org) Received: from anybots.com (mail.anybots.com [64.142.12.96]) by mx1.freebsd.org (Postfix) with SMTP id 851A48FC1E for ; Mon, 14 Dec 2009 17:44:02 +0000 (UTC) Received: (qmail 11171 invoked from network); 14 Dec 2009 17:44:01 -0000 Received: from unknown (HELO ?10.10.10.66?) (10.10.10.66) by 10.10.10.20 with SMTP; 14 Dec 2009 17:44:01 -0000 Message-Id: From: Trevor Blackwell To: Hans Petter Selasky In-Reply-To: <200912141006.01480.hselasky@c2i.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 14 Dec 2009 09:44:01 -0800 References: <43EC7D78-31E5-4B86-9316-002AE650727A@tlb.org> <200912140948.08171.hselasky@c2i.net> <20091214085351.GX64905@hoeg.nl> <200912141006.01480.hselasky@c2i.net> X-Mailer: Apple Mail (2.936) Cc: Ed Schouten , freebsd-usb@freebsd.org Subject: Re: USB serial device naming X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 17:44:02 -0000 > USB_IOCTL_GET_PARENT_NAME That seems like the right approach. Is there only ever one associated "parent" driver? Are there cases where it should report both a serial & network interface? -- Trevor Blackwell 650 776 7870 tlb@tlb.org From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 21:45:07 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1900106566B for ; Mon, 14 Dec 2009 21:45:07 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 8C9C88FC0A for ; Mon, 14 Dec 2009 21:45:07 +0000 (UTC) Received: by pwi15 with SMTP id 15so2450408pwi.3 for ; Mon, 14 Dec 2009 13:45:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=pUT7KoKIWjd2V+h6hJYObdO+pBqWAnWGouW3fWgXEjw=; b=wdCyvUU5YPVFBuIGTrEfkc7NtCqeEhJftsJ/9koH1DfPaUKoM/i+cz0xDHc0v7AWFx 3iqws/kGS7FU1h/8hOvCXGqzlSYLv7pS+sNnuj8Uu0VJqRz5GUQ3jlwnm5gVG7PSPCis uKcvsaa8KjZhHezH1pPfWVkQQDskXF4LEU9PU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=GoIF+x6fir8mIWa++M0v8fPEFSd2ajLXzaJF55oVB8B8x10KtL5CSWSO0FqhXkNqei jP+Zl+Cmnr8OfddZLR7f2Pks/MmrX6xGXilszCOhR42FAPxGaz/Qj60odAoYoyYQ+4rn C9A0J6cgt4MhJtGyNSVxI6YOSZuw1dxgFPboc= MIME-Version: 1.0 Received: by 10.142.249.6 with SMTP id w6mr3519447wfh.346.1260827107106; Mon, 14 Dec 2009 13:45:07 -0800 (PST) Date: Mon, 14 Dec 2009 14:45:07 -0700 Message-ID: <539c60b90912141345n70e71484p45bd79897f6a8071@mail.gmail.com> From: Steve Franks To: freebsd-usb Content-Type: text/plain; charset=ISO-8859-1 Subject: 7.2-stable #3 seems significantly less stable. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 21:45:07 -0000 I have no hard metrics, but having gone from 7.2-release to 7.2-stable sometime in the last couple weeks has really made my usb experience quite unpleasant. I now have much trouble with loss of communication to uslcom devices when closing and reopening them (*not* plugging and unplugging them). Simply closing and reopening the port causes the open to freeze about 25% of the time. I seem to have similar problems with umass devices. I tend to leave evertthing plugged into the same hub and when it freezes, I unplug the cable from the hub. That caused a freeze & reboot (I assume there was a panic, although no output on the screen). Anyway, like I said, no real chance of debug with it being so intermittent, just an FYI. Just thought I'd issue a report in case we just merged head into stable and most people think it's great - I'm not finding it great at the moment. If I do find a repeatable sequence of events, I'll send some info. Best! Steve From owner-freebsd-usb@FreeBSD.ORG Mon Dec 14 21:53:01 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED420106566C for ; Mon, 14 Dec 2009 21:53: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 7E0418FC17 for ; Mon, 14 Dec 2009 21:53:01 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=FW5kNO41iXtb9loFzkkA:9 a=GtYFqqGKBTo-BHKrlgITCTHhUr4A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1324799417; Mon, 14 Dec 2009 22:52:59 +0100 From: Hans Petter Selasky To: Trevor Blackwell Date: Mon, 14 Dec 2009 22:54:51 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <43EC7D78-31E5-4B86-9316-002AE650727A@tlb.org> <200912141006.01480.hselasky@c2i.net> In-Reply-To: X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912142254.52874.hselasky@c2i.net> Cc: Ed Schouten , freebsd-usb@freebsd.org Subject: Re: USB serial device naming X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 21:53:02 -0000 On Monday 14 December 2009 18:44:01 Trevor Blackwell wrote: > > USB_IOCTL_GET_PARENT_NAME > > That seems like the right approach. Is there only ever one associated > "parent" driver? Are there cases where it should report both a serial > & network interface? That's a good question how to best standardise this. Probably the IOCTL is useful for other busses too. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Dec 15 01:00:08 2009 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 52116106568F for ; Tue, 15 Dec 2009 01:00:08 +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 0C8A98FC15 for ; Tue, 15 Dec 2009 01:00:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBF107On006180 for ; Tue, 15 Dec 2009 01:00:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBF107Mf006179; Tue, 15 Dec 2009 01:00:07 GMT (envelope-from gnats) Resent-Date: Tue, 15 Dec 2009 01:00:07 GMT Resent-Message-Id: <200912150100.nBF107Mf006179@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, YAMAMOTO@FreeBSD.org, Shigeru Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4F18106566B for ; Tue, 15 Dec 2009 00:51:50 +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 C415D8FC16 for ; Tue, 15 Dec 2009 00:51:50 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nBF0poKd010317 for ; Tue, 15 Dec 2009 00:51:50 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nBF0poPg010316; Tue, 15 Dec 2009 00:51:50 GMT (envelope-from nobody) Message-Id: <200912150051.nBF0poPg010316@www.freebsd.org> Date: Tue, 15 Dec 2009 00:51:50 GMT From: YAMAMOTO@FreeBSD.org, Shigeru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/141467: [uftdi] [patch] RATOC REX-USB60F (usb serial converter) is not working on -current X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 01:00:08 -0000 >Number: 141467 >Category: usb >Synopsis: [uftdi] [patch] RATOC REX-USB60F (usb serial converter) is not working on -current >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 15 01:00:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: YAMAMOTO, Shigeru >Release: FreeBSD 9.0-CURRENT >Organization: >Environment: FreeBSD XXXXXXXX 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Wed Dec 2 11:31:13 JST 2009 root@XXXXXXXXXXX:/usr/src/sys/amd64/compile/GENERIC amd64 >Description: this problem is same as PR 'usb/115933'. http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/115933 I modify a patch which is attached to that PR. I'm currenty using RES-USB60F on my -current environment. >How-To-Repeat: >Fix: use this patch and recompile "uftdi.ko". Patch attached with submission follows: Index: sys/dev/usb/usbdevs =================================================================== RCS file: /share/cvsup/FreeBSD/current/usr/src/sys/dev/usb/usbdevs,v retrieving revision 1.428 diff -u -r1.428 usbdevs --- sys/dev/usb/usbdevs 11 Dec 2009 02:44:15 -0000 1.428 +++ sys/dev/usb/usbdevs 11 Dec 2009 06:07:33 -0000 @@ -2135,6 +2135,7 @@ /* RATOC Systems products */ product RATOC REXUSB60 0xb000 REX-USB60 +product RATOC REXUSB60F 0xb020 REX-USB60F /* Sagem products */ product SAGEM USBSERIAL 0x0027 USB-Serial Controller Index: sys/dev/usb/serial/uftdi.c =================================================================== RCS file: /share/cvsup/FreeBSD/current/usr/src/sys/dev/usb/serial/uftdi.c,v retrieving revision 1.17 diff -u -r1.17 uftdi.c --- sys/dev/usb/serial/uftdi.c 9 Dec 2009 20:28:33 -0000 1.17 +++ sys/dev/usb/serial/uftdi.c 10 Dec 2009 00:15:38 -0000 @@ -252,6 +252,7 @@ {USB_VPI(USB_VENDOR_BBELECTRONICS, USB_PRODUCT_BBELECTRONICS_USOTL4, UFTDI_TYPE_8U232AM)}, {USB_VPI(USB_VENDOR_MARVELL, USB_PRODUCT_MARVELL_SHEEVAPLUG, UFTDI_TYPE_8U232AM)}, {USB_VPI(USB_VENDOR_MELCO, USB_PRODUCT_MELCO_PCOPRS1, UFTDI_TYPE_8U232AM)}, + {USB_VPI(USB_VENDOR_RATOC, USB_PRODUCT_RATOC_REXUSB60F, UFTDI_TYPE_8U232AM)}, }; static int >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Dec 15 06:17:59 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFBC2106568F for ; Tue, 15 Dec 2009 06:17:59 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 498D28FC1D for ; Tue, 15 Dec 2009 06:17:58 +0000 (UTC) Received: from inchoate.gsoft.com.au ([203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id nBF6Hu2F055407 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 15 Dec 2009 16:47:56 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-usb@freebsd.org Date: Tue, 15 Dec 2009 16:47:46 +1030 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1534538.YmKpVpaBlK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200912151647.53759.doconnor@gsoft.com.au> X-Spam-Score: -3.977 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Subject: Re-enumerating a device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 06:18:00 -0000 --nextPart1534538.YmKpVpaBlK Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline [ Please CC me as I'm not on list ] Hi, I have an M-Audio MobilePre, it's a USB audio module which works with=20 snd_uadio, however to get it working I need to load the firwmare (via=20 DFU). Unfortunately the only way I can get it to re-enumerate after sending=20 the firmware is to unplug it enough to disconnect the data lines (but=20 not power) and then reconnect. I have tried usbconfig reset, power_off/power_on, set_config and set_alt=20 but to no avail.. [inchoate 16:46] ~/projects/dfu-util-0.1.snap20090212 >dfu-util -D ~/ma0041= 03.bin -t 256 dfu-util - (C) 2007-2008 by OpenMoko Inc. This program is Free Software and has ABSOLUTELY NO WARRANTY Opening USB Device 0x0000:0x0000... Claiming USB DFU Runtime Interface... Determining device status: state =3D dfuIDLE, status =3D 0 WARNING: Runtime device already in DFU state ?!? =46ound Runtime: [0x0763:0x2804] devnum=3D0, cfg=3D0, intf=3D0, alt=3D0, na= me=3D"RAM" Claiming USB DFU Interface... Setting Alternate Setting ... Determining device status: state =3D dfuIDLE, status =3D 0 dfuIDLE, continuing Transfer Size =3D 0x0100 bytes_per_hash=3D120 Starting download: [##################################################] fin= ished! state(7) =3D dfuMANIFEST, status(0) =3D No error condition is present state(2) =3D dfuIDLE, status(0) =3D No error condition is present Done! =46rom dmesg.. ugen0.2: at usbus0 # Run dfu-util ugen0.2: at usbus0 (disconnected) # Cause re-enumeratae ugen0.2: at usbus0 uaudio0: on usbus0 uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format uaudio0: No midi sequencer pcm1: on uaudio0 =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1534538.YmKpVpaBlK Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iD8DBQBLJyoR5ZPcIHs/zowRAp9HAJ4zExo8WsQ7ggoAaVQ6xEe69Bfm1QCgpjZx cu7gnwPs8YYkBPZ9XhVMGCM= =Y307 -----END PGP SIGNATURE----- --nextPart1534538.YmKpVpaBlK-- From owner-freebsd-usb@FreeBSD.ORG Tue Dec 15 07:36:25 2009 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 836361065693; Tue, 15 Dec 2009 07:36:25 +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 5A6AC8FC23; Tue, 15 Dec 2009 07:36:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBF7aOH2025094; Tue, 15 Dec 2009 07:36:24 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBF7aO5i025090; Tue, 15 Dec 2009 07:36:24 GMT (envelope-from linimon) Date: Tue, 15 Dec 2009 07:36:24 GMT Message-Id: <200912150736.nBF7aO5i025090@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/141474: [boot] FreeBSD 8.0 can not install from USB CDROM drive X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 07:36:25 -0000 Old Synopsis: FreeBSD 8.0 can not install from USB CDROM drive New Synopsis: [boot] FreeBSD 8.0 can not install from USB CDROM drive Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Tue Dec 15 07:35:51 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=141474 From owner-freebsd-usb@FreeBSD.ORG Tue Dec 15 09:08:22 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E8D61065670; Tue, 15 Dec 2009 09:08:22 +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 606588FC1A; Tue, 15 Dec 2009 09:08:20 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=2RELirBdk4kA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=QCCyeZCRukhHtjUR7rkA:9 a=6f1kWOK3lLmAQHrwWIoA:7 a=urYcFLQPW53FJrzJaGNhhaiuZxcA:4 a=SV7veod9ZcQA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1360393055; Tue, 15 Dec 2009 10:08:18 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 15 Dec 2009 10:07:22 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200912150051.nBF0poPg010316@www.freebsd.org> In-Reply-To: <200912150051.nBF0poPg010316@www.freebsd.org> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912151007.23253.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org, YAMAMOTO@freebsd.org, Shigeru Subject: Re: usb/141467: [uftdi] [patch] RATOC REX-USB60F (usb serial converter) is not working on -current X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 09:08:22 -0000 On Tuesday 15 December 2009 01:51:50 YAMAMOTO@freebsd.org, Shigeru wrote: > >Number: 141467 > >Category: usb > >Synopsis: [uftdi] [patch] RATOC REX-USB60F (usb serial converter) is > > not working on -current Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Dec 15 01:00:07 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: YAMAMOTO, Shigeru > >Release: FreeBSD 9.0-CURRENT > >Organization: > >Environment: > > FreeBSD XXXXXXXX 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Wed Dec 2 11:31:13 > JST 2009 root@XXXXXXXXXXX:/usr/src/sys/amd64/compile/GENERIC amd64 > > >Description: > > this problem is same as PR 'usb/115933'. > http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/115933 > > I modify a patch which is attached to that PR. > > I'm currenty using RES-USB60F on my -current environment. > > >How-To-Repeat: > > > >Fix: > > use this patch and recompile "uftdi.ko". > > > Patch attached with submission follows: > > Index: sys/dev/usb/usbdevs > =================================================================== > RCS file: /share/cvsup/FreeBSD/current/usr/src/sys/dev/usb/usbdevs,v > retrieving revision 1.428 > diff -u -r1.428 usbdevs > --- sys/dev/usb/usbdevs 11 Dec 2009 02:44:15 -0000 1.428 > +++ sys/dev/usb/usbdevs 11 Dec 2009 06:07:33 -0000 > @@ -2135,6 +2135,7 @@ > > /* RATOC Systems products */ > product RATOC REXUSB60 0xb000 REX-USB60 > +product RATOC REXUSB60F 0xb020 REX-USB60F > > /* Sagem products */ > product SAGEM USBSERIAL 0x0027 USB-Serial Controller > Index: sys/dev/usb/serial/uftdi.c > =================================================================== > RCS file: /share/cvsup/FreeBSD/current/usr/src/sys/dev/usb/serial/uftdi.c,v > retrieving revision 1.17 > diff -u -r1.17 uftdi.c > --- sys/dev/usb/serial/uftdi.c 9 Dec 2009 20:28:33 -0000 1.17 > +++ sys/dev/usb/serial/uftdi.c 10 Dec 2009 00:15:38 -0000 > @@ -252,6 +252,7 @@ > {USB_VPI(USB_VENDOR_BBELECTRONICS, USB_PRODUCT_BBELECTRONICS_USOTL4, > UFTDI_TYPE_8U232AM)}, {USB_VPI(USB_VENDOR_MARVELL, > USB_PRODUCT_MARVELL_SHEEVAPLUG, UFTDI_TYPE_8U232AM)}, > {USB_VPI(USB_VENDOR_MELCO, USB_PRODUCT_MELCO_PCOPRS1, UFTDI_TYPE_8U232AM)}, > + {USB_VPI(USB_VENDOR_RATOC, USB_PRODUCT_RATOC_REXUSB60F, > UFTDI_TYPE_8U232AM)}, }; > > static int > > >Release-Note: > >Audit-Trail: > >Unformatted: > Committed to USB P4, ID=171783. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Dec 15 09:09:51 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76F8B1065676 for ; Tue, 15 Dec 2009 09:09:51 +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 D12648FC2D for ; Tue, 15 Dec 2009 09:09:50 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=3moY-IvhsUI23I3xZrMA:9 a=EhqRa1oPPp3XDMKKIQIA:7 a=AU7r8N4M9sVms59WxBQeY9LeasQA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1178732636; Tue, 15 Dec 2009 10:09:48 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 15 Dec 2009 10:08:50 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200912151647.53759.doconnor@gsoft.com.au> In-Reply-To: <200912151647.53759.doconnor@gsoft.com.au> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912151008.50942.hselasky@c2i.net> Cc: Daniel O'Connor Subject: Re: Re-enumerating a device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 09:09:51 -0000 On Tuesday 15 December 2009 07:17:46 Daniel O'Connor wrote: > [ Please CC me as I'm not on list ] > > Hi, > I have an M-Audio MobilePre, it's a USB audio module which works with > snd_uadio, however to get it working I need to load the firwmare (via > DFU). > > Unfortunately the only way I can get it to re-enumerate after sending > the firmware is to unplug it enough to disconnect the data lines (but > not power) and then reconnect. > > I have tried usbconfig reset, power_off/power_on, set_config and set_alt > but to no avail.. > > [inchoate 16:46] ~/projects/dfu-util-0.1.snap20090212 >dfu-util -D > ~/ma004103.bin -t 256 dfu-util - (C) 2007-2008 by OpenMoko Inc. > This program is Free Software and has ABSOLUTELY NO WARRANTY > > Opening USB Device 0x0000:0x0000... > Claiming USB DFU Runtime Interface... > Determining device status: state = dfuIDLE, status = 0 > WARNING: Runtime device already in DFU state ?!? > Found Runtime: [0x0763:0x2804] devnum=0, cfg=0, intf=0, alt=0, name="RAM" > Claiming USB DFU Interface... > Setting Alternate Setting ... > Determining device status: state = dfuIDLE, status = 0 > dfuIDLE, continuing > Transfer Size = 0x0100 > bytes_per_hash=120 > Starting download: [##################################################] > finished! state(7) = dfuMANIFEST, status(0) = No error condition is present > state(2) = dfuIDLE, status(0) = No error condition is present > Done! > > From dmesg.. > ugen0.2: at usbus0 > # Run dfu-util > ugen0.2: at usbus0 (disconnected) > # Cause re-enumeratae > ugen0.2: at usbus0 > uaudio0: on usbus0 > uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format > uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format > uaudio0: No midi sequencer > pcm1: on uaudio0 Can you show dmesg, when you do: usbconfig -u 0 -a 2 reset --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Dec 15 09:10:07 2009 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 694F4106566C for ; Tue, 15 Dec 2009 09:10: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 3F8D28FC1E for ; Tue, 15 Dec 2009 09:10:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBF9A6pJ016217 for ; Tue, 15 Dec 2009 09:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBF9A629016211; Tue, 15 Dec 2009 09:10:06 GMT (envelope-from gnats) Date: Tue, 15 Dec 2009 09:10:06 GMT Message-Id: <200912150910.nBF9A629016211@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/141467: [uftdi] [patch] RATOC REX-USB60F (usb serial converter) is not working on -current 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, 15 Dec 2009 09:10:07 -0000 The following reply was made to PR usb/141467; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: YAMAMOTO@freebsd.org, Shigeru , freebsd-gnats-submit@freebsd.org Subject: Re: usb/141467: [uftdi] [patch] RATOC REX-USB60F (usb serial converter) is not working on -current Date: Tue, 15 Dec 2009 10:07:22 +0100 On Tuesday 15 December 2009 01:51:50 YAMAMOTO@freebsd.org, Shigeru wrote: > >Number: 141467 > >Category: usb > >Synopsis: [uftdi] [patch] RATOC REX-USB60F (usb serial converter) is > > not working on -current Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Dec 15 01:00:07 UTC 2009 > >Closed-Date: > >Last-Modified: > >Originator: YAMAMOTO, Shigeru > >Release: FreeBSD 9.0-CURRENT > >Organization: > >Environment: > > FreeBSD XXXXXXXX 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Wed Dec 2 11:31:13 > JST 2009 root@XXXXXXXXXXX:/usr/src/sys/amd64/compile/GENERIC amd64 > > >Description: > > this problem is same as PR 'usb/115933'. > http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/115933 > > I modify a patch which is attached to that PR. > > I'm currenty using RES-USB60F on my -current environment. > > >How-To-Repeat: > > > >Fix: > > use this patch and recompile "uftdi.ko". > > > Patch attached with submission follows: > > Index: sys/dev/usb/usbdevs > =================================================================== > RCS file: /share/cvsup/FreeBSD/current/usr/src/sys/dev/usb/usbdevs,v > retrieving revision 1.428 > diff -u -r1.428 usbdevs > --- sys/dev/usb/usbdevs 11 Dec 2009 02:44:15 -0000 1.428 > +++ sys/dev/usb/usbdevs 11 Dec 2009 06:07:33 -0000 > @@ -2135,6 +2135,7 @@ > > /* RATOC Systems products */ > product RATOC REXUSB60 0xb000 REX-USB60 > +product RATOC REXUSB60F 0xb020 REX-USB60F > > /* Sagem products */ > product SAGEM USBSERIAL 0x0027 USB-Serial Controller > Index: sys/dev/usb/serial/uftdi.c > =================================================================== > RCS file: /share/cvsup/FreeBSD/current/usr/src/sys/dev/usb/serial/uftdi.c,v > retrieving revision 1.17 > diff -u -r1.17 uftdi.c > --- sys/dev/usb/serial/uftdi.c 9 Dec 2009 20:28:33 -0000 1.17 > +++ sys/dev/usb/serial/uftdi.c 10 Dec 2009 00:15:38 -0000 > @@ -252,6 +252,7 @@ > {USB_VPI(USB_VENDOR_BBELECTRONICS, USB_PRODUCT_BBELECTRONICS_USOTL4, > UFTDI_TYPE_8U232AM)}, {USB_VPI(USB_VENDOR_MARVELL, > USB_PRODUCT_MARVELL_SHEEVAPLUG, UFTDI_TYPE_8U232AM)}, > {USB_VPI(USB_VENDOR_MELCO, USB_PRODUCT_MELCO_PCOPRS1, UFTDI_TYPE_8U232AM)}, > + {USB_VPI(USB_VENDOR_RATOC, USB_PRODUCT_RATOC_REXUSB60F, > UFTDI_TYPE_8U232AM)}, }; > > static int > > >Release-Note: > >Audit-Trail: > >Unformatted: > Committed to USB P4, ID=171783. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Dec 15 09:15:19 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA4AF1065752; Tue, 15 Dec 2009 09:15:19 +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 2BB148FC13; Tue, 15 Dec 2009 09:15:18 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=atQRXsG0KSQA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=I2f-F7m5Wy7dt613oR4A:9 a=aeu9CQIsztecX5HdEkoA:7 a=DPA1TFYesh8V_-pwUTSmrSpg1xsA:4 a=SV7veod9ZcQA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1321840213; Tue, 15 Dec 2009 10:15:17 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 15 Dec 2009 10:14:22 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200912150736.nBF7aO5i025090@freefall.freebsd.org> In-Reply-To: <200912150736.nBF7aO5i025090@freefall.freebsd.org> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912151014.22787.hselasky@c2i.net> Cc: freebsd-bugs@freebsd.org Subject: Re: usb/141474: [boot] FreeBSD 8.0 can not install from USB CDROM drive X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 09:15:19 -0000 On Tuesday 15 December 2009 08:36:24 linimon@freebsd.org wrote: > Old Synopsis: FreeBSD 8.0 can not install from USB CDROM drive > New Synopsis: [boot] FreeBSD 8.0 can not install from USB CDROM drive > > Responsible-Changed-From-To: freebsd-bugs->freebsd-usb > Responsible-Changed-By: linimon > Responsible-Changed-When: Tue Dec 15 07:35:51 UTC 2009 > Responsible-Changed-Why: > Over to maintainer(s). > > http://www.freebsd.org/cgi/query-pr.cgi?pr=141474 > _______________________________________________ > 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, Is the USB CD-ROM detected by the USB stack, and what is the CD-ROM device? Maybe you simply have to reconfigure sysinstall to use another /dev/cdX for the installation. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Dec 15 14:11:29 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 945421065672 for ; Tue, 15 Dec 2009 14:11:29 +0000 (UTC) (envelope-from sanpei@sanpei.org) Received: from mail1.asahi-net.or.jp (mail1.asahi-net.or.jp [202.224.39.197]) by mx1.freebsd.org (Postfix) with ESMTP id 66DB68FC13 for ; Tue, 15 Dec 2009 14:11:29 +0000 (UTC) Received: from cherry2.sanpei.org (j069113.ppp.asahi-net.or.jp [61.213.69.113]) by mail1.asahi-net.or.jp (Postfix) with ESMTP id 839B771DD4 for ; Tue, 15 Dec 2009 23:11:28 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by cherry2.sanpei.org (8.14.3/8.14.3) with ESMTP id nBFEBRwj077839; Tue, 15 Dec 2009 23:11:28 +0900 (JST) (envelope-from sanpei@sanpei.org) Date: Tue, 15 Dec 2009 23:11:27 +0900 (JST) Message-Id: <20091215.231127.475793127247154414.sanpei@sanpei.org> To: freebsd-usb@freebsd.org From: MIHIRA Sanpei Yoshiro X-Mailer: Mew version 6.2 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (cherry2.sanpei.org [127.0.0.1]); Tue, 15 Dec 2009 23:11:28 +0900 (JST) Subject: 5.1-channel USB sound device on 8.0-RELEASE X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 14:11:29 -0000 Hi. I tested below device on 8.0-RELEASE with patch. >*1 Kyo-On DIGI(sorry,this page was writtin in Japanese) >http://www.area-powers.jp/product/usb_product/product/kyo-on/u1soundt4.html This device is 5.1-channel USB sound device. Without patch, ``No playback!'' ugen0.6: at usbus0 uaudio1: on usbus0 uaudio1: No playback! uaudio1: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format uaudio1: No midi sequencer pcm1: on uaudio1 With patch: uaudio1: on usb us0 uaudio1: Play: 48000 Hz, 8 ch, 16-bit S-LE PCM format uaudio1: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format uaudio1: No midi sequencer pcm1: on uaudio1 But I could not play with mpg123, only noise. How can I use this device on 8.0-RELEASE. Cheers. --- MIHIRA, Sanpei Yoshiro Tokyo, Japan. http://freebsd.monkey.org/freebsd-usb/200905/msg00090.html --- sys/dev/sound/usb/uaudio.c.org 2009-12-07 10:29:05.593175070 +0900 +++ sys/dev/sound/usb/uaudio.c 2009-12-07 10:29:51.030304905 +0900 @@ -112,7 +112,8 @@ #define MAKE_WORD(h,l) (((h) << 8) | (l)) #define BIT_TEST(bm,bno) (((bm)[(bno) / 8] >> (7 - ((bno) % 8))) & 1) -#define UAUDIO_MAX_CHAN(x) (x) +#define UAUDIO_MAX_CHAN(x) (((x) < 2) ? (x) : 2) /* XXX fixme later */ + struct uaudio_mixer_node { int32_t minval; From owner-freebsd-usb@FreeBSD.ORG Tue Dec 15 15:33:13 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41E1410656AA for ; Tue, 15 Dec 2009 15:33:13 +0000 (UTC) (envelope-from spil.oss@googlemail.com) Received: from mail-yw0-f172.google.com (mail-yw0-f172.google.com [209.85.211.172]) by mx1.freebsd.org (Postfix) with ESMTP id EED568FC65 for ; Tue, 15 Dec 2009 15:33:12 +0000 (UTC) Received: by ywh2 with SMTP id 2so4266857ywh.27 for ; Tue, 15 Dec 2009 07:33:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=9zpTZJKhNfJu9KF1WGAodoY5fOK6xLuYEmVhDM5He+g=; b=FdQyC1IuAMVT7XbO9fAaWsjny21dpyoEVzeMMmbVefSZ9hOR1eE9Q9fIGpLGb/7wNa BsObTtJGZmOa5SSQYWvlx8Y1weMmKGwpLA/LogVgcYfxolMkzHEMY2Vt9II/BxVuMSjd 9IVfAppYaVFdjLqFOpjMqUCZ/sEdUOnu71Peo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; b=q1yYpUrRuWAlwC67vFxKwlbx4Bf6l3GWuyeVB/dQv8XrCWS8ORu6veW+kCCGs+524A 1RziCwj0Ct3mk7h1Rwcpy3tsX4G6WJsXAJ5TmTFbl5Q0zbV6BTGfUxox2ohzuRuAs2y2 MGHgOuEdemml2o8Fp9j5oIFgUSRQpbQOhJMDc= MIME-Version: 1.0 Received: by 10.101.15.11 with SMTP id s11mr9913207ani.29.1260891192048; Tue, 15 Dec 2009 07:33:12 -0800 (PST) In-Reply-To: <5fbf03c20912110917q7d41db01rc2d34b93b484d419@mail.gmail.com> References: <5fbf03c20912100108p72de71a8t95937304510c9a9a@mail.gmail.com> <5fbf03c20912100808w5606ef45i988d20c7171454a5@mail.gmail.com> <200912111037.05348.hselasky@c2i.net> <5fbf03c20912110917q7d41db01rc2d34b93b484d419@mail.gmail.com> Date: Tue, 15 Dec 2009 16:33:12 +0100 Message-ID: <5fbf03c20912150733o48f6bc59s5e42b478ebc8dbfd@mail.gmail.com> From: Spil Oss To: freebsd-usb@freebsd.org, Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Problem with 2.5" USB drive X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: spil.oss@gmail.com List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 15:33:13 -0000 On Fri, Dec 11, 2009 at 6:17 PM, Spil Oss wrote: > On Fri, Dec 11, 2009 at 10:37 AM, Hans Petter Selasky = wrote: >> On Thursday 10 December 2009 17:08:53 Spil Oss wrote: >>> On Thu, Dec 10, 2009 at 10:08 AM, Spil Oss wr= ote: >>> > Hello all, >>> > >>> > Can't get my 2.5" USB drive to work reliably. The device has a ALI >>> > M5642 Chip and connects 2.5" PATA disks. Vendor 0x0402 is >>> > USB_VENDOR_ACERLABS /* Acer Labs */ which ALi is afaik. >>> > >>> > When I connect it: >>> > Dec =A08 16:11:20 gw root: Unknown USB device: vendor 0x0402 product >>> > 0x5642 bus uhub3 >>> > Dec =A08 16:11:20 gw kernel: ugen3.2: at usbus3 >>> > Dec =A08 16:11:20 gw kernel: umass0: >> > Device, class 0/0, rev 2.00/1.00, addr 2> on usbus3 >>> > Dec =A08 16:11:20 gw kernel: umass0: =A0SCSI over Bulk-Only; quirks = =3D 0x0000 >>> > Dec =A08 16:11:21 gw kernel: umass0:0:0:-1: Attached to scbus0 >>> > Dec =A08 16:11:21 gw kernel: da0 at umass-sim0 bus 0 target 0 lun 0 >>> > Dec =A08 16:11:21 gw kernel: da0: Fixed >>> > Direct Access SCSI-0 device >>> > Dec =A08 16:11:21 gw kernel: da0: 40.000MB/s transfers >>> > Dec =A08 16:11:21 gw kernel: da0: 38154MB (78140160 512 byte sectors: >>> > 255H 63S/T 4864C) >>> > >>> > When I try to dd/fdisk/bsdlabel the disk I tend to get >>> > Dec =A09 12:47:49 gw kernel: (da0:umass-sim0:0:0:0): AutoSense Failed >>> > Sometimes the LED on the cage stays red until I reconnect it. >>> > When I first `usbconfig -u 3 -a 2 reset` and then reconnect the disk >>> > it is recognized again. Tried both on an Intel GM855 and a nVidia >>> > nForce4 system. >>> > >>> > Errors that pop up when transferring data: >>> > Dec =A08 16:11:21 gw kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE >>> > CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0 >>> > Dec =A08 16:11:21 gw kernel: (da0:umass-sim0:0:0:0): UNIT ATTENTION >>> > asc:28,0 Dec =A08 16:11:21 gw kernel: (da0:umass-sim0:0:0:0): Not rea= dy to >>> > ready change, medium may have changed >>> > >>> > Strangely it seems that this device was recognized on a previous >>> > version of FreeBSD see http://takaq1.plala.jp/freebsd/usb/index.html >>> > (not that I've tried!) Not quite clear what version of FreeBSD that >>> > is. >>> > >>> > Ultimately FreeBSD crashes when I play around too long.. >>> > >>> > Can anyone assist? >>> >>> Saw on the list that usbconfig dump_device_desc is helpful, >>> problematic device is ugen3.2: >>> >>> ugen0.1: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL = (12Mbps) >>> pwr=3DON >>> >>> =A0 bLength =3D 0x0012 >>> =A0 bDescriptorType =3D 0x0001 >>> =A0 bcdUSB =3D 0x0100 >>> =A0 bDeviceClass =3D 0x0009 >>> =A0 bDeviceSubClass =3D 0x0000 >>> =A0 bDeviceProtocol =3D 0x0000 >>> =A0 bMaxPacketSize0 =3D 0x0040 >>> =A0 idVendor =3D 0x0000 >>> =A0 idProduct =3D 0x0000 >>> =A0 bcdDevice =3D 0x0100 >>> =A0 iManufacturer =3D 0x0001 =A0 >>> =A0 iProduct =3D 0x0002 =A0 >>> =A0 iSerialNumber =3D 0x0000 =A0 >>> =A0 bNumConfigurations =3D 0x0001 >>> >>> ugen1.1: at usbus1, cfg=3D0 md=3DHOST spd=3DFULL = (12Mbps) >>> pwr=3DON >>> >>> =A0 bLength =3D 0x0012 >>> =A0 bDescriptorType =3D 0x0001 >>> =A0 bcdUSB =3D 0x0100 >>> =A0 bDeviceClass =3D 0x0009 >>> =A0 bDeviceSubClass =3D 0x0000 >>> =A0 bDeviceProtocol =3D 0x0000 >>> =A0 bMaxPacketSize0 =3D 0x0040 >>> =A0 idVendor =3D 0x0000 >>> =A0 idProduct =3D 0x0000 >>> =A0 bcdDevice =3D 0x0100 >>> =A0 iManufacturer =3D 0x0001 =A0 >>> =A0 iProduct =3D 0x0002 =A0 >>> =A0 iSerialNumber =3D 0x0000 =A0 >>> =A0 bNumConfigurations =3D 0x0001 >>> >>> ugen2.1: at usbus2, cfg=3D0 md=3DHOST spd=3DFULL = (12Mbps) >>> pwr=3DON >>> >>> =A0 bLength =3D 0x0012 >>> =A0 bDescriptorType =3D 0x0001 >>> =A0 bcdUSB =3D 0x0100 >>> =A0 bDeviceClass =3D 0x0009 >>> =A0 bDeviceSubClass =3D 0x0000 >>> =A0 bDeviceProtocol =3D 0x0000 >>> =A0 bMaxPacketSize0 =3D 0x0040 >>> =A0 idVendor =3D 0x0000 >>> =A0 idProduct =3D 0x0000 >>> =A0 bcdDevice =3D 0x0100 >>> =A0 iManufacturer =3D 0x0001 =A0 >>> =A0 iProduct =3D 0x0002 =A0 >>> =A0 iSerialNumber =3D 0x0000 =A0 >>> =A0 bNumConfigurations =3D 0x0001 >>> >>> ugen3.1: at usbus3, cfg=3D0 md=3DHOST spd=3DHIGH >>> (480Mbps) pwr=3DON >>> >>> =A0 bLength =3D 0x0012 >>> =A0 bDescriptorType =3D 0x0001 >>> =A0 bcdUSB =3D 0x0200 >>> =A0 bDeviceClass =3D 0x0009 >>> =A0 bDeviceSubClass =3D 0x0000 >>> =A0 bDeviceProtocol =3D 0x0001 >>> =A0 bMaxPacketSize0 =3D 0x0040 >>> =A0 idVendor =3D 0x0000 >>> =A0 idProduct =3D 0x0000 >>> =A0 bcdDevice =3D 0x0100 >>> =A0 iManufacturer =3D 0x0001 =A0 >>> =A0 iProduct =3D 0x0002 =A0 >>> =A0 iSerialNumber =3D 0x0000 =A0 >>> =A0 bNumConfigurations =3D 0x0001 >>> >>> ugen3.2: at usbus3, cfg=3D0 >>> md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON >>> >>> =A0 bLength =3D 0x0012 >>> =A0 bDescriptorType =3D 0x0001 >>> =A0 bcdUSB =3D 0x0200 >>> =A0 bDeviceClass =3D 0x0000 >>> =A0 bDeviceSubClass =3D 0x0000 >>> =A0 bDeviceProtocol =3D 0x0000 >>> =A0 bMaxPacketSize0 =3D 0x0040 >>> =A0 idVendor =3D 0x0402 >>> =A0 idProduct =3D 0x5642 >>> =A0 bcdDevice =3D 0x0100 >>> =A0 iManufacturer =3D 0x0000 =A0 >>> =A0 iProduct =3D 0x0001 =A0 >>> =A0 iSerialNumber =3D 0x0002 =A0<12345678901234567890> >>> =A0 bNumConfigurations =3D 0x0001 >>> >>> Thanks! >>> >> >> Have you tried a 9-current kernel? >> >> --HPS >> > Haven't tried a -CURRENT kernel. Guess that a kernel wouldn't be a big > change, but world..... > Have usbdevs.h and/or usbdevs_data.h changed considerably? > Hello all, Tried a GENERIC 9.0-CURRENT kernel csup-ped today just about 2 hours ago. Same problem. I seem to have been able to fdisk the disk, when bsdlabel-ing I get kernel: (da0:umass-sim0:0:0:0) AutoSense Failed The light on the USB cage stays red until I unplug it. Can anyone assist? Kind regards, Spil. PS from uname 9.0-CURRENT Tue Dec 15 15:09:49 CET 2009 /usr/obj/usr/src/sys/GENERIC i386 From owner-freebsd-usb@FreeBSD.ORG Tue Dec 15 16:03:59 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1E98106566C for ; Tue, 15 Dec 2009 16:03:59 +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 50B6A8FC16 for ; Tue, 15 Dec 2009 16:03:58 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=2xGwMpxnGyDQHk9DWzsA:9 a=OCe7nBlNNdza1jzfnrZFar9jkp4A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1325048834; Tue, 15 Dec 2009 17:03:57 +0100 From: Hans Petter Selasky To: spil.oss@gmail.com Date: Tue, 15 Dec 2009 17:05:52 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <5fbf03c20912100108p72de71a8t95937304510c9a9a@mail.gmail.com> <5fbf03c20912110917q7d41db01rc2d34b93b484d419@mail.gmail.com> <5fbf03c20912150733o48f6bc59s5e42b478ebc8dbfd@mail.gmail.com> In-Reply-To: <5fbf03c20912150733o48f6bc59s5e42b478ebc8dbfd@mail.gmail.com> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpO< =?iso-8859-1?q?Q0yAl=7E=3F=60=27F=3FjDVb=5DE6TQ7=27=23h-VlLs=7Dk/=0A=09?=(yxg(p!IL.`#ng"%`BMrham7%UK,}VH\wUOm=^>wEEQ+KWt[{J#x6ow~JO:,zwp.(t; @ =?iso-8859-1?q?Aq=0A=09=3A4=3A=26nFCgDb8=5B3oIeTb=5E=27?=",; u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912151705.53072.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Problem with 2.5" USB drive X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 16:03:59 -0000 > > Hello all, > > Tried a GENERIC 9.0-CURRENT kernel csup-ped today just about 2 hours > ago. Same problem. > I seem to have been able to fdisk the disk, when bsdlabel-ing I get > kernel: (da0:umass-sim0:0:0:0) AutoSense Failed > The light on the USB cage stays red until I unplug it. > > Can anyone assist? > Hi, This maybe indicate that your USB hardware dies on a non-supported SCSI command. Have you tried a USB enclosure from another manufacturer? --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Dec 15 17:51:10 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 764411065672; Tue, 15 Dec 2009 17:51:10 +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 9D2D48FC2B; Tue, 15 Dec 2009 17:51:09 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=xe1oFy6MeuoA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=ORYuRroYAAAA:8 a=T-PJXEmqAAAA:8 a=iV6OMSzTAAAA:8 a=34HXErm_3aayZRgLmB8A:9 a=PUkU_DrTozo3km8c7QrXH7yPBwMA:4 a=vqM0cmb3qxAA:10 a=EG66KYn9HDMA:10 a=9Cyh9BETGlMA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1179047919; Tue, 15 Dec 2009 18:51:05 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, freebsd-multimedia@freebsd.org Date: Tue, 15 Dec 2009 18:52:59 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <20091215.231127.475793127247154414.sanpei@sanpei.org> In-Reply-To: <20091215.231127.475793127247154414.sanpei@sanpei.org> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912151853.00749.hselasky@c2i.net> Cc: MIHIRA Sanpei Yoshiro Subject: Re: 5.1-channel USB sound device on 8.0-RELEASE X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 17:51:10 -0000 On Tuesday 15 December 2009 15:11:27 MIHIRA Sanpei Yoshiro wrote: > Hi. > > I tested below device on 8.0-RELEASE with patch. > > >*1 Kyo-On DIGI(sorry,this page was writtin in Japanese) > >http://www.area-powers.jp/product/usb_product/product/kyo-on/u1soundt4.htm > >l > > This device is 5.1-channel USB sound device. > > Without patch, ``No playback!'' > ugen0.6: at usbus0 > uaudio1: > on usbus0 uaudio1: No playback! > uaudio1: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format > uaudio1: No midi sequencer > pcm1: on uaudio1 > > With patch: > uaudio1: > on usb us0 > uaudio1: Play: 48000 Hz, 8 ch, 16-bit S-LE PCM format > uaudio1: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format > uaudio1: No midi sequencer > pcm1: on uaudio1 > > But I could not play with mpg123, only noise. > How can I use this device on 8.0-RELEASE. > > Cheers. > --- > MIHIRA, Sanpei Yoshiro > Tokyo, Japan. > > > http://freebsd.monkey.org/freebsd-usb/200905/msg00090.html > > --- sys/dev/sound/usb/uaudio.c.org 2009-12-07 10:29:05.593175070 +0900 > +++ sys/dev/sound/usb/uaudio.c 2009-12-07 10:29:51.030304905 +0900 > @@ -112,7 +112,8 @@ > > #define MAKE_WORD(h,l) (((h) << 8) | (l)) > #define BIT_TEST(bm,bno) (((bm)[(bno) / 8] >> (7 - ((bno) % 8))) & 1) > -#define UAUDIO_MAX_CHAN(x) (x) > +#define UAUDIO_MAX_CHAN(x) (((x) < 2) ? (x) : 2) /* XXX fixme later > */ + > > struct uaudio_mixer_node { > int32_t minval; Hi, Your audio device does not provide a 2 or 1 channel alternate setting. Currently the PCM sound system does not support more than 2 channels. That's why it doesn't work. Feel free to start working on a more complete patch. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 00:47:10 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50B6A1065670 for ; Wed, 16 Dec 2009 00:47:10 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id C3ED18FC14 for ; Wed, 16 Dec 2009 00:47:09 +0000 (UTC) Received: from inchoate.gsoft.com.au ([203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id nBG0kx60006297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 16 Dec 2009 11:16:59 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Hans Petter Selasky Date: Wed, 16 Dec 2009 11:16:45 +1030 User-Agent: KMail/1.9.10 References: <200912151647.53759.doconnor@gsoft.com.au> <200912151008.50942.hselasky@c2i.net> In-Reply-To: <200912151008.50942.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3093039.nUpZuySIiD"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200912161116.55670.doconnor@gsoft.com.au> X-Spam-Score: -3.977 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: freebsd-usb@freebsd.org Subject: Re: Re-enumerating a device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 00:47:10 -0000 --nextPart3093039.nUpZuySIiD Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tue, 15 Dec 2009, Hans Petter Selasky wrote: > > From dmesg.. > > ugen0.2: at usbus0 > > # Run dfu-util > > ugen0.2: at usbus0 (disconnected) > > # Cause re-enumeratae > > ugen0.2: at usbus0 > > uaudio0: on usbus0 > > uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format > > uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format > > uaudio0: No midi sequencer > > pcm1: on uaudio0 > > Can you show dmesg, when you do: > > usbconfig -u 0 -a 2 reset I see nothing appear no matterwhen I run it (before or after the device=20 has been programmed). It takes about a second to run though.. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart3093039.nUpZuySIiD Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iD8DBQBLKC3/5ZPcIHs/zowRArfAAKCKQSjCQ02blH1/U8MZ9Oyf4KSjFwCggh1T EdaYVA+VH3BIMcszZHy4HfM= =38up -----END PGP SIGNATURE----- --nextPart3093039.nUpZuySIiD-- From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 07:31:36 2009 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 5D7D81065670; Wed, 16 Dec 2009 07:31:36 +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 360FB8FC08; Wed, 16 Dec 2009 07:31:36 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBG7Vaj6084477; Wed, 16 Dec 2009 07:31:36 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBG7VacE084472; Wed, 16 Dec 2009 07:31:36 GMT (envelope-from linimon) Date: Wed, 16 Dec 2009 07:31:36 GMT Message-Id: <200912160731.nBG7VacE084472@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/141664: Logitech USB microphone failure X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 07:31:36 -0000 Synopsis: Logitech USB microphone failure Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Wed Dec 16 07:31:20 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=141664 From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 08:51:02 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8EA4106566C for ; Wed, 16 Dec 2009 08:51:02 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe16.swipnet.se [212.247.155.225]) by mx1.freebsd.org (Postfix) with ESMTP id 6A9C08FC21 for ; Wed, 16 Dec 2009 08:51:01 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=0D7hST3z09ypTkUYb5IA:9 a=Jppio0IMkrMRSMfLsvCyTlt1J_YA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe16.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 587819984; Wed, 16 Dec 2009 09:50:56 +0100 From: Hans Petter Selasky To: "Daniel O'Connor" Date: Wed, 16 Dec 2009 09:52:35 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200912151647.53759.doconnor@gsoft.com.au> <200912151008.50942.hselasky@c2i.net> <200912161116.55670.doconnor@gsoft.com.au> In-Reply-To: <200912161116.55670.doconnor@gsoft.com.au> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912160952.40161.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Re-enumerating a device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 08:51:02 -0000 On Wednesday 16 December 2009 01:46:45 Daniel O'Connor wrote: > On Tue, 15 Dec 2009, Hans Petter Selasky wrote: > > > From dmesg.. > > > ugen0.2: at usbus0 > > > # Run dfu-util > > > ugen0.2: at usbus0 (disconnected) > > > # Cause re-enumeratae > > > ugen0.2: at usbus0 > > > uaudio0: on usbus0 > > > uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format > > > uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format > > > uaudio0: No midi sequencer > > > pcm1: on uaudio0 > > > > Can you show dmesg, when you do: > > > > usbconfig -u 0 -a 2 reset > > I see nothing appear no matterwhen I run it (before or after the device > has been programmed). > > It takes about a second to run though.. Could you also check the number of configurations ? usbconfig -u 0 -a 2 reset usbconfig -u 0 -a 2 dump_device_desc dump_curr_config_desc Seems like your device is broken then. Does the same procedure work on Linux? --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 13:32:05 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3B27106568D for ; Wed, 16 Dec 2009 13:32:05 +0000 (UTC) (envelope-from me@jackal.in) Received: from mail.doorsense.net (server.doorsense.net [89.108.95.10]) by mx1.freebsd.org (Postfix) with ESMTP id 571BD8FC17 for ; Wed, 16 Dec 2009 13:32:05 +0000 (UTC) Received: from [81.27.59.54] (helo=dell.jackal.in) by mail.doorsense.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NKtRY-0008IK-82 for freebsd-usb@freebsd.org; Wed, 16 Dec 2009 15:57:28 +0300 From: jackal To: freebsd-usb@freebsd.org Date: Wed, 16 Dec 2009 15:56:52 +0300 User-Agent: KMail/1.12.3 (FreeBSD/8.0-STABLE; KDE/4.3.3; i386; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200912161556.52923.me@jackal.in> X-Spam-Score: -4.8 (----) X-Spam-Status: No, score=-4.8 required=5.0 autolearn=no SpamAssassin 3.2.5 (2008-06-10) on mail.desalvia.com Content analysis details: (-4.8 points, 5.0 required) pts rule name description --- ---------------------- --------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.2 SUBJECT_FUZZY_TION Attempt to obfuscate words in Subject: -3.2 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Subject: logitech vx nano mouse buttons X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: me@jackal.in List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 13:32:05 -0000 Hello, I'm using logitech vx nano mouse at freebsd 8-stable. Everything works fine, except wheel left/right buttons. `cat /dev/ums0' doesn't show anything when pressing this buttons. Any other buttons works fine, including navigation buttons. Is there a way to get this buttons work? -- Kind regards, Eugeny. From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 14:10:02 2009 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 220881065716 for ; Wed, 16 Dec 2009 14:10:02 +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 34C058FC22 for ; Wed, 16 Dec 2009 14:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBGEA1cF057152 for ; Wed, 16 Dec 2009 14:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBGEA101057151; Wed, 16 Dec 2009 14:10:01 GMT (envelope-from gnats) Resent-Date: Wed, 16 Dec 2009 14:10:01 GMT Resent-Message-Id: <200912161410.nBGEA101057151@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, StevieRay Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96F7E106568B for ; Wed, 16 Dec 2009 14:04:59 +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 85CAA8FC15 for ; Wed, 16 Dec 2009 14:04:59 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nBGE4xQN016089 for ; Wed, 16 Dec 2009 14:04:59 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nBGE4xC7016088; Wed, 16 Dec 2009 14:04:59 GMT (envelope-from nobody) Message-Id: <200912161404.nBGE4xC7016088@www.freebsd.org> Date: Wed, 16 Dec 2009 14:04:59 GMT From: StevieRay To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/141680: Netgear WG111T not working with uath driver X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 14:10:02 -0000 >Number: 141680 >Category: usb >Synopsis: Netgear WG111T not working with uath driver >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 16 14:10:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: StevieRay >Release: 8.0 >Organization: >Environment: FreeBSD laptop2.StevenFriedrich.org 8.0-STABLE FreeBSD 8.0-STABLE #7: Tue Dec 15 18:55:55 EST 2009 root@laptop2.StevenFriedrich.org:/usr/obj/usr/src/sys/LAPTOP i386 >Description: When I plug the device in, it appears to recognize it and load firmware. ugen4.3: < Atheros Communications Inc > at usbus4 usbconfig -u 4 -a 3 dump_info ugen4.3: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON kldstat Id Refs Address Size Name 1 84 0xc0400000 651018 kernel 2 1 0xc0a52000 7df8 if_rl.ko 3 2 0xc0a5a000 2699c miibus.ko 4 1 0xc0a81000 8bac if_uath.ko 5 1 0xc0a8a000 33bc speaker.ko 6 1 0xc0a8e000 88978 bcmwl5_sys.ko 7 1 0xc0b17000 5a2c acpi_hp.ko 8 2 0xc0b1d000 4590 acpi_wmi.ko 9 3 0xc0b22000 6e360 acpi.ko 10 1 0xc5bb8000 1e000 smbfs.ko 11 2 0xc5bd7000 4000 libiconv.ko 12 2 0xc5c75000 3000 libmchain.ko The device doesn't show up in ifconfig, so the example from the man page: ifconfig wlan create wlandev uath0 doesn't work because uath0 isn't found by ifconfig. ifconfig wlan0 create wlandev uath0 ifconfig: SIOCIFCREATE2: Device not configured >How-To-Repeat: Procure a Netgear WG111T USB Ethernet dongle, and plug it in. 8o) >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 17:38:38 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95E221065670; Wed, 16 Dec 2009 17:38:38 +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 EC98B8FC0C; Wed, 16 Dec 2009 17:38:37 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=Ej6oP3qwK_oA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=r7wxnxMM_PnQpNYXQb4A:9 a=MkAVDyynEjV235TkzBoA:7 a=Sb_N_kfdzd7_rbO15_WkXI5ExHAA:4 a=SV7veod9ZcQA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1342037340; Wed, 16 Dec 2009 18:38:35 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 16 Dec 2009 18:40:28 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200912160731.nBG7VacE084472@freefall.freebsd.org> In-Reply-To: <200912160731.nBG7VacE084472@freefall.freebsd.org> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912161840.31012.hselasky@c2i.net> Cc: freebsd-bugs@freebsd.org Subject: Re: usb/141664: Logitech USB microphone failure X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 17:38:38 -0000 On Wednesday 16 December 2009 08:31:36 linimon@freebsd.org wrote: > Synopsis: Logitech USB microphone failure > > Responsible-Changed-From-To: freebsd-bugs->freebsd-usb > Responsible-Changed-By: linimon > Responsible-Changed-When: Wed Dec 16 07:31:20 UTC 2009 > Responsible-Changed-Why: > Over to maintainer(s). > > http://www.freebsd.org/cgi/query-pr.cgi?pr=141664 Hi, Your USB audio device uses 44.1kHz sampling rate only, which is currently not supported by snd_uaudio. This is being worked on. The sampling rate must currently be a multiple of 8kHz. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 17:42:29 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A59C41065672 for ; Wed, 16 Dec 2009 17:42:29 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.swipnet.se [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id 3C9918FC1D for ; Wed, 16 Dec 2009 17:42:28 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=vQnLMYQ8sNTbvmmcy8EA:9 a=DIiAWB3arrcbJmR-tSbysGPOR54A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 608642710; Wed, 16 Dec 2009 18:42:27 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, me@jackal.in Date: Wed, 16 Dec 2009 18:44:21 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200912161556.52923.me@jackal.in> In-Reply-To: <200912161556.52923.me@jackal.in> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912161844.23094.hselasky@c2i.net> Cc: Subject: Re: logitech vx nano mouse buttons X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 17:42:29 -0000 On Wednesday 16 December 2009 13:56:52 jackal wrote: > Hello, > > I'm using logitech vx nano mouse at freebsd 8-stable. > Everything works fine, except wheel left/right buttons. > `cat /dev/ums0' doesn't show anything when pressing this buttons. Any other > buttons works fine, including navigation buttons. > Is there a way to get this buttons work? > Hi, What is the output from dmesg? We would need the HID descriptor for your USB mouse. There should be some examples if you search the freebsd-usb archive on dumping the HID descriptor using usbconfig. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 18:39:26 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 786F61065670 for ; Wed, 16 Dec 2009 18:39:26 +0000 (UTC) (envelope-from me@jackal.in) Received: from mail.doorsense.net (server.doorsense.net [89.108.95.10]) by mx1.freebsd.org (Postfix) with ESMTP id 290628FC1A for ; Wed, 16 Dec 2009 18:39:26 +0000 (UTC) Received: from [62.182.69.109] (helo=dell.jackal.in) by mail.doorsense.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NKymS-000BGx-4D; Wed, 16 Dec 2009 21:39:24 +0300 From: jackal To: Hans Petter Selasky , freebsd-usb@freebsd.org Date: Wed, 16 Dec 2009 21:38:50 +0300 User-Agent: KMail/1.12.3 (FreeBSD/8.0-STABLE; KDE/4.3.3; i386; ; ) References: <200912161556.52923.me@jackal.in> <200912161844.23094.hselasky@c2i.net> In-Reply-To: <200912161844.23094.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200912162138.51219.me@jackal.in> X-Spam-Score: -4.8 (----) X-Spam-Status: No, score=-4.8 required=5.0 autolearn=no SpamAssassin 3.2.5 (2008-06-10) on mail.desalvia.com Content analysis details: (-4.8 points, 5.0 required) pts rule name description --- ---------------------- --------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.2 SUBJECT_FUZZY_TION Attempt to obfuscate words in Subject: -3.2 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Cc: Subject: Re: logitech vx nano mouse buttons X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: me@jackal.in List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 18:39:26 -0000 Hello, On Wednesday 16 December 2009 20:44:21 you wrote: > On Wednesday 16 December 2009 13:56:52 jackal wrote: > > Hello, > > > > I'm using logitech vx nano mouse at freebsd 8-stable. > > Everything works fine, except wheel left/right buttons. > > `cat /dev/ums0' doesn't show anything when pressing this buttons. Any > > other buttons works fine, including navigation buttons. > > Is there a way to get this buttons work? > > Hi, > > What is the output from dmesg? > > We would need the HID descriptor for your USB mouse. > > There should be some examples if you search the freebsd-usb archive on > dumping the HID descriptor using usbconfig. > > --HPS > ugen0.2: at usbus0 ums0: on usbus0 ums0: 16 buttons and [XYZ] coordinates ID=0 uhid0: on usbus0 dell# usbconfig -u 0 -a 2 list ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON dell# usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 0 0x100 REQUEST = <0x05 0x01 0x09 0x02 0xa1 0x01 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01 0x29 0x10 0x15 0x00 0x25 0x01 0x95 0x10 0x75 0x01 0x81 0x02 0x05 0x01 0x16 0x01 0x80 0x26 0xff 0x7f 0x75 0x10 0x95 0x02 0x09 0x30 0x09 0x31 0x81 0x06 0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x01 0x09 0x38 0x81 0x06 0x05 0x0c 0x0a 0x38 0x02 0x95 0x01 0x81 0x06 0xc0 0xc0><)%u&u01%u88> dell# usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 1 0x100 REQUEST = <0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x03 0x75 0x10 0x95 0x02 0x15 0x01 0x26 0x8c 0x02 0x19 0x01 0x2a 0x8c 0x02 0x81 0x00 0xc0 0x06 0x00 0xff 0x09 0x01 0xa1 0x01 0x85 0x10 0x75 0x08 0x95 0x06 0x15 0x00 0x26 0xff 0x00 0x09 0x01 0x81 0x00 0x09 0x01 0x91 0x00 0xc0 0x06 0x00 0xff 0x09 0x02 0xa1 0x01 0x85 0x11 0x75 0x08 0x95 0x13 0x15 0x00 0x26 0xff 0x00 0x09 0x02 0x81 0x00 0x09 0x02 0x91 0x00 0xc0> I hope, usbconfig commands are correct. -- Kind regards, Eugeny. From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 19:25:02 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50CC1106566C; Wed, 16 Dec 2009 19:25:02 +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 AB9328FC16; Wed, 16 Dec 2009 19:25:01 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=Ej6oP3qwK_oA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=kf6T7f9dydQDiVOCTFwA:9 a=CZ82jLqkmF6L2oPy1moA:7 a=AttgD2ts_-b2FIoCavPEVV28YkgA:4 a=SV7veod9ZcQA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1340196908; Wed, 16 Dec 2009 20:24:59 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 16 Dec 2009 20:26:54 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200912160731.nBG7VacE084472@freefall.freebsd.org> <200912161840.31012.hselasky@c2i.net> In-Reply-To: <200912161840.31012.hselasky@c2i.net> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912162026.55947.hselasky@c2i.net> Cc: freebsd-bugs@freebsd.org Subject: Re: usb/141664: Logitech USB microphone failure X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 19:25:02 -0000 On Wednesday 16 December 2009 18:40:28 Hans Petter Selasky wrote: > On Wednesday 16 December 2009 08:31:36 linimon@freebsd.org wrote: > > Synopsis: Logitech USB microphone failure > > > > Responsible-Changed-From-To: freebsd-bugs->freebsd-usb > > Responsible-Changed-By: linimon > > Responsible-Changed-When: Wed Dec 16 07:31:20 UTC 2009 > > Responsible-Changed-Why: > > Over to maintainer(s). > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=141664 > > Hi, > > Your USB audio device uses 44.1kHz sampling rate only, which is currently > not supported by snd_uaudio. This is being worked on. > > The sampling rate must currently be a multiple of 8kHz. > > --HPS Hi, Try the following patch: http://p4web.freebsd.org/chv.cgi?CH=171845 There is a link to download the complete uaudio.c --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 19:29:49 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 940821065679 for ; Wed, 16 Dec 2009 19:29:49 +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 F17088FC0A for ; Wed, 16 Dec 2009 19:29:48 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=Vaw4Q7e5J8ItMhGGNY0A:9 a=TUFzmHisg9w2JSqaf8efRI4Cz9wA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1361384852; Wed, 16 Dec 2009 20:29:47 +0100 From: Hans Petter Selasky To: me@jackal.in Date: Wed, 16 Dec 2009 20:31:42 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200912161556.52923.me@jackal.in> <200912161844.23094.hselasky@c2i.net> <200912162138.51219.me@jackal.in> In-Reply-To: <200912162138.51219.me@jackal.in> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912162031.43873.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: logitech vx nano mouse buttons X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 19:29:49 -0000 On Wednesday 16 December 2009 19:38:50 jackal wrote: > Hello, > > On Wednesday 16 December 2009 20:44:21 you wrote: > > On Wednesday 16 December 2009 13:56:52 jackal wrote: > > > Hello, > > > > > > I'm using logitech vx nano mouse at freebsd 8-stable. > > > Everything works fine, except wheel left/right buttons. > > > `cat /dev/ums0' doesn't show anything when pressing this buttons. Any > > > other buttons works fine, including navigation buttons. > > > Is there a way to get this buttons work? > > > > Hi, > > > > What is the output from dmesg? > > > > We would need the HID descriptor for your USB mouse. > > > > There should be some examples if you search the freebsd-usb archive on > > dumping the HID descriptor using usbconfig. > > > > --HPS > > ugen0.2: at usbus0 > ums0: on usbus0 > ums0: 16 buttons and [XYZ] coordinates ID=0 > uhid0: on usbus0 > > dell# usbconfig -u 0 -a 2 list > ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=ON > > dell# usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 0 0x100 > REQUEST = <0x05 0x01 0x09 0x02 0xa1 0x01 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 > 0x01 0x29 0x10 0x15 0x00 0x25 0x01 0x95 0x10 0x75 0x01 0x81 0x02 0x05 0x01 > 0x16 0x01 0x80 0x26 0xff 0x7f 0x75 0x10 0x95 0x02 0x09 0x30 0x09 0x31 0x81 > 0x06 0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x01 0x09 0x38 0x81 0x06 0x05 0x0c > 0x0a 0x38 0x02 0x95 0x01 0x81 0x06 0xc0 0xc0><)%u&u01%u88> > > dell# usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 1 0x100 > REQUEST = <0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x03 0x75 0x10 0x95 0x02 0x15 > 0x01 0x26 0x8c 0x02 0x19 0x01 0x2a 0x8c 0x02 0x81 0x00 0xc0 0x06 0x00 0xff > 0x09 0x01 0xa1 0x01 0x85 0x10 0x75 0x08 0x95 0x06 0x15 0x00 0x26 0xff 0x00 > 0x09 0x01 0x81 0x00 0x09 0x01 0x91 0x00 0xc0 0x06 0x00 0xff 0x09 0x02 0xa1 > 0x01 0x85 0x11 0x75 0x08 0x95 0x13 0x15 0x00 0x26 0xff 0x00 0x09 0x02 0x81 > 0x00 0x09 0x02 0x91 0x00 0xc0> > > I hope, usbconfig commands are correct. Yes, the commands are correct. Does your mouse have 16 buttons? --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 19:35:22 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68CFA106566C for ; Wed, 16 Dec 2009 19:35:22 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe15.swipnet.se [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id F07BE8FC08 for ; Wed, 16 Dec 2009 19:35:21 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=Ive0Ni9_YA2pHIc0DR8A:9 a=Lru9HQ5whyktOJjnGyzHaAfKIroA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe15.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 608701610; Wed, 16 Dec 2009 20:35:20 +0100 Received-SPF: softfail receiver=mailfe15.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Date: Wed, 16 Dec 2009 20:37:14 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912162037.16222.hselasky@freebsd.org> Cc: Subject: USB audio surround 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: Wed, 16 Dec 2009 19:35:22 -0000 Hi, There are patches now in the the USB P4 repository that enables support for more than 2 audio channels: uaudio0: on usbus0 uaudio0: Play: 48000 Hz, 8 ch, 16-bit S-LE PCM format uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format uaudio0: No midi sequencer For FULL speed devices this feature is disabled by default due to high bandwidth usage: use: sysctl hw.usb.uaudio.default_channels=16 or echo "hw.usb.uaudio.default_channels=16" >> /boot/loader.conf To override. Reference: http://p4web.freebsd.org/chv.cgi?CH=171845 --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 20:13:43 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B27911065672 for ; Wed, 16 Dec 2009 20:13:43 +0000 (UTC) (envelope-from prvs=594a7e427=pschmehl_lists@tx.rr.com) Received: from ip-relay-001.utdallas.edu (ip-relay-001.utdallas.edu [129.110.20.111]) by mx1.freebsd.org (Postfix) with ESMTP id 4C3ED8FC22 for ; Wed, 16 Dec 2009 20:13:41 +0000 (UTC) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.47,407,1257141600"; d="scan'208";a="24121339" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-001.utdallas.edu with ESMTP; 16 Dec 2009 13:44:41 -0600 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id 28E774EF59; Wed, 16 Dec 2009 13:44:41 -0600 (CST) Date: Wed, 16 Dec 2009 13:44:41 -0600 From: Paul Schmehl To: Hans Petter Selasky , freebsd-usb@freebsd.org, me@jackal.in Message-ID: <2C17992E81475DE5548EE480@utd65257.utdallas.edu> In-Reply-To: <200912161844.23094.hselasky@c2i.net> References: <200912161556.52923.me@jackal.in> <200912161844.23094.hselasky@c2i.net> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: logitech vx nano mouse buttons X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 20:13:43 -0000 --On Wednesday, December 16, 2009 11:44:21 -0600 Hans Petter Selasky wrote: > > On Wednesday 16 December 2009 13:56:52 jackal wrote: >> Hello, >> >> I'm using logitech vx nano mouse at freebsd 8-stable. >> Everything works fine, except wheel left/right buttons. >> `cat /dev/ums0' doesn't show anything when pressing this buttons. Any other >> buttons works fine, including navigation buttons. >> Is there a way to get this buttons work? >> Have you googled for the answer? http://wiki.eeeuser.com/configure_logitech_vx_nano http://bbs.archlinux.org/viewtopic.php?id=41805 http://crunchbanglinux.org/forums/topic/504/solved-help-setting-up-side-wheel-buttons/ Section "InputDevice" Identifier "VX Nano" Driver "evdev" Option "Name" "Logitech USB Receiver" Option "Protocol" "evdev" Option "Buttons" "9" Option "SendCoreEvents" Option "ZAxisMapping" "4 5" Option "WAxisMapping" "8 9" EndSection Obviously the driver will be different on FreeBSD, but the WAxisMapping is the one that controls the side buttons. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 20:50:47 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 472D1106566B for ; Wed, 16 Dec 2009 20:50:47 +0000 (UTC) (envelope-from me@jackal.in) Received: from mail.doorsense.net (server.doorsense.net [89.108.95.10]) by mx1.freebsd.org (Postfix) with ESMTP id B114D8FC0C for ; Wed, 16 Dec 2009 20:50:46 +0000 (UTC) Received: from [62.182.69.109] (helo=dell.jackal.in) by mail.doorsense.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NL0pW-000CPI-Lj; Wed, 16 Dec 2009 23:50:44 +0300 From: jackal To: Paul Schmehl Date: Wed, 16 Dec 2009 23:50:09 +0300 User-Agent: KMail/1.12.3 (FreeBSD/8.0-STABLE; KDE/4.3.3; i386; ; ) References: <200912161556.52923.me@jackal.in> <200912161844.23094.hselasky@c2i.net> <2C17992E81475DE5548EE480@utd65257.utdallas.edu> In-Reply-To: <2C17992E81475DE5548EE480@utd65257.utdallas.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912162350.09944.me@jackal.in> X-Spam-Score: -4.8 (----) X-Spam-Status: No, score=-4.8 required=5.0 autolearn=no SpamAssassin 3.2.5 (2008-06-10) on mail.desalvia.com Content analysis details: (-4.8 points, 5.0 required) pts rule name description --- ---------------------- --------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.2 SUBJECT_FUZZY_TION Attempt to obfuscate words in Subject: -3.2 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Cc: freebsd-usb@freebsd.org Subject: Re: logitech vx nano mouse buttons X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: me@jackal.in List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 20:50:47 -0000 Hello, On Wednesday 16 December 2009 22:44:41 Paul Schmehl wrote: > --On Wednesday, December 16, 2009 11:44:21 -0600 Hans Petter Selasky > > wrote: > > On Wednesday 16 December 2009 13:56:52 jackal wrote: > >> Hello, > >> > >> I'm using logitech vx nano mouse at freebsd 8-stable. > >> Everything works fine, except wheel left/right buttons. > >> `cat /dev/ums0' doesn't show anything when pressing this buttons. Any > >> other buttons works fine, including navigation buttons. > >> Is there a way to get this buttons work? > > Have you googled for the answer? > > http://wiki.eeeuser.com/configure_logitech_vx_nano > > http://bbs.archlinux.org/viewtopic.php?id=41805 > > http://crunchbanglinux.org/forums/topic/504/solved-help-setting-up-side-whe > el-buttons/ > > Section "InputDevice" > Identifier "VX Nano" > Driver "evdev" > Option "Name" "Logitech USB Receiver" > Option "Protocol" "evdev" > Option "Buttons" "9" > Option "SendCoreEvents" > Option "ZAxisMapping" "4 5" > Option "WAxisMapping" "8 9" > EndSection > > Obviously the driver will be different on FreeBSD, but the WAxisMapping is > the one that controls the side buttons. > Ofcourse, I googled it, and I tried this configuration. But ..AxisMapping is just button-to-axis mapping. xev doesn't see this buttons. Any Xorg driver should work with ums0 device (as I understand), so I tried to `cat /dev/ums0' without X server and moused. -- Kind regards, Eugeny. From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 20:54:23 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7F151065FF7 for ; Wed, 16 Dec 2009 20:54:22 +0000 (UTC) (envelope-from me@jackal.in) Received: from mail.doorsense.net (server.doorsense.net [89.108.95.10]) by mx1.freebsd.org (Postfix) with ESMTP id 978B58FC22 for ; Wed, 16 Dec 2009 20:54:22 +0000 (UTC) Received: from [62.182.69.109] (helo=dell.jackal.in) by mail.doorsense.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NL0t1-000CQx-U3; Wed, 16 Dec 2009 23:54:21 +0300 From: jackal To: Hans Petter Selasky , freebsd-usb@freebsd.org Date: Wed, 16 Dec 2009 23:53:46 +0300 User-Agent: KMail/1.12.3 (FreeBSD/8.0-STABLE; KDE/4.3.3; i386; ; ) References: <200912161556.52923.me@jackal.in> <200912162138.51219.me@jackal.in> <200912162031.43873.hselasky@c2i.net> In-Reply-To: <200912162031.43873.hselasky@c2i.net> MIME-Version: 1.0 Message-Id: <200912162353.47020.me@jackal.in> Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Score: -4.8 (----) X-Spam-Status: No, score=-4.8 required=5.0 autolearn=no SpamAssassin 3.2.5 (2008-06-10) on mail.desalvia.com Content analysis details: (-4.8 points, 5.0 required) pts rule name description --- ---------------------- --------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.2 SUBJECT_FUZZY_TION Attempt to obfuscate words in Subject: -3.2 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Cc: Subject: Re: logitech vx nano mouse buttons X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: me@jackal.in List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 20:54:23 -0000 Hello, On Wednesday 16 December 2009 22:31:42 you wrote: > On Wednesday 16 December 2009 19:38:50 jackal wrote: > > Hello, > > > > On Wednesday 16 December 2009 20:44:21 you wrote: > > > On Wednesday 16 December 2009 13:56:52 jackal wrote: > > > > Hello, > > > > > > > > I'm using logitech vx nano mouse at freebsd 8-stable. > > > > Everything works fine, except wheel left/right buttons. > > > > `cat /dev/ums0' doesn't show anything when pressing this buttons. Any > > > > other buttons works fine, including navigation buttons. > > > > Is there a way to get this buttons work? > > > > > > Hi, > > > > > > What is the output from dmesg? > > > > > > We would need the HID descriptor for your USB mouse. > > > > > > There should be some examples if you search the freebsd-usb archive on > > > dumping the HID descriptor using usbconfig. > > > > > > --HPS > > > > ugen0.2: at usbus0 > > ums0: on usbus0 > > ums0: 16 buttons and [XYZ] coordinates ID=0 > > uhid0: on > > usbus0 > > > > dell# usbconfig -u 0 -a 2 list > > ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL > > (12Mbps) pwr=ON > > > > dell# usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 0 0x100 > > REQUEST = <0x05 0x01 0x09 0x02 0xa1 0x01 0x09 0x01 0xa1 0x00 0x05 0x09 > > 0x19 0x01 0x29 0x10 0x15 0x00 0x25 0x01 0x95 0x10 0x75 0x01 0x81 0x02 > > 0x05 0x01 0x16 0x01 0x80 0x26 0xff 0x7f 0x75 0x10 0x95 0x02 0x09 0x30 > > 0x09 0x31 0x81 0x06 0x15 0x81 0x25 0x7f 0x75 0x08 0x95 0x01 0x09 0x38 > > 0x81 0x06 0x05 0x0c 0x0a 0x38 0x02 0x95 0x01 0x81 0x06 0xc0 > > 0xc0><)%u&u01%u88> > > > > dell# usbconfig -u 0 -a 2 do_request 0x81 0x06 0x2200 1 0x100 > > REQUEST = <0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x03 0x75 0x10 0x95 0x02 > > 0x15 0x01 0x26 0x8c 0x02 0x19 0x01 0x2a 0x8c 0x02 0x81 0x00 0xc0 0x06 > > 0x00 0xff 0x09 0x01 0xa1 0x01 0x85 0x10 0x75 0x08 0x95 0x06 0x15 0x00 > > 0x26 0xff 0x00 0x09 0x01 0x81 0x00 0x09 0x01 0x91 0x00 0xc0 0x06 0x00 > > 0xff 0x09 0x02 0xa1 0x01 0x85 0x11 0x75 0x08 0x95 0x13 0x15 0x00 0x26 > > 0xff 0x00 0x09 0x02 0x81 0x00 0x09 0x02 0x91 0x00 0xc0> > > > > I hope, usbconfig commands are correct. > > Yes, the commands are correct. Does your mouse have 16 buttons? > No, my mouse have 7 buttons plus XYZ axes. It's wireless mouse. Possibly, logitech uses universal usb receiver with potentially capable 16 buttons + XYZ. http://www.logitech.com/index.cfm/mice_pointers/mice/devices/3271&cl=au,en -- Kind regards, Eugeny. From owner-freebsd-usb@FreeBSD.ORG Wed Dec 16 22:36:16 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A58A71065679 for ; Wed, 16 Dec 2009 22:36:16 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 0E32A8FC18 for ; Wed, 16 Dec 2009 22:36:15 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=gNqzSLAoAAAA:8 a=Br9LfDWDAAAA:8 a=sMCrCVZrAAAA:8 a=bk9-yn8xRR_0j6WGhPAA:9 a=LabnG_qXxoJmVCgMtufYE0vMYC8A:4 a=XeHgFoNkJu0A:10 a=TRW-o2S9CEoA:10 a=9aOQ2cSd83gA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 292042686; Wed, 16 Dec 2009 23:36:14 +0100 From: Hans Petter Selasky To: me@jackal.in Date: Wed, 16 Dec 2009 23:38:09 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200912161556.52923.me@jackal.in> <2C17992E81475DE5548EE480@utd65257.utdallas.edu> <200912162350.09944.me@jackal.in> In-Reply-To: <200912162350.09944.me@jackal.in> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912162338.11041.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: logitech vx nano mouse buttons X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 22:36:16 -0000 On Wednesday 16 December 2009 21:50:09 jackal wrote: > Hello, > > On Wednesday 16 December 2009 22:44:41 Paul Schmehl wrote: > > --On Wednesday, December 16, 2009 11:44:21 -0600 Hans Petter Selasky > > > > wrote: > > > On Wednesday 16 December 2009 13:56:52 jackal wrote: > > >> Hello, > > >> > > >> I'm using logitech vx nano mouse at freebsd 8-stable. > > >> Everything works fine, except wheel left/right buttons. > > >> `cat /dev/ums0' doesn't show anything when pressing this buttons. Any > > >> other buttons works fine, including navigation buttons. > > >> Is there a way to get this buttons work? > > > > Have you googled for the answer? > > > > http://wiki.eeeuser.com/configure_logitech_vx_nano > > > > http://bbs.archlinux.org/viewtopic.php?id=41805 > > > > http://crunchbanglinux.org/forums/topic/504/solved-help-setting-up-side-w > >he el-buttons/ > > > > Section "InputDevice" > > Identifier "VX Nano" > > Driver "evdev" > > Option "Name" "Logitech USB Receiver" > > Option "Protocol" "evdev" > > Option "Buttons" "9" > > Option "SendCoreEvents" > > Option "ZAxisMapping" "4 5" > > Option "WAxisMapping" "8 9" > > EndSection > > > > Obviously the driver will be different on FreeBSD, but the WAxisMapping > > is the one that controls the side buttons. > > Ofcourse, I googled it, and I tried this configuration. But ..AxisMapping > is just button-to-axis mapping. xev doesn't see this buttons. > Any Xorg driver should work with ums0 device (as I understand), so I tried > to `cat /dev/ums0' without X server and moused. Can you enable ums debugging: sysctl hw.usb.ums.debug=15 --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Dec 17 00:30:22 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB145106566C for ; Thu, 17 Dec 2009 00:30:22 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 2E1578FC1C for ; Thu, 17 Dec 2009 00:30:21 +0000 (UTC) Received: from inchoate.gsoft.com.au ([203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id nBH0U9UH073583 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 17 Dec 2009 11:00:10 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Hans Petter Selasky Date: Thu, 17 Dec 2009 10:59:59 +1030 User-Agent: KMail/1.9.10 References: <200912151647.53759.doconnor@gsoft.com.au> <200912161116.55670.doconnor@gsoft.com.au> <200912160952.40161.hselasky@c2i.net> In-Reply-To: <200912160952.40161.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1519974.WAX54d04X4"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200912171100.06770.doconnor@gsoft.com.au> X-Spam-Score: -3.977 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: freebsd-usb@freebsd.org Subject: Re: Re-enumerating a device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 00:30:22 -0000 --nextPart1519974.WAX54d04X4 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wed, 16 Dec 2009, Hans Petter Selasky wrote: > > It takes about a second to run though.. > > Could you also check the number of configurations ? > > usbconfig -u 0 -a 2 reset > > usbconfig -u 0 -a 2 dump_device_desc dump_curr_config_desc Sigh, I dunno what I was doing wrong before but now it works! [inchoate 10:59] ~ >sudo dfu-util -D ~/ma004103.bin -t 256 -R dfu-util - (C) 2007-2008 by OpenMoko Inc. This program is Free Software and has ABSOLUTELY NO WARRANTY Opening USB Device 0x0000:0x0000... Claiming USB DFU Runtime Interface... Determining device status: state =3D dfuIDLE, status =3D 0 WARNING: Runtime device already in DFU state ?!? =46ound Runtime: [0x0763:0x2804] devnum=3D0, cfg=3D0, intf=3D0, alt=3D0, na= me=3D"RAM" Claiming USB DFU Interface... Setting Alternate Setting ... Determining device status: state =3D dfuIDLE, status =3D 0 dfuIDLE, continuing Transfer Size =3D 0x0100 bytes_per_hash=3D120 Starting download: [##################################################] fin= ished! state(7) =3D dfuMANIFEST, status(0) =3D No error condition is present state(2) =3D dfuIDLE, status(0) =3D No error condition is present Done! can't detach: Unknown error Resetting USB to switch back to runtime mode > Seems like your device is broken then. Does the same procedure work > on Linux? I think it works in Linux, it definitely does in Windows. It uses a Ti TAS1020A (http://www.ti.com/lit/gpn/tas1020a) connected to an AK4532VF (http://www.asahi-kasei.co.jp/akm/en/product/ak4532/ak4532.html) Interestingly it does have a 24LC64 (64kbit I2C EEPROM) but I think it only has the header data for whatever reason so it always comes up in DFU mode. Sorry for wasting your time :( =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1519974.WAX54d04X4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iD8DBQBLKXuO5ZPcIHs/zowRArRfAJ9dWg1UMUJCekI+Yo6CsSiOhjbLXQCgmZld rA5QH3fvNMQEXBuG2rxzNbc= =Uomm -----END PGP SIGNATURE----- --nextPart1519974.WAX54d04X4-- From owner-freebsd-usb@FreeBSD.ORG Thu Dec 17 11:32:59 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C68A1065696 for ; Thu, 17 Dec 2009 11:32:59 +0000 (UTC) (envelope-from me@jackal.in) Received: from mail.doorsense.net (server.doorsense.net [89.108.95.10]) by mx1.freebsd.org (Postfix) with ESMTP id CCBF68FC1D for ; Thu, 17 Dec 2009 11:32:58 +0000 (UTC) Received: from [81.27.59.54] (helo=dell.jackal.in) by mail.doorsense.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NLEbG-000KkE-Ju; Thu, 17 Dec 2009 14:32:56 +0300 From: jackal To: Hans Petter Selasky , freebsd-usb@freebsd.org Date: Thu, 17 Dec 2009 14:32:19 +0300 User-Agent: KMail/1.12.3 (FreeBSD/8.0-STABLE; KDE/4.3.3; i386; ; ) References: <200912161556.52923.me@jackal.in> <200912162350.09944.me@jackal.in> <200912162338.11041.hselasky@c2i.net> In-Reply-To: <200912162338.11041.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200912171432.20725.me@jackal.in> X-Spam-Score: -4.8 (----) X-Spam-Status: No, score=-4.8 required=5.0 autolearn=no SpamAssassin 3.2.5 (2008-06-10) on mail.desalvia.com Content analysis details: (-4.8 points, 5.0 required) pts rule name description --- ---------------------- --------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.2 SUBJECT_FUZZY_TION Attempt to obfuscate words in Subject: -3.2 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Cc: Subject: Re: logitech vx nano mouse buttons X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: me@jackal.in List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 11:32:59 -0000 Hello, On Thursday 17 December 2009 01:38:09 Hans Petter Selasky wrote: > On Wednesday 16 December 2009 21:50:09 jackal wrote: > > Hello, > > > > On Wednesday 16 December 2009 22:44:41 Paul Schmehl wrote: > > > --On Wednesday, December 16, 2009 11:44:21 -0600 Hans Petter Selasky > > > > > > wrote: > > > > On Wednesday 16 December 2009 13:56:52 jackal wrote: > > > >> Hello, > > > >> > > > >> I'm using logitech vx nano mouse at freebsd 8-stable. > > > >> Everything works fine, except wheel left/right buttons. > > > >> `cat /dev/ums0' doesn't show anything when pressing this buttons. > > > >> Any other buttons works fine, including navigation buttons. > > > >> Is there a way to get this buttons work? > > > > > > Have you googled for the answer? > > > > > > http://wiki.eeeuser.com/configure_logitech_vx_nano > > > > > > http://bbs.archlinux.org/viewtopic.php?id=41805 > > > > > > http://crunchbanglinux.org/forums/topic/504/solved-help-setting-up-side > > >-w he el-buttons/ > > > > > > Section "InputDevice" > > > Identifier "VX Nano" > > > Driver "evdev" > > > Option "Name" "Logitech USB Receiver" > > > Option "Protocol" "evdev" > > > Option "Buttons" "9" > > > Option "SendCoreEvents" > > > Option "ZAxisMapping" "4 5" > > > Option "WAxisMapping" "8 9" > > > EndSection > > > > > > Obviously the driver will be different on FreeBSD, but the WAxisMapping > > > is the one that controls the side buttons. > > > > Ofcourse, I googled it, and I tried this configuration. But ..AxisMapping > > is just button-to-axis mapping. xev doesn't see this buttons. > > Any Xorg driver should work with ums0 device (as I understand), so I > > tried to `cat /dev/ums0' without X server and moused. > > Can you enable ums debugging: > > sysctl hw.usb.ums.debug=15 > ####### left button press Dec 17 12:46:16 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 Dec 17 12:46:16 dell kernel: ums_intr_callback:228: data = 01 00 00 00 00 00 00 00 Dec 17 12:46:16 dell kernel: ums_intr_callback:294: x:0 y:0 z:0 t:0 w:0 buttons:0x00000004 ####### left button release Dec 17 12:46:16 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 Dec 17 12:46:16 dell kernel: ums_intr_callback:228: data = 00 00 00 00 00 00 00 00 Dec 17 12:46:16 dell kernel: ums_intr_callback:294: x:0 y:0 z:0 t:0 w:0 buttons:0x00000000 ####### backward button press Dec 17 12:46:18 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 Dec 17 12:46:18 dell kernel: ums_intr_callback:228: data = 08 00 00 00 00 00 00 00 Dec 17 12:46:18 dell kernel: ums_intr_callback:294: x:0 y:0 z:0 t:0 w:0 buttons:0x00000008 ####### backward button release Dec 17 12:46:18 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 Dec 17 12:46:18 dell kernel: ums_intr_callback:228: data = 00 00 00 00 00 00 00 00 Dec 17 12:46:18 dell kernel: ums_intr_callback:294: x:0 y:0 z:0 t:0 w:0 buttons:0x00000000 ####### forward button press Dec 17 12:46:19 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 Dec 17 12:46:19 dell kernel: ums_intr_callback:228: data = 10 00 00 00 00 00 00 00 Dec 17 12:46:19 dell kernel: ums_intr_callback:294: x:0 y:0 z:0 t:0 w:0 buttons:0x00000010 ####### forward button release Dec 17 12:46:19 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 Dec 17 12:46:19 dell kernel: ums_intr_callback:228: data = 00 00 00 00 00 00 00 00 Dec 17 12:46:19 dell kernel: ums_intr_callback:294: x:0 y:0 z:0 t:0 w:0 buttons:0x00000000 ####### wheel up Dec 17 14:21:07 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 Dec 17 14:21:07 dell kernel: ums_intr_callback:228: data = 00 00 00 00 00 00 01 00 Dec 17 14:21:07 dell kernel: ums_intr_callback:294: x:0 y:0 z:-1 t:0 w:0 buttons:0x00000000 ####### wheel down Dec 17 14:21:11 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 Dec 17 14:21:11 dell kernel: ums_intr_callback:228: data = 00 00 00 00 00 00 ff 00 Dec 17 14:21:11 dell kernel: ums_intr_callback:294: x:0 y:0 z:1 t:0 w:0 buttons:0x00000000 ####### wheel left Dec 17 12:46:20 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 Dec 17 12:46:20 dell kernel: ums_intr_callback:228: data = 00 00 00 00 00 00 00 ff ####### wheel right Dec 17 12:46:22 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 Dec 17 12:46:22 dell kernel: ums_intr_callback:228: data = 00 00 00 00 00 00 00 01 Wheel left/right buttons doesn't have 'release' events. Seems like it's fourth axis... When holding one of this buttons, an event is generated continuously. -- Kind regards, Eugeny. From owner-freebsd-usb@FreeBSD.ORG Thu Dec 17 12:41:28 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1FB3106568D for ; Thu, 17 Dec 2009 12:41:28 +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 334AB8FC18 for ; Thu, 17 Dec 2009 12:41:27 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=gNqzSLAoAAAA:8 a=Br9LfDWDAAAA:8 a=sMCrCVZrAAAA:8 a=0I6II25TttnizltgJ3cA:9 a=ThDDuQqoBHiTwxponst4yaend7kA:4 a=aTOJHhGpzTEA:10 a=TRW-o2S9CEoA:10 a=9aOQ2cSd83gA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1342495591; Thu, 17 Dec 2009 13:41:25 +0100 From: Hans Petter Selasky To: me@jackal.in Date: Thu, 17 Dec 2009 13:43:21 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200912161556.52923.me@jackal.in> <200912162338.11041.hselasky@c2i.net> <200912171432.20725.me@jackal.in> In-Reply-To: <200912171432.20725.me@jackal.in> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912171343.22970.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: logitech vx nano mouse buttons X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 12:41:28 -0000 On Thursday 17 December 2009 12:32:19 jackal wrote: > Hello, > > On Thursday 17 December 2009 01:38:09 Hans Petter Selasky wrote: > > On Wednesday 16 December 2009 21:50:09 jackal wrote: > > > Hello, > > > > > > On Wednesday 16 December 2009 22:44:41 Paul Schmehl wrote: > > > > --On Wednesday, December 16, 2009 11:44:21 -0600 Hans Petter Selasky > > > > > > > > wrote: > > > > > On Wednesday 16 December 2009 13:56:52 jackal wrote: > > > > >> Hello, > > > > >> > > > > >> I'm using logitech vx nano mouse at freebsd 8-stable. > > > > >> Everything works fine, except wheel left/right buttons. > > > > >> `cat /dev/ums0' doesn't show anything when pressing this buttons. > > > > >> Any other buttons works fine, including navigation buttons. > > > > >> Is there a way to get this buttons work? > > > > > > > > Have you googled for the answer? > > > > > > > > http://wiki.eeeuser.com/configure_logitech_vx_nano > > > > > > > > http://bbs.archlinux.org/viewtopic.php?id=41805 > > > > > > > > http://crunchbanglinux.org/forums/topic/504/solved-help-setting-up-si > > > >de -w he el-buttons/ > > > > > > > > Section "InputDevice" > > > > Identifier "VX Nano" > > > > Driver "evdev" > > > > Option "Name" "Logitech USB Receiver" > > > > Option "Protocol" "evdev" > > > > Option "Buttons" "9" > > > > Option "SendCoreEvents" > > > > Option "ZAxisMapping" "4 5" > > > > Option "WAxisMapping" "8 9" > > > > EndSection > > > > > > > > Obviously the driver will be different on FreeBSD, but the > > > > WAxisMapping is the one that controls the side buttons. > > > > > > Ofcourse, I googled it, and I tried this configuration. But > > > ..AxisMapping is just button-to-axis mapping. xev doesn't see this > > > buttons. > > > Any Xorg driver should work with ums0 device (as I understand), so I > > > tried to `cat /dev/ums0' without X server and moused. > > > > Can you enable ums debugging: > > > > sysctl hw.usb.ums.debug=15 > > ####### left button press > Dec 17 12:46:16 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 > Dec 17 12:46:16 dell kernel: ums_intr_callback:228: data = 01 00 00 00 00 > 00 00 00 Dec 17 12:46:16 dell kernel: ums_intr_callback:294: x:0 y:0 z:0 > t:0 w:0 buttons:0x00000004 > > ####### left button release > Dec 17 12:46:16 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 > Dec 17 12:46:16 dell kernel: ums_intr_callback:228: data = 00 00 00 00 00 > 00 00 00 Dec 17 12:46:16 dell kernel: ums_intr_callback:294: x:0 y:0 z:0 > t:0 w:0 buttons:0x00000000 > > ####### backward button press > Dec 17 12:46:18 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 > Dec 17 12:46:18 dell kernel: ums_intr_callback:228: data = 08 00 00 00 00 > 00 00 00 Dec 17 12:46:18 dell kernel: ums_intr_callback:294: x:0 y:0 z:0 > t:0 w:0 buttons:0x00000008 > > ####### backward button release > Dec 17 12:46:18 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 > Dec 17 12:46:18 dell kernel: ums_intr_callback:228: data = 00 00 00 00 00 > 00 00 00 Dec 17 12:46:18 dell kernel: ums_intr_callback:294: x:0 y:0 z:0 > t:0 w:0 buttons:0x00000000 > > ####### forward button press > Dec 17 12:46:19 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 > Dec 17 12:46:19 dell kernel: ums_intr_callback:228: data = 10 00 00 00 00 > 00 00 00 Dec 17 12:46:19 dell kernel: ums_intr_callback:294: x:0 y:0 z:0 > t:0 w:0 buttons:0x00000010 > > ####### forward button release > Dec 17 12:46:19 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 > Dec 17 12:46:19 dell kernel: ums_intr_callback:228: data = 00 00 00 00 00 > 00 00 00 Dec 17 12:46:19 dell kernel: ums_intr_callback:294: x:0 y:0 z:0 > t:0 w:0 buttons:0x00000000 > > ####### wheel up > Dec 17 14:21:07 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 > Dec 17 14:21:07 dell kernel: ums_intr_callback:228: data = 00 00 00 00 00 > 00 01 00 Dec 17 14:21:07 dell kernel: ums_intr_callback:294: x:0 y:0 z:-1 > t:0 w:0 buttons:0x00000000 > > ####### wheel down > Dec 17 14:21:11 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 > Dec 17 14:21:11 dell kernel: ums_intr_callback:228: data = 00 00 00 00 00 > 00 ff 00 Dec 17 14:21:11 dell kernel: ums_intr_callback:294: x:0 y:0 z:1 > t:0 w:0 buttons:0x00000000 > > ####### wheel left > Dec 17 12:46:20 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 > Dec 17 12:46:20 dell kernel: ums_intr_callback:228: data = 00 00 00 00 00 > 00 00 ff > > ####### wheel right > Dec 17 12:46:22 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 > Dec 17 12:46:22 dell kernel: ums_intr_callback:228: data = 00 00 00 00 00 > 00 00 01 > > Wheel left/right buttons doesn't have 'release' events. Seems like it's > fourth axis... When holding one of this buttons, an event is generated > continuously. If you do log2 of the buttons value you get the button # pressed. Looks like the mapping is not 1:1. Try to add a button map to the X11 config file. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Dec 17 13:05:09 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E01E01065672 for ; Thu, 17 Dec 2009 13:05:09 +0000 (UTC) (envelope-from me@jackal.in) Received: from mail.doorsense.net (server.doorsense.net [89.108.95.10]) by mx1.freebsd.org (Postfix) with ESMTP id 6A1A88FC16 for ; Thu, 17 Dec 2009 13:05:09 +0000 (UTC) Received: from [81.27.59.54] (helo=dell.jackal.in) by mail.doorsense.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NLG2T-000M2g-Q5; Thu, 17 Dec 2009 16:05:07 +0300 From: jackal To: Hans Petter Selasky , freebsd-usb@freebsd.org Date: Thu, 17 Dec 2009 16:04:30 +0300 User-Agent: KMail/1.12.3 (FreeBSD/8.0-STABLE; KDE/4.3.3; i386; ; ) References: <200912161556.52923.me@jackal.in> <200912171432.20725.me@jackal.in> <200912171343.22970.hselasky@c2i.net> In-Reply-To: <200912171343.22970.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912171604.30794.me@jackal.in> X-Spam-Score: -4.8 (----) X-Spam-Status: No, score=-4.8 required=5.0 autolearn=no SpamAssassin 3.2.5 (2008-06-10) on mail.desalvia.com Content analysis details: (-4.8 points, 5.0 required) pts rule name description --- ---------------------- --------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.2 SUBJECT_FUZZY_TION Attempt to obfuscate words in Subject: -3.2 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Cc: Subject: Re: logitech vx nano mouse buttons X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: me@jackal.in List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 13:05:10 -0000 Hello, On Thursday 17 December 2009 15:43:21 Hans Petter Selasky wrote: > On Thursday 17 December 2009 12:32:19 jackal wrote: > > Hello, > > > > On Thursday 17 December 2009 01:38:09 Hans Petter Selasky wrote: > > > On Wednesday 16 December 2009 21:50:09 jackal wrote: > > > > Hello, > > > > > > > > On Wednesday 16 December 2009 22:44:41 Paul Schmehl wrote: > > > > > --On Wednesday, December 16, 2009 11:44:21 -0600 Hans Petter > > > > > Selasky > > > > > > > > > > wrote: > > > > > > On Wednesday 16 December 2009 13:56:52 jackal wrote: > > > > > >> Hello, > > > > > >> > > > > > >> I'm using logitech vx nano mouse at freebsd 8-stable. > > > > > >> Everything works fine, except wheel left/right buttons. > > > > > >> `cat /dev/ums0' doesn't show anything when pressing this > > > > > >> buttons. Any other buttons works fine, including navigation > > > > > >> buttons. Is there a way to get this buttons work? > > > > > > > > > > Have you googled for the answer? > > > > > > > > > > http://wiki.eeeuser.com/configure_logitech_vx_nano > > > > > > > > > > http://bbs.archlinux.org/viewtopic.php?id=41805 > > > > > > > > > > http://crunchbanglinux.org/forums/topic/504/solved-help-setting-up- > > > > >si de -w he el-buttons/ > > > > > > > > > > Section "InputDevice" > > > > > Identifier "VX Nano" > > > > > Driver "evdev" > > > > > Option "Name" "Logitech USB Receiver" > > > > > Option "Protocol" "evdev" > > > > > Option "Buttons" "9" > > > > > Option "SendCoreEvents" > > > > > Option "ZAxisMapping" "4 5" > > > > > Option "WAxisMapping" "8 9" > > > > > EndSection > > > > > > > > > > Obviously the driver will be different on FreeBSD, but the > > > > > WAxisMapping is the one that controls the side buttons. > > > > > > > > Ofcourse, I googled it, and I tried this configuration. But > > > > ..AxisMapping is just button-to-axis mapping. xev doesn't see this > > > > buttons. > > > > Any Xorg driver should work with ums0 device (as I understand), so I > > > > tried to `cat /dev/ums0' without X server and moused. > > > > > > Can you enable ums debugging: > > > > > > sysctl hw.usb.ums.debug=15 > > > > ####### left button press > > Dec 17 12:46:16 dell kernel: ums_intr_callback:210: sc=0xc61dc800 > > actlen=8 Dec 17 12:46:16 dell kernel: ums_intr_callback:228: data = 01 00 > > 00 00 00 00 00 00 Dec 17 12:46:16 dell kernel: ums_intr_callback:294: x:0 > > y:0 z:0 t:0 w:0 buttons:0x00000004 > > > > ####### left button release > > Dec 17 12:46:16 dell kernel: ums_intr_callback:210: sc=0xc61dc800 > > actlen=8 Dec 17 12:46:16 dell kernel: ums_intr_callback:228: data = 00 00 > > 00 00 00 00 00 00 Dec 17 12:46:16 dell kernel: ums_intr_callback:294: x:0 > > y:0 z:0 t:0 w:0 buttons:0x00000000 > > > > ####### backward button press > > Dec 17 12:46:18 dell kernel: ums_intr_callback:210: sc=0xc61dc800 > > actlen=8 Dec 17 12:46:18 dell kernel: ums_intr_callback:228: data = 08 00 > > 00 00 00 00 00 00 Dec 17 12:46:18 dell kernel: ums_intr_callback:294: x:0 > > y:0 z:0 t:0 w:0 buttons:0x00000008 > > > > ####### backward button release > > Dec 17 12:46:18 dell kernel: ums_intr_callback:210: sc=0xc61dc800 > > actlen=8 Dec 17 12:46:18 dell kernel: ums_intr_callback:228: data = 00 00 > > 00 00 00 00 00 00 Dec 17 12:46:18 dell kernel: ums_intr_callback:294: x:0 > > y:0 z:0 t:0 w:0 buttons:0x00000000 > > > > ####### forward button press > > Dec 17 12:46:19 dell kernel: ums_intr_callback:210: sc=0xc61dc800 > > actlen=8 Dec 17 12:46:19 dell kernel: ums_intr_callback:228: data = 10 00 > > 00 00 00 00 00 00 Dec 17 12:46:19 dell kernel: ums_intr_callback:294: x:0 > > y:0 z:0 t:0 w:0 buttons:0x00000010 > > > > ####### forward button release > > Dec 17 12:46:19 dell kernel: ums_intr_callback:210: sc=0xc61dc800 > > actlen=8 Dec 17 12:46:19 dell kernel: ums_intr_callback:228: data = 00 00 > > 00 00 00 00 00 00 Dec 17 12:46:19 dell kernel: ums_intr_callback:294: x:0 > > y:0 z:0 t:0 w:0 buttons:0x00000000 > > > > ####### wheel up > > Dec 17 14:21:07 dell kernel: ums_intr_callback:210: sc=0xc61dc800 > > actlen=8 Dec 17 14:21:07 dell kernel: ums_intr_callback:228: data = 00 00 > > 00 00 00 00 01 00 Dec 17 14:21:07 dell kernel: ums_intr_callback:294: x:0 > > y:0 z:-1 t:0 w:0 buttons:0x00000000 > > > > ####### wheel down > > Dec 17 14:21:11 dell kernel: ums_intr_callback:210: sc=0xc61dc800 > > actlen=8 Dec 17 14:21:11 dell kernel: ums_intr_callback:228: data = 00 00 > > 00 00 00 00 ff 00 Dec 17 14:21:11 dell kernel: ums_intr_callback:294: x:0 > > y:0 z:1 t:0 w:0 buttons:0x00000000 > > > > ####### wheel left > > Dec 17 12:46:20 dell kernel: ums_intr_callback:210: sc=0xc61dc800 > > actlen=8 Dec 17 12:46:20 dell kernel: ums_intr_callback:228: data = 00 00 > > 00 00 00 00 00 ff > > > > ####### wheel right > > Dec 17 12:46:22 dell kernel: ums_intr_callback:210: sc=0xc61dc800 > > actlen=8 Dec 17 12:46:22 dell kernel: ums_intr_callback:228: data = 00 00 > > 00 00 00 00 00 01 > > > > Wheel left/right buttons doesn't have 'release' events. Seems like it's > > fourth axis... When holding one of this buttons, an event is generated > > continuously. > > If you do log2 of the buttons value you get the button # pressed. Looks > like the mapping is not 1:1. Try to add a button map to the X11 config > file. > Yes, backward/forward button mapping is not 1:1. These buttons works with Option "ButtonMapping" "1 2 3 6 7" as expected. But the problem is with 'wheel left/right' buttons. These buttons doesn't generate button events, so xev can't see these buttons. Dec 17 12:46:20 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 Dec 17 12:46:20 dell kernel: ums_intr_callback:228: data = 00 00 00 00 00 00 00 ff Dec 17 12:46:22 dell kernel: ums_intr_callback:210: sc=0xc61dc800 actlen=8 Dec 17 12:46:22 dell kernel: ums_intr_callback:228: data = 00 00 00 00 00 00 00 01 There's no ums_intr_callback:294 events. What you mean by phrase 'do log2 of the buttons value'? What is the 'log2'? -- Kind regards, Eugeny. From owner-freebsd-usb@FreeBSD.ORG Thu Dec 17 14:49:35 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4517110656C0 for ; Thu, 17 Dec 2009 14:49:35 +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 CA8248FC26 for ; Thu, 17 Dec 2009 14:49:34 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=2IeTVisTiqe-eecp59IA:9 a=12XHn-7RnrJLDpnSSVEA:7 a=QLqliH8Lg0tD7TbbaCCre7aR3KUA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1361882924; Thu, 17 Dec 2009 15:49:28 +0100 From: Hans Petter Selasky To: me@jackal.in Date: Thu, 17 Dec 2009 15:51:23 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200912161556.52923.me@jackal.in> <200912171343.22970.hselasky@c2i.net> <200912171604.30794.me@jackal.in> In-Reply-To: <200912171604.30794.me@jackal.in> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200912171551.24718.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: logitech vx nano mouse buttons X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 14:49:35 -0000 On Thursday 17 December 2009 14:04:30 jackal wrote: > These buttons doesn't > generate button events, so xev can't see these buttons. Hi, That's because your left button press is mapped to (2**2, two in the power of two which is equal to 0x00000004) which is button 2, which I think is not correct. Typically left-right and middle button, should have button masks: 1,2,4. Try to compare ums debug output when using another USB mouse. > > ####### left button press > > Dec 17 12:46:16 dell kernel: ums_intr_callback:210: sc=0xc61dc800 > > actlen=8 Dec 17 12:46:16 dell kernel: ums_intr_callback:228: data = 01 00 > > 00 00 00 00 00 00 Dec 17 12:46:16 dell kernel: ums_intr_callback:294: x:0 > > y:0 z:0 t:0 w:0 buttons:0x00000004 --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Dec 17 21:00:14 2009 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 1E28D1065695 for ; Thu, 17 Dec 2009 21:00:14 +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 F3F528FC15 for ; Thu, 17 Dec 2009 21:00:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBHL0DJu088200 for ; Thu, 17 Dec 2009 21:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBHL0DUW088199; Thu, 17 Dec 2009 21:00:13 GMT (envelope-from gnats) Date: Thu, 17 Dec 2009 21:00:13 GMT Message-Id: <200912172100.nBHL0DUW088199@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: "Paul G Webster" Cc: Subject: Re: usb/133712: [ural] [patch] RE: Fixed an issue with ural(4) that was creating kernel panics (trap 12) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul G Webster List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 21:00:14 -0000 The following reply was made to PR usb/133712; it has been noted by GNATS. From: "Paul G Webster" To: bug-followup@freebsd.org, paul.g.webster@googlemail.com Cc: Subject: Re: usb/133712: [ural] [patch] RE: Fixed an issue with ural(4) that was creating kernel panics (trap 12) Date: Thu, 17 Dec 2009 20:28:30 -0000 Sorry to ask, im not sure even if I should... as we are now on freebsd 8.0-release and well im having yet another problem with the WUSB54G (ver 4) (it wont associate with WPA access points), what happens to this post, its been open a long long time -- thank you for your time -- paul g webster -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ From owner-freebsd-usb@FreeBSD.ORG Fri Dec 18 07:50:02 2009 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 B7AAD1065672 for ; Fri, 18 Dec 2009 07:50:02 +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 A65E58FC22 for ; Fri, 18 Dec 2009 07:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBI7o2t5028152 for ; Fri, 18 Dec 2009 07:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBI7o2OP028151; Fri, 18 Dec 2009 07:50:02 GMT (envelope-from gnats) Date: Fri, 18 Dec 2009 07:50:02 GMT Message-Id: <200912180750.nBI7o2OP028151@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Mark Duller Cc: Subject: Re: usb/140160: [usb8] [acpi] USB ports are no longer "active" after ACPI suspend/resume cycle. X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Duller List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 07:50:02 -0000 The following reply was made to PR usb/140160; it has been noted by GNATS. From: Mark Duller To: bug-followup@FreeBSD.org, jamesbrandongooch@gmail.com Cc: Subject: Re: usb/140160: [usb8] [acpi] USB ports are no longer "active" after ACPI suspend/resume cycle. Date: Fri, 18 Dec 2009 07:41:51 +0000 With 8.0-Release I can reproduce what Brandon describes. If I do not unload uhci before a suspend, USB ports work fine after the first resume, but any subsequent suspend/resume cycles make the USB ports no longer "active" (the USB ports appear to have no power). Even if the uhci driver is unloaded after the first suspend/resume cycle, the next suspend/resume cycle will result in 'inactive' USB ports. If no USB modules have been loaded before the first suspend/resume cycle, the USB ports become 'inactive' after resume, although I find I can make them active again if I do a subsequent suspend/resume cycle after loading some USB modules ("kldload usb umass ehci" in my test). It's not clear to me whether this is related to the uhci bug.