# Cannot find device Can0

**URL:** <https://mangoh.discourse.group/t/cannot-find-device-can0/6280>\
**Category:** mangOH Green\
**Created:** [March 5, 2021, 4:44pm UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280 "2021-03-05T16:44:17Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 9, 2021, 12:54am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/21 "2021-03-09T00:54:46Z")

</div>

Fwupdate command should be entered in module side, not in pc.  
BTW, there is no need to update yocto image if you just want to test can0 is available or not.

---

<div class="post-metadata">

**Author:** ![gavinoimparato1](https://avatars.discourse-cdn.com/v4/letter/g/f475e1/32.png) [@gavinoimparato1](https://mangoh.discourse.group/u/gavinoimparato1)\
**Post date:** [March 9, 2021, 8:35am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/22 "2021-03-09T08:35:10Z")

</div>

I did as you said, or rather I copied the .cwe file in the tmp folder of the module through scp command. After I did fwupdate, I obtained the same result as @lucanazzaro , so we have the same problem:

![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/9/9a3be7c593be6ea19a87d785007a560b08b3a61f.png)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 9, 2021, 8:36am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/23 "2021-03-09T08:36:37Z")

</div>

sorry, I really have no idea as I don’t see problem here with my mangoh green board and we are already using the same software…

---

<div class="post-metadata">

**Author:** ![gavinoimparato1](https://avatars.discourse-cdn.com/v4/letter/g/f475e1/32.png) [@gavinoimparato1](https://mangoh.discourse.group/u/gavinoimparato1)\
**Post date:** [March 9, 2021, 9:08am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/24 "2021-03-09T09:08:53Z")

</div>

I think that the problem could be in the yocto menuconfig…which configurations did you activate?

I followed this guide and activated only them:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/7/70231a444e1e18a518418333154676a34492fa53.png)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 9, 2021, 9:11am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/25 "2021-03-09T09:11:46Z")

</div>

I use the default yocto image where I did not compile anything extra.

---

<div class="post-metadata">

