View previous topic :: View next topic |
Author |
Message |
frddbbbl Tux's lil' helper
Joined: 16 Jun 2019 Posts: 98
|
Posted: Wed Mar 31, 2021 6:32 pm Post subject: alsa not recognizing usb soundcard |
|
|
Hi, i've been trying to connect my focusrite soundcard to my laptop. i have made sure the usb audio module is enabled in the kernel but the soundcard doesnt show up in alsamixer or audacity. The device shows up in dmesg:
Code: |
[ 2693.602753] usb 1-1: new high-speed USB device number 5 using ehci-pci
[ 2693.733695] usb 1-1: New USB device found, idVendor=1235, idProduct=8202, bcdDevice= 4.1b
[ 2693.733700] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[ 2693.733703] usb 1-1: Product: Scarlett 2i2 USB
[ 2693.733706] usb 1-1: Manufacturer: Focusrite
|
I'm very new to using linux for anything audio based so i may just be missing something simple?
Any help appriciated,
Freddie. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Wed Mar 31, 2021 6:51 pm Post subject: |
|
|
frddbbbl,
What does
Code: | $ grep USB_AUDIO /usr/src/linux/.config
CONFIG_SND_USB_AUDIO=m
# CONFIG_/ is not set | show for you?
You probably want the first one. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
frddbbbl Tux's lil' helper
Joined: 16 Jun 2019 Posts: 98
|
Posted: Wed Mar 31, 2021 7:01 pm Post subject: |
|
|
NeddySeagoon wrote: | frddbbbl,
What does
Code: | $ grep USB_AUDIO /usr/src/linux/.config
CONFIG_SND_USB_AUDIO=m
# CONFIG_/ is not set | show for you?
You probably want the first one. |
It shows Code: | CONFIG_SND_USB_AUDIO=m
|
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Wed Mar 31, 2021 7:43 pm Post subject: |
|
|
frddbbbl,
Good.
Does lsmod show snd_usb_audio loaded?
Hmm ... Searching for your Vendor ID, idVendor=1235 gives
Code: | $ modinfo snd_usb_audio | grep v1235
alias: usb:v1235p4661d*dc*dsc*dp*icFFisc*ip*in*
alias: usb:v1235p0018d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v1235p0010d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v1235p000Ed*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v1235p000Ad*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v1235p0002d*dc*dsc*dp*icFFisc*ip*in*
alias: usb:v1235p0001d*dc*dsc*dp*icFFisc*ip*in*
|
Your Product ID, idProduct=8202 is not there.
It would be v1235p8202 ...
modinfo also tells
Code: | parm: vid:Vendor ID for the USB audio device. (array of int)
parm: pid:Product ID for the USB audio device. (array of int) |
If snd-usb-audio is loaded, Code: | modprobe -r snd_usb_audio | to remove it.
We need to tell it about your device.
Code: | modprobe snd-usb-audio vid=0x1235 pid=0x8202 |
Now snd-usb-audio will bind to your Scarlett 2i2. Test that.
You will have another audio card. It will show up in /dev/snd anda alsamixer.
If it works, the next step in to make module loading use modprobe snd-usb-audio vid=0x1235 pid=0x8202 every time. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
frddbbbl Tux's lil' helper
Joined: 16 Jun 2019 Posts: 98
|
Posted: Wed Mar 31, 2021 9:44 pm Post subject: |
|
|
Hi thanks, the module isn't loaded.
when i try Code: | modprobe snd-usb-audio vid=0x1235 pid=0x8202
|
it returns Code: | modprobe: FATAL: Module snd-usb-audio not found in directory /lib/modules/5.4.60-gentoo |
I'm not sure if 5.4.60 is reffering to my kernel version? eselect list kernel shows i am on 5.4.97, which i configured for usb audio and make installed before i posted on here. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Wed Mar 31, 2021 10:24 pm Post subject: |
|
|
frddbbbl,
5.4.60-gentoo is the kernel that you are booting. It need not be the kernel that eselect points to.
What does show?
What about mount /boot
Code: | mount /boot
ls -l /boot | post that too.
Lastly, put the content of /boot/grub/grub.cfg onto a pastebin site please.
All of that will allow us trace what happened to your 5.4.97 kernel.
For the avoidance of doubt, tells about the running kernel.
Code: | uname -a
Linux NeddySeagoon_Static 5.11.2-gentoo #2 SMP PREEMPT Fri Mar 5 10:13:14 GMT 2021 x86_64 AMD Phenom(tm) II X6 1090T Processor AuthenticAMD GNU/Linu |
Fri Mar 5 10:13:14 GMT 2021 is the build date and time. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
frddbbbl Tux's lil' helper
Joined: 16 Jun 2019 Posts: 98
|
Posted: Thu Apr 01, 2021 9:40 am Post subject: |
|
|
Hi thanks, i made the stupid mistake of not doing grub-mkconfig after my make install . I've now done modprobe snd-usb-audio vid=0x1235 pid=0x8202
and the focusrite shows up in alsamixer and audacity! the only issue is that it is being treated as one stero channel, i cannot choose between the two inputs on the soundcard.
Cheers,
Freddie |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Thu Apr 01, 2021 2:46 pm Post subject: |
|
|
frddbbbl,
That may be more module parameters.
Google says it works properly, but not how. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|