Bug 527782

Summary: radeon [RS200 4337]Monitor and mouse attached to port replicator do not work (HP Evo N1020v)
Product: [openSUSE] openSUSE 11.1 Reporter: Jeff Berntsen <jeffb>
Component: X.OrgAssignee: E-mail List <xorg-maintainer-bugs>
Status: RESOLVED WONTFIX QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Major    
Priority: P3 - Medium CC: jeffb, sndirsch
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: output of hwinfo --gfx
output of hwinfo --monitor
output of xrandr
Xorg log file
output of rpm --changelog commands
xorg.conf produced by SaX2 as described
Xorg.0.log file when run using attached xorg.conf file while in docking station

Description Jeff Berntsen 2009-08-03 22:41:24 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090714 SUSE/3.5.1-2.1 Firefox/3.5.1

HP Evo N1020v laptop attached to port replicator will not operate mouse or monitor attached to the replicator.  Laptop's LCD, keyboard, and trackpad always work correctly.  Monitor attached to replicator starts out working but always goes into DPMS shutdown as soon as graphic login prompt is displayed.  PS/2 mouse attached to replicator does not work at all.  PS/2 Keyboard attached to replicator works correctly.  Attempts to start laptop with lid closed or open make no difference in symptoms.  Attempts to set video driver for either single head mode or dual head mode with primary display displayed to all devices make no difference in symptoms.  This worked correctly in 10.3 but does not in 11.1


Reproducible: Always

Steps to Reproduce:
1. Connect laptop to port replicator with attached monitor, mouse, keyboard
2. Boot up laptop
3. Wait for desktop manager graphic login prompt
4. Watch attached monitor go blank
5. Swear (a lot... :)
Actual Results:  
Attached monitor goes blank.  Attached mouse does not work.

Expected Results:  
Should see duplicate contents on laptop's LCD and attached monitor.  Attached mouse should work.
Comment 1 Stefan Dirsch 2009-08-04 01:21:32 UTC
Would it be possible to provide the required information according
to our HOWTO

  http://en.opensuse.org/Bugs:X

for reporting X11 related bugs? Please set the Status back to
ASSIGNED after providing all the required information. Thanks.
Comment 2 Jeff Berntsen 2009-08-04 02:16:04 UTC
Created attachment 310135 [details]
output of hwinfo --gfx
Comment 3 Jeff Berntsen 2009-08-04 02:16:41 UTC
Created attachment 310136 [details]
output of hwinfo --monitor
Comment 4 Jeff Berntsen 2009-08-04 02:17:21 UTC
Created attachment 310137 [details]
output of xrandr
Comment 5 Jeff Berntsen 2009-08-04 02:17:56 UTC
Created attachment 310138 [details]
Xorg log file
Comment 6 Jeff Berntsen 2009-08-04 02:18:34 UTC
Created attachment 310139 [details]
output of rpm --changelog commands
Comment 7 Stefan Dirsch 2009-08-04 21:22:33 UTC
xorg.conf and Xorg.0.log for mirror mode is apparently still missing here.
Comment 8 Stefan Dirsch 2009-08-04 21:22:51 UTC
NEEDINFO
Comment 9 Jeff Berntsen 2009-08-05 02:33:54 UTC
Card and monitor were configured via YaST and SaX2.  In SaX2, the "Activate Dual Head Mode" check box is checked.  In the Dual Head Mode configuration, the second monitor is set as VESA1024x768@60HZ using resolution 1024x768 (XGA) and the Dual Head Mode is set for "Cloned Multihead"

From what you're saying it sounds like SaX2 didn't set up that configuration in xorg.conf.  Do you have any suggestions on any other settings I should configure (such as settings options for the ATI RS200 itself) or what I should do to get the SaX2 configuration settings to be applied to the xorg.conf file?  Should I try to make configuration changes directly in the xorg.conf file and, if so, what should I change?
Comment 10 Stefan Dirsch 2009-08-05 04:59:35 UTC
I asked you to attach xorg.conf and Xorg.0.log for this dual head mode (cloned) configuration. I need the logfile when the laptop is attached to the port replicator.
Comment 11 Jeff Berntsen 2009-08-05 05:25:03 UTC
Created attachment 310535 [details]
xorg.conf produced by SaX2 as described
Comment 12 Jeff Berntsen 2009-08-05 05:31:15 UTC
Created attachment 310536 [details]
Xorg.0.log file when run using attached xorg.conf file while in docking station
Comment 13 Stefan Dirsch 2009-08-05 05:43:14 UTC
Only the internal panel (LVDS) is detected, your external monitor is not.

