pcan_usb_plugin() function is not getting called !!
Posted: Fri 11. Sep 2020, 12:07
I use peak-linux-driver-8.10.2.
I came across function
I wonder from where this function is getting called.
I inserted some printk statements in this functions.
But the function start itself not getting called.
I thought below will be the function flow when insmod command is given :
Till the flow is proper. After that is not getting called.
Wondeing why ?
My assumption in function flow is wrong ?
Please guide..
I came across function
Code: Select all
pcan_usb_plugin()
I inserted some printk statements in this functions.
But the function start itself not getting called.
I thought below will be the function flow when insmod command is given :
Code: Select all
insmod pcan.ko
init_module
pcan_usb_register_devices
pcan_usb_core_init
pcan_usb_plugin
pcan_usb_create_dev
pcan_sysfs_dev_node_create_ex
device_create_drvdata
device_create
Code: Select all
pcan_usb_core_init()
Code: Select all
pcan_usb_plugin()
Wondeing why ?
My assumption in function flow is wrong ?
Please guide..