OFFICIAL request for kernel modules/drivers enable here

noggin
Posts: 131
Joined: Mon Feb 25, 2013 8:49 pm
languages_spoken: English, Swedish, French, German
ODROIDs: C1, U2
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by noggin » Wed Nov 25, 2015 6:30 pm

Hi there

It would be great if the August T210/Geniatech T220 DVB-T2 USB stick drivers were included in the kernel. It's supported in the current V4L media_build and has been in the kernel since 3.14.

The guys at OpenElec used to support it prior to kernel 3.14 with a backport (it was a small patch that was required to existing drivers). As the current kernel used by ODroid stuff appears to be kernel 3.10 based, the T210/T220 tuners aren't supported, which means that wrxtasy's OpenElec builds don't have support for the tuner. (And OpenElec means I can't run a media_build to add the newer tuners)

As it is a popular DVB-T2 tuner in Europe (where we use DVB-T2 for HD terrestrial broadcasting) it would be great to get support for it on ODroid devices.

Although its been in the kernel since 3.14 there's a two-year old thread here at the TVHeadend forum detailing how support was added, and probably linking to the patches that were required earlier on.

User avatar
odroid
Site Admin
Posts: 29372
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by odroid » Wed Nov 25, 2015 7:25 pm

@noggin
It is almost impossible to develope/backport/test without a real device.
So we need a pull-request with a working patch set against our github kernel source.

noggin
Posts: 131
Joined: Mon Feb 25, 2013 8:49 pm
languages_spoken: English, Swedish, French, German
ODROIDs: C1, U2
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by noggin » Wed Nov 25, 2015 9:55 pm

Ah - beyond my abilities I'm afraid. Is a newer kernel than 3.10 in the works?

User avatar
odroid
Site Admin
Posts: 29372
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by odroid » Wed Nov 25, 2015 10:29 pm

No. we have no plan to develop a new kernel.

noggin
Posts: 131
Joined: Mon Feb 25, 2013 8:49 pm
languages_spoken: English, Swedish, French, German
ODROIDs: C1, U2
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by noggin » Thu Nov 26, 2015 12:59 am

Ah.