(II) RADEON(0): Output: S-video, Detected Monitor Type: 0
(II) RADEON(0): Output VGA-0 disconnected
(II) RADEON(0): Output LVDS connected
(II) RADEON(0): Output S-video disconnected
(II) RADEON(0): Using user preference for initial modes
(II) RADEON(0): Output LVDS using initial mode 1024x768

I don't see a mouse issue here:

(**) Mouse[3]: Device: "/dev/input/mice"
(**) Mouse[3]: Protocol: "imps/2"
(**) Option "SendCoreEvents"
(**) Mouse[3]: always reports core events
(**) Option "Device" "/dev/input/mice"
(**) Option "Buttons" "5"
(==) Mouse[3]: Emulate3Buttons, Emulate3Timeout: 50
(**) Mouse[3]: ZAxisMapping: buttons 4 and 5
(**) Mouse[3]: Buttons: 9
(**) Mouse[3]: Sensitivity: 1
[...]
(II) evaluating device (Mouse[3])
(II) XINPUT: Adding extended input device "Mouse[3]" (type: MOUSE)
[...]
(II) Mouse[3]: ps2EnableDataReporting: succeeded
Comment 14 Stefan Dirsch 2009-08-05 05:46:32 UTC
(In reply to comment #4)
> Created an attachment (id=310137) [details]
> output of xrandr

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 3840 x 1200
VGA-0 disconnected (normal left inverted right x axis y axis)
LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 304mm x 228mm
   1024x768       60.0*+   60.0  
   1024x600       59.9  
   800x600        60.3     59.9     56.2  
   768x576        59.9  
   640x480        59.9  
S-video disconnected (normal left inverted right x axis y axis)

You can try 'xrandr --auto', but probably this doesn't change anything either.
Comment 15 Jeff Berntsen 2009-08-05 14:27:41 UTC
> I don't see a mouse issue here:
> 
> (**) Mouse[3]: Device: "/dev/input/mice"
> (**) Mouse[3]: Protocol: "imps/2"
> (**) Option "SendCoreEvents"
> (**) Mouse[3]: always reports core events
> (**) Option "Device" "/dev/input/mice"
> (**) Option "Buttons" "5"
> (==) Mouse[3]: Emulate3Buttons, Emulate3Timeout: 50
> (**) Mouse[3]: ZAxisMapping: buttons 4 and 5
> (**) Mouse[3]: Buttons: 9
> (**) Mouse[3]: Sensitivity: 1
> [...]
> (II) evaluating device (Mouse[3])
> (II) XINPUT: Adding extended input device "Mouse[3]" (type: MOUSE)
> [...]
> (II) Mouse[3]: ps2EnableDataReporting: succeeded

The mouse is detected but does not seem operate when X is running.  Only the trackpad will move the mouse cursor.
Comment 16 Jeff Berntsen 2009-08-05 14:40:24 UTC
(In reply to comment #14)

> 
> You can try 'xrandr --auto', but probably this doesn't change anything either.

It doesn't seem to.
Comment 17 Stefan Dirsch 2009-08-05 16:28:08 UTC
Sorry, without access to the hardware I'm afraid we can't do anything here. Even with access it can get rather hard or impossible to support your port replicator setup. Need to close this one as WONTFIX. Hope you can understand this.
Comment 18 Jeff Berntsen 2009-08-05 17:43:09 UTC
Understood.  I'll try 11.2 once it's available and open a new bug if that version has the same problem.

Just some additional information if this helps any troubleshooting in the future: I've tried this with the external monitor attached directly to the laptop instead of through the port replicator and see the same problem.  The monitor is detected when connected directly (xrandr reports a monitor attached to VGA-0) but I see exactly the same problem as when connected via the replicator; I see a good display on both the laptop LCD and the external monitor until X starts then the external monitor goes into DPMS shutdown.  Another interesting piece of information is that the the external monitor wakes up and displays a duplicate of the laptop LCD when X is stopped such as when changing the runmode to 3 with init or when shutting down (this happens either with the external display directly attached or attached via the port replicator).

My best guess is either a bug in the R200 driver for X or that driver doesn't like this specific hardware or doesn't like the way the BIOS sets it up before boot.  As I said, 11.2 will be available soon and I'll try it again with that version once it's out.

Thank you very much for all your help in trying to get this working.