Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Kernel > 5.12 #78

Merged
merged 6 commits into from
Jun 26, 2023
Merged

Support Kernel > 5.12 #78

merged 6 commits into from
Jun 26, 2023

Conversation

Tiryoh
Copy link
Contributor

@Tiryoh Tiryoh commented Dec 8, 2022

What does this implement/fix?

#77 を修正します。

Raspberry Pi OS Buster(2019年リリース)は初期段階ではKernel 5.4だったので、Kernel 5.4〜5.15でビルドできるように変更をしています。

本pull request内では11ファイルの変更が発生していますが、rtmouse.cファイル以外の変更はビルドテストにのみ関連しています。

  • rtmosue.c:Kernel 5.12以降でビルドできるようにするための変更
  • その他:ビルドテストの変更

より古いカーネルの4.xについてはビルドチェックを停止しています。

Does this close any currently open issues?

close #77

How has this been tested?

HW: Raspberry Pi Mouse V3 + Raspberry Pi 4 Model B

  • 5.15.76-v7l+, Raspbian GNU/Linux 11 (bullseye)
  • 5.10.17-v7l+, Raspbian GNU/Linux 10 (buster)
  • 5.4.0-1047-raspi, Ubuntu 20.04.3 LTS
  • 5.15.0-1024-raspi, Ubuntu 22.04.2 LTS

Any other comments?

Checklists

@Tiryoh Tiryoh closed this Dec 8, 2022
@Tiryoh Tiryoh reopened this Dec 8, 2022
@Tiryoh Tiryoh added the Status: In Progress Work in Progress label Feb 10, 2023
@Tiryoh Tiryoh removed the Status: In Progress Work in Progress label Mar 31, 2023
@Tiryoh Tiryoh marked this pull request as ready for review March 31, 2023 06:06
Copy link
Contributor

@ShotaAk ShotaAk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rtmouse.cの変更OKです。
ubuntu server 22.04実機(5.15.0-1032-raspi)でサンプルが動作すること確認しました。

テストするカーネルバージョンの増減についても了解です。

@ShotaAk ShotaAk merged commit 4f0ebea into master Jun 26, 2023
@ShotaAk ShotaAk deleted the feature/support-kernel-5.12 branch June 26, 2023 10:29
@ShotaAk
Copy link
Contributor

ShotaAk commented Jun 26, 2023

23年5月にリリースされたRaspberry Pi OS (カーネルバージョン 6.1.21-v8)を試したら、
別のエラーが表示されたのでIssue立てました。

#79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error ‘struct spi_transfer’ has no member named ‘delay_usecs’ on Kernel > 5.12
2 participants