Re: Support for Ralink RT3298 Bluetooth Module

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

 



Hi Mohit,

replying to me in private and not CC the mailing from a previous thread is not acceptable behavior on this mailing list. Please learn to press Reply All button.

>>> There was a proprietary driver for Ralink RT3298 bluetooth module that compiled in kernel 3.2 but stopped compiling in kernel 3.3, 3.4 or 3.5 which is available here http://downloads.zotac.com/mediadrivers/mb/download/NB087_Ubuntu.zip. I get the following output when compiling in kernel 3.5 :
>> if neither Ralink nor Ubuntu feels the need to get this upstream, why would we care if this compiles or not. This is not how Linux works. The community is not responsible for out-of-tree drivers.
>> 
>>> mohit@linux-xmln:~/Downloads/NB087_Ubuntu/NB087_BT_ubuntu_release/rtbth_v3.9.3/rtbth_v3.9.3> make
>>> make -C /lib/modules/3.7.10-1.4-desktop/build M=/home/mohit/Downloads/NB087_Ubuntu/NB087_BT_ubuntu_release/rtbth_v3.9.3/rtbth_v3.9.3 modules
>>> make[1]: Entering directory `/usr/src/linux-3.7.10-1.4-obj/x86_64/desktop'
>>>  CC [M]  /home/mohit/Downloads/NB087_Ubuntu/NB087_BT_ubuntu_release/rtbth_v3.9.3/rtbth_v3.9.3/rtbth_core_main.o
>>>  CC [M]  /home/mohit/Downloads/NB087_Ubuntu/NB087_BT_ubuntu_release/rtbth_v3.9.3/rtbth_v3.9.3/rtbth_core_init.o
>>>  CC [M]  /home/mohit/Downloads/NB087_Ubuntu/NB087_BT_ubuntu_release/rtbth_v3.9.3/rtbth_v3.9.3/rtbth_core_pci.o
>>> /home/mohit/Downloads/NB087_Ubuntu/NB087_BT_ubuntu_release/rtbth_v3.9.3/rtbth_v3.9.3/rtbth_core_pci.c: In function ‘rtbt_pci_suspend’:
>>> /home/mohit/Downloads/NB087_Ubuntu/NB087_BT_ubuntu_release/rtbth_v3.9.3/rtbth_v3.9.3/rtbth_core_pci.c:60:43: error: ‘struct hci_dev’ has no member named ‘driver_data’
>> 
>> This change was made over a year ago. So seems nobody really cares enough.
>> 
>> commit 155961e8001719af6d87cbcc961111e8ce477843
>> Author: David Herrmann <dh.herrmann@xxxxxxxxxxxxxx>
>> Date:   Thu Feb 9 21:58:32 2012 +0100
>> 
>>     Bluetooth: Remove hci_dev->driver_data
>>          The linux device model provides dev_set/get_drvdata so we can use this
>>     to save private driver data.
>>     This also removes several unnecessary casts.
>>          Signed-off-by: David Herrmann <dh.herrmann@xxxxxxxxxxxxxx>
>>     Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx>
>>     Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
>> 
> I removed hci_dev->driver_data, but there needs to be an expression in its place. Should i replace it with dev_set->driver_data or get_drvdata->driver_data??

I have no intention on trying to make this driver work. Please contact Ralink to provide you an updated driver or even better have some submitted this one upstream.

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