From owner-freebsd-current@FreeBSD.ORG Sun Oct 24 00:32:47 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5568016A4CE for ; Sun, 24 Oct 2004 00:32:47 +0000 (GMT) Received: from daemon.egr.msu.edu (daemon.egr.msu.edu [35.9.44.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3555743D1D for ; Sun, 24 Oct 2004 00:32:47 +0000 (GMT) (envelope-from mcdouga9@daemon.egr.msu.edu) Received: by daemon.egr.msu.edu (Postfix, from userid 1001) id 296E5C6; Sat, 23 Oct 2004 20:32:46 -0400 (EDT) Date: Sat, 23 Oct 2004 20:32:46 -0400 From: Adam McDougall To: current@freebsd.org Message-ID: <20041024003245.GF69728@egr.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: Motorola nextel i860 usb charging cable USB id addition X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2004 00:32:47 -0000 I'm not sure what files get modified to add a new USB_VENDOR and USB_PRODUCT id, but if I add the following line to /usr/src/sys/dev/usb/usb_quirks.c in usb_quirks[] = { then my new usb charging data cable works with umodem with my new Nextel Motorola i860 iDEN phone as a modem, tested under 6-current. Without it, it complains about cm stuff, and the error lead me to the idea of the fix on google. I understand that its preferred to define vendor and product variables instead of magic numbers. If someone could commit them, it would be helpful. { 0x0c44, 0x0020, ANY, { UQ_ASSUME_CM_OVER_DATA }}, I assume the same modification may work with the i730 and i830 also, unless the phone changes the usb ID's. usbdev -v lead me to the numbers. ucom0: Motorola Inc. product 0x0020, rev 1.10/0.01, addr 2, iclass 2/2 ucom0: data interface 1, has CM over data, has break ucom0: status change notification available To use it with ppp, gathered from another helpful FreeBSD user's webpage: ppp set device /dev/cuaU0 term ATZ0&C1&D2&K3 ATDT1234567