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

an error occurs during installation... #3

Closed
DmitrySV77 opened this issue May 19, 2019 · 27 comments
Closed

an error occurs during installation... #3

DmitrySV77 opened this issue May 19, 2019 · 27 comments

Comments

@DmitrySV77
Copy link

Building module:
cleaning build area.....
make -j1 KERNELRELEASE=4.19.42+ -C /lib/modules/4.19.42+/build M=/var/lib/dkms/wm8960-soundcard/1.0/build..........(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.19.42+ (armv6l)
Consult /var/lib/dkms/wm8960-soundcard/1.0/build/make.log for more information.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area.....
make -j1 KERNELRELEASE=4.19.42-v7+ -C /lib/modules/4.19.42-v7+/build M=/var/lib/dkms/wm8960-soundcard/1.0/build........(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.19.42-v7+ (armv6l)
Consult /var/lib/dkms/wm8960-soundcard/1.0/build/make.log for more information.
Created symlink /etc/systemd/system/sysinit.target.wants/wm8960-soundcard.service → /lib/systemd/system/wm8960-soundcard.service.

@DmitrySV77
Copy link
Author

pi@raspberrypi:~/WM8960-Audio-HAT $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

@ed74
Copy link

ed74 commented May 19, 2019

I also met this problem.

Attached /var/lib/dkms/wm8960-soundcard/1.0/build/make.log
make.log

Environment:
Raspberry Pi Zero W
Raspbian: April 2019

@hnwangkg-ezio
Copy link

This may be caused by the latest system of the Raspberry Pi.

@DmitrySV77
Copy link
Author

OK, what image raspbian do I need to put in order for the wm8960 module to work?

@hnwangkg-ezio
Copy link

just for now:2018-11-13-raspbian-stretch-lite

@ed74
Copy link

ed74 commented May 21, 2019

@hnwangkg-ezio

just for now:2018-11-13-raspbian-stretch-lite
https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2018-11-15/

it doesn't work
the kernel was updated to 4.19.42-v7+ during install (install.sh)

@vaghawan
Copy link

HI any update on this? Facing the same issue with my PI 3B with rasbian strech "Raspbian GNU/Linux 9 (stretch)".

@819428900
Copy link

use this https://github.com/respeaker/seeed-voicecard

@vaghawan
Copy link

Did that, it installs fine and the the device is shown, however the device doesn't work, neither the arecord, nor the aplay.

@819428900
Copy link

The 2019-04-08-raspbian-stretch-lite I installed with the zero w, works fine.

@vaghawan
Copy link

HI @819428900 it worked. But I had to reboot Pi multiple times. Thank you for the help.

@DmitrySV77
Copy link
Author

you did update and upgrade?

@vaghawan
Copy link

No, I didn't. At least not the upgrade.

@DmitrySV77
Copy link
Author

but without it, get does not work ....

@DmitrySV77
Copy link
Author

Sorry. git

@vaghawan
Copy link

I didn't fully understand you, I didn't use this repo, I rather used the repo of seeed-voicecard. Their installation worked after few boots. I used the Rasbian Stretch "2018-11-13-raspbian-stretch-full.img" downloaded from the rasbian.org in my PI 3B+.

@DmitrySV77
Copy link
Author

git clone https://github.com/respeaker/seeed-voicecard
Command not found

@819428900
Copy link

sudo apt-get install git

@DmitrySV77
Copy link
Author

thank! a sound has appeared. Now I am trying to finish the pi-radio project ..... I installed the program, but there is no sound there ....

@hnwangkg-ezio
Copy link

now,fix it

@ed74
Copy link

ed74 commented May 24, 2019

@hnwangkg-ezio
It works! Thanks!

I tried to clean install 2019-04-08-raspbian-stretch-lite.img on Pi Zero W.
Driver build under 4.19.42+ and 4.19.42-v7+ kernel.

Double check device list

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: wm8960soundcard [wm8960-soundcard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 1: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: wm8960soundcard [wm8960-soundcard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

@hnwangkg-ezio
Copy link

This seems to be working.

@LiJu09
Copy link

LiJu09 commented Jun 5, 2019

@hnwangkg-ezio
It works! Thanks!

I tried to clean install 2019-04-08-raspbian-stretch-lite.img on Pi Zero W.
Driver build under 4.19.42+ and 4.19.42-v7+ kernel.

Double check device list

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: wm8960soundcard [wm8960-soundcard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 1: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: wm8960soundcard [wm8960-soundcard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I try the same
Not work for me

EDIT0:
After at least 5 times install, reinstall, reboot.... once system reinstall, it finaly works

EDIT1:
Today raspberry booted up and Soundcard not found
please help 😢 😢

pi@raspberrypi:~ $ sudo dkms status
wm8960-soundcard, 1.0, 4.19.42+, armv6l: installed
wm8960-soundcard, 1.0, 4.19.42-v7+, armv6l: installed
pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/7
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
pi@raspberrypi:~ $

EDIT2:
Reinstall system to latest version, install drive for wm8960-soundcard and it magically works.
No error as first time. I not understand why it not work first time 😠 and second time when I make same thing it works 😕 😕

@iTommix
Copy link

iTommix commented Jun 18, 2020

For newer Kernel (in my case 4.19.66-v7+) you have to link the new Kernel-Sourcen to the installer expected 4.14.98-v7+ (i dont know why the installer expect these):

sudo ln -s /lib/modules/4.19.66-v7+ /lib/modules/4.14.98-v7+
or
sudo ln -s /lib/modules/$(uname -r) /lib/modules/4.14.98-v7+

then execute the install.sh

This worked for me.

@Daveolw
Copy link

Daveolw commented Sep 26, 2020

Hi,
Facing the same issue with my PI 3B with rasbian strech "Raspbian GNU/Linux 9 (stretch)
Purchased WM8960 sound card but cannot get it working, Error! Bad return status for module build on kernel: 4.19.66-v7+ (armv7l)
End of Log file shown.
log.txt

Tried above suggestions but cannot git it to install.
Any ideas?

@Daveolw
Copy link

Daveolw commented Sep 26, 2020

Did a complete reinstall of Raspbian GNU/Linux 9 (stretch), WM8960 install, even more errors, How to solve this?
File of setup and log of errors.
newinstall.txt

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

No branches or pull requests

8 participants