From owner-freebsd-bluetooth@FreeBSD.ORG Tue Feb 22 21:31:26 2011 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C5CB1065679 for ; Tue, 22 Feb 2011 21:31:26 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 54D418FC20 for ; Tue, 22 Feb 2011 21:31:26 +0000 (UTC) Received: by iwn33 with SMTP id 33so2099480iwn.13 for ; Tue, 22 Feb 2011 13:31:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=V0pdRedtAO2e6oH8Uotv5Dc2rLuVf7GBgn9qQDq9XhQ=; b=vuOmqlcHh1S5QgUSjvvrKHZhPYzY/Ak/d9+NHno/OGYFZMMJlfcKE6SB4T+Y8fYpSn /YsX0pqTWq5r5WYYVk4uf+g/hBDTtMKH3n9Erg6eKsE+CgTmgU7G28Cs/oURbFkJBEHE qwdc0tY3qzJEJO2UJVxlqtQ276WSR7v8P0A/o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=bcc:mime-version:in-reply-to:references:date:message-id:subject :from:to:content-type; b=hSHvdTvByYjK0Gc8/k3QubqxPLcEpEliZesnXDO6fSKszITQS72gTVFsntq71dvnIg MwsUvwHgUqpec3ELjq24bwpxRl4GhXdBtnggBjEDv8rl+XB3edi1fg+G/E7Rsd1gqbwL bFKLAr8tuHA70rsIAjJj53RcQ0i9m/+um7Cnk= MIME-Version: 1.0 Received: by 10.42.175.201 with SMTP id bb9mr4091665icb.423.1298410285804; Tue, 22 Feb 2011 13:31:25 -0800 (PST) Received: by 10.231.208.19 with HTTP; Tue, 22 Feb 2011 13:31:25 -0800 (PST) In-Reply-To: <20110222211252.12195A6338@smtp3-g21.free.fr> References: <20110222211252.12195A6338@smtp3-g21.free.fr> Date: Tue, 22 Feb 2011 13:31:25 -0800 Message-ID: From: Maksim Yevmenkin To: Raoul Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Tue, 22 Feb 2011 22:42:34 +0000 Cc: Subject: Re: Dell 370 bluetooth minicard X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2011 21:31:26 -0000 On Tue, Feb 22, 2011 at 1:12 PM, Raoul wrote: > > Hi Maksim, > > i have some more informations now. > > 1. right, the modem is behind the hub in the BCM2046B1. > its vendor id is 413C: DELL. > his product id is 8156. > > 2. usbconfig do not see it at all why? could you please provide device descriptor as i asked? if you have ugen(4) device attached, then usbconfig(8) should be able to see it and extract information from it. > There is no switch to put it on/off. it is always on. thanks -- its good to know. > here is the true configuration obtained from debian: > for documentation i keep other divices. thanks, but this is not very much help. i'd like to know what freebsd thinks about this device and not linux. > Bus 005 Device 002: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor > Bus 002 Device 005: ID 413c:8156 Dell Computer Corp. Wireless 370 Bluetooth Mini-card > Bus 002 Device 004: ID 413c:8158 Dell Computer Corp. Integrated Touchpad / Trackstick > Bus 002 Device 003: ID 413c:8157 Dell Computer Corp. Integrated Keyboard > Bus 002 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth) i _think_ that device that freebsd sees as ugen(4) is the "ID 0a5c:4500" device. notice that "missing devices" are on the same usb bus (bus 002) with the increasing id's. i guess this means that "missing devices" are behind the hub. we already know that interface class is reported by the device as "hub". what i'd like to know is what device class is set to. freebsd uhub(4) driver uses device class to identify device as usb hub. obviously, if freebsd does not recognize device as usb hub it is not going to "explore" and find all the devices that might be attached to the usb hub. quick look at linux's usb hub driver suggest that linux might be using interface class to identify device as usb hub. to test the theory, quick hack would be to change uhub_probe() in /sys/dev/usb/usb_hub.c and forcefully make uhub(4) attach to device/vendor id 0a5c:4500. thanks, max