Hello!
Wondering if anybody here using Digigram sound cards.
I have Digigram LX-MADI in my PC with Debian and there is a driver to get from github, but one have to compile ,make ,and do it manually.
Errors ..and troubles. When I type "make" and hit enter it can not find the right directory.
Doing exactly as it says in the PDF file but no luck.
Anybody having the same trouble?
Coming from the Windows world , only using Linux for Web and mail, this is very frustrating.
Would love to use Linux for music making and leave Windows totally.
I think I have to contact Digigram but if the driver is OK then it is all about me how to get it to work.
I could copy and paste the text from terminal window here if anybody is interested to take see what is wrong.
But for now I leave it as it is, have to analyze and investigate about this problem.
Digigram sound card with Debian, anybody ?
Moderators: MattKingUSA, khz
- khz
- Established Member
- Posts: 1648
- Joined: Thu Apr 17, 2008 6:29 am
- Location: German
- Has thanked: 42 times
- Been thanked: 92 times
Re: Digigram sound card with Debian, anybody ?
Welcome.
That's the good thing about Linux, the direct terminal output. Do it.Linaud wrote:I could copy and paste the text from terminal window here if anybody is interested to take see what is wrong.
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
- I don't care about the freedom of speech because I have nothing to say.
Re: Digigram sound card with Debian, anybody ?
OK! here we go again...this is how it looks like.
Doing as it says in the pdf-file for the driver.
root@LINAUD:/home/goran# git clone https://github.com/Digigram-audio/Alsa.git
Cloning into 'Alsa'...
remote: Enumerating objects: 561, done.
remote: Total 561 (delta 0), reused 0 (delta 0), pack-reused 561
Receiving objects: 100% (561/561), 906.29 KiB | 529.00 KiB/s, done.
Resolving deltas: 100% (322/322), done.
root@LINAUD:/home/goran# cd Alsa
root@LINAUD:/home/goran/Alsa# git checkout v3.0.7
Note: checking out 'v3.0.7'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at c2966cf... UPD for debian non rt kernel
root@LINAUD:/home/goran/Alsa# cd LX
root@LINAUD:/home/goran/Alsa/LX# make
make -C /lib/modules/4.9.0-9-amd64/build M=/home/goran/Alsa/LX clean
make[1]: *** /lib/modules/4.9.0-9-amd64/build: No such file or directory. Stop.
Makefile:39: recipe for target 'clean' failed
make: *** [clean] Error 2
root@LINAUD:/home/goran/Alsa/LX#
Doing as it says in the pdf-file for the driver.
root@LINAUD:/home/goran# git clone https://github.com/Digigram-audio/Alsa.git
Cloning into 'Alsa'...
remote: Enumerating objects: 561, done.
remote: Total 561 (delta 0), reused 0 (delta 0), pack-reused 561
Receiving objects: 100% (561/561), 906.29 KiB | 529.00 KiB/s, done.
Resolving deltas: 100% (322/322), done.
root@LINAUD:/home/goran# cd Alsa
root@LINAUD:/home/goran/Alsa# git checkout v3.0.7
Note: checking out 'v3.0.7'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at c2966cf... UPD for debian non rt kernel
root@LINAUD:/home/goran/Alsa# cd LX
root@LINAUD:/home/goran/Alsa/LX# make
make -C /lib/modules/4.9.0-9-amd64/build M=/home/goran/Alsa/LX clean
make[1]: *** /lib/modules/4.9.0-9-amd64/build: No such file or directory. Stop.
Makefile:39: recipe for target 'clean' failed
make: *** [clean] Error 2
root@LINAUD:/home/goran/Alsa/LX#
Re: Digigram sound card with Debian, anybody ?
Thanks for the " Welcome" , is it possible to test the driver if it is properly made? I mean with some scripts or something?khz wrote:Welcome.That's the good thing about Linux, the direct terminal output. Do it.Linaud wrote:I could copy and paste the text from terminal window here if anybody is interested to take see what is wrong.
Re: Digigram sound card with Debian, anybody ?
First of all make sure your kernel-headers are installed.
Then:
Then:
Code: Select all
git clone https://github.com/Digigram-audio/Alsa.git
cd Alsa
git checkout v3.0.7
cd LX
Add following 3 lines to the file "lxcommon.h":
#define PCI_SUBDEVICE_ID_DIGIGRAM_LXMADI_SUBSYSTEM 0xca21
#define PCI_SUBDEVICE_ID_DIGIGRAM_LXIP_SUBSYSTEM 0xc821
#define PCI_SUBDEVICE_ID_DIGIGRAM_LXIP_MADI_SUBSYSTEM 0xcc21
make
sudo make install
Re: Digigram sound card with Debian, anybody ?
Before I did anything I installed a few things....build-essential, linux-headers.
Added those same 3 lines to linux-headers-common/include/linux/pci_ids.h as it says in the pdf-file.
OK!..I added the 3 lines, and now it is as this:
root@LINAUD:/home/goran# git clone https://github.com/Digigram-audio/Alsa.git
fatal: destination path 'Alsa' already exists and is not an empty directory.
root@LINAUD:/home/goran# cd Alsa
root@LINAUD:/home/goran/Alsa# git checkout v3.0.7
M LX/lxcommon.h
HEAD is now at c2966cf... UPD for debian non rt kernel
root@LINAUD:/home/goran/Alsa# cd LX
root@LINAUD:/home/goran/Alsa/LX# make
make -C /lib/modules/4.9.0-9-amd64/build M=/home/goran/Alsa/LX clean
make[1]: *** /lib/modules/4.9.0-9-amd64/build: No such file or directory. Stop.
Makefile:39: recipe for target 'clean' failed
make: *** [clean] Error 2
root@LINAUD:/home/goran/Alsa/LX#
Added those same 3 lines to linux-headers-common/include/linux/pci_ids.h as it says in the pdf-file.
OK!..I added the 3 lines, and now it is as this:
root@LINAUD:/home/goran# git clone https://github.com/Digigram-audio/Alsa.git
fatal: destination path 'Alsa' already exists and is not an empty directory.
root@LINAUD:/home/goran# cd Alsa
root@LINAUD:/home/goran/Alsa# git checkout v3.0.7
M LX/lxcommon.h
HEAD is now at c2966cf... UPD for debian non rt kernel
root@LINAUD:/home/goran/Alsa# cd LX
root@LINAUD:/home/goran/Alsa/LX# make
make -C /lib/modules/4.9.0-9-amd64/build M=/home/goran/Alsa/LX clean
make[1]: *** /lib/modules/4.9.0-9-amd64/build: No such file or directory. Stop.
Makefile:39: recipe for target 'clean' failed
make: *** [clean] Error 2
root@LINAUD:/home/goran/Alsa/LX#
Re: Digigram sound card with Debian, anybody ?
In lib/modules/4.9.0-4-amd64/ there is an "build" link to linux-headers-4.9.0-4-amd64
and a "source" link to linux-headers-4.9.0-4-common
wonder if that is OK ?
and terminal says no such file or directory.
make[1]: *** /lib/modules/4.9.0-9-amd64/build: No such file or directory. Stop.
and a "source" link to linux-headers-4.9.0-4-common
wonder if that is OK ?
and terminal says no such file or directory.
make[1]: *** /lib/modules/4.9.0-9-amd64/build: No such file or directory. Stop.
Re: Digigram sound card with Debian, anybody ?
4.9.0-4-amd64 != 4.9.0-9-amd64
Btw, if you compile a module for the currently running kernel, then
is enough.
Btw, if you compile a module for the currently running kernel, then
Code: Select all
make
SOLVED: Re: Digigram sound card with Debian, anybody ?
It is working. everything is fine and OK.
I had to reinstall the headers then reboot and then compile and make the driver again.
I had to reinstall the headers then reboot and then compile and make the driver again.