Re: [PATCH] Bluetooth: btusb: Add a module parameter ignore_id for debugging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hui,

>>> There is always an on-board usb bluetooth hci on the laptops, if
>>> the bluetooth function doesn't work well like a bt headset can't work
>>> with HSP/HFP mode, we often plug an external usb BT hci to verify if
>>> that headset could work with the exteral BT hci or not, in this
>>> situation, there will be 2 hcis (hci0 and hci1) in the system, and
>>> so far, the gnome can't handle the hci1 well so we met lots of
>>> problems when debugging with hci1 under gnome.
>>> 
>>> After adding this new module parameter, we could ban the on-board
>>> usb hci by putting btusb.ignore_id=idVendor,idProduct to the bootargs,
>>> then the external usb hci will be hci0 and there is only one hci
>>> in the system. We could easily debug with the external usb bluetooth
>>> hci after this change.
>>> 
>>> Signed-off-by: Hui Wang <hui.wang@xxxxxxxxxxxxx>
>>> ---
>>> drivers/bluetooth/btusb.c | 11 +++++++++++
>>> 1 file changed, 11 insertions(+)
>> please use this instead.
>> 
>> echo “vvvv pppp 0 08fd 0002" > /sys/bus/usb/drivers/foo/new_id
> 
> Thanks,  but to run the command above,  the system should boot up first.  After the system boot up, the btusb is already loaded and and the on-board hci is already driven by btusb. looks like it is too late to run that command for on-board hci.

then unload the module first or blacklist the module.

Regards

Marcel




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux