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

I-Sabre-K2M driver does not compile #2867

Closed
moatazsalemVF opened this issue May 28, 2019 · 2 comments
Closed

I-Sabre-K2M driver does not compile #2867

moatazsalemVF opened this issue May 28, 2019 · 2 comments
Labels
Known Issue 🐛 Solution available 🥂 Definite solution has been done
Milestone

Comments

@moatazsalemVF
Copy link

moatazsalemVF commented May 28, 2019

Hello,

after installing and upgrading to v6.24.1 I-Sabre-K2M driver does not compile with error

DietPi-Set_hardware: make CC=gcc-4.9

  • Exit code: 2
  • DietPi version: v6.24.1 (MichaIng/master) | HW_MODEL:3 | HW_ARCH:2 | DISTRO:4
  • Image creator: DietPi Core Team
  • Pre-image: Raspbian Lite

Log file contents:
^
/tmp/DietPi-Set_hardware/i-sabre-k2m_build/i-sabre-codec.c:200:16: error:
dereferencing pointer to incomplete type
dev_err(codec->dev, "Bad frame size: %d
",
^
./include/linux/device.h:1442:11: note: in definition of macro ‘dev_err’
_dev_err(dev, dev_fmt(fmt), ##VA_ARGS)

─────────────────────────────────────────────────────
DietPi v6.24.1 : 20:43 - Tue 28/05/19
─────────────────────────────────────────────────────

  • Device model : RPi 3 Model B+ (armv7l)
@MichaIng MichaIng added Known Issue 🐛 Workaround available 🆗 Workaround is available/has been implemented, but a definite solution should be found when possible. labels May 28, 2019
@MichaIng MichaIng added this to the v6.25 milestone May 28, 2019
@MichaIng
Copy link
Owner

MichaIng commented May 28, 2019

@moatazsalemVF
Many thanks for your report.

I-Sabre-K2M has been implemented into the new kernel v4.19. The previously required custom dtoverlay build fails.

Simply run from console:

dtoverlay i-sabre-q2m
echo 'dtoverlay=i-sabre-q2m' >> /DietPi/config.txt

And you should be able to select this sound card from media players, respectively it is used automatically by ALSA.

Will be implemented correctly with v6.25. Until then, avoid using dietpi-config sound card selection for this DAC.

@moatazsalemVF
Copy link
Author

Many thanks @MichaIng

i will be waiting...impatiently :)

@MichaIng MichaIng added Solution available 🥂 Definite solution has been done and removed Workaround available 🆗 Workaround is available/has been implemented, but a definite solution should be found when possible. labels Mar 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Known Issue 🐛 Solution available 🥂 Definite solution has been done
Projects
None yet
Development

No branches or pull requests

2 participants