Re: [Bluez-users] Early failures with Treo 650

Marcel Holtmann
2005-05-28T13:41:47Z

Hi David,

> > So loading with "modprobe hci_usb reset=1" and without the patch doesn't
> > make it work? Don't using "reset=1" and applying the patch does also not
> > work? Only when you do both things the dongle is working. This is odd,
> > because one of my previous Broadcom based dongles like this only needed
> > the BCM92035 quirk to switch from HID into HCI mode. Please test all
> > possibilities so I can add the correct quirk to the kernel.
>
> OK -- here are the results:
>
> 1) Stock 2.6.11 hci_usb module:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> a) modprobe hci_usb
> => FAIL timeout on the scan (original behavior)
> b) modprobe hci_usb reset=1
> => PASS This works, can scan, and info my device
>
>
> 2) hci_usb module with given patch applied:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> a) modprobe hci_usb
> => FAIL timeout on the scan (seems to be the same as 1a)
> b) modprobe hci_usb reset=1
> => PASS This works, can scan, and info my device. Also, there is a
> significant increase in response when I do more "hcitool scan" commands
> after the first one, I have no idea why this is or if it is important?
>
>
> 3) hci_usb module with attached patch applied:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> a) modprobe hci_usb
> => PASS since we do the bitwise or of HCI_RESET added to BCM92035 quirk
> in the module, no need to specify reset at the command line of modprobe,
> so this works just as 2b worked (just as you said it would). Speed
> increase on multiple "hcitool scan" commands is also present as in 2b.

explain the speed increase to me. I don't understand it. The RESET quirk
should be enough, because the BCM92035 quirk is only for a very specific
dongle from Broadcom.

Check the dmesg output for added and removed USB while you are attaching
the dongle. You should see a mouse and a keyboard that will disappear
minutes later.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005