VirtualBox: Could not claim parallel port

You try to run Oracle VirtualBox with a direct access to the parallel port at your Linux box, but it fails with the following error message:

Error: failed to start machine. Error message: Parallel#0 could not claim parallel port ‘/dev/parport0’Be sure that no other process or driver accesses this port (VERR_DEV_IO_ERROR).
Parallel device 0 cannot attach to host driver (VERR_DEV_IO_ERROR)

The main point: you have to unload the Linux kernel module lp, which is blocking access to the port, like this:

  • rmmod lp

 

P.S.

You might also either add your user to groups having file access permissions for the device or modifying the permissions to give access to more users.

Advertisements


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s