CAN Patch for 9x28 Chips



I am trying to work with the IOT CAN Card.
I followed this CAN Driver Instruction from the Mangoh Github Wiki.

In was able to activate the driver in the menu config.
I was not able to apply the patch for two reasons:

  1. My WP76 has a QualCom 9x28 Chip. The Patch is fpr 9615 Chips.
  2. I have no “linux” dir in the kernel dir

I flashed the firmeware anyway and was able to run the following commands:

mux 5
mux 16
modprobe can
modprobe can-dev
modprobe can-raw
modprobe mcp251x

logread -f gives me the following output:

Jan 6 00:12:47 swi-mdm9x28-wp user.warn Legato: -WRN- | mux[3157]/framework T=main | LE_FILENAME le_ref_CreateMap() 149 | Map name ‘refmangoh_muxCtrl_ClientHandlers’ truncated to ‘refmangoh_muxCtrl_ClientHandler’.
Jan 6 00:12:52 swi-mdm9x28-wp user.warn Legato: -WRN- | mux[3168]/framework T=main | LE_FILENAME le_ref_CreateMap() 149 | Map name ‘refmangoh_muxCtrl_ClientHandlers’ truncated to ‘refmangoh_muxCtrl_ClientHandler’.
Jan 6 00:12:56 swi-mdm9x28-wp kernel: [ 772.586754] can: controller area network core (rev 20120528 abi 9)
Jan 6 00:12:56 swi-mdm9x28-wp kernel: [ 772.586963] NET: Registered protocol family 29
Jan 6 00:13:00 swi-mdm9x28-wp kernel: [ 776.630398] CAN device driver interface
Jan 6 00:13:02 swi-mdm9x28-wp kernel: [ 779.074982] can: raw protocol (rev 20120528)

But there is no can interface if I run ifconf -a.

I measured the voltages at the MUX to check if the MUX 5 command is working. And it works like it should. I also measured the Voltage of the SPI_SS and SPI_CLK at the IOT slot. The SPI_SS is permanent active, when I run the mux 5 command. But the SPI_CLK doesn’t shows any activity. I measured the SPI_CLK directly at the measuring pad close to the primary socket. But there is also no clock signal.

I need the patch file for the combination MangohGreen + WP76 + 9x28 Qualcom Chip. Is there any way to get such a patch file?

Thanks for any help!