mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-14 05:12:17 +00:00
[media] hackrf: HackRF SDR driver
V4L2 driver for HackRF SDR. Very basic version, with reduced feature set. Driver implements receiver only, hardware supports also transmitter. USB ID 1d50:6089. Model HackRF One Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
22889ef816
commit
969ec1f6bd
@ -56,8 +56,9 @@ endif
|
||||
|
||||
if MEDIA_SDR_SUPPORT
|
||||
comment "Software defined radio USB devices"
|
||||
source "drivers/media/usb/msi2500/Kconfig"
|
||||
source "drivers/media/usb/airspy/Kconfig"
|
||||
source "drivers/media/usb/hackrf/Kconfig"
|
||||
source "drivers/media/usb/msi2500/Kconfig"
|
||||
endif
|
||||
|
||||
endif #MEDIA_USB_SUPPORT
|
||||
|
@ -9,8 +9,9 @@ obj-y += zr364xx/ stkwebcam/ s2255/
|
||||
obj-$(CONFIG_USB_VIDEO_CLASS) += uvc/
|
||||
obj-$(CONFIG_USB_GSPCA) += gspca/
|
||||
obj-$(CONFIG_USB_PWC) += pwc/
|
||||
obj-$(CONFIG_USB_MSI2500) += msi2500/
|
||||
obj-$(CONFIG_USB_AIRSPY) += airspy/
|
||||
obj-$(CONFIG_USB_HACKRF) += hackrf/
|
||||
obj-$(CONFIG_USB_MSI2500) += msi2500/
|
||||
obj-$(CONFIG_VIDEO_CPIA2) += cpia2/
|
||||
obj-$(CONFIG_VIDEO_AU0828) += au0828/
|
||||
obj-$(CONFIG_VIDEO_HDPVR) += hdpvr/
|
||||
|
10
drivers/media/usb/hackrf/Kconfig
Normal file
10
drivers/media/usb/hackrf/Kconfig
Normal file
@ -0,0 +1,10 @@
|
||||
config USB_HACKRF
|
||||
tristate "HackRF"
|
||||
depends on VIDEO_V4L2
|
||||
select VIDEOBUF2_VMALLOC
|
||||
---help---
|
||||
This is a video4linux2 driver for HackRF SDR device.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called hackrf
|
||||
|
1
drivers/media/usb/hackrf/Makefile
Normal file
1
drivers/media/usb/hackrf/Makefile
Normal file
@ -0,0 +1 @@
|
||||
obj-$(CONFIG_USB_HACKRF) += hackrf.o
|
1142
drivers/media/usb/hackrf/hackrf.c
Normal file
1142
drivers/media/usb/hackrf/hackrf.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user