<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/openrazer-3-12-4-fixes-compatibility-with-linux-7-2-icawamltr" -->

---
title: OpenRazer 3.12.4 Fixes Compatibility With Linux 7.2
description: OpenRazer 3.12.4 has been released with a focused compatibility fix for Linux 7.2. The key change replaces deprecated strncpy() calls with strscpy(), required...
canonical: https://daily.dev/posts/openrazer-3-12-4-fixes-compatibility-with-linux-7-2-icawamltr
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: OpenRazer 3.12.4 Fixes Compatibility With Linux 7.2 | daily.dev
og:description: OpenRazer 3.12.4 has been released with a focused compatibility fix for Linux 7.2. The key change replaces deprecated strncpy() calls with strscpy(), required...
og:url: https://daily.dev/posts/openrazer-3-12-4-fixes-compatibility-with-linux-7-2-icawamltr
og:image: https://api.daily.dev/og/posts/iCaWaMLtr.png
og:image:alt: OpenRazer 3.12.4 Fixes Compatibility With Linux 7.2
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenRazer 3.12.4 Fixes Compatibility With Linux 7.2

**[Phoronix](https://daily.dev/sources/phoronix)** · 1 min read · 1 upvotes · 0 comments

## Summary

OpenRazer 3.12.4 has been released with a focused compatibility fix for Linux 7.2. The key change replaces deprecated strncpy() calls with strscpy(), required because Linux 7.2 finally removes the strncpy API after years of gradual deprecation work. No new features or device support additions are included in this release.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.phoronix.com/news/OpenRazer-3.12.4>

## Questions this post answers

### Why did OpenRazer need an update for Linux 7.2 compatibility?

Linux 7.2 removes the strncpy API entirely after a multi-year deprecation effort involving hundreds of patches. Because OpenRazer's driver code relied on strncpy, it had to switch to using strscpy() instead. This change is included in OpenRazer 3.12.4, which is otherwise a compatibility-only release with no new Razer device features.

_daily.dev surfaces kernel-driven breakages like this one for developers maintaining out-of-tree Linux drivers._

### Is strncpy removed from the Linux kernel in version 7.2?

Yes, Linux 7.2 eliminates the strncpy API from the kernel after years of work replacing its usages throughout the codebase. Projects that depended on strncpy, such as the OpenRazer driver suite, needed to migrate to strscpy() to remain compatible with kernels at this version and later.

_Developers tracking kernel API removals like strncpy can follow the fallout on daily.dev._

## Similar posts on daily.dev

- [OpenRazer 3.11 Released With Linux Driver Support For Newer Razer Devices](https://daily.dev/posts/openrazer-3-11-released-with-linux-driver-support-for-newer-razer-devices-9agrhxvgj) · Phoronix · 1 upvotes · 0 comments
- [OpenRazer 3.12 Released With Support For Newer Razer Products On Linux](https://daily.dev/posts/openrazer-3-12-released-with-support-for-newer-razer-products-on-linux-bsrsd5dvp) · Phoronix · 0 upvotes · 0 comments
- [OpenRazer 3.12.1 Enables Two More Razer Devices Under Linux](https://daily.dev/posts/openrazer-3-12-1-enables-two-more-razer-devices-under-linux-kjj0vpe6z) · Phoronix · 0 upvotes · 0 comments
- [After 6 years and over 360 commits, Linux 7.2 finally removes "a persistent source of bugs"](https://daily.dev/posts/after-6-years-and-over-360-commits-linux-7-2-finally-removes-a-persistent-source-of-bugs--j2ne4knox) · XDA Developers · 1 upvotes · 0 comments
- [Linux Finally Eliminates The strncpy API After Six Years Of Work, 360\+ Patches](https://daily.dev/posts/linux-finally-eliminates-the-strncpy-api-after-six-years-of-work-360-patches-sel6lcwdy) · Phoronix · 1 upvotes · 0 comments

---

Tags: [#open-source](https://daily.dev/tags/open-source), [#linux](https://daily.dev/tags/linux)

[View this post on daily.dev](https://daily.dev/posts/openrazer-3-12-4-fixes-compatibility-with-linux-7-2-icawamltr)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"OpenRazer 3.12.4 Fixes Compatibility With Linux 7.2","url":"https://daily.dev/posts/openrazer-3-12-4-fixes-compatibility-with-linux-7-2-icawamltr","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/openrazer-3-12-4-fixes-compatibility-with-linux-7-2-icawamltr"},"datePublished":"2026-07-05T00:40:10.706Z","dateModified":"2026-09-14T09:03:01.843Z","description":"OpenRazer 3.12.4 has been released with a focused compatibility fix for Linux 7.2. The key change replaces deprecated strncpy() calls with strscpy(), required...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/168dbc3733e9f22fc4bffd5853e08dac?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/168dbc3733e9f22fc4bffd5853e08dac?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Phoronix","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Phoronix","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6a26ba379dd64932830aa0c9803dd7ee","url":"https://daily.dev/sources/phoronix"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/openrazer-3-12-4-fixes-compatibility-with-linux-7-2-icawamltr","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"open-source,linux","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Phoronix","item":"https://daily.dev/sources/phoronix"},{"@type":"ListItem","position":3,"name":"OpenRazer 3.12.4 Fixes Compatibility With Linux 7.2"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/openrazer-3-12-4-fixes-compatibility-with-linux-7-2-icawamltr#faq","mainEntity":[{"@type":"Question","name":"Why did OpenRazer need an update for Linux 7.2 compatibility?","acceptedAnswer":{"@type":"Answer","text":"Linux 7.2 removes the strncpy API entirely after a multi-year deprecation effort involving hundreds of patches. Because OpenRazer's driver code relied on strncpy, it had to switch to using strscpy() instead. This change is included in OpenRazer 3.12.4, which is otherwise a compatibility-only release with no new Razer device features. daily.dev surfaces kernel-driven breakages like this one for developers maintaining out-of-tree Linux drivers."}},{"@type":"Question","name":"Is strncpy removed from the Linux kernel in version 7.2?","acceptedAnswer":{"@type":"Answer","text":"Yes, Linux 7.2 eliminates the strncpy API from the kernel after years of work replacing its usages throughout the codebase. Projects that depended on strncpy, such as the OpenRazer driver suite, needed to migrate to strscpy() to remain compatible with kernels at this version and later. Developers tracking kernel API removals like strncpy can follow the fallout on daily.dev."}}]}
```

