Skip to contentSkip to conversation

Canutils can not up can0

DISCUSSION grommerin 3 participants 4 messages Jul 22, 2014 1 message not in the archive CAN network drivers

lore
Share & tools
lore

grommerin

author
#0 lore raw

Hello. I downloaded your utility canutils and installed it on i.MX6 MarsBoard but I can not configure and run the CAN interface. Usually I used to do it "canconfig" of other version "canutils" but in your version of this file is not. How can I configure CAN bitrate with your tool? Best regards, Dzivakou Mikita.

#1 lore raw
Quoted 5 lines · grommerin

Hello. I downloaded your utility canutils and installed it on i.MX6 MarsBoard but I can not configure and run the CAN interface. Usually I used to do it "canconfig" of other version "canutils" but in your version of this file is not. How can I configure CAN bitrate with your tool? Best regards, Dzivakou Mikita.

Which version of cantuils are you using? Which version of canutils are working for you? Do you get any error messages? What's the output of "dmesg"?

Marc

Signature · 4 lines
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Mikita,

please keep the mailing list on Cc.

Quoted 2 lines · grommerin

Now I try using this version:
https://gitorious.org/linux-can/can-utils/source/518faef3acc79bb4f31ae2b55b266eb540850f39:

There is no canconfig in the gitoruous can-utils.

Quoted 5 lines

Working version: git://git.pengutronix.de/git/tools/canutils.git
No error messages. The problem is that I can not configure can0 and set bitrate.
I can not attach a message "dmesg". "ifconfig" sees can0 but it is not configured.

Which canconfig are you using?

Marc

Signature · 4 lines
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |
#4 lore raw
Quoted 10 lines · Marc Kleine-Budde

Mikita,

please keep the mailing list on Cc.

Quoted 2 lines · grommerin

Now I try using this version:
https://gitorious.org/linux-can/can-utils/source/518faef3acc79bb4f31ae2b55b266eb540850f39:

There is no canconfig in the gitoruous can-utils.

Quoted 7 lines
Quoted 5 lines

Working version: git://git.pengutronix.de/git/tools/canutils.git
No error messages. The problem is that I can not configure can0 and set bitrate.
I can not attach a message "dmesg". "ifconfig" sees can0 but it is not configured.

Which canconfig are you using?

Please take a look at our turorial
http://elinux.org/Bringing_CAN_interface_up too.

Yegor