{"action":"opened","issue":{"url":"https://api.github.com/repos/offensive-security/kali-nethunter/issues/401","repository_url":"https://api.github.com/repos/offensive-security/kali-nethunter","labels_url":"https://api.github.com/repos/offensive-security/kali-nethunter/issues/401/labels{/name}","comments_url":"https://api.github.com/repos/offensive-security/kali-nethunter/issues/401/comments","events_url":"https://api.github.com/repos/offensive-security/kali-nethunter/issues/401/events","html_url":"https://github.com/offensive-security/kali-nethunter/issues/401","id":140172424,"number":401,"title":"Nexus 9 - SDR problems - HackRF and RTL_SDR not working ","user":{"login":"darmoy","id":4408026,"avatar_url":"https://avatars.githubusercontent.com/u/4408026?v=3","gravatar_id":"","url":"https://api.github.com/users/darmoy","html_url":"https://github.com/darmoy","followers_url":"https://api.github.com/users/darmoy/followers","following_url":"https://api.github.com/users/darmoy/following{/other_user}","gists_url":"https://api.github.com/users/darmoy/gists{/gist_id}","starred_url":"https://api.github.com/users/darmoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darmoy/subscriptions","organizations_url":"https://api.github.com/users/darmoy/orgs","repos_url":"https://api.github.com/users/darmoy/repos","events_url":"https://api.github.com/users/darmoy/events{/privacy}","received_events_url":"https://api.github.com/users/darmoy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-11T12:26:42Z","updated_at":"2016-03-11T12:26:42Z","closed_at":null,"body":"Hi,\r\n\r\nWhen i plug my **HackRF**, Nethunter find it but can't get it to work. I got the following :\r\n\r\n```\r\nroot@kali:~# hackrf_info\r\nFound HackRF board 0:\r\nhackrf_open() failed: HACKRF_ERROR_LIBUSB (-1000)\r\n\r\nroot@kali:~# modprobe hackrf\r\nmodprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/3.10.40-g6857980-dirty/modules.dep.bin'\r\nmodprobe: FATAL: Module hackrf not found in directory /lib/modules/3.10.40-g6857980-dirty\r\n\r\nroot@kali:~# rmmod hackrf\r\nrmmod: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file '/lib/modules/3.10.40-g6857980-dirty/modules.builtin.bin'\r\nrmmod: ERROR: Module hackrf is not currently loaded\r\n\r\nroot@kali:~# dmesg\r\n[...]\r\n[  167.946258] [USB] utmi_phy_power_on UTMIP_XCVR_CFG0:6002337 xcvr_use_fuses:1 utmi_xcvr_setup:7\r\n[  168.201101] usb 3-1.1: new high-speed USB device number 3 using tegra-ehci\r\n[  168.332686] usb 3-1.1: New USB device found, idVendor=1d50, idProduct=6089\r\n[  168.332732] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0\r\n[  168.332754] usb 3-1.1: Product: HackRF One\r\n[  168.332773] usb 3-1.1: Manufacturer: Great Scott Gadgets\r\n[  196.329165] type=1400 audit(1457697100.035:69): avc: denied { write } for pid=2676 comm=\"postgres\" laddr=::1 lport=45234 faddr=::1 fport=45234 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=udp_socket permissive=1\r\n[  196.333775] type=1400 audit(1457697100.035:70): avc: denied { read } for pid=2677 comm=\"postgres\" laddr=::1 lport=45234 faddr=::1 fport=45234 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=udp_socket permissive=1\r\n[  228.405166] healthd: battery l=62 v=3880 t=29.8 h=2 st=3 c=-750 chg= 2016-03-11 11:52:12.130698561 UTC\r\n[  256.395426] type=1400 audit(1457697160.115:71): avc: denied { rename } for pid=2677 comm=\"postgres\" name=\"db_0.tmp\" dev=\"dm-0\" ino=527192 scontext=u:r:init:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1\r\n[  260.161014] tegra_rt5677_spk_startup:mi2s amp on\r\n[  260.890495] type=1400 audit(1457697164.585:72): avc: denied { read } for pid=3165 comm=\"sh\" name=\"/\" dev=\"tmpfs\" ino=5257 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:device:s0 tclass=dir permissive=1\r\n[  260.890821] type=1400 audit(1457697164.585:73): avc: denied { open } for pid=3165 comm=\"sh\" path=\"/dev\" dev=\"tmpfs\" ino=5257 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:device:s0 tclass=dir permissive=1\r\n[  260.925191] type=1400 audit(1457697164.625:74): avc: denied { getattr } for pid=3171 comm=\"ls\" path=\"/dev/hidg0\" dev=\"tmpfs\" ino=5533 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1\r\n[  260.958248] type=1400 audit(1457697164.665:75): avc: denied { call } for pid=3156 comm=\"main\" scontext=u:r:zygote:s0 tcontext=u:r:system_server:s0 tclass=binder permissive=1\r\n[  260.961413] type=1400 audit(1457697164.665:76): avc: denied { transfer } for pid=3156 comm=\"main\" scontext=u:r:zygote:s0 tcontext=u:r:system_server:s0 tclass=binder permissive=1\r\n[  261.280259] init: Untracked pid 3154 exited with status 241\r\n[  261.280778] type=1400 audit(1457697164.985:77): avc: denied { call } for pid=670 comm=\"Binder_2\" scontext=u:r:system_server:s0 tcontext=u:r:zygote:s0 tclass=binder permissive=1\r\n[  261.510043] init: Untracked pid 3156 exited with status 0\r\n[  263.334750] tegra_rt5677_spk_shutdown:mi2s amp off\r\n[  264.902146] tegra_rt5677_spk_startup:mi2s amp on\r\n[  269.563832] tegra_rt5677_spk_shutdown:mi2s amp off\r\n[  269.848155] tegra_rt5677_spk_startup:mi2s amp on\r\n[  273.033154] tegra_rt5677_spk_shutdown:mi2s amp off\r\n[  273.473593] tegra_rt5677_spk_startup:mi2s amp on\r\n[  273.544309] [USB] utmi_phy_power_on UTMIP_XCVR_CFG0:6002337 xcvr_use_fuses:1 utmi_xcvr_setup:7\r\n[  273.730019] usb 3-1: reset high-speed USB device number 2 using tegra-ehci\r\n[  274.180690] usb 3-1.1: reset high-speed USB device number 3 using tegra-ehci\r\n[  274.292345] usb 3-1.1: USB disconnect, device number 3\r\n[  274.370292] usb 3-1.1: new high-speed USB device number 4 using tegra-ehci\r\n[  274.483260] usb 3-1.1: New USB device found, idVendor=1d50, idProduct=6089\r\n[  274.483305] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0\r\n[  274.483333] usb 3-1.1: Product: HackRF One\r\n[  274.483356] usb 3-1.1: Manufacturer: Great Scott Gadgets\r\n[  276.649614] tegra_rt5677_spk_shutdown:mi2s amp off\r\n[  277.714294] tegra_rt5677_spk_startup:mi2s amp on\r\n[  280.890295] tegra_rt5677_spk_shutdown:mi2s amp off\r\n[...]\r\n\r\n```\r\n\r\nAs for the **RTL_SDR**  :\r\n\r\n```\r\nroot@kali:~# rtl_test\r\nFound 1 device(s):\r\n  0:  Realtek, RTL2838UHIDIR, SN: 00000001\r\n\r\nUsing device 0: Generic RTL2832U OEM\r\n\r\nKernel driver is active, or device is claimed by second instance of librtlsdr.\r\nIn the first case, please either detach or blacklist the kernel module\r\n(dvb_usb_rtl28xxu), or enable automatic detaching at compile time.\r\n\r\nusb_claim_interface error -6\r\nFailed to open rtlsdr device #0.\r\n```\r\n\r\nI don't mind too much for the RTL_SDR because i don't use it very often, but i use my HackRF a lot and beeing able to use it on nethunter would be a life saver.\r\n\r\nI hope you can help me with my problems.\r\n\r\nApart from that Nethunter is so awsome !!!\r\n\r\nThx guys"}}