2008-11-03 20:58:21

by Isaías Martínez Yelmo

[permalink] [raw]
Subject: Re: Dell 365 Bluetooth

El Monday 03 November 2008 20:03:51 Mario Limonciello escribi?:
> Isa?as Mart?nez Yelmo wrote:
> > Hello,
> >
> > I would like to ask if there is some future plan to support the new
> > bluetooth device Dell 365 Bluetooth. As far as I know, this is a new
> > device included on new Dell Latitudes e4200/e4300 and I have not found
> > any information related with it yet. This is the information that i have
> > obtained from lsusb, just to provide all the information that I have:
> >
> > Bus 001 Device 006: ID 413c:8160 Dell Computer Corp.
> > Device Descriptor:
> > bLength 18
> > bDescriptorType 1
> > bcdUSB 2.00
> > bDeviceClass 224 Wireless
> > bDeviceSubClass 1 Radio Frequency
> > bDeviceProtocol 1 Bluetooth
> > bMaxPacketSize0 64
> > idVendor 0x413c Dell Computer Corp.
> > idProduct 0x8160
> > bcdDevice 1.73
> > iManufacturer 1 Dell Computer Corp
> > iProduct 2 Dell Wireless 365 Bluetooth Module
> > iSerial 0
> > bNumConfigurations 1
> > Configuration Descriptor:
> > bLength 9
> > bDescriptorType 2
> > wTotalLength 216
> > bNumInterfaces 4
> > bConfigurationValue 1
> > iConfiguration 0
> > bmAttributes 0xe0
> > Self Powered
> > Remote Wakeup
> > MaxPower 100mA
> > Interface Descriptor:
> > bLength 9
> > bDescriptorType 4
> > bInterfaceNumber 0
> > bAlternateSetting 0
> > bNumEndpoints 3
> > bInterfaceClass 224 Wireless
> > bInterfaceSubClass 1 Radio Frequency
> > bInterfaceProtocol 1 Bluetooth
> > iInterface 0
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x81 EP 1 IN
> > bmAttributes 3
> > Transfer Type Interrupt
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0010 1x 16 bytes
> > bInterval 1
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x82 EP 2 IN
> > bmAttributes 2
> > Transfer Type Bulk
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0040 1x 64 bytes
> > bInterval 1
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x02 EP 2 OUT
> > bmAttributes 2
> > Transfer Type Bulk
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0040 1x 64 bytes
> > bInterval 1
> > Interface Descriptor:
> > bLength 9
> > bDescriptorType 4
> > bInterfaceNumber 1
> > bAlternateSetting 0
> > bNumEndpoints 2
> > bInterfaceClass 224 Wireless
> > bInterfaceSubClass 1 Radio Frequency
> > bInterfaceProtocol 1 Bluetooth
> > iInterface 0
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x83 EP 3 IN
> > bmAttributes 1
> > Transfer Type Isochronous
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0000 1x 0 bytes
> > bInterval 1
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x03 EP 3 OUT
> > bmAttributes 1
> > Transfer Type Isochronous
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0000 1x 0 bytes
> > bInterval 1
> > Interface Descriptor:
> > bLength 9
> > bDescriptorType 4
> > bInterfaceNumber 1
> > bAlternateSetting 1
> > bNumEndpoints 2
> > bInterfaceClass 224 Wireless
> > bInterfaceSubClass 1 Radio Frequency
> > bInterfaceProtocol 1 Bluetooth
> > iInterface 0
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x83 EP 3 IN
> > bmAttributes 1
> > Transfer Type Isochronous
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0009 1x 9 bytes
> > bInterval 1
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x03 EP 3 OUT
> > bmAttributes 1
> > Transfer Type Isochronous
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0009 1x 9 bytes
> > bInterval 1
> > Interface Descriptor:
> > bLength 9
> > bDescriptorType 4
> > bInterfaceNumber 1
> > bAlternateSetting 2
> > bNumEndpoints 2
> > bInterfaceClass 224 Wireless
> > bInterfaceSubClass 1 Radio Frequency
> > bInterfaceProtocol 1 Bluetooth
> > iInterface 0
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x83 EP 3 IN
> > bmAttributes 1
> > Transfer Type Isochronous
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0011 1x 17 bytes
> > bInterval 1
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x03 EP 3 OUT
> > bmAttributes 1
> > Transfer Type Isochronous
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0011 1x 17 bytes
> > bInterval 1
> > Interface Descriptor:
> > bLength 9
> > bDescriptorType 4
> > bInterfaceNumber 1
> > bAlternateSetting 3
> > bNumEndpoints 2
> > bInterfaceClass 224 Wireless
> > bInterfaceSubClass 1 Radio Frequency
> > bInterfaceProtocol 1 Bluetooth
> > iInterface 0
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x83 EP 3 IN
> > bmAttributes 1
> > Transfer Type Isochronous
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0020 1x 32 bytes
> > bInterval 1
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x03 EP 3 OUT
> > bmAttributes 1
> > Transfer Type Isochronous
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0020 1x 32 bytes
> > bInterval 1
> > Interface Descriptor:
> > bLength 9
> > bDescriptorType 4
> > bInterfaceNumber 1
> > bAlternateSetting 4
> > bNumEndpoints 2
> > bInterfaceClass 224 Wireless
> > bInterfaceSubClass 1 Radio Frequency
> > bInterfaceProtocol 1 Bluetooth
> > iInterface 0
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x83 EP 3 IN
> > bmAttributes 1
> > Transfer Type Isochronous
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0040 1x 64 bytes
> > bInterval 1
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x03 EP 3 OUT
> > bmAttributes 1
> > Transfer Type Isochronous
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0040 1x 64 bytes
> > bInterval 1
> > Interface Descriptor:
> > bLength 9
> > bDescriptorType 4
> > bInterfaceNumber 1
> > bAlternateSetting 5
> > bNumEndpoints 2
> > bInterfaceClass 224 Wireless
> > bInterfaceSubClass 1 Radio Frequency
> > bInterfaceProtocol 1 Bluetooth
> > iInterface 0
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x83 EP 3 IN
> > bmAttributes 1
> > Transfer Type Isochronous
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0040 1x 64 bytes
> > bInterval 1
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x03 EP 3 OUT
> > bmAttributes 1
> > Transfer Type Isochronous
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0040 1x 64 bytes
> > bInterval 1
> > Interface Descriptor:
> > bLength 9
> > bDescriptorType 4
> > bInterfaceNumber 2
> > bAlternateSetting 0
> > bNumEndpoints 2
> > bInterfaceClass 255 Vendor Specific Class
> > bInterfaceSubClass 255 Vendor Specific Subclass
> > bInterfaceProtocol 255 Vendor Specific Protocol
> > iInterface 0
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x84 EP 4 IN
> > bmAttributes 2
> > Transfer Type Bulk
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0020 1x 32 bytes
> > bInterval 1
> > Endpoint Descriptor:
> > bLength 7
> > bDescriptorType 5
> > bEndpointAddress 0x04 EP 4 OUT
> > bmAttributes 2
> > Transfer Type Bulk
> > Synch Type None
> > Usage Type Data
> > wMaxPacketSize 0x0020 1x 32 bytes
> > bInterval 1
> > Interface Descriptor:
> > bLength 9
> > bDescriptorType 4
> > bInterfaceNumber 3
> > bAlternateSetting 0
> > bNumEndpoints 0
> > bInterfaceClass 254 Application Specific Interface
> > bInterfaceSubClass 1 Device Firmware Update
> > bInterfaceProtocol 0
> > iInterface 0
> > ** UNRECOGNIZED: 07 21 07 88 13 40 00
> > Device Status: 0x0001
> > Self Powered
> >
> > My distro is Ubuntu Intrepid:
> >
> > 2.6.27-7-generic #1 SMP x86_64 GNU/Linux
> >
> > Thank you very mucho for your attention.
> >
> > Cheers,
> >
> > Isa?as
>
> Isa?as:
>
> As far as I'm aware, this device should be supported. The latest
> hid2hci patches (which landed in Intrepid already) will get it into hci
> mode. You might need to mess with a reset quirk though (try modprobe
> options btusb=1), but i've not verified this. If setting this modprobe
> option makes it work, we can submit a kernel quirk for it.
>
> Regards

