Are USB modules loading by priorities?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi guys

I just created my first USB driver using the usb-skeleton.c file!

The unfortunate thing is that the device is recognized as a CDC_ACM devices
and this driver can't function right with the protocol running on the
device :'(
Linux is Not wrong in this assumption but the protocol running on the
device is unfortunately really difficult to change so instead we've made
customized drivers for this purpose.
My only workaround right now is to rmmod the cdc_acm module, which makes my
driver come first, but this is just not a very stylish solution.

When I look inside the cdc-acm.c the vid and pid are not there.
I would really like the cdc_acm module to live side-by-side with my module

My question: *"Is it possible to add a USB module to the kernel that will
be prioritized to catch this device before the cdc_acm driver?"*

I though that Greg Kroah would be able to answer my question, but his
friendly email-bot redirected me here.

Another question: *"Might it be because there is a priority in where the
.ko file is located?"

--
Mvh
Dennis Hilmar
GPG Key fingerprint: CB3D D1B7 86BA D835 23D0  4752 B7AA 284E F70E 01AD
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux