Odd error messages but works

 $ sudo python  metalJoy.py
Loading PicoBorg Reverse on bus 1, address 44
Found PicoBorg Reverse at 44
PicoBorg Reverse loaded on bus 1
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
Waiting for joystick... (press CTRL+C to abort)
Joystick found
Press CTRL+C to quit

Any ideas?
System is stock up to date Jessie on a Pi3 B. PS3 controler works fine, borg moves nicely.

piborg's picture

It seems like pygame is the one causing the strange errors.
Basically when initializing pygame it sets up all of its modules, that includes sound output.

This post explains a couple of possible causes:
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=8069

Subscribe to Comments for "Odd error messages but works"