29. Oktober 2016 21:28 Uhr, holger@dehnhardt.org schrieb:
- Oktober 2016 19:28 Uhr, "Clemens Ladisch" clemens@ladisch.de schrieb:
holger@dehnhardt.org wrote:
As the driver is loaded and gives no error while loading, is there a way to investigate, why no alsa device is shown?
Is there any message in the system log?
Yes:
Motu MidiTimePiece on parallel port irq: 10 ioport: 0xb010
That's all - not very verbose, or?
aplay -l shows
**** Liste der Hardware-Geräte (PLAYBACK) **** Karte 0: SB [HDA ATI SB], Gerät 0: ALC892 Analog [ALC892 Analog] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 0: SB [HDA ATI SB], Gerät 1: ALC892 Digital [ALC892 Digital] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 1: NVidia [HDA NVidia], Gerät 3: HDMI 0 [HDMI 0] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 1: NVidia [HDA NVidia], Gerät 7: HDMI 0 [HDMI 0] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 1: NVidia [HDA NVidia], Gerät 8: HDMI 0 [HDMI 0] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 1: NVidia [HDA NVidia], Gerät 9: HDMI 0 [HDMI 0] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0 Karte 2: M44 [M Audio Delta 44], Gerät 0: ICE1712 multi [ICE1712 multi] Sub-Geräte: 1/1 Sub-Gerät #0: subdevice #0
Holger _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
one more test:
I added a print statement to to __init function (see the code and arrow -> below). It initialises without error.
static int __init alsa_card_mtpav_init(void) { int err;
if ((err = platform_driver_register(&snd_mtpav_driver)) < 0) return err;
device = platform_device_register_simple(SND_MTPAV_DRIVER, -1, NULL, 0); if (!IS_ERR(device)) { if (platform_get_drvdata(device)){ -> printk(KERN_INFO "ALSA init ok\n"); return 0; } platform_device_unregister(device); err = -ENODEV; } else err = PTR_ERR(device); platform_driver_unregister(&snd_mtpav_driver); printk(KERN_INFO "ALSA init with return code %d\n", err); return err; }
Shouldn't I find the driver afterwards?