Bug 29642 - Parallel port not working when booting undocked and docking while running
Summary: Parallel port not working when booting undocked and docking while running
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: ACPI
Classification: Unclassified
Component: Config-Hotplug (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: acpi_config-hotplug
URL: http://www.spassets.com/forums/linux....
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-21 20:37 UTC by Simon Elsbrock
Modified: 2014-12-02 05:24 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.37-rc7-amd64
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Simon Elsbrock 2011-02-21 20:37:07 UTC
When booting my Thinkpad X61s undocked and (hot-)plugging it into the docking station ("Thinkpad X6 UltraBase") while running, the parallel port does not work.

Steps to Reproduce:
1) boot notebook without being docked
2) plug into docking station while running

Actual Results: /dev/lp0 does not exist
Expected Results: /dev/lp0 is created and can be used

Removing the parport and lp module and loading it again does not have any effect and `dmesg` says "[ 6977.586439] lp: driver loaded but no devices found" (no /dev/lpX device is created).

If the notebook was booted while being docked, everything works as expected and the device exists.

This problem also occurs using the stock 2.6.32 kernel from Debian squeeze.
Comment 1 Zhang Rui 2012-01-18 03:15:59 UTC
It's great that the kernel bugzilla is back.

Can you please verify if the problem still exists in the latest upstream kernel?
Comment 2 Simon Elsbrock 2012-02-10 14:09:29 UTC
Sorry for the late reply. Unfortunately I do not have the possibility to confirm that this bug still exists, because I have a newer device now that comes without parallel port. Are you asking because there were some actual changes in the codebase?
Comment 3 Zhang Rui 2012-02-13 04:53:36 UTC
No, I'm not an parallel port expert, I asked because I want to verify if the bug report is still active or not after filed for about 1 year.
so I'll close this bug for now as it can not be reproduced.
please feel free to re-open it once you can reproduce the problem again.
Comment 4 Jakob Haufe 2014-11-01 17:15:38 UTC
This bug still persists (3.16). Unfortunately, I can't reopen this bug (Bugzilla permissions?).

Some additional information:

Attaching the docking station before boot makes all devices available (serial port, parallel port, CD drive).

Attaching the docking station while the system is awake only make the CD drive show up. Reloading parport_pc with or without parameters does not make the port available.

Attaching the docking station while the system is in ACPI S3 allows for
reloading parport_pc with io=0x378, which makes the port work in polling mode.
I was, however, unsuccessful forcing an irq, i.e. the module loads but no IRQs ever occurr.

I will happily provide any debug output or ACPI stuff that's needed to fix this issue.
Comment 5 Zhang Rui 2014-11-03 01:03:38 UTC
bug reopened.
Please attach the acpidump output of your laptop.
Comment 6 Zhang Rui 2014-12-02 05:24:48 UTC
Bug closed because there is no response from the original bug reporter.

JaKob, if you'd like to have your problem fix, please file a new bug report, with your laptop model and acpidump output.

Note You need to log in before you can comment on or make changes to this bug.