Hello,

I'm not very sure on how to enable the option that you mention, sorry. I've
include in /etc/modprobe.d/options the next line:

options btusb=1

but I don't know if this is right. The dmesg command shows these lines related
with hid2hci:

[ 12.458741] usb 1-1.2: usbfs: process 2746 (hid2hci) did not claim
interface 0 before use
[ 24.365796] usb 1-1.2: usbfs: process 5909 (hid2hci) did not claim
interface 0 before use

Perhaps, it could be relevant.

Let me know, if I have to enable the option in other way.

Regards,

Isaias

--
Isa?as Mart?nez Yelmo


2008-11-03 22:21:15

by Mario Limonciello

[permalink] [raw]
Subject: [PATCH] Add reset quirk for Dell 365 Bluetooth

Since Isa?as confirmed that the reset quirk is necessary for supporting
the Dell BT365, here is a patch to add it.
--
Mario Limonciello
*Dell | Linux Engineering*
[email protected]


Attachments:
btusb.patch (550.00 B)
signature.asc (260.00 B)
OpenPGP digital signature
Download all attachments

2008-11-03 22:06:40

by Isaías Martínez Yelmo

[permalink] [raw]
Subject: Re: Dell 365 Bluetooth

El Monday 03 November 2008 22:08:49 Mario Limonciello escribi?:
> Isaias:
>
> Isa?as Mart?nez Yelmo wrote:
> > El Monday 03 November 2008 20:03:51 Mario Limonciello escribi?:
> >
> >
> > Hello,
> >
> > I'm not very sure on how to enable the option that you mention, sorry.
> > I've include in /etc/modprobe.d/options the next line:
> >
> > options btusb=1
> >
> > but I don't know if this is right. The dmesg command shows these lines
> > related with hid2hci:
> >
> > [ 12.458741] usb 1-1.2: usbfs: process 2746 (hid2hci) did not claim
> > interface 0 before use
> > [ 24.365796] usb 1-1.2: usbfs: process 5909 (hid2hci) did not claim
> > interface 0 before use
> >
> > Perhaps, it could be relevant.
> >
> > Let me know, if I have to enable the option in other way.
> >
> > Regards,
> >
> > Isaias
>
> Sorry, I mistyped before. The modprobe options should be:
>
> options btusb reset=1
>
> See if that does your device any good.
>
> Regards

