Page MenuHomeSolus

em28xx driver
Closed, ResolvedPublic

Description

Solus lacks em28xx USB video capture driver.

Please see logs I posted to the forum:

https://discuss.getsol.us/d/997-em28xx-driver

Event Timeline

ops created this task.May 7 2019, 4:02 PM
DataDrake claimed this task.May 7 2019, 4:03 PM
DataDrake triaged this task as High priority.
DataDrake edited projects, added Hardware; removed Lacks Project.
CONFIG_VIDEO_EM28XX=m
CONFIG_VIDEO_EM28XX_V4L2=m
CONFIG_VIDEO_EM28XX_ALSA=m
CONFIG_VIDEO_EM28XX_DVB=m
CONFIG_VIDEO_EM28XX_RC=m

Needed

ops reopened this task as Open.Jun 25 2019, 9:24 PM

I guess video decoder is not handled correctly.

$ uname -a
Linux laptop 5.1.14-121.current #1 SMP PREEMPT Sun Jun 23 13:57:07 UTC 2019 x86_64 GNU/Linux

dmesg

[   36.335129] usb 3-1.6.1.4.1.3: new high-speed USB device number 9 using ehci-pci
[   36.533455] usb 3-1.6.1.4.1.3: New USB device found, idVendor=eb1a, idProduct=2821, bcdDevice= 1.00
[   36.533458] usb 3-1.6.1.4.1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   36.545559] usb 3-1.6.1.4.1.3: USB disconnect, device number 9
[   36.565616] usbcore: registered new interface driver em28xx
[   36.582012] usbcore: registered new interface driver snd-usb-audio
[   36.831258] usb 3-1.6.1.4.1.3: new high-speed USB device number 10 using ehci-pci
[   37.021665] usb 3-1.6.1.4.1.3: New USB device found, idVendor=eb1a, idProduct=2821, bcdDevice= 1.00
[   37.021672] usb 3-1.6.1.4.1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   37.022241] em28xx 3-1.6.1.4.1.3:1.0: New device   @ 480 Mbps (eb1a:2821, interface 0, class 0)
[   37.022247] em28xx 3-1.6.1.4.1.3:1.0: Video interface 0 found: bulk isoc
[   37.074365] em28xx 3-1.6.1.4.1.3:1.0: chip ID is em2710/2820
[   37.140887] em28xx 3-1.6.1.4.1.3:1.0: board has no eeprom
[   37.178705] em28xx 3-1.6.1.4.1.3:1.0: No sensor detected
[   37.193462] em28xx 3-1.6.1.4.1.3:1.0: found i2c device @ 0x4a on bus 0 [saa7113h]
[   37.227449] em28xx 3-1.6.1.4.1.3:1.0: Your board has no unique USB ID.
               A hint were successfully done, based on i2c devicelist hash.
               This method is not 100% failproof.
               If the board were misdetected, please email this log to:
               	V4L Mailing List  <linux-media@vger.kernel.org>
               Board detected as EM2860/SAA711X Reference Design
[   37.362233] em28xx 3-1.6.1.4.1.3:1.0: Identified as EM2860/SAA711X Reference Design (card=19)
[   37.362241] em28xx 3-1.6.1.4.1.3:1.0: analog set to isoc mode.
[   37.362824] em28xx 3-1.6.1.4.1.3:1.1: audio device (eb1a:2821): interface 1, class 1
[   37.372002] em28xx 3-1.6.1.4.1.3:1.0: Registering V4L2 extension
[   37.374429] em28xx 3-1.6.1.4.1.3:1.0: Config register raw data: 0x10
[   37.388366] em28xx 3-1.6.1.4.1.3:1.0: AC97 vendor ID = 0x83847652
[   37.395215] em28xx 3-1.6.1.4.1.3:1.0: AC97 features = 0x6a90
[   37.395218] em28xx 3-1.6.1.4.1.3:1.0: Sigmatel audio processor detected (stac 9752)
[   38.694643] usb 3-1.6.1.4.1.3: Decoder not found
[   38.694650] em28xx 3-1.6.1.4.1.3:1.0: failed to create media graph
[   38.694656] em28xx 3-1.6.1.4.1.3:1.0: V4L2 device video2 deregistered
[   38.694753] em28xx: Registered (Em28xx v4l2 Extension) extension
[   38.709342] em28xx 3-1.6.1.4.1.3:1.0: Registering snapshot button...
[   38.709383] input: em28xx snapshot button as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.6/3-1.6.1/3-1.6.1.4/3-1.6.1.4.1/3-1.6.1.4.1.3/3-1.6.1.4.1.3:1.0/input/input27
[   38.709428] em28xx 3-1.6.1.4.1.3:1.0: Remote control support is not available for this card.
[   38.709429] em28xx: Registered (Em28xx Input Extension) extension
Jacalz added a subscriber: Jacalz.EditedJul 14 2019, 5:49 PM

I managed to get my tv card (Elgato EyeTV Hybrid) to work using these kernel modules and the dvb-firmware from OpenELEC.

By doing the following commands and then using kaffeine:

wget https://github.com/OpenELEC/dvb-firmware/raw/master/firmware/dvb-usb-terratec-htc-stick-drxk.fw
sudo cp dvb-usb-terratec-htc-stick-drxk.fw /lib/firmware/

I don’t think there were any issues for me so I would say that it’s fine. Please give it a try.

ops added a comment.Jul 15 2019, 11:26 AM

I managed to get my tv card (Elgato EyeTV Hybrid) to work using these kernel modules and the dvb-firmware from OpenELEC.
By doing the following commands and then using kaffeine:

wget https://github.com/OpenELEC/dvb-firmware/raw/master/firmware/dvb-usb-terratec-htc-stick-drxk.fw
sudo cp dvb-usb-terratec-htc-stick-drxk.fw /lib/firmware/

I don’t think there were any issues for me so I would say that it’s fine. Please give it a try.

This didn't solve the problem. Thanks anyway.

ops added a comment.Jul 15 2019, 11:32 AM

I rechecked log from Ubuntu system and this line is missing when using Solus.

saa7115 9-0025: saa7113 found @ 0x4a (3-2:1.0)

Maybe this driver is needed as well.

ops added a comment.Sep 22 2019, 6:50 AM

Could you add saa7115 driver to Solus kernel? I think it would make this device to work.

ops added a comment.Dec 14 2019, 12:50 PM

Thanks, works great!