Hi

Having the same problem.
I am doing the following steps (in detail here:
erich.nullo.de/?p=572#comment-178 ):

git clone *****github.com/panicking/snd-usb-asyncaudio.git
cd snb-usb-asyncaudio
make

"root@squeezeplug:/usr/src/snd-usb-asyncaudio# make
make -C /lib/modules/3.2.27+/build SUBDIRS=/usr/src/snd-usb-asyncaudio
modules
make[1]: Entering directory `/usr/src/raspberrypi-linux-ada8b44'
CC [M]  /usr/src/snd-usb-asyncaudio/chip.o
CC [M]  /usr/src/snd-usb-asyncaudio/pcm.o
/usr/src/snd-usb-asyncaudio/pcm.c:72:2: warning: initialization discards
�const� qualifier from pointer target type [enabled by default]
/usr/src/snd-usb-asyncaudio/pcm.c: In function �hiface_pcm_open�:
/usr/src/snd-usb-asyncaudio/pcm.c:382:8: warning: passing argument 4 of
�snd_pcm_hw_constraint_list� discards �const� qualifier from
pointer target type [enabled by default]
include/sound/pcm.h:805:5: note: expected �struct
snd_pcm_hw_constraint_list *� but argument is of type �const struct
snd_pcm_hw_constraint_list *�
LD [M]  /usr/src/snd-usb-asyncaudio/snd-usb-hiface.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: "snd_pcm_period_elapsed"
[/usr/src/snd-usb-asyncaudio/snd-usb-hiface.ko] undefined!
WARNING: "snd_card_create"
[/usr/src/snd-usb-asyncaudio/snd-usb-hiface.ko] undefined!
WARNING: "snd_card_disconnect"
[/usr/src/snd-usb-asyncaudio/snd-usb-hiface.ko] undefined!
WARNING: "snd_pcm_hw_constraint_list"
[/usr/src/snd-usb-asyncaudio/snd-usb-hiface.ko] undefined!
WARNING: "snd_pcm_set_ops"
[/usr/src/snd-usb-asyncaudio/snd-usb-hiface.ko] undefined!
WARNING: "snd_card_free_when_closed"
[/usr/src/snd-usb-asyncaudio/snd-usb-hiface.ko] undefined!
WARNING: "snd_pcm_lib_free_pages"
[/usr/src/snd-usb-asyncaudio/snd-usb-hiface.ko] undefined!
WARNING: "snd_pcm_lib_ioctl"
[/usr/src/snd-usb-asyncaudio/snd-usb-hiface.ko] undefined!
WARNING: "snd_pcm_lib_malloc_pages"
[/usr/src/snd-usb-asyncaudio/snd-usb-hiface.ko] undefined!
WARNING: "snd_pcm_stop" [/usr/src/snd-usb-asyncaudio/snd-usb-hiface.ko]
undefined!
WARNING: "snd_pcm_lib_preallocate_pages_for_all"
[/usr/src/snd-usb-asyncaudio/snd-usb-hiface.ko] undefined!
WARNING: "snd_card_free" [/usr/src/snd-usb-asyncaudio/snd-usb-hiface.ko]
undefined!
WARNING: "snd_card_register"
[/usr/src/snd-usb-asyncaudio/snd-usb-hiface.ko] undefined!
WARNING: "snd_pcm_new" [/usr/src/snd-usb-asyncaudio/snd-usb-hiface.ko]
undefined!
CC      /usr/src/snd-usb-asyncaudio/snd-usb-hiface.mod.o
LD [M]  /usr/src/snd-usb-asyncaudio/snd-usb-hiface.ko
make[1]: Leaving directory `/usr/src/raspberrypi-linux-ada8b44'
"


apt-get install sox

# the apt-get instructions seems to work without errors

insmod snd-usb-asyncaudio-3.2.27+.ko

# the insmod result in a "No Such File or Directory"
# so I took a look at what might be in the directory and did a "ls -l"
#
#
#
#
#
#root@squeezeplug:/usr/src/snd-usb-asyncaudio# ls -l
#total 116
#-rw-r--r-- 1 root root  8515 May 11 21:42 chip.c
#-rw-r--r-- 1 root root   938 May 11 21:42 chip.h
#-rw-r--r-- 1 root root  8076 May 11 21:42 chip.o
#-rw-r--r-- 1 root root   197 May 11 21:42 dkms.conf
#-rw-r--r-- 1 root root   230 May 11 21:42 Makefile
#-rw-r--r-- 1 root root    53 May 11 21:42 modules.order
#-rw-r--r-- 1 root root     0 May 11 21:42 Module.symvers
#-rw-r--r-- 1 root root 15578 May 11 21:42 pcm.c
#-rw-r--r-- 1 root root   776 May 11 21:42 pcm.h
#-rw-r--r-- 1 root root  7540 May 11 21:42 pcm.o
#-rw-r--r-- 1 root root 19206 May 11 21:43 snd-usb-hiface.ko
#-rw-r--r-- 1 root root  2985 May 11 21:42 snd-usb-hiface.mod.c
#-rw-r--r-- 1 root root  5672 May 11 21:43 snd-usb-hiface.mod.o
#-rw-r--r-- 1 root root 14278 May 11 21:42 snd-usb-hiface.o
#-rwxr-xr-x 1 root root   481 May 11 21:42 test-rates.sh
#
#
#
# So I change the insmod ... -> insmod snd-usb-asyncaudio.ko
#
# But it don't work either .... I guess something went wrong earlier on
causing the "snd-usb-asyncaudio-3.2.27+.ko" to be missing


# I guess its the make process that doesn't wotk out as it should,
unfortunately I cannot decipher the warnings being a Linux rookie :-S
# Any suggestions?

/Sorenb


------------------------------------------------------------------------
sorenb's Profile: http://forums.slimdevices.com/member.php?userid=59941
View this thread: http://forums.slimdevices.com/showthread.php?t=98679

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to