Re: [PATCH] Adding support for bluetooth controller shipped with iMac i5

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

 



Hi Cyril,

> > please create a proper commit message and include the usb-devices output
> > in that message.
> 
> I don't understand, patch and usb-devices output were attached to my previous 
> mail. Do you want me to re-send the patch in a separate mail using the git 
> output as body ?

when you do git commit to create your fix, then please include all the
details from the USB output I asked for.

Then use git format-patch -1 to create the patch and git send-email to
submit it to the mailing list.

> > Also the HID part in the source code comment makes no sense. Why are you
> > using that one. Copy&paste from the previous one?
> 
> Controller has HID capabilities, keyboard and mouse were working (usb-hid) in 
> restricted mode until I managed to get the controller working with btusb 
> driver. That's why I copied and paste the previous one.

But the usb-devices output for this interface doesn't show HID endpoints
and thus your comment in btusb.c is wrong.

T:  Bus=01 Lev=03 Prnt=03 Port=00 Cnt=01 Dev#=  6 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=05ac ProdID=8215 Rev=01.82
S:  Manufacturer=Apple Inc.
S:  Product=Bluetooth USB Host Controller
S:  SerialNumber=7C6D62936607
C:  #Ifs= 4 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=01 Driver=btusb
I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I:  If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=00 Driver=(none)

The problem you are going to fix is the Cls=ff(vend.) on line two. And
that has nothing to do with HID. That this device might have an HID
proxy as well is irrelevant.

I stated this before in some other emails about this hardware, Apple
must have been smoking something funny. Previously they got this right
and used Cls=e0(wlcon) properly.

Regards

Marcel


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


[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