WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: USB-Sound not working in 13.0.3  (Read 1482 times)

Offline loti

  • Newbie
  • *
  • Posts: 3
USB-Sound not working in 13.0.3
« on: November 05, 2021, 04:43:35 AM »
Hi
When I connect a USB-Soundcard, following messages are in the Log (dmesg)

[1222993.701275] usb 1-1.3: new full-speed USB device number 6 using dwc_otg
[1222993.843249] usb 1-1.3: New USB device found, idVendor=0d8c, idProduct=0102, bcdDevice= 0.10
[1222993.843289] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[1222993.843311] usb 1-1.3: Product: USB Sound Device
[1222993.857092] input: USB Sound Device         as /devices/platform/soc/20980000.usb/usb1/1-1/1-1.3/1-1.3:1.3/0003:0D8C:0102.0002/input/                           input1
[1222993.922668] hid-generic 0003:0D8C:0102.0002: input,hidraw0: USB HID v1.00 Device [USB Sound Device        ] on usb-20980000.usb-1.3/i                           nput3
[1222994.113491] snd_usb_audio: Unknown symbol media_devnode_remove (err -2)
[1222994.114412] snd_usb_audio: Unknown symbol __media_device_register (err -2)
[1222994.114859] snd_usb_audio: Unknown symbol media_create_intf_link (err -2)
[1222994.114945] snd_usb_audio: Unknown symbol media_create_pad_link (err -2)
[1222994.115411] snd_usb_audio: Unknown symbol media_device_register_entity (err -2)
[1222994.116089] snd_usb_audio: Unknown symbol media_entity_pads_init (err -2)
[1222994.116440] snd_usb_audio: Unknown symbol media_remove_intf_link (err -2)
[1222994.116905] snd_usb_audio: Unknown symbol media_device_delete (err -2)
[1222994.117110] snd_usb_audio: Unknown symbol media_devnode_create (err -2)
[1222994.117297] snd_usb_audio: Unknown symbol media_device_unregister_entity (err -2)
[1222994.117569] snd_usb_audio: Unknown symbol media_device_usb_allocate (err -2)
[1222994.162464] snd_usb_audio: Unknown symbol media_devnode_remove (err -2)
[1222994.163328] snd_usb_audio: Unknown symbol __media_device_register (err -2)
[1222994.163820] snd_usb_audio: Unknown symbol media_create_intf_link (err -2)
[1222994.163910] snd_usb_audio: Unknown symbol media_create_pad_link (err -2)
[1222994.164334] snd_usb_audio: Unknown symbol media_device_register_entity (err -2)
[1222994.165086] snd_usb_audio: Unknown symbol media_entity_pads_init (err -2)
[1222994.165460] snd_usb_audio: Unknown symbol media_remove_intf_link (err -2)
[1222994.165921] snd_usb_audio: Unknown symbol media_device_delete (err -2)
[1222994.166125] snd_usb_audio: Unknown symbol media_devnode_create (err -2)
[1222994.166313] snd_usb_audio: Unknown symbol media_device_unregister_entity (err -2)
[1222994.166588] snd_usb_audio: Unknown symbol media_device_usb_allocate (err -2)

Version: 13.0.3
Linux XXXXX 5.10.16-piCore #1 Wed Feb 17 04:05:50 UTC 2021 armv6l GNU/Linux

Same Problem on a PI3

Thanks

Thanks


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14568
Re: USB-Sound not working in 13.0.3
« Reply #1 on: November 05, 2021, 04:59:09 AM »
Did you try loading the alsa-modules-KERNEL extension before plugging in the sound card?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14568
Re: USB-Sound not working in 13.0.3
« Reply #2 on: November 08, 2021, 08:27:29 AM »
replying for @loti

Alsa-modules are loaded (a hat with a DAC is working)
 
In Rel 12.x the "unkown" symbols  are defined in /lib/modules/5.4.51-piCore-v7/modules.symbols
in Rel 13.x all entries and the corresponding entries in modules.dep and modules.alias are not defined.

I hope this will help for the next release

Thanks

Offline breadbanana

  • Newbie
  • *
  • Posts: 6
Re: USB-Sound not working in 13.0.3
« Reply #3 on: November 11, 2021, 01:49:52 PM »
There is any workaround?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14568
Re: USB-Sound not working in 13.0.3
« Reply #4 on: November 11, 2021, 09:09:33 PM »
From this:
Code: [Select]
$ modinfo snd_usb_audio | grep depends
depends:        mc,snd-usbmidi-lib,snd-pcm,snd,snd-hwdep
$ modinfo mc
modinfo: module '/lib/modules/5.10.16-piCore-v7/mc' not found

You need mc.ko, found in http://tinycorelinux.net/13.x/armv7/releases/RPi/src/kernel/5.10.16-piCore-v7_modules.tar.xz

Offline loti

  • Newbie
  • *
  • Posts: 3
Re: USB-Sound not working in 13.0.3
« Reply #5 on: November 12, 2021, 03:17:37 AM »
Thanks for your help.

for another test, I installed ffmpeg and realized now, that mc.ko is installed via a dependency(v4l...).
this my be a workaround, but in my case, I don't need all the *dvb*-stuff


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14568
Re: USB-Sound not working in 13.0.3
« Reply #6 on: November 12, 2021, 06:52:34 AM »
You could modify your local copy of alsa-modules-KERNEL and add mc.ko to that.