a patch to make kernel work with new udev

This is where you talk about the EV3 software itself, installation issues, and programming talk.

Moderators: roger, gloomyandy, skoehler

a patch to make kernel work with new udev

Postby topikachu » Sun Nov 24, 2013 7:25 am

I'm not sure if this is the right place to submit patch. If not, please tell me and I will move to the right place.

When use the debian wheezy with lejos kernel, there are a lot of udev error
udevd[XXX]: unable to receive ctrl connection: Function not implemented

This is because the kernel not expose the required "accept4"
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648325
https://github.com/genesi/linux-legacy/ ... aafec6c288

The patch
https://gist.github.com/topikachu/7624365
modify lejos ev3 kernel folder to creae an "accept4" patch.

git apply <patch file>
topikachu
Novice
 
Posts: 32
Joined: Wed Sep 18, 2013 3:27 am

Re: a patch to make kernel work with new udev

Postby gloomyandy » Sun Nov 24, 2013 1:45 pm

Hi,
could you explain why you are running the wheezy udev rather than the the standard version? What are the advantages of doing this?

Andy
User avatar
gloomyandy
leJOS Team Member
 
Posts: 3630
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: a patch to make kernel work with new udev

Postby topikachu » Tue Nov 26, 2013 10:10 am

I just run ev3 on wheezy for fun now.
However, I think it's interesting to install a full linux distribution with a package manager.

I also tried https://github.com/mindboards/ev3dev. But this kernel has no full ev3 driver as I know.
topikachu
Novice
 
Posts: 32
Joined: Wed Sep 18, 2013 3:27 am

Re: a patch to make kernel work with new udev

Postby gloomyandy » Tue Nov 26, 2013 10:32 am

Ah ok, so which rootfs are you using? Are there any other problems with doing this other than the udev issue?
User avatar
gloomyandy
leJOS Team Member
 
Posts: 3630
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: a patch to make kernel work with new udev

Postby topikachu » Wed Nov 27, 2013 1:41 am

I build my own from debian wheezy by multistrap
https://github.com/topikachu/python-ev3 ... ild-rootfs

udev doesn't work with old kernel. But it can be fixed with the accept4 patch.
Also, the new bluez 4.99 changes a lot . I haven't find a way to setup the bluetooth nap. It not always work.

Others are OK. I even can use apt-get to install new application on EV3.
topikachu
Novice
 
Posts: 32
Joined: Wed Sep 18, 2013 3:27 am


Return to EV3 Software

Who is online

Users browsing this forum: No registered users and 3 guests

more stuff