Click here to Skip to main content
15,861,125 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
My platform is ubuntu 11.04 / iMx6. I would like to verify a printer. When I tried to install a USB Printer driver, usblp.ko with command: "insmod usblp.ko", I got response of

"insmod: error inserting 'usblp.ko': -1 Invalid parameters"

I found some discussions about similar phenomenon; such as "insmod: error inserting: xxxx: invalid parameters", ....
What's wrong with 'invalid parameters'? This driver is not from me, but from standard Linux open source. What can I do to work on it? Thanks.
Posted
Updated 20-Feb-21 20:26pm
Comments
Richard MacCutchan 8-Aug-14 8:42am    
Stan Huang 14-Oct-14 2:26am    
It doesn't work also.
Richard MacCutchan 14-Oct-14 3:07am    
What is that supposed to mean?
Stan Huang 15-Oct-14 1:48am    
It still failed to load that driver.
Richard MacCutchan 15-Oct-14 3:07am    
Then you need to go back to where you got the driver and ask the people who created it.

1 solution

There may be lots of causes for such bug. In my case, it happened several times and I worked out it by re-building the driver in the development environment where the underlying image was built. That is, the drivers must be built at the same development environment as the kernel image. A little update of kernel codes may cause the drivers built at development environment of old image not working.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900