[Bug 411264] New: SAX is not mapping to the correct mouse device for Xen PV guest
https://bugzilla.novell.com/show_bug.cgi?id=411264 Summary: SAX is not mapping to the correct mouse device for Xen PV guest Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: openSUSE 11.0 Status: NEW Severity: Major Priority: P5 - None Component: SaX2 AssignedTo: sndirsch@novell.com ReportedBy: plc@novell.com QAContact: sax2-maintainer-bugs@forge.provo.novell.com Found By: Development opensuse 11.0 PV guest, SAX is not mapping to the correct mouse device because the Xen mouse vendor ID has been changed. Correct values is now being supplied by hal/hwinfo. sles 10 sp2, hwinfo 12.48, used 0x210 for the vendor ID. opensuse 11.0 using hwinfo 15.2, now sets the real vendor ID as well as the compatible ID. SLES 10 SP2 PV guest, hwinfo 12.48, shows: 18: PS/2 00.0: 10500 PS/2 Mouse [Created at input.179] Unique ID: AH6Q.GNlNOiDK6yC Hardware Class: mouse Model: "Xen Virtual Pointer" Vendor: int 0x0210 Device: int 0x0018 "Xen Virtual Pointer" openSuSE 11, hwinfo 15.2, shows: 18: PS/2 00.0: 10500 PS/2 Mouse [Created at input.183] UDI: /org/freedesktop/Hal/devices/computer_logicaldev_input_0 Unique ID: AH6Q.Gp9x6FAd_SD Hardware Class: mouse Model: "Xen Virtual Pointer" Vendor: 0x5853 Device: 0xfffe "Xen Virtual Pointer" Compatible to: int 0x0210 0x0018 Device File: /dev/input/mice (/dev/input/mouse0) Second part of this problem is that "sysp -s mouse" output does not have a valid RealDevice set. SLES 10 SP2 PV guest, sysp, shows: sysp -s mouse Mouse0 => Protocol : explorerps/2 Mouse0 => Device : /dev/input/mice Mouse0 => Buttons : 10 Mouse0 => Wheel : 1 Mouse0 => Emulate : 0 Mouse0 => Name : Xen Virtual Pointer Mouse0 => VendorID : 0x0210 Mouse0 => DeviceID : 0x0018 Mouse0 => Profile : xen-mouse Mouse0 => RealDevice : /dev/input/event1 Mouse0 => NutShell : 0 openSuSE 11, sysp, shows: sysp -s mouse Mouse0 => Protocol : explorerps/2 Mouse0 => Device : /dev/input/mice Mouse0 => Buttons : 10 Mouse0 => Wheel : 1 Mouse0 => Emulate : 0 Mouse0 => Name : Xen Virtual Pointer Mouse0 => VendorID : 0x5853 Mouse0 => DeviceID : 0xfffe Mouse0 => Profile : <undefined> Mouse0 => RealDevice : <undefined> Mouse0 => NutShell : 0 I poked around in sax/sysp source code and found the following. For RealDevice, in sysp/lib/hw/mouse.c:MouseGetData() SLES10: if (strstr (str->str,"event")) { strcpy(data->realdev,str->str); } opensuse 11.0: if (strstr (str->str,"by-id")) { strcpy(data->realdev,str->str); } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=411264
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=411264#c1
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=411264
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=411264
User ms@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=411264#c2
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=411264
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=411264#c3
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=411264
User snwint@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=411264#c4
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=411264
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=411264#c5
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=411264
User ms@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=411264#c6
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=411264
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=411264#c7
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=411264
User snwint@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=411264#c8
--- Comment #8 from Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=411264
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=411264#c9
Stefan Dirsch
participants (1)
-
bugzilla_noreply@novell.com