Compile Drivers

Applications, development tools, FPGA, C, WEB
Post Reply
GLevi
Posts: 1
Joined: Wed Aug 04, 2021 10:12 pm

Compile Drivers

Post by GLevi » Wed Aug 04, 2021 10:25 pm

Hi,
How can I download the Kernel headers needed to compile a driver ? In this moment I'm trying to installa a WI FI usb dongle that has normally no problems with Linux:
# lsusb
> Bus 001 Device 002: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Drivers can be found here:
git clone https://github.com/art567/mt7601usta.git

I have tried to compile them using generic headers but the operation fails when I try to install them:

root@rp-f04078:~# dmesg | tail
[ 2.838649] systemd[1]: Listening on udev Control Socket.
[ 2.863588] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 3.955974] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[ 4.302828] systemd-journald[871]: Received request to flush runtime journal from PID 1
[ 9.283583] macb e000b000.ethernet eth0: link up (100/Full)
[ 118.240893] random: crng init done
[ 724.671009] mt7601Usta: disagrees about version of symbol module_layout

So probably the proper headers are needed.
My question is also more general because I would like to compile and install other drivers for other measuring devices. But as usual the correct headers are needed.
We would like to use the Red Pitaya in a Scientific Experiment. So compiling drivers in order to interface it with science equipment is a crucial part of the work.
Thanks for your help.

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 3 guests