USB driver not registering the device
I'm running Ubuntu 14.04 LTS and I'm trying to write a basic usb driver. My init function is here:
Code:
static int __init usb_init(void) Code:
Apr 25 23:00:35 jamesPC kernel: [14279.134566][*] Stick Driver constructor Can anyone help explain why it doesn't output the second printk?? I originally had only the second printk, but just for the heck of it decided to add the first one, and it printed, to my confusion. If I remove any USB device from my computer, it will then print out the second printk in dmesg, but only if I remove a usb device. I don't know what is causing that, or maybe is that normal? |
Have you checked the output of dmesg?
|
Sorry, I don't understand what you mean. I output dmesg in the post.
|
All times are GMT -5. The time now is 08:14 PM. |