0

I am writing parallel LED board driver, .ko is successfully generated.

I am facing this issue

[63722.594233] led: Unknown symbol parport_register_device (err 0)

[63722.594264] led: Unknown symbol parport_register_driver (err 0)

Marius
  • 15,148
  • 9
  • 56
  • 76
Usr1
  • 369
  • 1
  • 6
  • 15

1 Answers1

3

parport_register_device is exported in drivers/parport/share.c. So you have to load parport driver first (modprobe parport) and then your driver.

Alexander Dzyoba
  • 4,009
  • 1
  • 24
  • 29
  • I run command "modprobe parport" but i got error : FATAL: Module parport not found. – Usr1 Apr 09 '14 at 06:47
  • Then you have to find it and load it! Look for drivers in /lib/modules `find /lib/modules/$(uname -r) -name parport` Then try to load it by actual name with `modprobe` or `insmod`. – Alexander Dzyoba Apr 09 '14 at 07:00
  • What a simple solution after hours of desperation ;-) – FlKo Oct 20 '18 at 18:23