You are not logged in.
Pages: 1
I'm working on a small PC that will be used to collect engine data.
The chipset in use is Intel EG20T.
[c]lspci | grep -i network[/c] gives me
02:0c:3 CANBUS: Intel Corporation Platform Controller Hub EG20T Controller Area Network (CAN) Controller
So I know the bus is detected by the system.
I do not know where to proceed from here. I have read a bit online about using modprobe to start some modules (can, can-dev, can-raw) but none of these modules are detected by my system.
I have been trying to install can-utils (http://elinux.org/Can-utils) but I receive the error "autoreconf: command not found" while running autogen.sh script.
Not sure what package I'm missing for this.
Any advice to get me started is much appreciated!
Offline
can-utils is now installed but I still can't access the bus.
Offline
This is the kernel driver:
http://cateee.net/lkddb/web-lkddb/I2C_EG20T.html
The module is i2c-eg20t
The kernel version must be > or = 3.0
The SliTaz-4.0 kernel @ 2.6.37 is too old,the option is not available.
The kernel driver option not enabled on the cooking kernel.
tux@slitaz:~$ zcat /proc/config.gz | grep -i CONFIG_I2C_EG20T
# CONFIG_I2C_EG20T is not set
Online
Thanks for quick reply, I will stop wasting time with this then!
Then I should find CAN device with driver supported by kernel 2.6.37
Offline
Is there a way to upgrade kernel to > 3.0??
Offline
Upgrading to a 3.? kernel is, (as far as I know), not possible on SliTaz, likely you would have to recompile it yourself.
Might I suggest you take a look at 'antiX base' as a possible alternative distro, comes with 3.7.10 kernel, & is quite a lightweight distro based on Debian; which is more mainstream for doing what you seem to be wanting to do.
http://sourceforge.net/projects/antix-linux/files/Final/antiX-13.1/
Ok thank you for the information! Greatly appreciated
I found this link on SliTaz forum:
http://forum.slitaz.org/topic/new-cooking-is-now-kernel-3240#post-22978
Which says new cooking is 3.2.40 kernel.
Could I potentially install this?
Sorry if these are stupid questions. I am new to this
Offline
Hold off I will add i2c-eg20t module to cooking.
Then build an iso which includes the module.
It takes about 4 hours to rebuild the kernel.
Online
You are my hero, mojo!
Offline
It's too early to celebrate.
The commit or change to the kernel is here:
http://hg.slitaz.org/wok/rev/9b4ae27c0f41
You can view the log which shows the progress of the kernel build here:
http://cook.slitaz.org/cooker.cgi?pkg=linux
Stats on the build server:
http://tank.slitaz.org/graphs.php
Online
I really appreciate you taking the time to do that for me.
Offline
I built the base iso, it's only 12MB.
Tested with qemu and virtualbox.
Login as root,password: root
Run lsmod command after booting to verify i2c-eg20t is auto loading.
If it's not auto loading:
Hit tab key at SliTaz Live on the boot menu, add modprobe=i2c-eg20t
Hit Enter to execute boot.
On an install add i2c-eg20t to /etc/rcS.conf LOAD_MODULES="i2c-eg20t"
Download: http://www.mediafire.com/download/f4q533dqosb9fug/slitaz-base.iso
Download: http://www.mediafire.com/view/69itbtemlmlau34/slitaz-base.md5
Online
Thank you so much for doing that.
I will let you know how it goes.
Offline
Thank you again for this. I finally got around to installing this iso to disk.
It does, indeed, load my module!
Offline
Pages: 1
[ Generated in 0.023 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]