Any scope for updating the V4L stuff with Media_Build adding support for a lot of DVB tuners added over the last two years or so? ( http://www.linuxtv.org/wiki/index.php/H ... ce_Drivers )

awaldram
Posts: 12
Joined: Thu Nov 26, 2015 9:28 pm
languages_spoken: english
ODROIDs: C1
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by awaldram » Thu Nov 26, 2015 9:42 pm

I was just looking into this, August T210/Geniatech T220 DVB-T2 USB stick drivers ... as just brought a C1+ and was worried about the 'old' kernel

But it looks like its well maintained, and has support for the August T210/Geniatech T230 DVB-T2 USB stick drivers which is circa 3.19 kernel and what I was looking for.

So I think if you check https://github.com/hardkernel/linux/blo ... _defconfig to see if your required modules are present
or if missing request then mdrjr or odroid can address the issue..

This might help as a starter
https://github.com/raspberrypi/linux/is ... t-27704840
http://linuxtv.org/wiki/index.php/Geniatech_T230

It looks like the GeniatecT220 struggle with DVB-T2 so maybe you'd be better off looking at a newer version stick .?

noggin
Posts: 131
Joined: Mon Feb 25, 2013 8:49 pm
languages_spoken: English, Swedish, French, German
ODROIDs: C1, U2
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by noggin » Sat Dec 05, 2015 9:15 pm

I've had no problems with DVB-T2 on my August T210s in the UK on x86 and Raspberry Pi boxes - what area do they struggle in? (There were issues with an earlier driver release that only supported DVB-T reception, but that was fixed)

Will look into the Kernel stuff, if I can get them to work on my C1 I'll be very happy, as the I/O bandwidth is likely to make the C1 a better TV Headend server than the Pi 2, whilst the Pi 2 is likely to be the better client for me (as it supports DVD ISO/VIDEO_TS DVD playback without judder on interlaced DVDs)

By the way - I have original August T210s (also known as a Mygica/Geniatech T220) not the August T210v2 (aka Geniatech T230) version you linked to.

It looks like I need support for : Sony CXD2820R / NXP TDA18271HD/C2 / Cypress CY7C68013A

Looking at the defconfig you linked to "CONFIG_DVB_CXD2820R=m" suggests that the Sony CXD2820R support is in a module?, that "CONFIG_MEDIA_TUNER_TDA18271=y" means the tuner support is compiled in the kernel? and I'm not sure about the Cypress stuff?

Assuming the right USB IDs for my tuner "1f4d:d220 USB2.0" are in the kernel then should I just have to load the DVB_CXD2820R module? Or should this happen automatically? The PCTV290e tuner I have runs OOB and also uses that chipset, so the module is presumably loaded automatically? - so I'm a little confused... How would you suggest I get my August tuner to work on a C1?

User avatar
wrxtasy
Posts: 1288
Joined: Wed May 13, 2015 1:59 pm
languages_spoken: english
ODROIDs: C1, C1+, C2
Location: Australia
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by wrxtasy » Thu Dec 10, 2015 3:43 am

Whilst we are on the subject, an for my Kernel education purposes, what is the difference between ?

CONFIG_DVB_CXD2820R=y
CONFIG_DVB_CXD2820R=m
CONFIG_DVB_CXD2820R is not set
LibreELEC Krypton C1(+) HERE
LibreELEC Krypton C2 HERE

User avatar
meveric
Posts: 9601
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by meveric » Thu Dec 10, 2015 3:44 am

y=build in module directly into the Kernel
m=module (which can be found under /lib/modules/<Kernel-Version>)
is not set=don't build at all
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

awaldram
Posts: 12
Joined: Thu Nov 26, 2015 9:28 pm
languages_spoken: english
ODROIDs: C1
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by awaldram » Fri Dec 11, 2015 9:21 pm

noggin wrote:I've had no problems with DVB-T2 on my August T210s in the UK on x86 and Raspberry Pi boxes - what area do they struggle in? (There were issues with an earlier driver release that only supported DVB-T reception, but that was fixed)

Will look into the Kernel stuff, if I can get them to work on my C1 I'll be very happy, as the I/O bandwidth is likely to make the C1 a better TV Headend server than the Pi 2, whilst the Pi 2 is likely to be the better client for me (as it supports DVD ISO/VIDEO_TS DVD playback without judder on interlaced DVDs)

By the way - I have original August T210s (also known as a Mygica/Geniatech T220) not the August T210v2 (aka Geniatech T230) version you linked to.

It looks like I need support for : Sony CXD2820R / NXP TDA18271HD/C2 / Cypress CY7C68013A

Looking at the defconfig you linked to "CONFIG_DVB_CXD2820R=m" suggests that the Sony CXD2820R support is in a module?, that "CONFIG_MEDIA_TUNER_TDA18271=y" means the tuner support is compiled in the kernel? and I'm not sure about the Cypress stuff?

Assuming the right USB IDs for my tuner "1f4d:d220 USB2.0" are in the kernel then should I just have to load the DVB_CXD2820R module? Or should this happen automatically? The PCTV290e tuner I have runs OOB and also uses that chipset, so the module is presumably loaded automatically? - so I'm a little confused... How would you suggest I get my August tuner to work on a C1?
Due to the appaling header-source state it not possible to retro compile Linux-dvb against the 3.10 kernal as supllied by hard-kernel , Further it also appears if you fix this you also have issue with the kernel age stopping a clean compile

I've worked round it by using PI2's as STA-IP servers, THat way the 4 series kernel supports all my sticks and the Odroid running TVheadend provide the Bandwidth required for multiple HD feeds
what I've done 'in sumary'
PI2 No1 = August 210 + minisatip
Pi2 No2 = atrometa + ministaip (ministap cant access the mn8xxx frontend so no DVBT2)
Odroid = PCTV290e + TVheadend + Satip tuner1 and 2 from the pi's
I din't use tvheadend on the Pi's as it STA-ip server doens;t support DVBt2 properly so no HD on clients.
Works brilliantly and is an easy workaround for the creaking kernel in Odroid, I suspect you could get away with old Pi V1s as the servers.

User avatar
wrxtasy
Posts: 1288
Joined: Wed May 13, 2015 1:59 pm
languages_spoken: english
ODROIDs: C1, C1+, C2
Location: Australia
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by wrxtasy » Sat Dec 12, 2015 1:23 pm

Thanks for the confirmation of the Sony CXD2820R/PCTV290e support in the Kernel.
Noggin is using the C1 in combo with a IP networked, Elgato Netstream 4Sat tuner in combo with a updated TvHeadend server running on OpenELEC.
See here for details:
http://forum.kodi.tv/showthread.php?tid ... pid2180369
There are updated TvHeadend (Sat-IP Support) server Addon-ons for OpenELEC running on RPi / AMLogic devices (use WeTek) here:
http://build.mycvh.de/Tvh/
LibreELEC Krypton C1(+) HERE
LibreELEC Krypton C2 HERE

neowit
Posts: 1
Joined: Thu Dec 17, 2015 11:49 pm
languages_spoken: english
ODROIDs: C1+
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by neowit » Thu Dec 17, 2015 11:55 pm

Hello,

Is it possible to add support for Astrometa DVB-T2 USB stick please?
http://www.linuxtv.org/wiki/index.php/Astrometa_DVB-T2

This is supported since kernel 3.13.

Thank you.

Jojo
Posts: 524
Joined: Mon May 18, 2015 12:13 am
languages_spoken: english, german
ODROIDs: C1, C1+, C2, HC1, HC2, VU8C
Location: Germany
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by Jojo » Fri Dec 18, 2015 12:41 am

Hi,

I'd like to have the driver in the kernel, that supports video grabbers based in the "Fushicai UTV007" chipset:
http://linuxtv.org/wiki/index.php/Easyc ... 07_EasyCAP

It should be included since kernel version 3.14. Next to the STK1160-based devices, it seems to be a very wide spread chipset in USB video grabber devices.
It seems to work on the RPi: Link (a german ambilight project based on the RPi an Fushicai video grabber).

I ask for this driver, because I could not get my Fushicai video grabber working on the C1. Thats why I think the driver is not there, yet.

Thank you!
How to ask questions the smart way:
http://www.catb.org/esr/faqs/smart-questions.html

cl2k
Posts: 1
Joined: Tue Dec 22, 2015 6:54 am
languages_spoken: english,german
ODROIDs: XU4
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by cl2k » Tue Dec 22, 2015 7:06 am

Hello.
I use the actual linux kernel 3.10.92-71 and i miss the .config-file in modules etc.
i can not activate my TechniSat CableStar Combo HD CI with the patches from linuxtv.
is there are a way to patch the kernel ?

Greeting Dennis


I solved the problem with Kernel 3.10.92-15 and compiled the patched module with GCC 4.9.2.
Used System:
odrobian-1.2 vanilla-5422

cd /usr/local/src
git clone --depth 1 https://github.com/hardkernel/linux.git -b odroidxu3-3.10.y odroidxu3-3.10.y
cd odroidxu3-3.10.y
#copy existing kernel-config
cp /boot/config-3.10.92-15-odrobian+ .config
#patch for 14f7:0003 TechniSat Digital GmbH CableStar Combo HD CI
wget https://patchwork.linuxtv.org/patch/20558/raw/ -O media-az6007-support-Technisat-Cablestar-Combo-HDCI-minus-remote.patch
patch -p1 < media-az6007-support-Technisat-Cablestar-Combo-HDCI-minus-remote.patch
#edit the Makefile to prevent version magic error the row with "set EXTRAVERSION = -15-odrobian"
#use all cores to compile
make -j8
cp /usr/local/src/odroidxu3-3.10.y/drivers/media/usb/dvb-usb-v2/dvb-usb-az6007.ko /lib/modules/3.10.92-15-odrobian+/kernel/drivers/media/usb/dvb-usb-v2/dvb-usb-az6007.ko
#needed firmware
wget https://www.linuxtv.org/downloads/firmw ... h5-drxk.fw -O /lib/firmware/dvb-usb-technisat-cablestar-hdci-drxk.fw
wget https://www.linuxtv.org/downloads/firmw ... -az6007.fw -O /lib/firmware/dvb-usb-terratec-h7-az6007.fw
depmod

modprobe dvb-usb-az6007
or reboot

--
System: Odroid-XU4 with odrobian-1.2 vanilla-5422
Software: tvheadend + oscam/pcsc + kodi + libdvbcsa(NEON)
Hardware: 2040:1605 Hauppauge 930C + 0ccd:10b6 TerraTec H5 Rev.3 + 14f7:0003 TechniSat Digital GmbH CableStar Combo HD CI (all to use DVB-C)
Last edited by cl2k on Sat Jan 02, 2016 8:17 pm, edited 2 times in total.

nandan
Posts: 2
Joined: Thu Dec 24, 2015 1:37 am
languages_spoken: english
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by nandan » Thu Dec 24, 2015 1:56 am

I want to enable HID gadget on OTG port. I was able to verify serial and mass storage with help of Odroid magazine from February 2014. They are very simple to enable.

Can you give me some hint on how to start with HID gadget?

Thank you

noggin
Posts: 131
Joined: Mon Feb 25, 2013 8:49 pm
languages_spoken: English, Swedish, French, German
ODROIDs: C1, U2
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by noggin » Thu Dec 24, 2015 8:32 pm

neowit wrote:Hello,

Is it possible to add support for Astrometa DVB-T2 USB stick please?
http://www.linuxtv.org/wiki/index.php/Astrometa_DVB-T2

This is supported since kernel 3.13.

Thank you.
Though there is (or certainly was as of 3.13) only support for DVB-T (and low QAM DVB-C, but not 256QAM as the bitrate is too high and needs PID filtering which the current drivers don't support) There isn't support for DVB-T2 in the kernel - as they are handled by separate demod chips in this device, and the T2 demod doesn't have driver support yet. Antti was looking at DVB-C stuff on it I believe, but the people who were funding his efforts appeared to have pulled out?
http://blog.palosaari.fi/2013/10/naked- ... stick.html (See comments)
http://blog.palosaari.fi/2014/09/naked- ... t2-v2.html
Last edited by noggin on Sun Dec 27, 2015 7:47 pm, edited 1 time in total.

adbensi
Posts: 80
Joined: Fri Apr 18, 2014 10:29 am
languages_spoken: Português
ODROIDs: U3 and C1
Location: Brazil
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by adbensi » Sun Dec 27, 2015 6:08 pm

They have plans to update for 3.10.93? on github I see only 3.10.80.. where is I find the last one?
https://github.com/hardkernel/linux/blo ... y/Makefile
Thanks!

samisheikh
Posts: 25
Joined: Fri Dec 25, 2015 5:26 am
languages_spoken: english,french,urdu
ODROIDs: C1+ and C2
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by samisheikh » Mon Dec 28, 2015 6:08 am

mdrjr wrote:
stelin wrote:2013:025f

mdrjr wrote:Post the VID and PID and I'll add it.

In the following format VID:PID
This is a RTL8812au right?

Remember...

8812au = Dual Band AC
8821 = Single Band AC
Hi mdrjr,

Are you able to add the drivers for RTL8821au? I have the edimax 7811UTC

0x7392:0xa812

Code: Select all

OpenELEC:~ # lsusb -vv

Bus 001 Device 003: ID 7392:a812 Edimax Technology Co., Ltd 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x7392 Edimax Technology Co., Ltd
  idProduct          0xa812 
  bcdDevice            2.00
  iManufacturer           1 Realtek
  iProduct                2 Edimax AC600 USB
  iSerial                 3 00e04c000001
Thanks,
Sami

pavlikvlasek
Posts: 1
Joined: Tue Dec 29, 2015 7:58 pm
languages_spoken: english, german
ODROIDs: C1+
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by pavlikvlasek » Tue Dec 29, 2015 8:06 pm

Any chance to support ultrawide 21:9 monitor (2560 x 1080)?
P.V.

samisheikh
Posts: 25
Joined: Fri Dec 25, 2015 5:26 am
languages_spoken: english,french,urdu
ODROIDs: C1+ and C2
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by samisheikh » Fri Jan 01, 2016 2:23 am

samisheikh wrote:
mdrjr wrote:
stelin wrote:2013:025f

mdrjr wrote:Post the VID and PID and I'll add it.

In the following format VID:PID
This is a RTL8812au right?

Remember...

8812au = Dual Band AC
8821 = Single Band AC
Hi mdrjr,

Are you able to add the drivers for RTL8821au? I have the edimax 7811UTC

0x7392:0xa812

Code: Select all

OpenELEC:~ # lsusb -vv

Bus 001 Device 003: ID 7392:a812 Edimax Technology Co., Ltd 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x7392 Edimax Technology Co., Ltd
  idProduct          0xa812 
  bcdDevice            2.00
  iManufacturer           1 Realtek
  iProduct                2 Edimax AC600 USB
  iSerial                 3 00e04c000001
Thanks,
Sami
MDRJR? ODROID? Any ideas?

mdrjr
Site Admin
Posts: 11698
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by mdrjr » Sat Jan 09, 2016 3:17 am

No, I don't have any suitable 8821 drivers ATM.
I'll update for the 8812 support.

BabyWolf
Posts: 2
Joined: Mon Jan 19, 2015 8:16 pm
languages_spoken: english, spanish, russian
ODROIDs: Odroid C1
Location: Novosibirsk
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by BabyWolf » Sat Jan 09, 2016 4:56 pm

Please add driver for D-Link DWA-131 (N300, USB, WiFi Adapter) http://www.linux-hardware-guide.com/201 ... fi-adapter
I have a version E1: 2001:3319. I compiled it for me (it not so difficult), but i want it in official image.

DESE
Posts: 49
Joined: Sat Jan 17, 2015 3:49 pm
languages_spoken: english, spanish
ODROIDs: Odroid C1
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by DESE » Thu Jan 21, 2016 6:55 am

Could you please guys update the "hid_wiimote" module at it's newest version?. Right now this wiimote module has some issues with peripherals such as classic controller and instruments for guitar hero. Thank you.

mdrjr
Site Admin
Posts: 11698
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by mdrjr » Sat Feb 06, 2016 10:31 am

BabyWolf wrote:Please add driver for D-Link DWA-131 (N300, USB, WiFi Adapter) http://www.linux-hardware-guide.com/201 ... fi-adapter
I have a version E1: 2001:3319. I compiled it for me (it not so difficult), but i want it in official image.
Isn't that a 8821au device?

Koxx
Posts: 103
Joined: Tue Jun 16, 2015 6:04 am
languages_spoken: english, french
ODROIDs: C1
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by Koxx » Thu Feb 25, 2016 7:18 pm

+1 for cryptodev

theBOSS
Posts: 75
Joined: Sat Jan 17, 2015 2:06 am
languages_spoken: spanish, english
ODROIDs: C1
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by theBOSS » Thu Mar 17, 2016 2:47 am

Today my Odroid C1 was updated to the kernel 3.10.96-143 and I search info about this release and don´t find anything. Review github repository don´t see the last update for this kernel. Anyone has info about this release?
http://lordpedal.ddns.net... la culminación de un fin es el comienzo de una realidad.

User avatar
odroid
Site Admin
Posts: 29372
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by odroid » Thu Mar 17, 2016 10:44 am

-143 has some changes the I2S/DAC driver.
Github will be updated soon.

Jojo
Posts: 524
Joined: Mon May 18, 2015 12:13 am
languages_spoken: english, german
ODROIDs: C1, C1+, C2, HC1, HC2, VU8C
Location: Germany
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by Jojo » Thu Mar 17, 2016 5:11 pm

odroid wrote:Github will be updated soon.
That would be great!

mdrjr said he will re-insert the IRQ-mode SPI driver into the next release, as it had been reverted back to poll-mode since -142 . But until now I can not see such a commit :( . I am not going to update my kernel, if the SPI driver uses poll-mode.

I know you HK guys are very busy. Nevertheless I like to ask again kindly about to add the usbtv007 driver module. That would be awesome to make the Fushikai chipset video grabbers work OOTB.
How to ask questions the smart way:
http://www.catb.org/esr/faqs/smart-questions.html

Koxx
Posts: 103
Joined: Tue Jun 16, 2015 6:04 am
languages_spoken: english, french
ODROIDs: C1
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by Koxx » Tue Apr 19, 2016 5:08 am

please add bcmdhd for broadcom devices.
thanks !

mdrjr
Site Admin
Posts: 11698
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by mdrjr » Fri May 06, 2016 8:15 am

Koxx wrote:please add bcmdhd for broadcom devices.
thanks !
bcmdhd is for usb too?

AFAIR it was only for SDIO devices

LongChair
Posts: 153
Joined: Mon Mar 28, 2016 2:32 pm
languages_spoken: english
ODROIDs: ODROID C2
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by LongChair » Tue Jun 14, 2016 1:15 am

Here is mine, would be nice to have amvideocap back.

It seems to build fine, just needs to add the kernel option & the according entry in the dts file.

One suggestion though, as C2 supports 4K, it might be nice to have the driver define a maxsize to 4K as well as having a memory region in dts file defined to support a 4k image.

serrrega
Posts: 1
Joined: Thu Jun 16, 2016 3:20 pm
languages_spoken: english, russian
ODROIDs: C1
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by serrrega » Thu Jun 16, 2016 3:26 pm

Hi, guys!
It would be great to support Fushikai (usbtv007) easycap capture device.
Thanks!

eighthcitizen
Posts: 11
Joined: Tue Dec 30, 2014 10:51 am
languages_spoken: english
ODROIDs: ODROID-C1
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by eighthcitizen » Mon Aug 29, 2016 6:32 pm

Hi,

Is there an mt7601 driver build for the latest Ubuntu 14.04 image? (Kernel 3.10.80-131)?
Last edited by eighthcitizen on Mon Aug 29, 2016 9:40 pm, edited 1 time in total.

User avatar
meveric
Posts: 9601
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by meveric » Mon Aug 29, 2016 6:59 pm

If you're using my Kernel and Headers you can use my DKMS module: http://oph.mdrjr.net/meveric/pool/main/m/mt7601/
But I'm not sure if it will work with the Linux Kernels (or better with the Linux Headers) from HardKernel.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

graemeh
Posts: 7
Joined: Sun Jan 15, 2017 9:02 pm
languages_spoken: english
ODROIDs: XU4
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by graemeh » Sun Jan 15, 2017 9:09 pm

G'day,

I see a request to have the DRBD module included ... did anything come of that request?
I still don't see it available with my latest kernel on my XU4

...CONFIG_BLK_DEV_DRBD=m

mdrjr
Site Admin
Posts: 11698
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by mdrjr » Mon Jan 16, 2017 9:20 pm

graemeh wrote:G'day,

I see a request to have the DRBD module included ... did anything come of that request?
I still don't see it available with my latest kernel on my XU4

...CONFIG_BLK_DEV_DRBD=m
Kernel version -129 and forward will have it enabled :)

Molorius
Posts: 39
Joined: Tue Mar 01, 2016 4:40 am
languages_spoken: English
ODROIDs: C1+, C2, GO
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by Molorius » Fri Jan 27, 2017 11:51 am

Could you add support for /dev/gpiomem ? It would be quite nice to have rootless access to gpio :D
WiringPi was recently updated to support this, and the Android C1 kernel has been able to do so since the summer.

Thanks!

mdrjr
Site Admin
Posts: 11698
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by mdrjr » Fri Jan 27, 2017 6:42 pm

Molorius wrote:Could you add support for /dev/gpiomem ? It would be quite nice to have rootless access to gpio :D
WiringPi was recently updated to support this, and the Android C1 kernel has been able to do so since the summer.

Thanks!
One of our engineers already sent this patch. It should appear very soon.

User avatar
odroid
Site Admin
Posts: 29372
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by odroid » Fri Feb 03, 2017 11:34 am

C1/C2/XU4 Ubuntu/Linux can access the GPIO without root permission now.
http://odroid.com/dokuwiki/doku.php?id=en:gpiomem

User avatar
mad_ady
Posts: 5104
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1
Location: Bucharest, Romania
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by mad_ady » Thu May 04, 2017 9:42 pm

I'd like to ask for netconsole (NETCONSOLE, NETCONSOLE_DYNAMIC) to be enabled as a module (or built-in): https://wiki.archlinux.org/index.php/Netconsole
It's under: Device Drivers -> Network device support -> Network core driver support

If it's built into the kernel it allows kernel logs (e.g. dmesg output) to be sent to a remote logging station as soon as a network interface is up. If it's a module, it can send logs once it is enabled/loaded.

The use case is - if a user has multiple Odroids (or always on devices), he can set up a syslog server and send kernel messages to that syslog in case of kernel crashes/panics.
I'm trying to investigate some random lockups (that I suspect generate an out-of memory exception caused by one of my scripts) without wanting to keep a serial console connected.

Please consider enabling this on all Odroid products (C1, C2, XU4).

Edit: I'm testing netconsole on a XU4 with 4.9 kernel and I can't seem to enable it:

Code: Select all

[4165778.450375] netpoll: netconsole: local port 6665
[4165778.453744] netpoll: netconsole: local IPv4 address 192.168.1.5
[4165778.459882] netpoll: netconsole: interface 'eth0'
[4165778.464737] netpoll: netconsole: remote port 514
[4165778.469412] netpoll: netconsole: remote IPv4 address 192.168.1.14
[4165778.475736] netpoll: netconsole: remote ethernet address 00:1e:06:33:6b:ee
[4165778.482927] netpoll: netconsole: eth0 doesn't support polling, aborting
It might be connected to this: viewtopic.php?f=82&t=5077

mdrjr
Site Admin
Posts: 11698
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by mdrjr » Fri May 05, 2017 6:57 am

Nope, netconsole is there already enabled: https://github.com/hardkernel/linux/blo ... nfig#L1813

User avatar
mad_ady
Posts: 5104
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1
Location: Bucharest, Romania
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by mad_ady » Fri May 05, 2017 5:34 pm

Yes, it is on by default on XU4, but doesn't seem to work. I'll open a different thread to discuss this.

The request still stands for C1/C2, where netconsole does work (I compiled a kernel and tested it):

Code: Select all

adrianp@kbd:/boot$ uname -a
Linux kbd 3.14.79-110 #1 SMP PREEMPT Tue Apr 11 20:16:54 BRT 2017 aarch64 aarch64 aarch64 GNU/Linux
adrianp@kbd:/boot$ zcat /proc/config.gz | grep NETCONSOLE 
# CONFIG_NETCONSOLE is not set

adrianp@spica:~$ uname -a
Linux spica 3.10.104-186 #1 SMP PREEMPT Mon Mar 20 11:48:07 UTC 2017 armv7l armv7l armv7l GNU/Linux
adrianp@spica:~$ zcat /proc/config.gz | grep NETCONSOLE
# CONFIG_NETCONSOLE is not set

Code: Select all

root@kbd:~# uname -a
Linux kbd 3.14.79-netconsole #1 SMP PREEMPT Thu May 4 17:00:48 EEST 2017 aarch64 aarch64 aarch64 GNU/Linux
# dmesg -n 8
# modprobe netconsole
# mkdir /sys/kernel/config/netconsole/target1
# cd /sys/kernel/config/netconsole/target1
# echo 192.168.228.10 > local_ip
# echo 192.168.228.1 > remote_ip
# echo eth0 > dev_name
# arping $(cat remote_ip) -f | grep -o ..:..:..:..:..:.. > remote_mac
# echo 1 > enabled
# echo Some message > /dev/kmsg
On the receiving end:

Code: Select all

$ nc -u -l -p 6666
[  395.514811] Some message

Scritch
Posts: 1
Joined: Wed May 10, 2017 7:21 am
languages_spoken: english
ODROIDs: C1+
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by Scritch » Wed May 10, 2017 7:53 am

I am trying to get my TBS dvb adapter working on Odroid C1.
The driver requires a custom build of linux media kernel modules (https://github.com/ljalves/linux_media / https://github.com/tbsdtv/linux_media).

After compilation, the installer has to remove the default kernel modules for linux media.
This fails, as Odroid C1 includes media modules statically into the kernel:

Code: Select all

odroidc1:~$ grep "kernel/drivers/media" /lib/modules/3.10.104-odroidc1/modules.builtin
kernel/drivers/media/media.ko
... (many more)

Subsequently loading the installed driver fails:

Code: Select all

[   11.545805] media: exports duplicate symbol media_device_register_entity (owned by kernel)
Please change the kernel build.

The media modules shall be compiled as dynamically loaded kernel objects only (same as also done for Raspberry kernels where the procedure described above works without problems).

gügü
Posts: 68
Joined: Sun Dec 20, 2015 6:35 am
languages_spoken: english
ODROIDs: C1 - C2
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by gügü » Sat Jun 17, 2017 8:55 am

Is it possible to get all the kernel modules/drivers which are necessary for Docker to run without problem in Swarm Mode with the C1/C1+

I found a bash script on docker's github : https://raw.githubusercontent.com/moby/ ... -config.sh

When running the script these are all the modules/drivers required :

Code: Select all

$ ./check-config.sh
info: reading kernel config from /proc/config.gz ...

Generally Necessary:
- cgroup hierarchy: properly mounted [/sys/fs/cgroup]
- CONFIG_NAMESPACES: enabled
- CONFIG_NET_NS: enabled
- CONFIG_PID_NS: enabled
- CONFIG_IPC_NS: enabled
- CONFIG_UTS_NS: enabled
- CONFIG_CGROUPS: enabled
- CONFIG_CGROUP_CPUACCT: enabled
- CONFIG_CGROUP_DEVICE: enabled
- CONFIG_CGROUP_FREEZER: enabled
- CONFIG_CGROUP_SCHED: enabled
- CONFIG_CPUSETS: enabled
- CONFIG_MEMCG: enabled
- CONFIG_KEYS: enabled
- CONFIG_VETH: enabled (as module)
- CONFIG_BRIDGE: enabled
- CONFIG_BRIDGE_NETFILTER: enabled
- CONFIG_NF_NAT_IPV4: enabled (as module)
- CONFIG_IP_NF_FILTER: enabled (as module)
- CONFIG_IP_NF_TARGET_MASQUERADE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_IPVS: enabled (as module)
- CONFIG_IP_NF_NAT: missing
- CONFIG_NF_NAT: enabled (as module)
- CONFIG_NF_NAT_NEEDED: enabled
- CONFIG_POSIX_MQUEUE: enabled
- CONFIG_DEVPTS_MULTIPLE_INSTANCES: enabled

Optional Features:
- CONFIG_USER_NS: enabled
- CONFIG_SECCOMP: enabled
- CONFIG_CGROUP_PIDS: missing
- CONFIG_MEMCG_SWAP: enabled
- CONFIG_MEMCG_SWAP_ENABLED: enabled
    (cgroup swap accounting is currently enabled)
- CONFIG_MEMCG_KMEM: enabled
- CONFIG_RESOURCE_COUNTERS: enabled
- CONFIG_BLK_CGROUP: enabled
- CONFIG_BLK_DEV_THROTTLING: enabled
- CONFIG_IOSCHED_CFQ: enabled
- CONFIG_CFQ_GROUP_IOSCHED: enabled
- CONFIG_CGROUP_PERF: enabled
- CONFIG_CGROUP_HUGETLB: missing
- CONFIG_NET_CLS_CGROUP: enabled (as module)
- CONFIG_NETPRIO_CGROUP: enabled
- CONFIG_CFS_BANDWIDTH: enabled
- CONFIG_FAIR_GROUP_SCHED: enabled
- CONFIG_RT_GROUP_SCHED: enabled
- CONFIG_IP_VS: enabled (as module)
- CONFIG_IP_VS_NFCT: enabled
- CONFIG_IP_VS_RR: enabled (as module)
- CONFIG_EXT3_FS: missing
- CONFIG_EXT3_FS_XATTR: missing
- CONFIG_EXT3_FS_POSIX_ACL: missing
- CONFIG_EXT3_FS_SECURITY: missing
    (enable these ext3 configs if you are using ext3 as backing filesystem)
- CONFIG_EXT4_FS: enabled
- CONFIG_EXT4_FS_POSIX_ACL: enabled
- CONFIG_EXT4_FS_SECURITY: enabled
- Network Drivers:
  - "overlay":
    - CONFIG_VXLAN: enabled (as module)
      Optional (for encrypted networks):
      - CONFIG_CRYPTO: enabled
      - CONFIG_CRYPTO_AEAD: enabled
      - CONFIG_CRYPTO_GCM: missing
      - CONFIG_CRYPTO_SEQIV: enabled
      - CONFIG_CRYPTO_GHASH: missing
      - CONFIG_XFRM: enabled
      - CONFIG_XFRM_USER: enabled (as module)
      - CONFIG_XFRM_ALGO: enabled
      - CONFIG_INET_ESP: enabled
      - CONFIG_INET_XFRM_MODE_TRANSPORT: enabled
  - "ipvlan":
    - CONFIG_IPVLAN: missing
  - "macvlan":
    - CONFIG_MACVLAN: enabled (as module)
    - CONFIG_DUMMY: enabled (as module)
  - "ftp,tftp client in container":
    - CONFIG_NF_NAT_FTP: enabled (as module)
    - CONFIG_NF_CONNTRACK_FTP: enabled (as module)
    - CONFIG_NF_NAT_TFTP: enabled (as module)
    - CONFIG_NF_CONNTRACK_TFTP: enabled (as module)
- Storage Drivers:
  - "aufs":
    - CONFIG_AUFS_FS: enabled
  - "btrfs":
    - CONFIG_BTRFS_FS: enabled (as module)
    - CONFIG_BTRFS_FS_POSIX_ACL: enabled
  - "devicemapper":
    - CONFIG_BLK_DEV_DM: enabled
    - CONFIG_DM_THIN_PROVISIONING: enabled (as module)
  - "overlay":
    - CONFIG_OVERLAY_FS: missing
  - "zfs":
    - /dev/zfs: missing
    - zfs command: missing
    - zpool command: missing

Limits:
- /proc/sys/kernel/keys/root_maxkeys: 1000000
Thanx a lot

User avatar
odroid
Site Admin
Posts: 29372
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by odroid » Mon Jun 19, 2017 10:54 am

@gügü
Can you check our Kernel config file to know the feasibility of Docker Swarm?
https://github.com/hardkernel/linux/blo ... _defconfig

gügü
Posts: 68
Joined: Sun Dec 20, 2015 6:35 am
languages_spoken: english
ODROIDs: C1 - C2
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by gügü » Tue Jun 20, 2017 10:39 pm

odroid wrote:@gügü
Can you check our Kernel config file to know the feasibility of Docker Swarm?
https://github.com/hardkernel/linux/blo ... _defconfig

I was able to run Docker Swarm mode with HypriotOS with kernel 3.10 on Odroid C1 and kernel 3.14 on C2 but I've discovered
some bugs and that the main features of the Docker Swarm Mode actually require 3.18 and above to work well concerning
the VXLAN, IPVLAN and other networking kernel features.

I had to compile the kernel myself with VXLAN enabled and that fixed only one bug.

Later I tried a setup of a Docker Swarm cluster with 2 C1 board and and 10 C2 board all running HypriotOS and I've hit a wall.

The kernel config you refer to is not ready for Docker Swarm mode.

This config is the best I've found so far : https://github.com/ioft/linux/blob/mast ... _defconfig

This list is my own I've did. I manually analysed everything and if the following features are all there then Docker will work perfectly.

Code: Select all

****************************************
****************************************
****************************************
========================
DOCKER RELATED OPTIONS
========================
Mandatory
========================

CONFIG_NAMESPACES=y
CONFIG_NET_NS=y
CONFIG_PID_NS=y
CONFIG_IPC_NS=y
CONFIG_UTS_NS=y

CONFIG_CGROUPS=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_SCHED=y
CONFIG_CPUSETS=y
CONFIG_MEMCG=y
CONFIG_KEYS=y
CONFIG_VETH=y
CONFIG_BRIDGE=y
CONFIG_NETFILTER=y
CONFIG_INET=y


CONFIG_EXPERIMENTAL=y
CONFIG_NETFILTER=y
CONFIG_NF_NAT_IPV4=m
CONFIG_NF_CONNTRACK_IPV4=m
CONFIG_NF_CONNTRACK=y
CONFIG_NETFILTER_ADVANCED=y
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
CONFIG_IP_VS=y
CONFIG_NETFILTER_XT_MATCH_IPVS=m
CONFIG_IP_NF_NAT=m
CONFIG_NF_NAT=m
CONFIG_NF_NAT_NEEDED=y
CONFIG_POSIX_MQUEUE=y
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y

======================
Good to have
======================

CONFIG_USER_NS=y
CONFIG_SECCOMP=y
CONFIG_CGROUP_PIDS=y

CONFIG_MEMCG_SWAP=y
CONFIG_SLAB=y
CONFIG_SLUB=y
CONFIG_MEMCG_SWAP_ENABLED=y
CONFIG_MEMCG_KMEM=y

CONFIG_RESOURCE_COUNTERS=y
CONFIG_BLK_CGROUP=y
CONFIG_BLK_DEV_THROTTLING=y
CONFIG_IOSCHED_CFQ=y
CONFIG_CFQ_GROUP_IOSCHED=y
CONFIG_CGROUP_PERF=y
CONFIG_HUGETLB_PAGE=y
CONFIG_CGROUP_HUGETLB=y
CONFIG_NET_CLS_CGROUP=y
CONFIG_NETPRIO_CGROUP=y
CONFIG_FAIR_GROUP_SCHED=y
CONFIG_CFS_BANDWIDTH=y
CONFIG_RT_GROUP_SCHED=y
CONFIG_IP_VS=y
CONFIG_IP_VS_NFCT=y
CONFIG_IP_VS_RR=y

CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y

CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT2=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y

=============
Network
=============
CONFIG_VXLAN=y
CONFIG_CRYPTO=y
CONFIG_CRYPTO_GCM=m
CONFIG_CRYPTO_SEQIV=m
CONFIG_CRYPTO_GHASH=m

CONFIG_XFRM=y
CONFIG_XFRM_ALGO=m
CONFIG_XFRM_USER=m
CONFIG_XFRM_ALGO=y

CONFIG_INET_ESP=y
CONFIG_INET_XFRM_MODE_TRANSPORT=y

CONFIG_VXLAN=m
CONFIG_IPVLAN=m
CONFIG_DUMMY=m
CONFIG_MACVLAN=m
CONFIG_NF_NAT_FTP=m
CONFIG_NF_CONNTRACK_FTP=m
CONFIG_NF_NAT_TFTP=m
CONFIG_NF_CONNTRACK_TFTP=m

==========
AUFS part
==========


==========
BTRFS part
==========
CONFIG_BTRFS_FS=m
CONFIG_BTRFS_FS_POSIX_ACL=m

==========
BTRFS part
==========
CONFIG_BLK_DEV_DM=y
CONFIG_DM_THIN_PROVISIONING=m

==========
OVERLAY part
==========
CONFIG_OVERLAY_FS=m

User avatar
odroid
Site Admin
Posts: 29372
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by odroid » Wed Jun 21, 2017 8:01 pm

Thank you for the list of features.
Were the features applicable for C1 Kernel as well as C2?

gügü
Posts: 68
Joined: Sun Dec 20, 2015 6:35 am
languages_spoken: english
ODROIDs: C1 - C2
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by gügü » Wed Jun 21, 2017 11:33 pm

odroid wrote:Thank you for the list of features.
Were the features applicable for C1 Kernel as well as C2?
I'm not sure I can answer that question right!

I think that we can ask the opinion of @umiddelb on this he has more experience with the C1 and C2 than me.

User avatar
odroid
Site Admin
Posts: 29372
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by odroid » Thu Jun 22, 2017 11:33 am

Can you create a new topic to talk about Docker Swarm for ODROID boards?
And I will invite @umiddelb for further discussion.
We are very interested in the Docker Swarm Clustering solution especially on XU4 board.

gügü
Posts: 68
Joined: Sun Dec 20, 2015 6:35 am
languages_spoken: english
ODROIDs: C1 - C2
Contact:

Re: OFFICIAL request for kernel modules/drivers enable here

Unread post by gügü » Thu Jun 22, 2017 5:41 pm

Surely I will do it... Since 1 month I'm working hard to learn Docker and Swarm Mode.

I bought 10 C2 nodes and 2 C1 nodes with a total of 12 nodes.

I already got Docker working with HypriotOS for C1 and C2 but I've hit many walls with Docker Swarm.

Due to kernel problem with original HK release issues.

I was the first who was able to run HypriotOS on Odroid C1 because I've worked the HypriotOS Team to adapt their release for this board.

We shared all our XP on this thread: viewtopic.php?f=114&t=18001

If you want to skip all the hardship of the whole thread just go at the end you will find the download links.

Note that HypriotOS right now has limitations and bugs with Docker. Most of the features are working except Docker Swarm which has problem with VXLAN and IPVLAN on both C1 and C2 release.

Latest C2 HypriotOS : https://github.com/hypriot/image-builde ... 2/releases
Latest C1 HypriotOS : https://github.com/hypriot/image-builde ... 1/releases

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 3 guests