Digigram sound card with Debian, anybody ?

Still new to all of this? Feel free to post in any of the subforums on this site, but in this subforum newbie questions are especially encouraged!

Moderators: khz, MattKingUSA

Linaud
Established Member
Posts: 6
Joined: Sat May 25, 2019 10:03 am

Digigram sound card with Debian, anybody ?

Postby Linaud » Sat May 25, 2019 10:40 am

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.

User avatar
khz
Established Member
Posts: 1088
Joined: Thu Apr 17, 2008 6:29 am
Location: German

Re: Digigram sound card with Debian, anybody ?

Postby khz » Sat May 25, 2019 1:50 pm

Welcome. :-)
Linaud wrote:I could copy and paste the text from terminal window here if anybody is interested to take see what is wrong.

That's the good thing about Linux, the direct terminal output. Do it.
FZ - Does humor belongs in Music?
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.

Linaud
Established Member
Posts: 6
Joined: Sat May 25, 2019 10:03 am

Re: Digigram sound card with Debian, anybody ?

Postby Linaud » Sat May 25, 2019 2:34 pm

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#

Linaud
Established Member
Posts: 6
Joined: Sat May 25, 2019 10:03 am

Re: Digigram sound card with Debian, anybody ?

Postby Linaud » Sat May 25, 2019 5:02 pm

khz wrote:Welcome. :-)
Linaud wrote:I could copy and paste the text from terminal window here if anybody is interested to take see what is wrong.

That's the good thing about Linux, the direct terminal output. Do it.


Thanks for the " Welcome" :D , is it possible to test the driver if it is properly made? I mean with some scripts or something?

Drumfix
Established Member
Posts: 229
Joined: Mon Jan 26, 2009 5:15 pm

Re: Digigram sound card with Debian, anybody ?

Postby Drumfix » Sat May 25, 2019 6:00 pm

First of all make sure your kernel-headers are installed.
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

Linaud
Established Member
Posts: 6
Joined: Sat May 25, 2019 10:03 am

Re: Digigram sound card with Debian, anybody ?

Postby Linaud » Sat May 25, 2019 7:10 pm

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#

Linaud
Established Member
Posts: 6
Joined: Sat May 25, 2019 10:03 am

Re: Digigram sound card with Debian, anybody ?

Postby Linaud » Sat May 25, 2019 7:42 pm

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.

Drumfix
Established Member
Posts: 229
Joined: Mon Jan 26, 2009 5:15 pm

Re: Digigram sound card with Debian, anybody ?

Postby Drumfix » Mon May 27, 2019 5:40 am

4.9.0-4-amd64 != 4.9.0-9-amd64

Btw, if you compile a module for the currently running kernel, then

Code: Select all

make


is enough.

Linaud
Established Member
Posts: 6
Joined: Sat May 25, 2019 10:03 am

SOLVED: Re: Digigram sound card with Debian, anybody ?

Postby Linaud » Wed Jun 12, 2019 6:13 pm

:D It is working. everything is fine and OK.
I had to reinstall the headers then reboot and then compile and make the driver again.


Return to “Newbies”

Who is online

Users browsing this forum: No registered users and 1 guest