How to get driver for LAN9730

I am using the Wp7502 chip.
A LAN9030i chip from the microchip company is connected to it.
The Wp7502 and LAN9030i chips are connected via the HSIC interface.
The LAN9030i chip acts as an HSIC to ehternet interface converter.

i read that SMSC driver support LAN9030i

And i find

root@swi-mdm9x15:/dev# dmesg  | grep smsc95xx
[    2.355318] usbcore: registered new interface driver smsc95xx
[    2.914726] smsc95xx v1.0.4
[    3.021913] smsc95xx 1-1:1.0 eth0: register 'smsc95xx' at usb-msm_hsic_host-1, smsc95xx USB 2.0 Ethernet, c2:90:9d:1d:81:e9
[   13.790935] smsc95xx 1-1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1

I see that smsc95xx version 1.0.4

I found a newer version of the driver.

How can I update my driver to a higher version?
Where can I download this driver?

Do you see such driver in the yocto source ?

I use source

But there is an old version of smsc95xx.

#define SMSC_DRIVER_VERSION		"1.0.4"

So I have a question. Is it possible to somehow update the system or this driver specifically?

can you copy and paste the new driver to the same location and recompile the yocto image?

I check this link. It is helpful for me. Thanks

1 Like

I came to the conclusion that in order for me to update the driver in this assembly I need to do the following.

  1. Download Linux sources for this Wp 7502
  2. Rebuild them by disabling the old driver
  3. Build a new driver as a separate module
  4. Load this new driver (module) after the system starts.

Tell. Is this the correct algorithm of action?
Or am I missing something?

yes, it could be if it works for your hardware
Or you can update the drive source inside yocto source to rebuild the image

1 Like

Thanks for the answer. I have a follow-up question. Is it possible to switch to Linux 4.14?

I assume the drivers there are more recent
I currently have Linux 3.

this linux 4.14 is for WP76/WP77, not for your WP75xx module