**Author:** ![lucanazzaro](https://avatars.discourse-cdn.com/v4/letter/l/edb3f5/32.png) [@lucanazzaro](https://mangoh.discourse.group/u/lucanazzaro)\
**Post date:** [March 9, 2021, 10:29am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/26 "2021-03-09T10:29:14Z")

</div>

In your post ([MCP2515 CAN Data loss - #35 by akshaysk - Legato Linux distribution (Yocto project) - Legato Forum](https://forum.legato.io/t/mcp2515-can-data-loss/4928/35)) where you were describing the same problem at some point (34/52) you posted this log

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/2/23504fd05bebcb6410072e8e843940d8291f2ed0.png)

Do you remember what you did to get the lines out??

```
root@swi-mdm9x28-wp:~# ./start_can.sh red 0
[134.431354] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister can0
[134.460434] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister can0
```

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 9, 2021, 12:17pm UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/27 "2021-03-09T12:17:46Z")

</div>

I changed to mangoh green board and then it does not have those lines:  
[134.431354] [RMNET:HI] rmnet\_config\_notify\_cb(): Kernel is trying to unregister can0  
[134.460434] [RMNET:HI] rmnet\_config\_notify\_cb(): Kernel is trying to unregister can0

---

<div class="post-metadata">

**Author:** ![lucanazzaro](https://avatars.discourse-cdn.com/v4/letter/l/edb3f5/32.png) [@lucanazzaro](https://mangoh.discourse.group/u/lucanazzaro)\
**Post date:** [March 9, 2021, 12:50pm UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/28 "2021-03-09T12:50:05Z")

</div>

So the solution is to change the board to another one and hope (pray) that the latter works. If that doesn’t work, change the board again until fate decides it’s the right one.

---

<div class="post-metadata">

**Author:** ![gavinoimparato1](https://avatars.discourse-cdn.com/v4/letter/g/f475e1/32.png) [@gavinoimparato1](https://mangoh.discourse.group/u/gavinoimparato1)\
**Post date:** [March 10, 2021, 10:40am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/29 "2021-03-10T10:40:26Z")

</div>

Could be a problem the fact that, in your mangOH, file I see yellow.sinc written as reported below:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/d/d4e0b0827469b74f89214968f496c9f746a0ea10.png)

while green.sinc is empty?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/f/fab5de87a0aac223aa98c17afc2e1953b024bbfc.png)

---

<div class="post-metadata">

**Author:** ![gavinoimparato1](https://avatars.discourse-cdn.com/v4/letter/g/f475e1/32.png) [@gavinoimparato1](https://mangoh.discourse.group/u/gavinoimparato1)\
**Post date:** [March 10, 2021, 5:36pm UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/30 "2021-03-10T17:36:05Z")

</div>

Sorry, can you say to me as you build the file mangOH\_02\_7\_19? wasn’t that what it was for another mangOH (Red or Yellow)? I tried all the possibile, but the result Is Always "cannot find device can0"😭😭😭  
At leAt least you could tell me where I probably be wrong? I swear I can’t understand it​:pleading\_face:😩

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 11, 2021, 2:19am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/31 "2021-03-11T02:19:26Z")

</div>

I used this source code, you can download it:

> **[mangOH\_2-7-2019\_mangoh\_green\_CAN\_OK.tar.gz](https://drive.google.com/file/d/1PkfXUbAuGwqCycV6Bv1zm458w5yWy9TB/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![gavinoimparato1](https://avatars.discourse-cdn.com/v4/letter/g/f475e1/32.png) [@gavinoimparato1](https://mangoh.discourse.group/u/gavinoimparato1)\
**Post date:** [March 11, 2021, 5:44am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/32 "2021-03-11T05:44:20Z")

</div>

I used just this source (you gave il to me in the past few days). So you say that It runs for mangOH green, wp7607 and talon can bus? I also tried to re-download mangOH source from GitHub, but it (obviously) doesn’t work.  
believe me, I don’t know what to do anymore

---

<div class="post-metadata">

**Author:** ![gavinoimparato1](https://avatars.discourse-cdn.com/v4/letter/g/f475e1/32.png) [@gavinoimparato1](https://mangoh.discourse.group/u/gavinoimparato1)\
**Post date:** [March 11, 2021, 7:58am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/33 "2021-03-11T07:58:34Z")

</div>

Please, can you send me the file yocto.cwe, or rather the file that you update on the board?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 11, 2021, 8:00am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/34 "2021-03-11T08:00:24Z")

</div>

i used the official FW R13 and the green.wp76.update is inside the tar file.

---

<div class="post-metadata">

**Author:** ![gavinoimparato1](https://avatars.discourse-cdn.com/v4/letter/g/f475e1/32.png) [@gavinoimparato1](https://mangoh.discourse.group/u/gavinoimparato1)\
**Post date:** [March 11, 2021, 8:21am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/35 "2021-03-11T08:21:40Z")

</div>

So you didn’t do this command?  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/1/1650b6a5b0948cf91926df0429a8a4635e19eab7.png)

because, at this point, I think that only this .cwe could give me problems…

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 11, 2021, 8:24am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/36 "2021-03-11T08:24:35Z")

</div>

no, as this yocto image just to add the CAN utility which is application level.

---

<div class="post-metadata">

**Author:** ![lucanazzaro](https://avatars.discourse-cdn.com/v4/letter/l/edb3f5/32.png) [@lucanazzaro](https://mangoh.discourse.group/u/lucanazzaro)\
**Post date:** [March 11, 2021, 8:45am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/37 "2021-03-11T08:45:19Z")

</div>

As I understand it, to make the board work in general it is necessary to create two files that I pass to the board using the` scp` command:

**green.wp76xx.update**  
**yocto\_wp76xx.4k.cwe**

The commands are executed on the board:

```
update green.wp76xx.update
fwupdate downloads /yocto_wp76xx.4k.cwe

```

Now I find the green.wp76xx.update file in the build folder of your archive while the yocto\_wp76xx.4k.cwe file I generate it by doing `make image_bin` in my yocto folder.

For some reason I don’t know the _.cwe_ file I generate (after so many attempts) it doesn’t work. So the easiest way to fix this is to use your _.update_ file, which I already have, and your _.cwe_ file.

So could you kindly share your **yocto\_wp76xx.4k.cwe** file ???

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 11, 2021, 8:49am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/38 "2021-03-11T08:49:29Z")

</div>

as said before, I just use the official FW R13 download in [source.wireless.com](http://source.wireless.com)

---

<div class="post-metadata">

**Author:** ![lucanazzaro](https://avatars.discourse-cdn.com/v4/letter/l/edb3f5/32.png) [@lucanazzaro](https://mangoh.discourse.group/u/lucanazzaro)\
**Post date:** [March 11, 2021, 8:53am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/39 "2021-03-11T08:53:58Z")

</div>

me too but it doesn’t work. I downloaded the Linux Distroit at the link

[https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-13-components/#sthash.4Ly3Qb5k.Qi85j7WE.dpbs](https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-13-components/#sthash.4Ly3Qb5k.Qi85j7WE.dpbs)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/a/a133a6618bbc1cb855deddc9a14343f4f9b2aa07.png)

so i asked for your file 🙄

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [March 11, 2021, 8:55am UTC](https://mangoh.discourse.group/t/cannot-find-device-can0/6280/40 "2021-03-11T08:55:02Z")

</div>

i download the window exe here:  
[https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-13,-d-,1/#sthash.fqEP0WUh.dpbs](https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-13,-d-,1/#sthash.fqEP0WUh.dpbs)

[Previous page](https://mangoh.discourse.group/t/cannot-find-device-can0/6280.md?page=1)

[Next page](https://mangoh.discourse.group/t/cannot-find-device-can0/6280.md?page=3)