Hi,


things are going better, the device is detected:

[ 11.974093] Bluetooth: Core ver 2.13
[ 11.986233] Bluetooth: HCI device and connection manager initialized
[ 11.986235] Bluetooth: HCI socket layer initialized
[ 11.989265] Bluetooth: Generic Bluetooth USB driver ver 0.3
[ 22.193174] Bluetooth: L2CAP ver 2.11
[ 22.193188] Bluetooth: L2CAP socket layer initialized
[ 22.244021] Bluetooth: SCO (Voice Link) ver 0.6
[ 22.244037] Bluetooth: SCO socket layer initialized
[ 22.287679] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 22.287693] Bluetooth: BNEP filters: protocol multicast
[ 22.393267] Bluetooth: RFCOMM socket layer initialized
[ 22.393300] Bluetooth: RFCOMM TTY layer initialized
[ 22.393305] Bluetooth: RFCOMM ver 1.10

I can pair with my mobilephone, but I cannot see the services between the
laptop and the mobilephone or to transfer some file :( I have tried to look
for some thing but I have not found any relevant yet. Some Idea? Fortunately,
at least is recognised :)

Regards,

Isaias
--
Isa?as Mart?nez Yelmo

2008-11-03 21:08:49

by Mario Limonciello

[permalink] [raw]
Subject: Re: Dell 365 Bluetooth

Isaias:

Isa?as Mart?nez Yelmo wrote:
> El Monday 03 November 2008 20:03:51 Mario Limonciello escribi?:
>
>
> Hello,
>
> I'm not very sure on how to enable the option that you mention, sorry. I've
> include in /etc/modprobe.d/options the next line:
>
> options btusb=1
>
> but I don't know if this is right. The dmesg command shows these lines related
> with hid2hci:
>
> [ 12.458741] usb 1-1.2: usbfs: process 2746 (hid2hci) did not claim
> interface 0 before use
> [ 24.365796] usb 1-1.2: usbfs: process 5909 (hid2hci) did not claim
> interface 0 before use
>
> Perhaps, it could be relevant.
>
> Let me know, if I have to enable the option in other way.
>
> Regards,
>
> Isaias
>
>
Sorry, I mistyped before. The modprobe options should be:

options btusb reset=1

See if that does your device any good.

Regards
--
Mario Limonciello
*Dell | Linux Engineering*
[email protected]


Attachments:
signature.asc (260.00 B)
OpenPGP digital signature