Skip to content

update for newer kernels #1

Description

@netpipe

modprobe dm2 --allow-unsupported
modprobe: ERROR: could not insert 'dm2': Key was rejected by service

after make install i got that message but it did install and is findable :)

line 751 edit

#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 16, 0)
// no need to kzalloc minivosc_device separately, if the sizeof is included here
if (snd_card_create(index, id, THIS_MODULE, 0, &card) < 0) {
printk("%s snd_card_create failed\n", FUNCTION);
return -ENOMEM;
}
#else
if (snd_card_new(index, dev, id, THIS_MODULE,0, &card) < 0) {
printk("%s snd_card_create failed\n", FUNCTION);
return -ENOMEM;
}
//ret = snd_card_new(&devptr->dev, index[dev], id[dev], THIS_MODULE,0, &card);
#endif

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions