Hyperion.ng external grabber no /dev/video0

Have you tried to install and enable crazycat drivers as this is where all drivers for external media devices was moved to?

Yes, i tried crazycat drivers, but still nothing. It contains only dvb drivers.

I check old sdcard with kszaq build, and modules name are usbtv some modules with videobuf2, iam not sure what modules are used.

In kszaq build inside lib/modules folder you can find “update” directory, it contains most modules which in coreelec you cant find.

I try insmod usbttv module but i got Unknown symbol in module.

try to enable hauppauge then ssh and do modprobe usbtv

Yep i dont check hauppauge drivers, i check only crezycat :slight_smile:

And hauppauge have more drivers and usbtv too, so now device is correctly recognized, and autoloaded modules. But there is another error :), log show we:

[hyperiond V4L2:auto] (INFO) available V4L2 devices:
/dev/video0 usbtv
/dev/video10 amlvideo

[hyperiond V4L2:auto] (INFO) search for usable video devices
[hyperiond V4L2:auto] (INFO) test v4l device: /dev/video0
[hyperiond V4L2:auto] (DEBUG) (V4L2Grabber.cpp:543:init_device()) width=720 height=576
[hyperiond V4L2:auto] (DEBUG) (V4L2Grabber.cpp:557:init_device()) Pixel format=YUYV
[hyperiond V4L2:auto] (INFO) found usable v4l2 device: /dev/video0 (usbtv)
[hyperiond V4L2:auto] (ERROR) start failed (VIDIOC_STREAMON error code 90, Message too long)
[hyperiond V4L2:auto] (WARNING) enable grabber failed
[hyperiond ComponentRegister] (INFO) V4L capture device: off
[hyperiond V4L2:auto] (ERROR) stop grabber, because reading device failed. (VIDIOC_DQBUF error code 22, Invalid argument)
[hyperiond V4L2:auto] (INFO) Stopped

Need dmesg and kodi logs

Hello! Got the same problem (message too long), here the logs: http://ix.io/1kfs

Hello again :slight_smile: Is there any news about this issue? External grabber - it’s the last chance for AML-boxes to get ambient light stuff, so its malfunction is very frustrating…

I got also the problem that my video grabber STK1160 is not working after introduction of 8.95.* it seems that simply the driver has been removed.
It worked earlier by loading the haulage driver package.
Is it possible to add that driver again?
I think staying with an 8,94 version is not an option for me.

We have just taken up discussion of this again in the team and have confirmed that this was removed upstream at some point, I have re-enabled it and it should work again in tomorrows nightly image.

Thanks, For the info.

1 Like

Just tried it with the nightly 20181212 but no success.
I tried it with all 3 dvb driver modules.
Should the driver be in again?

Sorry the change was reverted, @epikurus has been testing it with us as he has an external grabbed, the dvb-latest version of the usbtv module doesn’t work still, there was some success with the kernel version but we need to look into it more.

What is proper internal graber for hyperion on coreelec? Amlgraber does not work for me. Efects are ok.

As @anon88919003 said, I’ve been testing the kernel module and the grabber it’s detected but does not show any input while trying to capture an screenshot. I expect to test it thoroughly during the weekend.

I’m testing it on a S905 device with a Fushicai grabber, so I cannot test STK1160, but If you want to check if it works on yours, here’s a link to an update file with the kernel module based in latest master. S905 only, do not install it in other devices!

https://mega.nz/#!Lj4HUAgI!mBGKoRYzNF49fXZHe5-02-ZgSMzvToOREoD9r9PvCgM

Remember this is a development build, although I’m running it without any problem, things may broke :wink:

I just tried the update I could load the usbtv module but still no device video0.

Try adding an udev rule to assing your device to /dev/video0

Run:

CoreELEC:~ # lsusb 
Bus 001 Device 004: ID 2341:8036 Arduino SA Leonardo (CDC ACM, HID)
Bus 001 Device 003: ID 1997:2433  
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 1b71:3002 Fushicai USBTV007 Video Grabber [EasyCAP]
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Note down your device ID, in this case 1b71:3002

Create a udev rule file, ie: /storage/.config/udev.rules.d/25-video-device.rules and add the following content changing your particular device IDs

SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b71", ATTRS{idProduct}=="3002", NAME:="video0", OPTIONS:="link_priority=100"

just tried that but still no video0 device.
here my lsusb output:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 05e1:0408 Syntek Semiconductor Co., Ltd STK1160 Video Capture Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

i think the stk1160 module is missing which was in earlier version included in the hauppage driver add-on.
a modinfo usbtv just give me Fushicai USBTV007:
filename: /lib/modules/3.14.29/kernel/drivers/media/usb/usbtv/usbtv.ko
license: Dual BSD/GPL
description: Fushicai USBTV007 Video Grabber Driver
author: Lubomir Rintel
alias: usb:v1B71p3002ddcdscdpiciscipin
depends: videobuf2-core,videodev,videobuf2-vmalloc,v4l2-common
intree: Y
vermagic: 3.14.29 SMP mod_unload aarch64

Here is lsmod from the working version 8.90.3
Module Size Used by
ctr 4021 2
ccm 8252 2
ssv6051 201137 0
8021q 19007 0
mac80211 387951 1 ssv6051
cfg80211 374858 2 mac80211,ssv6051
saa7115 15748 1
stk1160 17987 0
ir_rc6_decoder 4029 0
videobuf2_v4l2 11462 1 stk1160
v4l2_common 4617 2 saa7115,stk1160
videobuf2_vmalloc 5553 1 stk1160
snd_usb_audio 120551 0
videobuf2_memops 1780 1 videobuf2_vmalloc
snd_hwdep 6893 1 snd_usb_audio
frame_vector 2742 2 videobuf2_vmalloc,videobuf2_memops
snd_usbmidi_lib 20572 1 snd_usb_audio
mali 192353 5
videobuf2_common 36006 2 stk1160,videobuf2_v4l2
snd_rawmidi 19496 1 snd_usbmidi_lib
ir_nec_decoder 2725 0
wifi_dummy 806 0
meson_ir 3997 0
rc_core 33904 4 meson_ir,ir_nec_decoder,ir_rc6_decoder
amlvideodri 12666 0

hope that helps…

It helps indeed, I’ll take a look into it. Unfortunately the kernel driver and the one in dvb-latest are different versions, hence the lack of support for your hardware on 3.19. The newer one crashed on my hardware.

Would you mind to test this other build with module from dvb-latest and PM me with dmesg and hyperion logs?

https://mega.nz/#!rzoXTYTK!NaWBBm06uN5amdFm7edc_LBZSpQyxYGOkBOrk-V4Vc0

Hi,

I 'm on the CoreELEC (official): nightly_20181231 (S912.arm).
I had created a udev rule but still nothing whith the USB grabber.

I try to use my Fushicai USBTV007. Whith lsusb i saw it (ID 1b71:3002).
Now i need the hauppauge drivers. Where i could get them ?

Thank you.

Drivers are not enabled on nightly builds, as they don’t fully work. However I could share one of my personal builds if you’re interested on testing it. Driver loads and capture device is recognized by Hyperion but I couldn’t get it capturing anything :frowning: