Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: Ipoci on August 26, 2013, 02:53:33 PM
-
Hi team.
I need suggestions in order to make my USB>SPDIF converter working under TCL/DeadBeef installation. The converter is well known M2Tech EVO and works with Linux environment:
http://www.m2tech.biz/evo.html#driver
Linux installation procedure:
https://github.com/panicking/snd-usb-asyncaudio/wiki
How can I do the same with TCL ?
Thanks in advance. Max
-
I give it a go...
Following Juanito's advice from a previous thread, you need to DL and load (or "on Boot" if you prefer) the following extensions:
- compiletc
- linux-headers tinycore 3.0.21
- bash
- ncurses-dev
- perl5
Then, following wiki you posted, DL and load the following extension:
- git
Open Terminal:
$ git clone git://github.com/panicking/snd-usb-asyncaudio.git
$ cd snd-usb-asyncaudio
$ make
You can install the module or just run:
$ sudo insmod snd-usb-asyncaudio.ko
The very last command did not work. Perhaps because I do not have such audio card in my system, but everything is confirmed saved on USB pendrive.
Perhaps a moderator can confirm that the last command can be accepted by TCL.
You can try on your system. If it works, you should be able to have it installing at boot time.
-
Hi bibo01
$ sudo insmod snd-usb-asyncaudio.ko
I think modprobe is the preferred command.
-
Hi bibo01
$ sudo insmod snd-usb-asyncaudio.ko
I think modprobe is the preferred command.
After first running depmod -a
-
Something doesn't work during final command:
This seems OK
$ git clone git://github.com/panicking/snd-usb-asyncaudio.git
Cloning into 'snd-usb-asyncaudio'...
remote: Counting objects: 525, done.
remote: Compressing objects: 100% (184/184), done.
remote: Total 525 (delta 347), reused 519 (delta 341)
Receiving objects: 100% (525/525), 86.25 KiB, done.
Resolving deltas: 100% (347/347), done.[/size][/size]
This seems OK
tc@box:~$ cd snd-usb-asyncaudio
tc@box:~/snd-usb-asyncaudio$ make
make -C /lib/modules/3.0.21-tinycore/build SUBDIRS=/home/tc/snd-usb-asyncaudio modules
make[1]: Entering directory `/usr/local/src/linux-headers-3.0.21-tinycore'
CC [M] /home/tc/snd-usb-asyncaudio/chip.o
CC [M] /home/tc/snd-usb-asyncaudio/pcm.o
/home/tc/snd-usb-asyncaudio/pcm.c:72:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
/home/tc/snd-usb-asyncaudio/pcm.c: In function 'hiface_pcm_open':
/home/tc/snd-usb-asyncaudio/pcm.c:385:8: warning: passing argument 4 of 'snd_pcm_hw_constraint_list' discards 'const' qualifier from pointer target type [enabled by default]
/home/tc/snd-usb-asyncaudio/pcm.c:385: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:792:5: note: expected 'struct snd_pcm_hw_constraint_list *' but argument is of type 'const struct snd_pcm_hw_constraint_list *'
LD [M] /home/tc/snd-usb-asyncaudio/snd-usb-hiface.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/tc/snd-usb-asyncaudio/snd-usb-hiface.mod.o
LD [M] /home/tc/snd-usb-asyncaudio/snd-usb-hiface.ko
make[1]: Leaving directory `/usr/local/src/linux-headers-3.0.21-tinycore'
This NOT OK
$ sudo modprobe snd-usb-asyncaudio.ko
modprobe: module snd-usb-asyncaudio.ko not found in modules.dep
-
See Replies #1-3.
-
modprobe does not require the '.ko'.
-
Unfortunately same error with or without the .ko extension
Max
-
Did you do:
$ sudo depmod -a
$ sudo modprobe snd-usb-asyncaudio
-
First command good ...
$ sudo depmod -a
Then second part still have issues, I tried various files ...
tc@box:~/snd-usb-asyncaudio$ ls -l
total 100
-rw-r--r-- 1 tc staff 230 Aug 29 08:25 Makefile
-rw-r--r-- 1 tc staff 0 Aug 29 08:26 Module.symvers
-rw-r--r-- 1 tc staff 7765 Aug 29 08:25 chip.c
-rw-r--r-- 1 tc staff 815 Aug 29 08:25 chip.h
-rw-r--r-- 1 tc staff 6616 Aug 29 08:26 chip.o
-rw-r--r-- 1 tc staff 197 Aug 29 08:25 dkms.conf
-rw-r--r-- 1 tc staff 53 Aug 29 08:26 modules.order
-rw-r--r-- 1 tc staff 15226 Aug 29 08:25 pcm.c
-rw-r--r-- 1 tc staff 776 Aug 29 08:25 pcm.h
-rw-r--r-- 1 tc staff 6128 Aug 29 08:26 pcm.o
-rw-r--r-- 1 tc staff 13693 Aug 29 08:26 snd-usb-hiface.ko
-rw-r--r-- 1 tc staff 1373 Aug 29 08:26 snd-usb-hiface.mod.c
-rw-r--r-- 1 tc staff 2592 Aug 29 08:26 snd-usb-hiface.mod.o
-rw-r--r-- 1 tc staff 11729 Aug 29 08:26 snd-usb-hiface.o
-rwxr-xr-x 1 tc staff 481 Aug 29 08:25 test-rates.sh
tc@box:~/snd-usb-asyncaudio$
tc@box:~/snd-usb-asyncaudio$
tc@box:~/snd-usb-asyncaudio$ sudo modprobe snd-usb-asyncaudio
modprobe: module snd-usb-asyncaudio not found in modules.dep
tc@box:~/snd-usb-asyncaudio$
tc@box:~/snd-usb-asyncaudio$
tc@box:~/snd-usb-asyncaudio$ sudo modprobe snd-usb-asyncaudio.ko
modprobe: module snd-usb-asyncaudio.ko not found in modules.dep
tc@box:~/snd-usb-asyncaudio$
tc@box:~/snd-usb-asyncaudio$ sudo modprobe snd-usb-hiface
modprobe: module snd-usb-hiface not found in modules.dep
tc@box:~/snd-usb-asyncaudio$ sudo modprobe snd-usb-hiface.ko
modprobe: module snd-usb-hiface.ko not found in modules.dep
Max
-
cp the module (*.ko) to some path where other alsa modules (snd*.ko) reside before running depmod.
-
Hi Ipoci
tc@box:~/snd-usb-asyncaudio$ ls -l
total 100
-rw-r--r-- 1 tc staff 230 Aug 29 08:25 Makefile
-rw-r--r-- 1 tc staff 0 Aug 29 08:26 Module.symvers
-rw-r--r-- 1 tc staff 7765 Aug 29 08:25 chip.c
-rw-r--r-- 1 tc staff 815 Aug 29 08:25 chip.h
-rw-r--r-- 1 tc staff 6616 Aug 29 08:26 chip.o
-rw-r--r-- 1 tc staff 197 Aug 29 08:25 dkms.conf
-rw-r--r-- 1 tc staff 53 Aug 29 08:26 modules.order
-rw-r--r-- 1 tc staff 15226 Aug 29 08:25 pcm.c
-rw-r--r-- 1 tc staff 776 Aug 29 08:25 pcm.h
-rw-r--r-- 1 tc staff 6128 Aug 29 08:26 pcm.o
-rw-r--r-- 1 tc staff 13693 Aug 29 08:26 snd-usb-hiface.ko
-rw-r--r-- 1 tc staff 1373 Aug 29 08:26 snd-usb-hiface.mod.c
-rw-r--r-- 1 tc staff 2592 Aug 29 08:26 snd-usb-hiface.mod.o
-rw-r--r-- 1 tc staff 11729 Aug 29 08:26 snd-usb-hiface.o
-rwxr-xr-x 1 tc staff 481 Aug 29 08:25 test-rates.sh
I don't see anything called snd-usb-asyncaudio.ko in that list.
-
Yeah, last version of driver change filename to " snd-usb-hiface.ko " but as you can see from my previous post I also tried the right one without success... Driver developer just confirmed me the name ( thanks Michael ) ...
But due to the fact I'm a stubborn, I did the following steps:
- deleted the /home/tc/snd-usb-asyncaudio directory
- moved to root /
- did again the installation procedure using sudo in front of commands ( now directory is /snd-usb-asyncaudio )
- as final " /snd-usb-asyncaudio/sudo insmod snd-usb-hiface.ko "
And now works ... DeadBeef see Hiface and sounds ... :-)
Not sure if everything will remain as is after a reload but 1st step is definitely achieved !
Thanks for the moment. Max