public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: add support for Integrated System Solution devices
@ 2009-04-19 19:35 Gustavo F. Padovan
  2009-04-23 15:57 ` Gustavo F. Padovan
  2009-04-24  6:37 ` Dominique Meeùs
  0 siblings, 2 replies; 4+ messages in thread
From: Gustavo F. Padovan @ 2009-04-19 19:35 UTC (permalink / raw)
  To: linux-bluetooth

Just add the device id to btusb. I tested with obexd and hcitool info
<baddr> and it works. But there is an issue yet, l2ping disconnects after
10 seconds.

Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>
---
 drivers/bluetooth/btusb.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
index e70c57e..9df83a7 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb.c
@@ -131,6 +131,9 @@ static struct usb_device_id blacklist_table[] = {
 	{ USB_DEVICE(0x08fd, 0x0001), .driver_info = BTUSB_DIGIANSWER },
 	{ USB_DEVICE(0x08fd, 0x0002), .driver_info = BTUSB_IGNORE },
 
+	/* Integrated System Solution devices */
+	{ USB_DEVICE(0x1131, 0x1004), .driver_info = BTUSB_WRONG_SCO_MTU },
+
 	/* CSR BlueCore Bluetooth Sniffer */
 	{ USB_DEVICE(0x0a12, 0x0002), .driver_info = BTUSB_SNIFFER },
 
-- 
1.6.0.6


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Bluetooth: add support for Integrated System Solution devices
  2009-04-19 19:35 [PATCH] Bluetooth: add support for Integrated System Solution devices Gustavo F. Padovan
@ 2009-04-23 15:57 ` Gustavo F. Padovan
  2009-04-23 16:07   ` Marcel Holtmann
  2009-04-24  6:37 ` Dominique Meeùs
  1 sibling, 1 reply; 4+ messages in thread
From: Gustavo F. Padovan @ 2009-04-23 15:57 UTC (permalink / raw)
  To: linux-bluetooth

On Sun, Apr 19, 2009 at 4:35 PM, Gustavo F. Padovan
<gustavo@las.ic.unicamp.br> wrote:
> Just add the device id to btusb. I tested with obexd and hcitool info
> <baddr> and it works. But there is an issue yet, l2ping disconnects after
> 10 seconds.
>
> Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>
> ---
>  drivers/bluetooth/btusb.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> index e70c57e..9df83a7 100644
> --- a/drivers/bluetooth/btusb.c
> +++ b/drivers/bluetooth/btusb.c
> @@ -131,6 +131,9 @@ static struct usb_device_id blacklist_table[] = {
>        { USB_DEVICE(0x08fd, 0x0001), .driver_info = BTUSB_DIGIANSWER },
>        { USB_DEVICE(0x08fd, 0x0002), .driver_info = BTUSB_IGNORE },
>
> +       /* Integrated System Solution devices */
> +       { USB_DEVICE(0x1131, 0x1004), .driver_info = BTUSB_WRONG_SCO_MTU },
> +
>        /* CSR BlueCore Bluetooth Sniffer */
>        { USB_DEVICE(0x0a12, 0x0002), .driver_info = BTUSB_SNIFFER },
>
> --
> 1.6.0.6


Proving that we need this:

before patch:
 - /proc/bus/usb/devices: http://pastebin.com/m18d4d0a1
 - hciconfig -a: http://pastebin.com/m44e553cb

after patch:
 - /proc/bus/usb/devices:http://pastebin.com/m5d7add7d
 - hciconfig -a: http://pastebin.com/m58522f0c

>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Gustavo F. Padovan

Computer Engineering Student
Institute of Computing - IC
University of Campinas - UNICAMP

email: gustavo@las.ic.unicamp.br
irc: padovan at freenode.net
mobile: +55 19 81030803

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Bluetooth: add support for Integrated System Solution devices
  2009-04-23 15:57 ` Gustavo F. Padovan
@ 2009-04-23 16:07   ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2009-04-23 16:07 UTC (permalink / raw)
  To: Gustavo F. Padovan; +Cc: linux-bluetooth

Hi Gustavo,

> > Just add the device id to btusb. I tested with obexd and hcitool info
> > <baddr> and it works. But there is an issue yet, l2ping disconnects after
> > 10 seconds.
> >
> > Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br>
> > ---
> >  drivers/bluetooth/btusb.c |    3 +++
> >  1 files changed, 3 insertions(+), 0 deletions(-)
> >
> > diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
> > index e70c57e..9df83a7 100644
> > --- a/drivers/bluetooth/btusb.c
> > +++ b/drivers/bluetooth/btusb.c
> > @@ -131,6 +131,9 @@ static struct usb_device_id blacklist_table[] = {
> >        { USB_DEVICE(0x08fd, 0x0001), .driver_info = BTUSB_DIGIANSWER },
> >        { USB_DEVICE(0x08fd, 0x0002), .driver_info = BTUSB_IGNORE },
> >
> > +       /* Integrated System Solution devices */
> > +       { USB_DEVICE(0x1131, 0x1004), .driver_info = BTUSB_WRONG_SCO_MTU },
> > +
> >        /* CSR BlueCore Bluetooth Sniffer */
> >        { USB_DEVICE(0x0a12, 0x0002), .driver_info = BTUSB_SNIFFER },
> >
> > --
> > 1.6.0.6
> 
> 
> Proving that we need this:
> 
> before patch:
>  - /proc/bus/usb/devices: http://pastebin.com/m18d4d0a1
>  - hciconfig -a: http://pastebin.com/m44e553cb
> 
> after patch:
>  - /proc/bus/usb/devices:http://pastebin.com/m5d7add7d
>  - hciconfig -a: http://pastebin.com/m58522f0c

you are confusing me. Can you make sure you local Broadcom dongle is off
via the RFKILL switch and doesn't show up in lsusb.

Regards

Marcel



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Bluetooth: add support for Integrated System Solution devices
  2009-04-19 19:35 [PATCH] Bluetooth: add support for Integrated System Solution devices Gustavo F. Padovan
  2009-04-23 15:57 ` Gustavo F. Padovan
@ 2009-04-24  6:37 ` Dominique Meeùs
  1 sibling, 0 replies; 4+ messages in thread
From: Dominique Meeùs @ 2009-04-24  6:37 UTC (permalink / raw)
  To: Linux-Bluetooth; +Cc: Gustavo F. Padovan

Gustavo F. Padovan a écrit ce qui suit, le 19/04/09 21:35 :
> Just add the device id to btusb...
>  
> +	/* Integrated System Solution devices */
> +	{ USB_DEVICE(0x1131, 0x1004), .driver_info = BTUSB_WRONG_SCO_MTU },
>   
I have hciconfig -a
hci0:    Type: USB
    ...
    UP RUNNING
    ...
Can't read local name on hci0: Connection timed out (110)

with the Broadcom based D-Link: lsusb
Bus 003 Device 002: ID 2001:f111 D-Link Corp. [hex] DBT-122 Bluetooth 
adapter

Is it the same problem? Could it be solved the same way?




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-24  6:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-19 19:35 [PATCH] Bluetooth: add support for Integrated System Solution devices Gustavo F. Padovan
2009-04-23 15:57 ` Gustavo F. Padovan
2009-04-23 16:07   ` Marcel Holtmann
2009-04-24  6:37 ` Dominique Meeùs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox