| |

VerySource

 Forgot password?
 Register
Search
View: 977|Reply: 1

How to prevent the parport and parport_pc modules from being loaded when Linux starts?

[Copy link]

1

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Invalid IP Address

Post time: 2020-10-17 13:00:01
| Show all posts |Read mode
I was running the parallel port driver short in Chapter 9 of "Linux Device Drivers", and found that the I/O port number 0x378 of the parallel port was used by the parport and parport_pc modules.

Apart from reconfiguring the kernel for kernel upgrade, how can I prevent the parport and parport_pc modules from being automatically loaded when Linux starts?
Reply

Use magic Report

1

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Invalid IP Address

 Author| Post time: 2020-10-17 18:45:01
| Show all posts
I found a way:

    In the process of system startup, it will prompt "Welcome to Fedora Core" and "Press ‘I’ to enter interactive startup". At this time, press the "I" key and select "NO" for all interactive options.

    Therefore, the I/O port number 0x378-0x37a and the interrupt number 7 are not used! So you can load the short and shortprint modules.

    Note: The premise of this method is to select "M" for Parallel port support when editing the kernel (but this is the default!)
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list