Re: Compatible Kernels of a certain BlueZ version

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

 



Hi Gustavo,

Thank you for your reply.
I am trying to make 4.93 come with Android 3.0.8 work with Kernel
3.9.6, and I found that values of some mgmt macros in user mode are
different from those in kernel.
For example:
In user mode mgmt.h
#define MGMT_OP_READ_FEATURES 0x0002
struct mgmt_rp_read_features {
uint8_t features[8];
} __packed;

but in kernel mode mgmt.h
#define MGMT_OP_READ_COMMANDS 0x0002
#define MGMT_READ_COMMANDS_SIZE 0
struct mgmt_rp_read_commands {
__le16 num_commands;
__le16 num_events;
__le16 opcodes[0];
} __packed;

I haven't tried it, but I would think the meaning of the same value in
user and kernel should be the same. Is it?

Best Regards,
Tim Wei

2013/9/1 Gustavo Padovan <gustavo@xxxxxxxxxxx>:
> Hi Tim,
>
> 2013-08-31 wei junping <junping.wei@xxxxxxxxx>:
>
>> Who can tell me how I know which kernel is compatible with which BlueZ
>> version, for example, BlueZ 5.7? I didn't find any info in the doc
>> folder of the package.
>
> Any BlueZ 5 version works with an 3.4 kernel or newer. The old BlueZ 4 works
> with any kernel out there.
>
>         Gustavo
--
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