Re: OpenBSD 6.6 snapshot #262 - no USB mouse
First, thanks for all good advices. Ok I finally had time to sit down and figure it out, and my first guess was wrong, it was a change in pms.c which made the touchpad stop working. The patch that made it stop work was revision 1.89 committed Mon Aug 19 21:08 UTC. Most of the patch is probably correct, I've not worked with hardware drivers on this level before so someone that knows what they are doing should probably look into this - but I also made a patch to fix it, however I might have broken the support of other touchpads or so with my suggested change. What I did was bringing back the three lines deleted from elantech_get_hwinfo_v4 and re-added them to the new if statement. I'm attaching a diff for this change. On 30/08/2019, 17:16, Stuart Henderson wrote: Mikal, as your problem started before the problematic snapshot, while it may seem a similar issue, it definitely needs investigating differently. On 2019/08/30 17:26, Mikal Villa wrote: I tried that, booted with #248 but I'm sorry to say the issues are still here. I wrote wrong in the last mail, wsmouse0 is the touchscreen which as last time, is no responsive. wsmouse1, the trackpad is "sometimes" acting on input but not nessesarry where you meant it to go, however right clicking seem to work, and has in all tries of mine worked. Is there a place I can read about whats already known about this issue? I know you don't do bugtrackers, but maybe if I knew more I could make a brave attempt to help fixing it myself. Unfamiliar with the openbsd kernel, but has a little experience from xnu and linux. Dmesg has all it's output from pms0, but I've read the pms driver code and I suspect it's not the trouble maker but something else where it's just a biproduct of it. The best easy-ish thing you could do would be to try to identify a time range (or even better the actual commit) when the problem started occurring. The pms entries in dmesg seem to point at something kernel-side rather than X so I would start by just trying different kernels. You could e.g. fetch the src tree if you don't already have it, then do a date-based update in /sys ("cvs up -Pd -D 2019/08/01"). Start with a date before you think the problem started, to confirm that it was indeed working at that point and to confirm that the process of just building kernels is good enough for these tests. (If you go back too far you may run into syscall or kernel structure incompatibilities, but I can't think of any that will cause major problems in the suggested time window). Build/install a kernel and test, if it works then do another cvs up moving forward through time (forwards a week or so?) until it stops working, then backwards again with smaller increments to narrow it down. -- Best regards, Mikal Villa --- a/sys/dev/pckbc/pms.c +++ b/sys/dev/pckbc/pms.c @@ -1946,7 +1946,10 @@ elantech_get_hwinfo_v4(struct pms_softc *sc) if (synaptics_query(sc, ELANTECH_QUE_FW_VER, &fw_version)) return (-1); - if ((fw_version & 0x0f) >> 16 < 6) + if ((fw_version & 0x0f) >> 16 != 6 + && (fw_version & 0x0f) >> 16 != 8 + && (fw_version & 0x0f) >> 16 != 15 + && (fw_version & 0x0f) >> 16 < 6) return (-1); elantech->fw_version = fw_version;
Re: OpenBSD 6.6 snapshot #262 - no USB mouse
Mikal, as your problem started before the problematic snapshot, while it may seem a similar issue, it definitely needs investigating differently. On 2019/08/30 17:26, Mikal Villa wrote: > I tried that, booted with #248 but I'm sorry to say the issues are still > here. I wrote wrong in the last mail, wsmouse0 is the touchscreen which > as last time, is no responsive. wsmouse1, the trackpad is "sometimes" > acting on input but not nessesarry where you meant it to go, however > right clicking seem to work, and has in all tries of mine worked. > > Is there a place I can read about whats already known about this issue? > I know you don't do bugtrackers, but maybe if I knew more I could make a > brave attempt to help fixing it myself. Unfamiliar with the openbsd > kernel, but has a little experience from xnu and linux. Dmesg has all > it's output from pms0, but I've read the pms driver code and I suspect > it's not the trouble maker but something else where it's just a > biproduct of it. The best easy-ish thing you could do would be to try to identify a time range (or even better the actual commit) when the problem started occurring. The pms entries in dmesg seem to point at something kernel-side rather than X so I would start by just trying different kernels. You could e.g. fetch the src tree if you don't already have it, then do a date-based update in /sys ("cvs up -Pd -D 2019/08/01"). Start with a date before you think the problem started, to confirm that it was indeed working at that point and to confirm that the process of just building kernels is good enough for these tests. (If you go back too far you may run into syscall or kernel structure incompatibilities, but I can't think of any that will cause major problems in the suggested time window). Build/install a kernel and test, if it works then do another cvs up moving forward through time (forwards a week or so?) until it stops working, then backwards again with smaller increments to narrow it down.
Re: OpenBSD 6.6 snapshot #262 - no USB mouse
I tried that, booted with #248 but I'm sorry to say the issues are still here. I wrote wrong in the last mail, wsmouse0 is the touchscreen which as last time, is no responsive. wsmouse1, the trackpad is "sometimes" acting on input but not nessesarry where you meant it to go, however right clicking seem to work, and has in all tries of mine worked. Is there a place I can read about whats already known about this issue? I know you don't do bugtrackers, but maybe if I knew more I could make a brave attempt to help fixing it myself. Unfamiliar with the openbsd kernel, but has a little experience from xnu and linux. Dmesg has all it's output from pms0, but I've read the pms driver code and I suspect it's not the trouble maker but something else where it's just a biproduct of it. As always, attached xorg log, dmesg for boot and after xorg. On 30/08/2019, 08:05, Cleber A. Nascimento wrote: What if do you make just a "sysupgrade -s", and lets the system download the next snapshot? Em qui, 29 de ago de 2019 às 23:34, Mikal Villa escreveu: I tried it now. Booted with "OpenBSD 6.6-beta (GENERIC.MP) #2: Fri Aug 30 03:36:27 CEST 2019". Unfortunately I experience the same issues now, so if it where an attempt already on fixed it, I'm sorry to say it didn't work. The only difference is that this time wsmouse0 (the trackpad) seem to not respond at all, while the trackpad behaves quite uncontrollable and where I wouldn't say the debug output of it reflect anything near what I actually did on the trackpad.. I'll attach the dmesg.boot, dmesg after xorg, and the Xorg.0.log for this test. On 29/08/2019, 14:16, Stefan Sperling wrote: >Kernel #262 is known to be broken. >Compile your own from -current sources or wait for the next snapshot. > -- Best regards, Mikal Villa -- Cleber Alves .ılı..ılı. "Observe as estrelas e aprenda com elas." Albert Einstein -- Best regards, Mikal Villa [19.503] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem (Operation not permitted) Check that you have set 'machdep.allowaperture=1' in /etc/sysctl.conf and reboot your machine refer to xf86(4) for details [19.503]linear framebuffer access unavailable [19.530] (--) Using wscons driver on /dev/ttyC4 [19.550] X.Org X Server 1.20.5 X Protocol Version 11, Revision 0 [19.550] Build Operating System: OpenBSD 6.6 amd64 [19.550] Current Operating System: OpenBSD openbsd.meeh.no 6.6 GENERIC.MP#266 amd64 [19.551] Build Date: 29 August 2019 05:54:46PM [19.551] [19.551] Current version of pixman: 0.38.4 [19.551]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [19.551] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [19.551] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 30 15:21:44 2019 [19.553] (==) Using config file: "/etc/X11/xorg.conf" [19.553] (==) Using config directory: "/etc/X11/xorg.conf.d" [19.553] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d" [19.558] (==) ServerLayout "Lenovo Yoga" [19.558] (**) |-->Screen "Screen0" (0) [19.558] (**) | |-->Monitor "LCD Panel" [19.560] (==) No device specified for screen "Screen0". Using the first device section listed. [19.560] (**) | |-->Device "drm" [19.560] (**) | |-->GPUDevice "drm" [19.561] (**) |-->Input Device "Trackpoint" [19.561] (**) |-->Input Device "Touchscreen" [19.561] (**) |-->Input Device "Generic Keyboard" [19.561] (**) Option "AutoAddDevices" "no" [19.561] (**) Option "DRI2" "True" [19.561] (**) Not automatically adding devices [19.561] (==) Automatically enabling devices [19.561] (==) Not automatically adding GPU devices [19.561] (==) Max clients allowed: 256, resource mask: 0x1f [19.562] (**) FontPath set to: /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/, /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/ [19.562] (**) ModulePath set to "/usr/X11R6/lib/modules" [19.562] (II) Loader magic: 0xa28cc00f000 [19.562] (II) Module ABI versions: [19.562]X.Org ANSI C Emulation: 0.4 [19.562]X.Org Video Driver: 24.0 [19.562]X.Org XInput driver : 24.1 [19.562]X.Org Server Extension : 10.0 [19.563] (--) PCI:*(0@0:2:0) 8086:5916:17aa:39f4 rev 2, Mem @ 0xa200/16777216, 0xb000/268435456, I/O @ 0x4000/64 [19.563] (--) P
Re: OpenBSD 6.6 snapshot #262 - no USB mouse
What if do you make just a "sysupgrade -s", and lets the system download the next snapshot? Em qui, 29 de ago de 2019 às 23:34, Mikal Villa escreveu: > > I tried it now. Booted with "OpenBSD 6.6-beta (GENERIC.MP) #2: Fri Aug > 30 03:36:27 CEST 2019". Unfortunately I experience the same issues now, > so if it where an attempt already on fixed it, I'm sorry to say it > didn't work. > > The only difference is that this time wsmouse0 (the trackpad) seem to > not respond at all, while the trackpad behaves quite uncontrollable > and where I wouldn't say the debug output of it reflect anything near > what I actually did on the trackpad.. I'll attach the dmesg.boot, > dmesg after xorg, and the Xorg.0.log for this test. > > > On 29/08/2019, 14:16, Stefan Sperling wrote: > >Kernel #262 is known to be broken. > >Compile your own from -current sources or wait for the next snapshot. > > > > -- > Best regards, > Mikal Villa > > -- Cleber Alves .ılı..ılı. "Observe as estrelas e aprenda com elas." Albert Einstein
Re: OpenBSD 6.6 snapshot #262 - no USB mouse
Kernel #262 is known to be broken. Compile your own from -current sources or wait for the next snapshot.
OpenBSD 6.6 snapshot #262 - no USB mouse
The USB mouse has stopped working. Only the touchpad works -- Dmitry Orlov [34.414] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem (Operation not permitted) Check that you have set 'machdep.allowaperture=1' in /etc/sysctl.conf and reboot your machine refer to xf86(4) for details [34.414]linear framebuffer access unavailable [34.474] (--) Using wscons driver on /dev/ttyC4 [34.540] X.Org X Server 1.20.5 X Protocol Version 11, Revision 0 [34.540] Build Operating System: OpenBSD 6.6 amd64 [34.540] Current Operating System: OpenBSD ORLOV-NB.sharifa.local 6.6 GENERIC.MP#262 amd64 [34.540] Build Date: 28 August 2019 07:10:52PM [34.540] [34.540] Current version of pixman: 0.38.4 [34.540]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [34.540] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [34.540] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 29 09:29:26 2019 [34.564] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d" [34.580] (==) No Layout section. Using the first Screen section. [34.580] (==) No screen section available. Using defaults. [34.580] (**) |-->Screen "Default Screen Section" (0) [34.580] (**) | |-->Monitor "" [34.604] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [34.604] (==) Automatically adding devices [34.604] (==) Automatically enabling devices [34.604] (==) Not automatically adding GPU devices [34.611] (==) Max clients allowed: 256, resource mask: 0x1f [34.940] (==) FontPath set to: /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/ [34.941] (==) ModulePath set to "/usr/X11R6/lib/modules" [34.941] (II) The server relies on wscons to provide the list of input devices. If no devices become available, reconfigure wscons or disable AutoAddDevices. [34.990] (II) Loader magic: 0xdc94ca7 [34.990] (II) Module ABI versions: [34.990]X.Org ANSI C Emulation: 0.4 [34.990]X.Org Video Driver: 24.0 [34.990]X.Org XInput driver : 24.1 [34.990]X.Org Server Extension : 10.0 [35.017] (--) PCI:*(0@1:2:0) 8086:0166:103c:179c rev 9, Mem @ 0xd400/4194304, 0xc000/268435456, I/O @ 0x4000/64 [35.018] (II) LoadModule: "glx" [35.049] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so [35.452] (II) Module glx: vendor="X.Org Foundation" [35.452]compiled for 1.20.5, module version = 1.0.0 [35.452]ABI class: X.Org Server Extension, version 10.0 [35.453] (==) Matched modesetting as autoconfigured driver 0 [35.453] (==) Assigned the driver to the xf86ConfigLayout [35.453] (II) LoadModule: "modesetting" [35.453] (II) Loading /usr/X11R6/lib/modules/drivers/modesetting_drv.so [35.496] (II) Module modesetting: vendor="X.Org Foundation" [35.496]compiled for 1.20.5, module version = 1.20.5 [35.496]Module class: X.Org Video Driver [35.496]ABI class: X.Org Video Driver, version 24.0 [35.496] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [35.514] (**) modeset(0): claimed PCI slot 0@1:2:0 [35.514] (II) modeset(0): using default device [35.530] (II) modeset(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [35.531] (==) modeset(0): Depth 24, (==) framebuffer bpp 32 [35.531] (==) modeset(0): RGB weight 888 [35.531] (==) modeset(0): Default visual is TrueColor [35.531] (II) Loading sub module "glamoregl" [35.531] (II) LoadModule: "glamoregl" [35.544] (II) Loading /usr/X11R6/lib/modules/libglamoregl.so [35.754] (II) Module glamoregl: vendor="X.Org Foundation" [35.754]compiled for 1.20.5, module version = 1.0.1 [35.754]ABI class: X.Org ANSI C Emulation, version 0.4 [36.739] (II) modeset(0): glamor X acceleration enabled on Mesa DRI Intel(R) Ivybridge Mobile [36.739] (II) modeset(0): glamor initialized [36.740] (II) modeset(0): Output LVDS-1 has no monitor section [36.742] (II) modeset(0): Output VGA-1 has no monitor section [36.744] (II) modeset(0): Output HDMI-1 has no monitor section [36.751] (II) modeset(0): Output DP-1 has no monitor section [36.753] (II) modeset(0): Output HDMI-2 has no monitor section [36.756] (II) modese
Re: repeated set of messages about usb mouse
Hi, (fyi) I had a similar problem in the beginning of this year. It is basically gone right now (snapshots/amd64), and only occurs when I switch from X to the console and back combined with mouse movements/events while on the console. As you stated, it does not seem to have any negative effect otherwise. wsmouse0 detached ums0 detached uhidev1 detached uhidev1 at uhub3 port 1 configuration 1 interface 0 "SIGMACHIP Usb Mouse" rev 1.10/1.10 addr 3 uhidev1: iclass 3/1 ums0 at uhidev1: 5 buttons, Z dir wsmouse0 at ums0 mux 0 wsmouse0 detached ums0 detached uhidev1 detached uhidev1 at uhub3 port 1 configuration 1 interface 0 "SIGMACHIP Usb Mouse" rev 1.10/1.10 addr 3 uhidev1: iclass 3/1 ums0 at uhidev1: 5 buttons, Z dir wsmouse0 at ums0 mux 0 wsmouse0 detached ums0 detached uhidev1 detached uhidev1 at uhub3 port 1 configuration 1 interface 0 "SIGMACHIP Usb Mouse" rev 1.10/1.10 addr 3 uhidev1: iclass 3/1 ums0 at uhidev1: 5 buttons, Z dir wsmouse0 at ums0 mux 0 regards, Robert On Tue, 1 May 2018 14:45:28 +0200 Alexander Hall wrote: > On Mon, Apr 30, 2018 at 01:07:00PM +, Rudolf Sykora wrote: > > Hello misc, > > > > I am (on 6.3, amd64) repeatedly getting these messages every now and then: > > Not knowning about the exact details, I know we had issues (in RHEL6) at > work with some mice continually detaching and attaching. I believe it > might have been part of some power-saving idea, but I wasn't the one > investigating it. For now, we just try to avoid those mice since, > although they don't misbehave in function, the spam is rather annoying, > in particular when working on the console. > > /Alexander > > > > > --- > > uhub4 at uhub3 port 5 configuration 1 interface 0 "Genesys Logic USB2.0 > > Hub" rev 2.00/88.32 addr 3 > > uhidev1 at uhub4 port 1 configuration 1 interface 0 "Logitech USB Optical > > Mouse" rev 2.00/72.00 addr 4 > > uhidev1: iclass 3/1 > > ums1 at uhidev1: 3 buttons, Z dir > > wsmouse1 at ums1 mux 0 > > uhidev2 at uhub4 port 2 configuration 1 interface 0 "Logitech USB Keyboard" > > rev 1.10/64.00 addr 5 > > uhidev2: iclass 3/1 > > ukbd0 at uhidev2: 8 variable keys, 6 key codes > > wskbd1 at ukbd0 mux 1 > > wskbd1: connecting to wsdisplay0 > > uhidev3 at uhub4 port 2 configuration 1 interface 1 "Logitech USB Keyboard" > > rev 1.10/64.00 addr 5 > > uhidev3: iclass 3/0, 3 report ids > > uhid12 at uhidev3 reportid 1: input=1, output=0, feature=0 > > uhid13 at uhidev3 reportid 2: input=1, output=0, feature=0 > > uhid14 at uhidev3 reportid 3: input=3, output=0, feature=0 > > wsmouse1 detached > > ums1 detached > > uhidev1 detached > > wskbd1: disconnecting from wsdisplay0 > > wskbd1 detached > > ukbd0 detached > > uhidev2 detached > > uhid12 detached > > uhid13 detached > > uhid14 detached > > uhidev3 detached > > uhub4 detached > > --- > > > > (And I am not plugging it in and out...) > > > > The mouse otherwise works just fine. > > > > Is anything wrong? > > > > Thank you > > Ruda > > >
Re: repeated set of messages about usb mouse
On Mon, Apr 30, 2018 at 01:07:00PM +, Rudolf Sykora wrote: > Hello misc, > > I am (on 6.3, amd64) repeatedly getting these messages every now and then: Not knowning about the exact details, I know we had issues (in RHEL6) at work with some mice continually detaching and attaching. I believe it might have been part of some power-saving idea, but I wasn't the one investigating it. For now, we just try to avoid those mice since, although they don't misbehave in function, the spam is rather annoying, in particular when working on the console. /Alexander > > --- > uhub4 at uhub3 port 5 configuration 1 interface 0 "Genesys Logic USB2.0 > Hub" rev 2.00/88.32 addr 3 > uhidev1 at uhub4 port 1 configuration 1 interface 0 "Logitech USB Optical > Mouse" rev 2.00/72.00 addr 4 > uhidev1: iclass 3/1 > ums1 at uhidev1: 3 buttons, Z dir > wsmouse1 at ums1 mux 0 > uhidev2 at uhub4 port 2 configuration 1 interface 0 "Logitech USB Keyboard" > rev 1.10/64.00 addr 5 > uhidev2: iclass 3/1 > ukbd0 at uhidev2: 8 variable keys, 6 key codes > wskbd1 at ukbd0 mux 1 > wskbd1: connecting to wsdisplay0 > uhidev3 at uhub4 port 2 configuration 1 interface 1 "Logitech USB Keyboard" > rev 1.10/64.00 addr 5 > uhidev3: iclass 3/0, 3 report ids > uhid12 at uhidev3 reportid 1: input=1, output=0, feature=0 > uhid13 at uhidev3 reportid 2: input=1, output=0, feature=0 > uhid14 at uhidev3 reportid 3: input=3, output=0, feature=0 > wsmouse1 detached > ums1 detached > uhidev1 detached > wskbd1: disconnecting from wsdisplay0 > wskbd1 detached > ukbd0 detached > uhidev2 detached > uhid12 detached > uhid13 detached > uhid14 detached > uhidev3 detached > uhub4 detached > --- > > (And I am not plugging it in and out...) > > The mouse otherwise works just fine. > > Is anything wrong? > > Thank you > Ruda >
repeated set of messages about usb mouse
Hello misc, I am (on 6.3, amd64) repeatedly getting these messages every now and then: --- uhub4 at uhub3 port 5 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" rev 2.00/88.32 addr 3 uhidev1 at uhub4 port 1 configuration 1 interface 0 "Logitech USB Optical Mouse" rev 2.00/72.00 addr 4 uhidev1: iclass 3/1 ums1 at uhidev1: 3 buttons, Z dir wsmouse1 at ums1 mux 0 uhidev2 at uhub4 port 2 configuration 1 interface 0 "Logitech USB Keyboard" rev 1.10/64.00 addr 5 uhidev2: iclass 3/1 ukbd0 at uhidev2: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev3 at uhub4 port 2 configuration 1 interface 1 "Logitech USB Keyboard" rev 1.10/64.00 addr 5 uhidev3: iclass 3/0, 3 report ids uhid12 at uhidev3 reportid 1: input=1, output=0, feature=0 uhid13 at uhidev3 reportid 2: input=1, output=0, feature=0 uhid14 at uhidev3 reportid 3: input=3, output=0, feature=0 wsmouse1 detached ums1 detached uhidev1 detached wskbd1: disconnecting from wsdisplay0 wskbd1 detached ukbd0 detached uhidev2 detached uhid12 detached uhid13 detached uhid14 detached uhidev3 detached uhub4 detached --- (And I am not plugging it in and out...) The mouse otherwise works just fine. Is anything wrong? Thank you Ruda
Mad Catz Mad Catz R.A.T.TE usb mouse locks up X pointer
Hello, I have a problem with X and my "Mad Catz Mad Catz R.A.T.TE" usb mouse. The problem happens when the mouse is plugged in and I try to do something with the mouse in X. I am using dwm 6.1 but I have also tried with TWM from base and the problem is exactly the same. The pointer is moving normally, but the pointer graphic does not change as I hover over or click on windows/buttons that would normally change the pointer graphic. Also clicking has no effect. Hovering over windows in order to change focus does not work. I have tested using a standard (old) usb mouse and there are no problems. In OpenBSD 6.0 the mouse was wokring for a while before getting stuck, however in 6.1 it gets stuck immediatly. I have contacted mad catz about this issue, but it has been completely ignored. If somebody is interested in getting involved I am available to help, however I am not very adept at X/the inner workings of OpenBSD. Please see my dmesg below. Best regards, Dimitrios OpenBSD 6.1 (GENERIC.MP) #20: Sat Apr 1 13:45:56 MDT 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 16805924864 (16027MB) avail mem = 16291913728 (15537MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xee870 (29 entries) bios0: vendor American Megatrends Inc. version "P2.40" date 12/21/2015 bios0: ASRock B85 Pro4 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT SSDT SSDT MCFG SSDT SSDT AAFT UEFI ASF! acpi0: wakeup devices PS2M(S4) USB1(S3) RP01(S4) BR40(S4) RP03(S4) GLAN(S4) EHC1(S4) EHC2(S4) XHC_(S4) HDEF(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEG2(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz, 3499.49 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: TSC frequency 3499490640 Hz cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 99MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz, 3498.98 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz, 3498.98 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz, 3498.98 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (RP01) acpiprt2 at acpi0: bus 2 (RP03) acpiprt3 at acpi0: bus 3 (BR40) acpiprt4 at acpi0: bus -1 (P0P2) acpiprt5 at acpi0: bus -1 (P0PA) acpiprt6 at acpi0: bus -1 (P0PB) acpiprt7 at acpi0: bus -1 (PEG0) acpiprt8 at acpi0: bus -1 (PEG1) acpiprt9 at acpi0: bus -1 (PEG2) acpiec0 at acpi0: not present acpicpu0 at acpi0: C1(@1 halt!) acpicpu1 at acpi0: C1(@1 halt!) acpicpu2 at acpi0: C1(@1 halt!) acpicpu3 at acpi0: C1(@1 halt!) "INT3F0D" at acpi0 not configured "PNP0F03" at acpi0 not configured acpibtn0 at acpi0: PWRB acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD1F pci0 at mainbus0 bus 0 pchb0 at pci0 d
Re: USB mouse not working
I've tried that and it doesn't help at all unfortunately. Although I wouldn't have considered it a great solution since I actually want to use USB 3 in Windows! And it would be a massive pain to toggle it every time I switched between OSes Thanks anyway for the suggestion On Tue, 18 Oct 2016 at 21:13 Bojan Nastic wrote: > Have you tried disabling USB3 in the BIOS? > Forcing USB2.0 helped with similar problems on my Thinkpad. > > > > On 18 Oct 2016, at 07:18, Daniel Cavanagh > wrote: > > > > Hiya > > > > I'm having trouble getting my USB mouse to work in the latest snapshots. > > Unless my memory is faulty, this mouse used to work only a few months ago > > > > I have noticed that the kernel disables the device at boot (see bold text > > in dmesg below). I've tried disabling xhci, but that doesn't help. Other > > than that, I'm not really sure what else to do. Does anyone know > anything I > > can try to fix or track down the root cause of this issue? > > > > I also have an 3.5mm audio in/out <-> USB converter that appears not to > > work, again with the kernel disabling the device. I've not looked into > this > > one though. Perhaps it's the same issue > > > > Cheers :)
Re: USB mouse not working
Have you tried disabling USB3 in the BIOS? Forcing USB2.0 helped with similar problems on my Thinkpad. > On 18 Oct 2016, at 07:18, Daniel Cavanagh wrote: > > Hiya > > I'm having trouble getting my USB mouse to work in the latest snapshots. > Unless my memory is faulty, this mouse used to work only a few months ago > > I have noticed that the kernel disables the device at boot (see bold text > in dmesg below). I've tried disabling xhci, but that doesn't help. Other > than that, I'm not really sure what else to do. Does anyone know anything I > can try to fix or track down the root cause of this issue? > > I also have an 3.5mm audio in/out <-> USB converter that appears not to > work, again with the kernel disabling the device. I've not looked into this > one though. Perhaps it's the same issue > > Cheers :)
USB mouse not working
Hiya I'm having trouble getting my USB mouse to work in the latest snapshots. Unless my memory is faulty, this mouse used to work only a few months ago I have noticed that the kernel disables the device at boot (see bold text in dmesg below). I've tried disabling xhci, but that doesn't help. Other than that, I'm not really sure what else to do. Does anyone know anything I can try to fix or track down the root cause of this issue? I also have an 3.5mm audio in/out <-> USB converter that appears not to work, again with the kernel disabling the device. I've not looked into this one though. Perhaps it's the same issue Cheers :) OpenBSD 6.0-current (GENERIC.MP) #2473: Sun Sep 18 23:24:19 MDT 2016 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17118060544 (16325MB) avail mem = 16594767872 (15826MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xee310 (26 entries) bios0: vendor American Megatrends Inc. version "P1.80" date 10/24/2014 bios0: ASRock 970 Pro3 R2.0 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT MCFG AAFT HPET SSDT IVRS BGRT acpi0: wakeup devices SBAZ(S4) UAR1(S4) P0PC(S4) UHC1(S4) UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PC02(S4) PC04(S4) PC09(S4) PC0A(S4) PC0B(S4) PC0D(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 16 (boot processor) cpu0: AMD FX(tm)-8320 Eight-Core Processor, 3492.88 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN T,AES,XSAVE,OSXSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPI CSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPE XT,ITSC,BMI1 cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu0: mwait min=64, max=64, IBE cpu1 at mainbus0: apid 17 (application processor) cpu1: AMD FX(tm)-8320 Eight-Core Processor, 3492.49 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN T,AES,XSAVE,OSXSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPI CSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPE XT,ITSC,BMI1 cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 18 (application processor) cpu2: AMD FX(tm)-8320 Eight-Core Processor, 3492.49 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN T,AES,XSAVE,OSXSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPI CSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPE XT,ITSC,BMI1 cpu2: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache cpu2: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 19 (application processor) cpu3: AMD FX(tm)-8320 Eight-Core Processor, 3492.49 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN T,AES,XSAVE,OSXSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPI CSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPE XT,ITSC,BMI1 cpu3: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache cpu3: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative cpu3: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu3: smt 0, core 3, package 0 cpu4 at mainbus0: apid 20 (application processor) cpu4: AMD FX(tm)-8320 Eight-Core Processor, 3492.49 MHz cpu4: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN T,AES,XSAVE,OSXSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPI CSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKI
Re: USB mouse detached when moving wheel fast
On Wed, 13 Jan 2016 13:39:25 + (GMT) Roderich wrote: > Dear Sirs! > > When I move the mouse too fast / not slow enough, I get the following > in dmesg, many times: > > >> > wsmouse0 detached > ums0 detached > uhidev0 detached > uhidev0 at uhub4 port 2 configuration 1 interface 0 "MOON AND" rev > 1.00/0.10 addr 2 uhidev0: iclass 3/1 > ums0 at uhidev0: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > << > > This affects negatively the responsiveness of the mouse. It may > also happen, that the mouse is not recognized again. > > I observed this behaviour with OpenBSD 4.8 and OpenBSD 5.8 > in different machines, as also with FreeBSD. > > I have little experience with USB mouses and use till today > a PS/2 mouse: the wheel is with PS/2 very responsive independent > of the speed. > > Is this normal? Is it a problem of the mouse? Is it the > (automatic) configuration of X11? Can I do something against > it? > > Thanks > Rodrigo. > You can easily eliminate the possibility of a broken mouse by trying another one ;) -- Before enlightenment - chop wood, draw water. After enlightenment - chop wood, draw water. Marko Cupać https://www.mimar.rs/
USB mouse detached when moving wheel fast
Dear Sirs! When I move the mouse too fast / not slow enough, I get the following in dmesg, many times: wsmouse0 detached ums0 detached uhidev0 detached uhidev0 at uhub4 port 2 configuration 1 interface 0 "MOON AND" rev 1.00/0.10 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 3 buttons, Z dir wsmouse0 at ums0 mux 0 << This affects negatively the responsiveness of the mouse. It may also happen, that the mouse is not recognized again. I observed this behaviour with OpenBSD 4.8 and OpenBSD 5.8 in different machines, as also with FreeBSD. I have little experience with USB mouses and use till today a PS/2 mouse: the wheel is with PS/2 very responsive independent of the speed. Is this normal? Is it a problem of the mouse? Is it the (automatic) configuration of X11? Can I do something against it? Thanks Rodrigo.
Re: USB mouse often not detected
I think I have solved the problem with my system. I was looking at my BIOS hardware setup. Under "Device Security" I found out that the SMBUS controller was set to "Device hidden" while other device controllers (serial port, parallel port, USB ports, audio and network) were set to "available". In my opinion SMBUS should only be disabled when running old software like Windows 98, so I set SMBUS to "Device available". The OpenBSD boot sequence since then detects my USB mouse correctly on every boot. I'm just hoping it stays that way, because I can't see why enabling SMBUS solves this problem. Other people having a similar problem might also check their SMBUS setting. On older systems (like mine) it may be disabled by default. Have a nice day, Paco 2015-11-14 10:12 GMT+01:00 Paco Willers : > Sure, below are my outputs.
Re: USB mouse often not detected
Sure, below are my outputs. First, a "lsusb -v" without the mouse plugged in (I usually do not use any other USB devices: my keyboard is a PS/2 type). Bus 000 Device 001: ID 8086: Intel Corp. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 1 Single TT bMaxPacketSize064 idVendor 0x8086 Intel Corp. idProduct 0x bcdDevice1.00 iManufacturer 1 Intel iProduct2 EHCI root hub iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x40 (Missing must-be-set bit!) Self Powered MaxPower0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes3 Transfer TypeInterrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 12 Hub Descriptor: bLength 10 bDescriptorType 41 nNbrPorts 8 wHubCharacteristic 0x0002 No power switching (usb 1.0) Ganged overcurrent protection TT think time 8 FS bits bPwrOn2PwrGood 200 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable0x00 0x00 PortPwrCtrlMask0x00 0x00 Hub Port Status: Port 1: .0500 highspeed power Port 2: .0500 highspeed power Port 3: .0500 highspeed power Port 4: .0500 highspeed power Port 5: .0500 highspeed power Port 6: .0500 highspeed power Port 7: .0500 highspeed power Port 8: .0500 highspeed power Device Status: 0x0001 Self Powered Bus 001 Device 001: ID 8086: Intel Corp. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize064 idVendor 0x8086 Intel Corp. idProduct 0x bcdDevice1.00 iManufacturer 1 Intel iProduct2 UHCI root hub iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x40 (Missing must-be-set bit!) Self Powered MaxPower0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes3 Transfer TypeInterrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 255 incomplete hub descriptor, 8 bytes Device Status: 0x0001 Self Powered Bus 002 Device 001: ID 8086: Intel Corp. Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.00 bDeviceClass9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize064 idVendor 0x8086 Intel Corp. idProduct 0x bcdDevice1.00 iManufacturer 1 Intel iProduct2 UHCI root hub iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x40 (Missing must-be-set bit!) Self Powered MaxPower0mA Interface Descriptor: bLength 9 bDescript
Re: USB mouse often not detected
On 10/11/15(Tue) 23:51, Paco Willers wrote: > Hi, > > > I reinstalled OpenBSD 5.8 and updated to stable again, so I now have a > clean install. The only thing I configured manually is: I added > 'apmd_flags="-A"' in /etc/rc.conf.local to do CPU frequency scaling while > I'm not sure my system supports it. > > It seems a randomly occuring problem. My mouse: "vendor 0x USB OPTICAL > MOUSE". It's wholesale cheap stuff. Other OSes don't show the problem, and > that makes me believe the mouse is doing alright. I happen to have two of > them, so to be certain I'll swap it and test this new configuration in a > few days. I'll keep you informed. I wouldn't be surprised if this cheap > piece of hardware would have some minor incompatibility that only a correct > OS's (OpenBSD) driver would crash upon. :-) (That doesn't explain Maurice's > identical problem using a Logitech mouse. Also, to my knowledge a crashed > driver would raise an error message which I didn't see.) > > Here are my dmesg outputs that might help. Of course if you want to see > more files, I'd be happy to provide them. Also if you come up with some > ideas I could test, let me know. (I won't be available for a few days > however.) > > My dmesg detecting the mouse: Could you play with lsusb(1), from the usbutils package? "lsusb -v" will report the hub status for each hub port. I'd suggest running "lsusb -v" when your mouse plugged in but not recognized, then unplug it an run it again. Compare the outputs. Also compare them to an output when the mouse is recognized. If you can send me these tree output (you can limit them to the corresponding hub) it could help figuring out what's wrong.
Re: Fwd: USB mouse often not detected
On 10/11/15(Tue) 21:12, Notofsoundmind . wrote: > -- Forwarded message -- > From: Notofsoundmind . > Date: Tue, Nov 10, 2015 at 5:47 PM > Subject: Re: USB mouse often not detected > To: Paco Willers > > > Hello everyone, > I am having a similar problem with USB. At times I can attach a > device (mouse, keyboard, external HDD) and the machine will > recognize it immediately. Other times this is not the case, and I > have to unplug and replug multiple times for it to work. Also these > devices will randomly disconnect, and I get the message > "ehci_sync_hc: tsleep() = 35". After much thought I assumed the > problem may be related to the nVidia hardware on the motherboard > so I ordered another motherboard without nVidia components.. > > My dmesg as follows: We need a dmesg when it doesn't work to see what could go wrong.
Re: USB mouse often not detected
Hi, Swapping the mouse for an identical one didn't solve the problem. Have a nice day, Paco
Fwd: USB mouse often not detected
-- Forwarded message -- From: Notofsoundmind . Date: Tue, Nov 10, 2015 at 5:47 PM Subject: Re: USB mouse often not detected To: Paco Willers Hello everyone, I am having a similar problem with USB. At times I can attach a device (mouse, keyboard, external HDD) and the machine will recognize it immediately. Other times this is not the case, and I have to unplug and replug multiple times for it to work. Also these devices will randomly disconnect, and I get the message "ehci_sync_hc: tsleep() = 35". After much thought I assumed the problem may be related to the nVidia hardware on the motherboard so I ordered another motherboard without nVidia components.. My dmesg as follows: OpenBSD 5.8 (GENERIC) #1170: Sun Aug 16 02:26:00 MDT 2015 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 1056636928 (1007MB) avail mem = 1020821504 (973MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf906f (4 entries) bios0: vendor American Megatrends Inc. version "P2.40" date 07/16/2007 acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP APIC OEMB acpi0: wakeup devices PS2K(S4) PS2M(S4) UAR1(S4) USB0(S4) MAC_(S5) AC97(S4) USB1(S4) USB2(S4) P0P1(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Athlon(tm) 64 Processor 3000+, 2010.03 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: AMD erratum 89 present, BIOS upgrade may be required mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 200MHz ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (P0P1) acpicpu0 at acpi0: C1(@1 halt!), PSS acpipwrres0 at acpi0: ISAV, resource for IDE0 acpibtn0 at acpi0: PWRB cpu0: Cool'n'Quiet K8 2010 MHz: speeds: 2000 1800 1000 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "NVIDIA nForce3 250 PCI Host" rev 0xa1 agp at pchb0 not configured pcib0 at pci0 dev 1 function 0 "NVIDIA nForce3 250 ISA" rev 0xa2 nviic0 at pci0 dev 1 function 1 "NVIDIA nForce3 250 SMBus" rev 0xa1 iic0 at nviic0 spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC3200CL3.0 iic1 at nviic0 ohci0 at pci0 dev 2 function 0 "NVIDIA nForce3 250 USB" rev 0xa1: apic 1 int 9, version 1.0, legacy support ohci1 at pci0 dev 2 function 1 "NVIDIA nForce3 250 USB" rev 0xa1: apic 1 int 5, version 1.0, legacy support ehci0 at pci0 dev 2 function 2 "NVIDIA nForce3 250 USB" rev 0xa2: apic 1 int 3 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 nfe0 at pci0 dev 5 function 0 "NVIDIA nForce3 LAN" rev 0xa2: apic 1 int 9, address 00:19:66:54:59:33 rlphy0 at nfe0 phy 1: RTL8201L 10/100 PHY, rev. 1 auich0 at pci0 dev 6 function 0 "NVIDIA nForce3 250 AC97" rev 0xa1: apic 1 int 9, nForce3 AC97 ac97: codec id 0x414c4790 (Avance Logic ALC850 rev 0) audio0 at auich0 pciide0 at pci0 dev 8 function 0 "NVIDIA nForce3 250 IDE" rev 0xa2: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility pciide0: channel 0 disabled (no drives) atapiscsi0 at pciide0 channel 1 drive 1 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 pciide1 at pci0 dev 10 function 0 "NVIDIA nForce3 250 SATA" rev 0xa2: DMA pciide1: using apic 1 int 10 for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 ppb0 at pci0 dev 11 function 0 "NVIDIA nForce3 250 AGP" rev 0xa2 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "NVIDIA GeForce FX 5500" rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb1 at pci0 dev 14 function 0 "NVIDIA nForce3 250" rev 0xa2 pci2 at ppb1 bus 2 rl0 at pci2 dev 5 function 0 "Realtek 8139" rev 0x10: apic 1 int 9, address 00:e0:52:9d:a1:08 rlphy1 at rl0 phy 0: RTL internal PHY pchb1 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 kate0 at pci0 dev 24 function 3 "AMD AMD64 0F
Re: USB mouse often not detected
Hi, I reinstalled OpenBSD 5.8 and updated to stable again, so I now have a clean install. The only thing I configured manually is: I added 'apmd_flags="-A"' in /etc/rc.conf.local to do CPU frequency scaling while I'm not sure my system supports it. It seems a randomly occuring problem. My mouse: "vendor 0x USB OPTICAL MOUSE". It's wholesale cheap stuff. Other OSes don't show the problem, and that makes me believe the mouse is doing alright. I happen to have two of them, so to be certain I'll swap it and test this new configuration in a few days. I'll keep you informed. I wouldn't be surprised if this cheap piece of hardware would have some minor incompatibility that only a correct OS's (OpenBSD) driver would crash upon. :-) (That doesn't explain Maurice's identical problem using a Logitech mouse. Also, to my knowledge a crashed driver would raise an error message which I didn't see.) Here are my dmesg outputs that might help. Of course if you want to see more files, I'd be happy to provide them. Also if you come up with some ideas I could test, let me know. (I won't be available for a few days however.) My dmesg detecting the mouse: OpenBSD 5.8-stable (GENERIC.MP) #0: Tue Nov 10 19:15:31 CET 2015 r...@test.example.com:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,CNXT-ID,xTPR,PERF real mem = 2675343360 (2551MB) avail mem = 2609262592 (2488MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: date 06/16/04, BIOS32 rev. 0 @ 0xeb560, SMBIOS rev. 2.3 @ 0xeeae0 (63 entries) bios0: vendor Hewlett-Packard version "786C1 v01.05" date 06/16/2004 bios0: Hewlett-Packard HP Compaq dc7100 SFF(DX878AV) acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC ASF! MCFG acpi0: wakeup devices PCI0(S4) PEG1(S4) PCX1(S4) PCX2(S4) PCX4(S4) HUB_(S4) COM1(S4) COM2(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EUSB(S3) PBTN(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu0: mwait min=64, max=64 cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) 4 CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,CNXT-ID,xTPR,PERF ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpimcfg0 at acpi0 addr 0xd000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 32 (PCX1) acpiprt2 at acpi0: bus 64 (PCX2) acpiprt3 at acpi0: bus -1 (PCX4) acpiprt4 at acpi0: bus 5 (HUB_) acpicpu0 at acpi0: C1(@1 halt!) acpicpu1 at acpi0: C1(@1 halt!) acpibtn0 at acpi0: PBTN bios0: ROM list: 0xc/0xa800! 0xca800/0x1000 0xcb800/0x2000 0xe9c00/0x6400! pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82915G Host" rev 0x04 vga1 at pci0 dev 2 function 0 "Intel 82915G Video" rev 0x04 intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 inteldrm0: 1024x768 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) "Intel 82915G Video" rev 0x04 at pci0 dev 2 function 1 not configured ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x03 pci1 at ppb0 bus 32 ppb1 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x03: apic 1 int 17 pci2 at ppb1 bus 64 bge0 at pci2 dev 0 function 0 "Broadcom BCM5751" rev 0x01, BCM5750 A1 (0x4001): apic 1 int 17, address 00:12:79:67:d1:01 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: apic 1 int 20 uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: apic 1 int 18 uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: apic 1 int 21 uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: apic 1 int 22 ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: apic 1 int 20 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb2 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd3 pci3 at ppb2 bus 5 auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: apic 1 int 21, ICH6 AC97 ac97: codec id 0x41445374 (Analog Devices AD1981B) ac97: codec features headphone, 20 bit DAC, No 3D Stereo audio0 at auich0 ichpcib0 at pci0 dev 31 function 0 "Intel 82801FB LPC" rev 0x03: PM disabled pciide0 at pci0 dev 31 function 1 "Intel 82801FB IDE" rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
Re: USB mouse often not detected
On Tue, Nov 10, 2015 at 10:47:24AM +0100, Stefan Sperling wrote: >We need a dmesg from both of you. OpenBSD 5.8 (GENERIC.MP) #1: Wed Oct 14 19:38:08 CEST 2015 jas...@stable-58-amd64.mtier.org:/binpatchng/work-binpatch58-amd64/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4160245760 (3967MB) avail mem = 4030267392 (3843MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb450 (75 entries) bios0: vendor American Megatrends Inc. version "F22" date 11/14/2013 bios0: Gigabyte Technology Co., Ltd. Z77-D3H acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG HPET SSDT SSDT SSDT DMAR acpi0: wakeup devices PS2K(S3) PS2M(S3) P0P1(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) USB6(S3) USB7(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz, 3403.85 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT cpu0: 256KB 64b/line 8-way L2 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges cpu0: apic clock running at 100MHz cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz, 3403.36 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT cpu1: 256KB 64b/line 8-way L2 cache cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz, 3403.36 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT cpu2: 256KB 64b/line 8-way L2 cache cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz, 3403.36 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT cpu3: 256KB 64b/line 8-way L2 cache cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf800, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P1) acpiprt2 at acpi0: bus 1 (RP01) acpiprt3 at acpi0: bus -1 (RP02) acpiprt4 at acpi0: bus -1 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus 2 (RP06) acpiprt8 at acpi0: bus 4 (RP07) acpiprt9 at acpi0: bus 5 (RP08) acpiprt10 at acpi0: bus -1 (PEG0) acpiprt11 at acpi0: bus -1 (PEG1) acpiprt12 at acpi0: bus -1 (PEG2) acpiprt13 at acpi0: bus -1 (PEG3) acpiec0 at acpi0: not present acpicpu0 at acpi0: C3(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS acpicpu1 at acpi0: C3(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS acpicpu2 at acpi0: C3(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS acpicpu3 at acpi0: C3(350@80 mwait.1@0x20), C1(1000@1 mwait.1), PSS acpipwrres0 at acpi0: FN00, resource for FAN0 acpipwrres1 at acpi0: FN01, resource for FAN1 acpipwrres2 at acpi0: FN02, resource for FAN2 acpipwrres3 at acpi0: FN03, resource for FAN3 acpipwrres4 at acpi0: FN04, resource for FAN4 acpitz0 at acpi0: critical temperature is 106 degC acpitz1 at acpi0: critical temperature is 106 degC acpibat0 at acpi0: BAT0 not present acpibat1 at acpi0: BAT1 not present acpibat2 at acpi0: BAT2 not present acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: LID0 acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD02 cpu0: Enhanced SpeedStep 3403 MHz: speeds: 3801, 3800, 3600, 3500, 3300, 3200, 3000, 2900, 2700, 2500, 2400, 2200, 2100, 1900, 1800, 1600 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09 vga1 at pci0 dev 2 function 0 "Intel HD Graphics 2500" rev 0x09 intagp at vga1 not configured inteldrm0 at vga1 drm0 at inteldrm0 inteldrm0: 1280x1024 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) xhc
Re: USB mouse often not detected
Sure, I'll post it when I'm at home. :) 2015-11-10 10:47 GMT+01:00 Stefan Sperling : > > We need a dmesg from both of you.
Re: USB mouse often not detected
On Tue, Nov 10, 2015 at 08:28:24AM +0100, Maurice Janssen wrote: > Paco Willers schreef op 2015-11-10 07:53: > >Hi, > > > > > >When using a PS/2 mouse everything worked fine. I swapped it for a USB > >mouse, but this mouse isn't always detected while booting my (386-based) > >OpenBSD 5.8-stable system. Replugging the mouse when the system is running > >usually solves the problem: the mouse is detected and works fine. > >Sometimes > >this replugging needs to be done several times on different USB ports for > >it to have effect. > > > >Before sending this message I checked whether the mouse itself is the > >problem because it's a cheap one, so I tried other OSes (Debian Linux 8.2, > >NetBSD 7.0 and FreeBSD 10.2) and the problem was gone, so my mouse looks > >OK. Possibly the problem is in the combination of my hardware with > >OpenBSD. > >However I would like to use OpenBSD. :) > > > >Is this a known problem? I saw some people on this mailing list having > >trouble with USB mouses periodically reconnecting, but that's not my > >problem: most of the time it isn't detected at all. > > I have the same issue, but much less frequent. I guess it happens one out > of 20 or 30 times I start the machine and replugging it once (in the same > port) always makes it work. And once it works, it keeps working without any > further issues. > I run 5.8-stable/amd64, but this also happened on 5.7-stable (and I think > also on older versions). > > Maurice We need a dmesg from both of you.
Re: USB mouse often not detected
Paco Willers schreef op 2015-11-10 07:53: Hi, When using a PS/2 mouse everything worked fine. I swapped it for a USB mouse, but this mouse isn't always detected while booting my (386-based) OpenBSD 5.8-stable system. Replugging the mouse when the system is running usually solves the problem: the mouse is detected and works fine. Sometimes this replugging needs to be done several times on different USB ports for it to have effect. Before sending this message I checked whether the mouse itself is the problem because it's a cheap one, so I tried other OSes (Debian Linux 8.2, NetBSD 7.0 and FreeBSD 10.2) and the problem was gone, so my mouse looks OK. Possibly the problem is in the combination of my hardware with OpenBSD. However I would like to use OpenBSD. :) Is this a known problem? I saw some people on this mailing list having trouble with USB mouses periodically reconnecting, but that's not my problem: most of the time it isn't detected at all. I have the same issue, but much less frequent. I guess it happens one out of 20 or 30 times I start the machine and replugging it once (in the same port) always makes it work. And once it works, it keeps working without any further issues. I run 5.8-stable/amd64, but this also happened on 5.7-stable (and I think also on older versions). Maurice
USB mouse often not detected
Hi, When using a PS/2 mouse everything worked fine. I swapped it for a USB mouse, but this mouse isn't always detected while booting my (386-based) OpenBSD 5.8-stable system. Replugging the mouse when the system is running usually solves the problem: the mouse is detected and works fine. Sometimes this replugging needs to be done several times on different USB ports for it to have effect. Before sending this message I checked whether the mouse itself is the problem because it's a cheap one, so I tried other OSes (Debian Linux 8.2, NetBSD 7.0 and FreeBSD 10.2) and the problem was gone, so my mouse looks OK. Possibly the problem is in the combination of my hardware with OpenBSD. However I would like to use OpenBSD. :) Is this a known problem? I saw some people on this mailing list having trouble with USB mouses periodically reconnecting, but that's not my problem: most of the time it isn't detected at all. I'm sorry I can't send a dmesg right now. :) If needed I'll post one later. Have a nice day, Paco
Re: USB mouse spontaneously detaching
Data point: plugging a no-name USB mouse into a PS/2 to USB adapter instead of directly into a USB 2.0 port on old HP amd64 board seems to have solved this in my case. Regards, Howard E.
Re: USB mouse spontaneously detaching
"i dont know what im doing" - mistake... i sent an abbreviated dmesg, sorry... h. :) On Wed, Aug 19, 2015 at 6:36 AM, harold felton wrote: > howdee, > > im monitoring this thread cautiously since i dont know what im doing > sometimes... > > i noticed similar behaviour with my mouse - but had attributed the > messages to the fact > that i use a manual kvm-switch... so whenever i "switched" i was certain > it had triggered... > i will enclose my dmesg as well - but maybe the other folks are getting > their messages > for similar types of reasons ? ( eg - vm switch ? hub powering down ? ) > > > > On Tue, Aug 18, 2015 at 2:45 PM, L.R. D.S. wrote: > >> Same problem, build #1024. This output not just flood all tty, but also >> my dmesg >> (no output in "# dmesg" except the bellow): >> >> wsmouse1 detached >> ums1 detached >> uhidev2 detached >> uhidev2 at uhub3 port 6 configuration 1 interface 0 "Logitech USB Optical >> Mouse" rev 2.00/63.00 addr 4 >> uhidev2: iclass 3/1 >> ums1 at uhidev2: 3 buttons, Z dir >> wsmouse1 at ums1 mux 0 >> >> Probably not a problem in USB 3.0, since I had the same issue on old >> builds in >> a hardware with USB 2.0. >> I'll follow this thread, because this is really annoying for me (I need >> to remove >> my mouse everytime I do something in tty). >> >> > > > -- > harold at hfelton.com > -- harold at hfelton.com OpenBSD 5.7 (RAMDISK_CD) #806: Sun Mar 8 11:08:49 MDT 2015 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD real mem = 10410303488 (9928MB) avail mem = 10131492864 (9662MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb450 (74 entries) bios0: vendor American Megatrends Inc. version "4.6.5" date 05/22/2014 bios0: ZOTAC ZBOX-ID88/ID89/ID90 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT MCFG MSDM HPET SSDT SSDT SSDT BGRT acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i3-3220T CPU @ 2.80GHz, 2794.14 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 99MHz cpu at mainbus0: not configured cpu at mainbus0: not configured cpu at mainbus0: not configured ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P1) acpiprt2 at acpi0: bus 2 (RP01) acpiprt3 at acpi0: bus 3 (RP02) acpiprt4 at acpi0: bus 4 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus 5 (RP05) acpiprt7 at acpi0: bus -1 (RP06) acpiprt8 at acpi0: bus -1 (RP07) acpiprt9 at acpi0: bus -1 (RP08) acpiprt10 at acpi0: bus 1 (PEG0) acpiprt11 at acpi0: bus -1 (PEG1) acpiprt12 at acpi0: bus -1 (PEG2) acpiprt13 at acpi0: bus -1 (PEG3) pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09 ppb0 at pci0 dev 1 function 0 "Intel Core 3G PCIE" rev 0x09: msi pci1 at ppb0 bus 1 vga1 at pci0 dev 2 function 0 "Intel HD Graphics 2500" rev 0x09 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) "Intel 6 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured ehci0 at pci0 dev 26 function 0 "Intel 6 Series USB" rev 0x05: apic 2 int 16 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 "Intel 6 Series HD Audio" rev 0x05 at pci0 dev 27 function 0 not configured ppb1 at pci0 dev 28 function 0 "Intel 6 Series PCIE" rev 0xb5: msi pci2 at ppb1 bus 2 "Intel Dual Band Wireless AC 3160" rev 0x83 at pci2 dev 0 function 0 not configured ppb2 at pci0 dev 28 function 1 "Intel 6 Series PCIE" rev 0xb5: msi pci3 at ppb2 bus 3 re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL (0x2c80), msi, address 00:01:2e:58:4a:52 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5 ppb3 at pci0 dev 28 function 2 "Intel 6 Series PCIE" rev 0xb5: msi pci4 at ppb3 bus 4 re1 at pci4 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL (0x2c80), msi, address 00:01:2e:58:4a:53 rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 5 ppb4 at pci0 dev 28 function 4 "Intel 6 Series PCIE" rev 0xb5: msi pci5 at ppb4 bus 5 xhci0 at pci5 dev 0 function 0 "Renesas uPD720202 xHCI" rev 0x02: msi usb1 at xhci0: USB revision 3.0 uhub1 at usb1 "Renesas xHCI root hub" rev 3.00/1.00 addr 1 ehci1 at pci0 dev 29 function 0 "Intel 6 Series USB" rev 0x05: apic 2 int 23 usb2 at ehci1: USB revision 2.0 uhub2 at usb2 "Intel EHCI root hub" rev 2.00/1.00 addr 1 "Intel H61 LPC" rev 0x05 at pci0 dev 31 function 0 not configured ahci0 at pci0 dev 31 function 2 "Intel 6 Series AHCI" rev 0x05: msi, AHCI 1.3 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: SCSI3 0/direct fixed naa.50014ee257c45dc5 sd0: 152627MB, 512 bytes/sector, 312581808 sectors "Intel 6 Series
Re: USB mouse spontaneously detaching
howdee, im monitoring this thread cautiously since i dont know what im doing sometimes... i noticed similar behaviour with my mouse - but had attributed the messages to the fact that i use a manual kvm-switch... so whenever i "switched" i was certain it had triggered... i will enclose my dmesg as well - but maybe the other folks are getting their messages for similar types of reasons ? ( eg - vm switch ? hub powering down ? ) On Tue, Aug 18, 2015 at 2:45 PM, L.R. D.S. wrote: > Same problem, build #1024. This output not just flood all tty, but also my > dmesg > (no output in "# dmesg" except the bellow): > > wsmouse1 detached > ums1 detached > uhidev2 detached > uhidev2 at uhub3 port 6 configuration 1 interface 0 "Logitech USB Optical > Mouse" rev 2.00/63.00 addr 4 > uhidev2: iclass 3/1 > ums1 at uhidev2: 3 buttons, Z dir > wsmouse1 at ums1 mux 0 > > Probably not a problem in USB 3.0, since I had the same issue on old > builds in > a hardware with USB 2.0. > I'll follow this thread, because this is really annoying for me (I need to > remove > my mouse everytime I do something in tty). > > -- harold at hfelton.com OpenBSD 5.7 (GENERIC) #738: Sun Mar 8 10:59:31 MDT 2015 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Celeron(R) CPU 2.53GHz ("GenuineIntel" 686-class) 2.53 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,CNXT-ID,xTPR,PERF real mem = 2138001408 (2038MB) avail mem = 2090708992 (1993MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: date 01/03/06, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (59 entries) bios0: vendor Dell Computer Corporation version "A01" date 01/03/2006 bios0: Dell Computer Corporation Dell DE051 acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC BOOT acpi0: wakeup devices VBTN(S4) PCI0(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) PCI1(S5) KBD_(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 132MHz ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PCI1) acpicpu0 at acpi0 acpibtn0 at acpi0: VBTN bios0: ROM list: 0xc/0xa800 0xca800/0x1800! pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82865G Host" rev 0x02 vga1 at pci0 dev 2 function 0 "Intel 82865G Video" rev 0x02 intagp0 at vga1 agp0 at intagp0: aperture at 0xe800, size 0x800 inteldrm0 at vga1 drm0 at inteldrm0 inteldrm0: 1280x1024 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: apic 1 int 16 uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: apic 1 int 19 uhci2 at pci0 dev 29 function 3 "Intel 82801EB/ER USB" rev 0x02: apic 1 int 16 ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB2" rev 0x02: apic 1 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb0 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xc2 pci1 at ppb0 bus 1 uhci3 at pci1 dev 1 function 0 "VIA VT83C572 USB" rev 0x62: apic 1 int 22 uhci4 at pci1 dev 1 function 1 "VIA VT83C572 USB" rev 0x62: apic 1 int 21 ehci1 at pci1 dev 1 function 2 "VIA VT6202 USB" rev 0x65: apic 1 int 20 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "VIA EHCI root hub" rev 2.00/1.00 addr 1 fxp0 at pci1 dev 8 function 0 "Intel PRO/100 VE" rev 0x02, i82562: apic 1 int 20, address 00:16:76:39:fb:e0 inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 usb2 at uhci3: USB revision 1.0 uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci4: USB revision 1.0 uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1 ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02 pciide0 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 152587MB, 31250 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 0 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: <_NEC, DVD+-RW ND-3530A, 103C> ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 "Intel 82801EB/ER SMBus" rev 0x02: apic 1 int 17 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC2100CL2.5 spdmem1 at iic0 addr 0x52: 1GB DDR SDRAM non-parity PC2100CL2.5 usb4 at uhci0: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb5 at uhci1: USB revisi
Re: USB mouse spontaneously detaching
Same problem, build #1024. This output not just flood all tty, but also my dmesg (no output in "# dmesg" except the bellow): wsmouse1 detached ums1 detached uhidev2 detached uhidev2 at uhub3 port 6 configuration 1 interface 0 "Logitech USB Optical Mouse" rev 2.00/63.00 addr 4 uhidev2: iclass 3/1 ums1 at uhidev2: 3 buttons, Z dir wsmouse1 at ums1 mux 0 Probably not a problem in USB 3.0, since I had the same issue on old builds in a hardware with USB 2.0. I'll follow this thread, because this is really annoying for me (I need to remove my mouse everytime I do something in tty).
Re: USB mouse spontaneously detaching
Hi guys I tested with a wired Logitech keyboard (same as originally posted) and wireless Logitech mouse (that I use for my laptops) and nothing detached. This seems very strange that from a wired mouse to a wireless mouse would stop the detachment. Since Luciano tried his Microsoft wired/wireless mouse and had the same detachment issue with both. Again I'll post any new findings. On Tuesday, August 18, 2015, Vijay Sankar wrote: > Just out of curiousity, I tried this on my desktop workstation (5.7 > -stable, AMD64) with a Microsoft Mouse and a Microsoft Keyboard. I normally > use KDE4 so don't see any of the console messages. So wanted to check if > the messages come up on a system without the KVM. > > It does on this system as well. Did not see any difference after removing > USB 3.0 support so went back to the default settings > > uhidev1 at uhub4 port 5 configuration 1 interface 0 "Microsoft Microsoft > Basic Optical Mouse" rev 1.10/1.04 addr 4 > uhidev1: iclass 3/1 > ums0 at uhidev1: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > wsmouse0 detached > ums0 detached > uhidev1 detached > uhidev1 at uhub4 port 5 configuration 1 interface 0 "Microsoft Microsoft > Basic Optical Mouse" rev 1.10/1.04 addr 4 > uhidev1: iclass 3/1 > ums0 at uhidev1: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > > > > > Quoting Luciano Rottava da Silva : > > Thatôs exactly my approach as well. (-: >> >> Boot the machine and switch to another tty. So looks like issue is much >> older than I thought. >> >> By the way, I have a mechanical brown cherry switch japanese keyboard and >> also I HHKB, and both work perfectly. On the other hand, both mice have >> this behaviour. >> >> >> On 18 August 2015 at 09:40, Vijay Sankar wrote: >> >> I have had the same issue going back to OpenBSD 4.x ever since I changed >>> the KVM that had PS2 mouse and keyboard to a KVM with USB mouse etc. As a >>> result I always thought it was because of my KVM, so did not report it >>> all >>> these years!!! >>> >>> Anyways, my caveman like approach to solve this was to do a CTRL-ALT-F2 >>> if >>> I had to do anything with vi etc. >>> >>> Vijay >>> >>> Quoting Shaun Reiger : >>> >>> Ok so I use a cheep Logitech K120 keyboard and mouse that are plugged in >>> to >>> >>>> the usb 2 ports when I see the detach messages. But I tried a test with >>>> a >>>> combined keyboard/mouse also a Logitech model K400r and I haven't seen >>>> any >>>> detach messages. This was also plugged into the same usb 2 port. I have >>>> a >>>> HHKB keyboard which also doesn't illicit any detach message. These >>>> detach >>>> message may only be caused by specific keyboard and mouse models. >>>> >>>> I'll keep testing and post any findings. >>>> >>>> >>>> >>>> On Monday, August 17, 2015, Luciano Rottava da Silva >>> > >>>> wrote: >>>> >>>> Here it is my dmesg: >>>> >>>>> >>>>> OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar 8 11:04:17 MDT 2015 >>>>> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/ >>>>> GENERIC.MP >>>>> real mem = 8015122432 (7643MB) >>>>> avail mem = 7797841920 (7436MB) >>>>> mpath0 at root >>>>> scsibus0 at mpath0: 256 targets >>>>> mainbus0 at root >>>>> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeb0d0 (56 entries) >>>>> bios0: vendor American Megatrends Inc. version "1609" date 01/07/2014 >>>>> bios0: ASUSTeK COMPUTER INC. F1A55-M LE >>>>> acpi0 at bios0: rev 2 >>>>> acpi0: sleep states S0 S3 S4 S5 >>>>> acpi0: tables DSDT FACP APIC MCFG HPET SSDT SSDT >>>>> acpi0: wakeup devices SBAZ(S4) PS2K(S4) PS2M(S4) UAR1(S4) UHC1(S4) >>>>> UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4) >>>>> PE21(S4) RLAN(S4) PE22(S4) PE23(S4) [...] >>>>> acpitimer0 at acpi0: 3579545 Hz, 32 bits >>>>> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat >>>>> cpu0 at mainbus0: apid 0 (boot processor) >>>>> cpu0: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2100.18 MHz >>>>> cpu0: >>>>> >>>>> >>>>> >> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS >> >> H,MMX,
Re: USB mouse spontaneously detaching
Just out of curiousity, I tried this on my desktop workstation (5.7 -stable, AMD64) with a Microsoft Mouse and a Microsoft Keyboard. I normally use KDE4 so don't see any of the console messages. So wanted to check if the messages come up on a system without the KVM. It does on this system as well. Did not see any difference after removing USB 3.0 support so went back to the default settings uhidev1 at uhub4 port 5 configuration 1 interface 0 "Microsoft Microsoft Basic Optical Mouse" rev 1.10/1.04 addr 4 uhidev1: iclass 3/1 ums0 at uhidev1: 3 buttons, Z dir wsmouse0 at ums0 mux 0 wsmouse0 detached ums0 detached uhidev1 detached uhidev1 at uhub4 port 5 configuration 1 interface 0 "Microsoft Microsoft Basic Optical Mouse" rev 1.10/1.04 addr 4 uhidev1: iclass 3/1 ums0 at uhidev1: 3 buttons, Z dir wsmouse0 at ums0 mux 0 Quoting Luciano Rottava da Silva : That´s exactly my approach as well. (-: Boot the machine and switch to another tty. So looks like issue is much older than I thought. By the way, I have a mechanical brown cherry switch japanese keyboard and also I HHKB, and both work perfectly. On the other hand, both mice have this behaviour. On 18 August 2015 at 09:40, Vijay Sankar wrote: I have had the same issue going back to OpenBSD 4.x ever since I changed the KVM that had PS2 mouse and keyboard to a KVM with USB mouse etc. As a result I always thought it was because of my KVM, so did not report it all these years!!! Anyways, my caveman like approach to solve this was to do a CTRL-ALT-F2 if I had to do anything with vi etc. Vijay Quoting Shaun Reiger : Ok so I use a cheep Logitech K120 keyboard and mouse that are plugged in to the usb 2 ports when I see the detach messages. But I tried a test with a combined keyboard/mouse also a Logitech model K400r and I haven't seen any detach messages. This was also plugged into the same usb 2 port. I have a HHKB keyboard which also doesn't illicit any detach message. These detach message may only be caused by specific keyboard and mouse models. I'll keep testing and post any findings. On Monday, August 17, 2015, Luciano Rottava da Silva wrote: Here it is my dmesg: OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar 8 11:04:17 MDT 2015 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8015122432 (7643MB) avail mem = 7797841920 (7436MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeb0d0 (56 entries) bios0: vendor American Megatrends Inc. version "1609" date 01/07/2014 bios0: ASUSTeK COMPUTER INC. F1A55-M LE acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG HPET SSDT SSDT acpi0: wakeup devices SBAZ(S4) PS2K(S4) PS2M(S4) UAR1(S4) UHC1(S4) UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4) PE21(S4) RLAN(S4) PE22(S4) PE23(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2100.18 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3D NOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKIN IT,ITSC cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: AMD erratum 721 detected and fixed cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2099.94 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3D NOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKIN IT,ITSC cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu1: AMD erratum 721 detected and fixed cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2099.94 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3D NOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKIN IT,ITSC cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2
Re: USB mouse spontaneously detaching
That´s exactly my approach as well. (-: Boot the machine and switch to another tty. So looks like issue is much older than I thought. By the way, I have a mechanical brown cherry switch japanese keyboard and also I HHKB, and both work perfectly. On the other hand, both mice have this behaviour. On 18 August 2015 at 09:40, Vijay Sankar wrote: > I have had the same issue going back to OpenBSD 4.x ever since I changed > the KVM that had PS2 mouse and keyboard to a KVM with USB mouse etc. As a > result I always thought it was because of my KVM, so did not report it all > these years!!! > > Anyways, my caveman like approach to solve this was to do a CTRL-ALT-F2 if > I had to do anything with vi etc. > > Vijay > > Quoting Shaun Reiger : > > Ok so I use a cheep Logitech K120 keyboard and mouse that are plugged in to >> the usb 2 ports when I see the detach messages. But I tried a test with a >> combined keyboard/mouse also a Logitech model K400r and I haven't seen any >> detach messages. This was also plugged into the same usb 2 port. I have a >> HHKB keyboard which also doesn't illicit any detach message. These detach >> message may only be caused by specific keyboard and mouse models. >> >> I'll keep testing and post any findings. >> >> >> >> On Monday, August 17, 2015, Luciano Rottava da Silva >> wrote: >> >> Here it is my dmesg: >>> >>> OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar 8 11:04:17 MDT 2015 >>> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP >>> real mem = 8015122432 (7643MB) >>> avail mem = 7797841920 (7436MB) >>> mpath0 at root >>> scsibus0 at mpath0: 256 targets >>> mainbus0 at root >>> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeb0d0 (56 entries) >>> bios0: vendor American Megatrends Inc. version "1609" date 01/07/2014 >>> bios0: ASUSTeK COMPUTER INC. F1A55-M LE >>> acpi0 at bios0: rev 2 >>> acpi0: sleep states S0 S3 S4 S5 >>> acpi0: tables DSDT FACP APIC MCFG HPET SSDT SSDT >>> acpi0: wakeup devices SBAZ(S4) PS2K(S4) PS2M(S4) UAR1(S4) UHC1(S4) >>> UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4) >>> PE21(S4) RLAN(S4) PE22(S4) PE23(S4) [...] >>> acpitimer0 at acpi0: 3579545 Hz, 32 bits >>> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat >>> cpu0 at mainbus0: apid 0 (boot processor) >>> cpu0: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2100.18 MHz >>> cpu0: >>> >>> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3D NOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKIN IT,ITSC >>> cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB >>> 64b/line 16-way L2 cache >>> cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully >>> associative >>> cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully >>> associative >>> cpu0: AMD erratum 721 detected and fixed >>> cpu0: smt 0, core 0, package 0 >>> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges >>> cpu0: apic clock running at 199MHz >>> cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE >>> cpu1 at mainbus0: apid 1 (application processor) >>> cpu1: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2099.94 MHz >>> cpu1: >>> >>> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3D NOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKIN IT,ITSC >>> cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB >>> 64b/line 16-way L2 cache >>> cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully >>> associative >>> cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully >>> associative >>> cpu1: AMD erratum 721 detected and fixed >>> cpu1: smt 0, core 1, package 0 >>> cpu2 at mainbus0: apid 2 (application processor) >>> cpu2: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2099.94 MHz >>> cpu2: >>> >>> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3D NOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKIN IT,ITSC >>> cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB >>> 64b/line 16-way L2 cache >>> cpu
Re: USB mouse spontaneously detaching
I have had the same issue going back to OpenBSD 4.x ever since I changed the KVM that had PS2 mouse and keyboard to a KVM with USB mouse etc. As a result I always thought it was because of my KVM, so did not report it all these years!!! Anyways, my caveman like approach to solve this was to do a CTRL-ALT-F2 if I had to do anything with vi etc. Vijay Quoting Shaun Reiger : Ok so I use a cheep Logitech K120 keyboard and mouse that are plugged in to the usb 2 ports when I see the detach messages. But I tried a test with a combined keyboard/mouse also a Logitech model K400r and I haven't seen any detach messages. This was also plugged into the same usb 2 port. I have a HHKB keyboard which also doesn't illicit any detach message. These detach message may only be caused by specific keyboard and mouse models. I'll keep testing and post any findings. On Monday, August 17, 2015, Luciano Rottava da Silva wrote: Here it is my dmesg: OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar 8 11:04:17 MDT 2015 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8015122432 (7643MB) avail mem = 7797841920 (7436MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xeb0d0 (56 entries) bios0: vendor American Megatrends Inc. version "1609" date 01/07/2014 bios0: ASUSTeK COMPUTER INC. F1A55-M LE acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG HPET SSDT SSDT acpi0: wakeup devices SBAZ(S4) PS2K(S4) PS2M(S4) UAR1(S4) UHC1(S4) UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4) PE21(S4) RLAN(S4) PE22(S4) PE23(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2100.18 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: AMD erratum 721 detected and fixed cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2099.94 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu1: AMD erratum 721 detected and fixed cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD A6-3500 APU with Radeon(tm) HD Graphics, 2099.94 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu2: AMD erratum 721 detected and fixed cpu2: smt 0, core 2, package 0 ioapic0 at mainbus0: apid 4 pa 0xfec0, version 21, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (PE20) acpiprt2 at acpi0: bus 3 (PE21) acpiprt3 at acpi0: bus -1 (PE22) acpiprt4 at acpi0: bus -1 (PE23) acpiprt5 at acpi0: bus -1 (BR13) acpiprt6 at acpi0: bus -1 (PCE2) acpiprt7 at acpi0: bus -1 (PCE4) acpiprt8 at acpi0: bus 1 (P0PC) acpicpu0 at acpi0: C2, PSS acpicpu1 at acpi0: C2, PSS acpicpu2 at acpi0: C2, PSS acpibtn0 at acpi0: PWRB cpu0: 2100 MHz: speeds: 2100 1900 1600 1400 1200 1000 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "AMD AMD64 12h Host" rev 0x00 radeondrm0 at pci0 dev 1 function 0 "ATI Radeon HD 6530D" rev 0x00 drm0 at radeondrm0 radeondrm0: msi ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: msi, AHCI 1.3 scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: SCSI3 0/direct fixed naa.50014ee0adec84e1 sd0: 476940MB, 512 bytes/sector, 9767731
Re: USB mouse spontaneously detaching
: 476940MB, 512 bytes/sector, 976773168 sectors > cd0 at scsibus1 targ 2 lun 0: ATAPI > 5/cdrom removable > ohci0 at pci0 dev 18 function 0 "AMD Hudson-2 USB" rev 0x11: apic 4 > int 18, version 1.0, legacy support > ehci0 at pci0 dev 18 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 4 int 17 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1 > ohci1 at pci0 dev 19 function 0 "AMD Hudson-2 USB" rev 0x11: apic 4 > int 18, version 1.0, legacy support > ehci1 at pci0 dev 19 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 4 int 17 > usb1 at ehci1: USB revision 2.0 > uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1 > piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x13: polling > iic0 at piixpm0 > iic0: addr 0x20 01=0d 02=17 03=26 04=00 05=00 06=00 07=00 08=00 09=00 > 0a=10 0b=10 0c=10 0d=10 0e=08 0f=8c 10=00 11=00 12=00 13=00 14=00 > 15=0f 16=1f 17=20 18=e0 19=fb 1a=a8 1b=a3 1c=ac 1d=80 1e=04 1f=03 > 20=09 21=09 22=09 23=09 24=37 3e=a3 words 00=ff0d 01=0d17 02=1726 > 03=2600 04= 05= 06= 07= > spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600 > "eeprom" at iic0 addr 0x51 not configured > azalia0 at pci0 dev 20 function 2 "AMD Hudson-2 HD Audio" rev 0x01: > apic 4 int 16 > azalia0: codecs: Realtek/0x0887 > audio0 at azalia0 > pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11 > ppb0 at pci0 dev 20 function 4 "AMD Hudson-2 PCI" rev 0x40 > pci1 at ppb0 bus 1 > ohci2 at pci0 dev 20 function 5 "AMD Hudson-2 USB" rev 0x11: apic 4 > int 18, version 1.0, legacy support > ppb1 at pci0 dev 21 function 0 "AMD Hudson-2 PCIE" rev 0x00 > pci2 at ppb1 bus 2 > ppb2 at pci0 dev 21 function 1 "AMD Hudson-2 PCIE" rev 0x00 > pci3 at ppb2 bus 3 > re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x06: > RTL8168E/8111E-VL (0x2c80), msi, address 14:da:e9:ef:25:18 > rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5 > ohci3 at pci0 dev 22 function 0 "AMD Hudson-2 USB" rev 0x11: apic 4 > int 18, version 1.0, legacy support > ehci2 at pci0 dev 22 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 4 int 17 > usb2 at ehci2: USB revision 2.0 > uhub2 at usb2 "AMD EHCI root hub" rev 2.00/1.00 addr 1 > pchb1 at pci0 dev 24 function 0 "AMD AMD64 14h Link Cfg" rev 0x43 > pchb2 at pci0 dev 24 function 1 "AMD AMD64 14h Address Map" rev 0x00 > pchb3 at pci0 dev 24 function 2 "AMD AMD64 14h DRAM Cfg" rev 0x00 > km0 at pci0 dev 24 function 3 "AMD AMD64 14h Misc Cfg" rev 0x00 > pchb4 at pci0 dev 24 function 4 "AMD AMD64 14h CPU Power" rev 0x00 > pchb5 at pci0 dev 24 function 5 "AMD AMD64 14h Reserved" rev 0x00 > pchb6 at pci0 dev 24 function 6 "AMD AMD64 14h NB Power" rev 0x00 > pchb7 at pci0 dev 24 function 7 "AMD AMD64 14h Reserved" rev 0x00 > usb3 at ohci0: USB revision 1.0 > uhub3 at usb3 "AMD OHCI root hub" rev 1.00/1.00 addr 1 > usb4 at ohci1: USB revision 1.0 > uhub4 at usb4 "AMD OHCI root hub" rev 1.00/1.00 addr 1 > isa0 at pcib0 > isadma0 at isa0 > pckbc0 at isa0 port 0x60/5 > pckbd0 at pckbc0 (kbd slot) > pckbc0: using irq 1 for kbd slot > wskbd0 at pckbd0: console keyboard > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > usb5 at ohci2: USB revision 1.0 > uhub5 at usb5 "AMD OHCI root hub" rev 1.00/1.00 addr 1 > usb6 at ohci3: USB revision 1.0 > uhub6 at usb6 "AMD OHCI root hub" rev 1.00/1.00 addr 1 > urtwn0 at uhub2 port 2 "802.11n USB WLAN" rev 2.00/2.00 addr 2 > urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R, address a0:f3:c1:17:ca:22 > uhidev0 at uhub3 port 3 configuration 1 interface 0 "Heng Yu > Technology Pure Pro" rev 1.10/1.00 addr 2 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 variable keys, 6 key codes > wskbd1 at ukbd0 mux 1 > uhidev1 at uhub3 port 3 configuration 1 interface 1 "Heng Yu > Technology Pure Pro" rev 1.10/1.00 addr 2 > uhidev1: iclass 3/0, 3 report ids > uhid0 at uhidev1 reportid 1: input=0, output=0, feature=7 > uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0 > uhid2 at uhidev1 reportid 3: input=3, output=0, feature=0 > uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft > Microsoft Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 > uhidev2: iclass 3/1 > ums0 at uhidev2: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (21999d7538f1f0a2.a) swap on sd0b dump on sd0b > radeondrm0: 1920x1080 > wsdisplay0 at radeondrm0 mux 1: consol
Re: USB mouse spontaneously detaching
=04 1f=03 20=09 21=09 22=09 23=09 24=37 3e=a3 words 00=ff0d 01=0d17 02=1726 03=2600 04= 05= 06= 07= spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600 "eeprom" at iic0 addr 0x51 not configured azalia0 at pci0 dev 20 function 2 "AMD Hudson-2 HD Audio" rev 0x01: apic 4 int 16 azalia0: codecs: Realtek/0x0887 audio0 at azalia0 pcib0 at pci0 dev 20 function 3 "AMD Hudson-2 LPC" rev 0x11 ppb0 at pci0 dev 20 function 4 "AMD Hudson-2 PCI" rev 0x40 pci1 at ppb0 bus 1 ohci2 at pci0 dev 20 function 5 "AMD Hudson-2 USB" rev 0x11: apic 4 int 18, version 1.0, legacy support ppb1 at pci0 dev 21 function 0 "AMD Hudson-2 PCIE" rev 0x00 pci2 at ppb1 bus 2 ppb2 at pci0 dev 21 function 1 "AMD Hudson-2 PCIE" rev 0x00 pci3 at ppb2 bus 3 re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL (0x2c80), msi, address 14:da:e9:ef:25:18 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5 ohci3 at pci0 dev 22 function 0 "AMD Hudson-2 USB" rev 0x11: apic 4 int 18, version 1.0, legacy support ehci2 at pci0 dev 22 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 4 int 17 usb2 at ehci2: USB revision 2.0 uhub2 at usb2 "AMD EHCI root hub" rev 2.00/1.00 addr 1 pchb1 at pci0 dev 24 function 0 "AMD AMD64 14h Link Cfg" rev 0x43 pchb2 at pci0 dev 24 function 1 "AMD AMD64 14h Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 14h DRAM Cfg" rev 0x00 km0 at pci0 dev 24 function 3 "AMD AMD64 14h Misc Cfg" rev 0x00 pchb4 at pci0 dev 24 function 4 "AMD AMD64 14h CPU Power" rev 0x00 pchb5 at pci0 dev 24 function 5 "AMD AMD64 14h Reserved" rev 0x00 pchb6 at pci0 dev 24 function 6 "AMD AMD64 14h NB Power" rev 0x00 pchb7 at pci0 dev 24 function 7 "AMD AMD64 14h Reserved" rev 0x00 usb3 at ohci0: USB revision 1.0 uhub3 at usb3 "AMD OHCI root hub" rev 1.00/1.00 addr 1 usb4 at ohci1: USB revision 1.0 uhub4 at usb4 "AMD OHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard pcppi0 at isa0 port 0x61 spkr0 at pcppi0 usb5 at ohci2: USB revision 1.0 uhub5 at usb5 "AMD OHCI root hub" rev 1.00/1.00 addr 1 usb6 at ohci3: USB revision 1.0 uhub6 at usb6 "AMD OHCI root hub" rev 1.00/1.00 addr 1 urtwn0 at uhub2 port 2 "802.11n USB WLAN" rev 2.00/2.00 addr 2 urtwn0: MAC/BB RTL8192CU, RF 6052 2T2R, address a0:f3:c1:17:ca:22 uhidev0 at uhub3 port 3 configuration 1 interface 0 "Heng Yu Technology Pure Pro" rev 1.10/1.00 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 uhidev1 at uhub3 port 3 configuration 1 interface 1 "Heng Yu Technology Pure Pro" rev 1.10/1.00 addr 2 uhidev1: iclass 3/0, 3 report ids uhid0 at uhidev1 reportid 1: input=0, output=0, feature=7 uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0 uhid2 at uhidev1 reportid 3: input=3, output=0, feature=0 uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 uhidev2: iclass 3/1 ums0 at uhidev2: 3 buttons, Z dir wsmouse0 at ums0 mux 0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (21999d7538f1f0a2.a) swap on sd0b dump on sd0b radeondrm0: 1920x1080 wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 wskbd1: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation) wsmouse0 detached ums0 detached uhidev2 detached uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 uhidev2: iclass 3/1 ums0 at uhidev2: 3 buttons, Z dir wsmouse0 at ums0 mux 0 Now I'm using a wired basic MS mouse. Cheers, Luciano. On 16 August 2015 at 15:48, Luciano Rottava da Silva wrote: > Hi folks, > > I am running an OpenBSD 5.7 on amd64 with the very few packages which I > require for lean desktop. And as usual, pretty much everything is working. > > The only glitch is the mouse support, or maybe my devices. > > Every minute or so USB mouse detaches itself, and this happens in console > mode after booting the machine, and keeps on. > > This is what I get in ttyC0: > > ums0 detached > uhidev2 detached > uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft > Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 > uhidev2: iclass 3/1 > ums0 at uhidev2: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > wsmouse0 detached > ums0 detached > uhidev2 detached > uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft > Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 > uhidev2: iclass 3/1 > ums0
Re: USB mouse spontaneously detaching
No xscreensaver package is installed. Actually this happens even during installation process, like Shaun described. I also disconnected the mouse when I was doing a fresh install of 5.7. Maybe a side effect of usb 3.0 support. On 17 August 2015 at 11:46, Richard Thornton wrote: > If you have xscreensaver installed, that definitely does not always play > nice with mice and keyboards; perhaps it's something like that. > > Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G > LTE network. > Original Message > From: Luciano Rottava da Silva > Sent: Monday, August 17, 2015 9:14 AM > To: misc@openbsd.org > Subject: Re: USB mouse spontaneously detaching > > Yeah, that��s exactly what I am doing too. > > What��s the brand of your mouse? Was considering buying a Logitech but > looks > like problem is not mouse itself. > > > On 16 August 2015 at 15:48, Luciano Rottava da Silva > wrote: > > > Hi folks, > > > > I am running an OpenBSD 5.7 on amd64 with the very few packages which I > > require for lean desktop. And as usual, pretty much everything is > working. > > > > The only glitch is the mouse support, or maybe my devices. > > > > Every minute or so USB mouse detaches itself, and this happens in console > > mode after booting the machine, and keeps on. > > > > This is what I get in ttyC0: > > > > ums0 detached > > uhidev2 detached > > uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft > > Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 > > uhidev2: iclass 3/1 > > ums0 at uhidev2: 3 buttons, Z dir > > wsmouse0 at ums0 mux 0 > > wsmouse0 detached > > ums0 detached > > uhidev2 detached > > uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft > > Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 > > uhidev2: iclass 3/1 > > ums0 at uhidev2: 3 buttons, Z dir > > wsmouse0 at ums0 mux 0 > > > > I have two MS basic optical mouse, one wired and another wireless. The > > behaviour is exactly the same. > > > > wsmoused is not running, and I have nothing in my xorg.conf (actually I > > don't have a xorg.conf). > > > > I've found only one reference to a similar problem in misc@ but, > > unfortunatelly, there was no reply. > > > > So, any suggestion? Important to highlight that in X mouse works > > perfectly. It's just those annoying messages that keep popping up in the > > console that bothers me. > > > > Cheers, > > Luciano.
Re: USB mouse spontaneously detaching
On 08/17/15 12:02, ludovic coues wrote: Do you mind to share a dmesg ? If I had to take a guess on why, I would say there is some pretty aggressive USB power-saving powering down the device when there is no activity. Also, it doesn't seem related to your device nor your OS. So a dmesg would give more details on your machine and might help to explain why these detach keep happening. OpenBSD 5.8 (GENERIC.MP) #1235: Mon Aug 10 06:54:34 MDT 2015 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3721445376 (3549MB) avail mem = 3604766720 (3437MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xe9590 (50 entries) bios0: vendor American Megatrends Inc. version "V2.0" date 02/04/2013 bios0: MSI MS-7786 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT MCFG HPET SSDT acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) P0PC(S4) UHC1(S4) UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) PE20(S4) PE21(S4) PE22(S4) PE23(S4) BR12(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD A4-3400 APU with Radeon(tm) HD Graphics, 2695.45 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: AMD erratum 721 detected and fixed cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 199MHz cpu0: mwait min=64, max=64, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD A4-3400 APU with Radeon(tm) HD Graphics, 2695.10 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu1: AMD erratum 721 detected and fixed cpu1: smt 0, core 1, package 0 ioapic0 at mainbus0: apid 3 pa 0xfec0, version 21, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 2 (P0PC) acpiprt2 at acpi0: bus -1 (PE20) acpiprt3 at acpi0: bus -1 (PE21) acpiprt4 at acpi0: bus -1 (PE22) acpiprt5 at acpi0: bus -1 (PE23) acpiprt6 at acpi0: bus -1 (BR12) acpiprt7 at acpi0: bus 1 (BR14) acpiprt8 at acpi0: bus -1 (BR15) acpiprt9 at acpi0: bus -1 (BR17) acpiprt10 at acpi0: bus -1 (BR16) acpicpu0 at acpi0: C1(@1 halt!) acpicpu1 at acpi0: C1(@1 halt!) acpibtn0 at acpi0: PWRB pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "AMD AMD64 12h Host" rev 0x00 radeondrm0 at pci0 dev 1 function 0 "ATI Radeon HD 6410D" rev 0x00 drm0 at radeondrm0 radeondrm0: msi azalia0 at pci0 dev 1 function 1 "ATI Radeon HD 6500D HD Audio" rev 0x00: msi azalia0: no supported codecs ppb0 at pci0 dev 4 function 0 "AMD AMD64 12h PCIE" rev 0x00: msi pci1 at ppb0 bus 1 re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL (0x2c80), msi, address d4:3d:7e:ba:37:33 rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5 ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: apic 3 int 19, AHCI 1.3 ahci0: port 1: 3.0Gb/s ahci0: port 2: 1.5Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 1 lun 0: SCSI3 0/direct fixed naa.5000c50066b38e26 sd0: 476940MB, 512 bytes/sector, 976773168 sectors cd0 at scsibus1 targ 2 lun 0: ATAPI 5/cdrom removable ohci0 at pci0 dev 18 function 0 "AMD Hudson-2 USB" rev 0x11: apic 3 int 18, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 3 int 17 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1 ohci1 at pci0 dev 19 function 0 "AMD Hudson-2 USB" rev 0x11: apic 3 int 18, version 1.0, legacy support ehci1 at pci0 dev 19 function 2 "AMD Hudson-2 USB2" rev 0x11: apic 3 int 17 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "AMD Hudson-2 SMBus" rev 0x14: polling iic0 at piixpm0 spdmem0 at iic0 addr 0x53: 4GB DDR3 SDRAM PC3-10600 pciide0 at pci0 dev 20 function 1 "AMD Hudson-2 IDE" rev 0x00: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility azalia1 at pci0 dev 20 function 2 "A
Re: USB mouse spontaneously detaching
I'm using a Logitech so that probably won't help you any. On 08/17/15 08:11, Luciano Rottava da Silva wrote: Yeah, that´s exactly what I am doing too. What´s the brand of your mouse? Was considering buying a Logitech but looks like problem is not mouse itself. On 16 August 2015 at 15:48, Luciano Rottava da Silva wrote: Hi folks, I am running an OpenBSD 5.7 on amd64 with the very few packages which I require for lean desktop. And as usual, pretty much everything is working. The only glitch is the mouse support, or maybe my devices. Every minute or so USB mouse detaches itself, and this happens in console mode after booting the machine, and keeps on. This is what I get in ttyC0: ums0 detached uhidev2 detached uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 uhidev2: iclass 3/1 ums0 at uhidev2: 3 buttons, Z dir wsmouse0 at ums0 mux 0 wsmouse0 detached ums0 detached uhidev2 detached uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 uhidev2: iclass 3/1 ums0 at uhidev2: 3 buttons, Z dir wsmouse0 at ums0 mux 0 I have two MS basic optical mouse, one wired and another wireless. The behaviour is exactly the same. wsmoused is not running, and I have nothing in my xorg.conf (actually I don't have a xorg.conf). I've found only one reference to a similar problem in misc@ but, unfortunatelly, there was no reply. So, any suggestion? Important to highlight that in X mouse works perfectly. It's just those annoying messages that keep popping up in the console that bothers me. Cheers, Luciano.
Re: USB mouse spontaneously detaching
Here is the dmesg as well as the detach statement: wsmouse0 at ums0 mux 0 wsmouse0 detached ums0 detached uhidev2 detached uhidev2 at uhub5 port 2 configuration 1 interface 0 "Logitech USB Optical Mouse" rev 2.00/72.00 addr 3 uhidev2: iclass 3/1 ums0 at uhidev2: 3 buttons, Z dir OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar 8 11:04:17 MDT 2015 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8468688896 (8076MB) avail mem = 823976 (7857MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xbc41a018 (60 entries) bios0: vendor American Megatrends Inc. version "2501" date 04/03/2014 bios0: ASUSTeK COMPUTER INC. M5A99X EVO R2.0 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC FPDT MCFG HPET BGRT SSDT acpi0: wakeup devices SBAZ(S4) PS2K(S3) PS2M(S3) UAR1(S4) P0PC(S4) UHC1(S4) UHC2(S4) UHC4(S4) UHC6(S4) UHC7(S4) PC02(S4) PC03(S4) PC04(S4) PC05(S4) PC06(S4) PC07(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 16 (boot processor) cpu0: AMD FX(tm)-4350 Quad-Core Processor, 4214.74 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR 8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC, BMI1 cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 200MHz cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE cpu1 at mainbus0: apid 17 (application processor) cpu1: AMD FX(tm)-4350 Quad-Core Processor, 4214.28 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR 8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC, BMI1 cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 18 (application processor) cpu2: AMD FX(tm)-4350 Quad-Core Processor, 4214.28 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR 8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC, BMI1 cpu2: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache cpu2: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 19 (application processor) cpu3: AMD FX(tm)-4350 Quad-Core Processor, 4214.28 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCN T,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR 8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TBM,TOPEXT,ITSC, BMI1 cpu3: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache cpu3: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative cpu3: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 5 pa 0xfec0, version 21, 24 pins ioapic1 at mainbus0: apid 6 pa 0xfec2, version 21, 32 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 6 (P0PC) acpiprt2 at acpi0: bus 1 (PC02) acpiprt3 at acpi0: bus -1 (PC03) acpiprt4 at acpi0: bus 2 (PC04) acpiprt5 at acpi0: bus 3 (PC05) acpiprt6 at acpi0: bus 4 (PC06) acpiprt7 at acpi0: bus 5 (PC07) acpiprt8 at acpi0: bus -1 (PC09) acpiprt9 at acpi0: bus -1 (PC0A) acpiprt10 at acpi0: bus -1 (PC0B) acpiprt11 at acpi0: bus -1 (PC0C) acpiprt12 at acpi0: bus -1 (PC0D) acpiprt13 at acpi0: bus -1 (PE20) acpiprt14 at acpi0: bus -1 (PE21) acpiprt15 at acpi0: bus -1 (PE22) acpiprt16 at acpi0: bus -1 (PE23) acpiec0 at acpi0 acpicpu0 at acpi0: C2, PSS acpi
Re: USB mouse spontaneously detaching
Do you mind to share a dmesg ? If I had to take a guess on why, I would say there is some pretty aggressive USB power-saving powering down the device when there is no activity. Also, it doesn't seem related to your device nor your OS. So a dmesg would give more details on your machine and might help to explain why these detach keep happening. -- Cordialement, Coues Ludovic +336 148 743 42
Re: USB mouse spontaneously detaching
Hi Luciano I also have the same issue happening. I have a logitech mouse and keyboard and get the detached message popping up. I just install 5.7 amd64 with zero packages and it was even doing the detach during the install. I'm not sure why. I do agree that its pretty annoying to have. I'll keep an eye on this thread. Thanks On Mon, Aug 17, 2015 at 7:11 AM, Luciano Rottava da Silva wrote: > Yeah, that´s exactly what I am doing too. > > What´s the brand of your mouse? Was considering buying a Logitech but looks > like problem is not mouse itself. > > > On 16 August 2015 at 15:48, Luciano Rottava da Silva > wrote: > > > Hi folks, > > > > I am running an OpenBSD 5.7 on amd64 with the very few packages which I > > require for lean desktop. And as usual, pretty much everything is > working. > > > > The only glitch is the mouse support, or maybe my devices. > > > > Every minute or so USB mouse detaches itself, and this happens in console > > mode after booting the machine, and keeps on. > > > > This is what I get in ttyC0: > > > > ums0 detached > > uhidev2 detached > > uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft > > Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 > > uhidev2: iclass 3/1 > > ums0 at uhidev2: 3 buttons, Z dir > > wsmouse0 at ums0 mux 0 > > wsmouse0 detached > > ums0 detached > > uhidev2 detached > > uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft > > Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 > > uhidev2: iclass 3/1 > > ums0 at uhidev2: 3 buttons, Z dir > > wsmouse0 at ums0 mux 0 > > > > I have two MS basic optical mouse, one wired and another wireless. The > > behaviour is exactly the same. > > > > wsmoused is not running, and I have nothing in my xorg.conf (actually I > > don't have a xorg.conf). > > > > I've found only one reference to a similar problem in misc@ but, > > unfortunatelly, there was no reply. > > > > So, any suggestion? Important to highlight that in X mouse works > > perfectly. It's just those annoying messages that keep popping up in the > > console that bothers me. > > > > Cheers, > > Luciano. > > -- Shaun "Ars longa, vita brevis, occasio praeceps, experimentum periculosum, iudicium difficile" - Hippocrates (c. 400BC)
Re: USB mouse spontaneously detaching
If you have xscreensaver installed, that definitely does not always play nice with mice and keyboards; perhaps it's something like that. Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G LTE network. Original Message From: Luciano Rottava da Silva Sent: Monday, August 17, 2015 9:14 AM To: misc@openbsd.org Subject: Re: USB mouse spontaneously detaching Yeah, that��s exactly what I am doing too. What��s the brand of your mouse? Was considering buying a Logitech but looks like problem is not mouse itself. On 16 August 2015 at 15:48, Luciano Rottava da Silva wrote: > Hi folks, > > I am running an OpenBSD 5.7 on amd64 with the very few packages which I > require for lean desktop. And as usual, pretty much everything is working. > > The only glitch is the mouse support, or maybe my devices. > > Every minute or so USB mouse detaches itself, and this happens in console > mode after booting the machine, and keeps on. > > This is what I get in ttyC0: > > ums0 detached > uhidev2 detached > uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft > Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 > uhidev2: iclass 3/1 > ums0 at uhidev2: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > wsmouse0 detached > ums0 detached > uhidev2 detached > uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft > Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 > uhidev2: iclass 3/1 > ums0 at uhidev2: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > > I have two MS basic optical mouse, one wired and another wireless. The > behaviour is exactly the same. > > wsmoused is not running, and I have nothing in my xorg.conf (actually I > don't have a xorg.conf). > > I've found only one reference to a similar problem in misc@ but, > unfortunatelly, there was no reply. > > So, any suggestion? Important to highlight that in X mouse works > perfectly. It's just those annoying messages that keep popping up in the > console that bothers me. > > Cheers, > Luciano.
Re: USB mouse spontaneously detaching
Yeah, that´s exactly what I am doing too. What´s the brand of your mouse? Was considering buying a Logitech but looks like problem is not mouse itself. On 16 August 2015 at 15:48, Luciano Rottava da Silva wrote: > Hi folks, > > I am running an OpenBSD 5.7 on amd64 with the very few packages which I > require for lean desktop. And as usual, pretty much everything is working. > > The only glitch is the mouse support, or maybe my devices. > > Every minute or so USB mouse detaches itself, and this happens in console > mode after booting the machine, and keeps on. > > This is what I get in ttyC0: > > ums0 detached > uhidev2 detached > uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft > Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 > uhidev2: iclass 3/1 > ums0 at uhidev2: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > wsmouse0 detached > ums0 detached > uhidev2 detached > uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft > Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 > uhidev2: iclass 3/1 > ums0 at uhidev2: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > > I have two MS basic optical mouse, one wired and another wireless. The > behaviour is exactly the same. > > wsmoused is not running, and I have nothing in my xorg.conf (actually I > don't have a xorg.conf). > > I've found only one reference to a similar problem in misc@ but, > unfortunatelly, there was no reply. > > So, any suggestion? Important to highlight that in X mouse works > perfectly. It's just those annoying messages that keep popping up in the > console that bothers me. > > Cheers, > Luciano.
Re: USB mouse spontaneously detaching
On 08/16/15 13:48, Luciano Rottava da Silva wrote: Hi folks, I am running an OpenBSD 5.7 on amd64 with the very few packages which I require for lean desktop. And as usual, pretty much everything is working. The only glitch is the mouse support, or maybe my devices. Every minute or so USB mouse detaches itself, and this happens in console mode after booting the machine, and keeps on. This is what I get in ttyC0: ums0 detached uhidev2 detached uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 uhidev2: iclass 3/1 ums0 at uhidev2: 3 buttons, Z dir wsmouse0 at ums0 mux 0 wsmouse0 detached ums0 detached uhidev2 detached uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 uhidev2: iclass 3/1 ums0 at uhidev2: 3 buttons, Z dir wsmouse0 at ums0 mux 0 I have two MS basic optical mouse, one wired and another wireless. The behaviour is exactly the same. wsmoused is not running, and I have nothing in my xorg.conf (actually I don't have a xorg.conf). I've found only one reference to a similar problem in misc@ but, unfortunatelly, there was no reply. So, any suggestion? Important to highlight that in X mouse works perfectly. It's just those annoying messages that keep popping up in the console that bothers me. Cheers, Luciano. I have the same problem. Not very helpful, but If I'm not in X I just unplug the mouse to avoid them.
USB mouse spontaneously detaching
Hi folks, I am running an OpenBSD 5.7 on amd64 with the very few packages which I require for lean desktop. And as usual, pretty much everything is working. The only glitch is the mouse support, or maybe my devices. Every minute or so USB mouse detaches itself, and this happens in console mode after booting the machine, and keeps on. This is what I get in ttyC0: ums0 detached uhidev2 detached uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 uhidev2: iclass 3/1 ums0 at uhidev2: 3 buttons, Z dir wsmouse0 at ums0 mux 0 wsmouse0 detached ums0 detached uhidev2 detached uhidev2 at uhub3 port 4 configuration 1 interface 0 "Microsoft Microsoft Basic Optical Mouse v2.0" rev 1.10/1.04 addr 3 uhidev2: iclass 3/1 ums0 at uhidev2: 3 buttons, Z dir wsmouse0 at ums0 mux 0 I have two MS basic optical mouse, one wired and another wireless. The behaviour is exactly the same. wsmoused is not running, and I have nothing in my xorg.conf (actually I don't have a xorg.conf). I've found only one reference to a similar problem in misc@ but, unfortunatelly, there was no reply. So, any suggestion? Important to highlight that in X mouse works perfectly. It's just those annoying messages that keep popping up in the console that bothers me. Cheers, Luciano.
USB mouse with PCMCIA wireless (wi(4)) cause lockup
I have an older laptop that I recently upgraded from 4.9 to 5.1. The laptop works fine (I'm sending from it now) as long as I don't have the USB mouse and the PCMCIA wi(4) attached. When they are both attached, eventually the system locks up and does not respond (no panic, just does nothing). I can see from the commit logs for uhidev.c that something related to both USB and PCMCIA changed, but I'm not sure if it is relevant: src/sys/dev/usb/uhidev.c Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thing that's ever used it, and it's long since been changed to use DVACT_{QUIESCE,SUSPEND,RESUME} instead. It looks like this wasn't the only file modified with that commit log, so I may not even be looking at the right file. Thoughts on what can be done to remedy? Is there some other useful information that I can provide? The kernel hasn't panicked, so unless a trace is useful (FAQ says it isn't), here's a dmesg: OpenBSD 5.1 (GENERIC) #160: Sun Feb 12 09:46:33 MST 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III ("GenuineIntel" 686-class) 598 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,SSE real mem = 335015936 (319MB) avail mem = 319438848 (304MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 11/30/99, BIOS32 rev. 0 @ 0xf, SMBIOS rev. 2.3 @ 0xfa25e (59 entries) bios0: vendor Compaq version "1.35" date 08/08/2000 bios0: Compaq ArmadaM300 apm0 at bios0: Power Management spec V1.2 (BIOS managing devices) acpi at bios0 function 0x0 not configured pcibios0 at bios0: rev 2.1 @ 0xf/0x1200 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfe4c0/208 (11 entries) pcibios0: PCI Exclusive IRQs: 11 pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371AB PIIX4 ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x1 0xd/0x1800 cpu0 at mainbus0: (uniprocessor) pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 82443BX" rev 0x03 cbb0 at pci0 dev 4 function 0 "TI PCI1211 CardBus" rev 0x00: irq 11 vga1 at pci0 dev 5 function 0 "ATI Mach64" rev 0xdc wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) piixpcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02 pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA, 28615MB, 58605120 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11 piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x03: SMI iic0 at piixpm0 spdmem0 at iic0 addr 0x50: 256MB SDRAM non-parity PC100CL2 maestro0 at pci0 dev 8 function 0 "ESS Maestro 2E" rev 0x10: irq 11 ac97: codec id 0x83847609 (SigmaTel STAC9721/23) ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D audio0 at maestro0 fxp0 at pci0 dev 9 function 0 "Intel 8255x" rev 0x09, i82559S: irq 11, address 00:d0:59:15:66:99 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 "AT&T/Lucent LTMODEM" rev 0x00 at pci0 dev 9 function 1 not configured cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 1 device 0 cacheline 0x8, lattimer 0x20 pcmcia0 at cardslot0 isa0 at piixpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pms0: Synaptics touchpad, firmware 5.1 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 mtrr: Pentium Pro MTRR support uhidev0 at uhub0 port 1 configuration 1 interface 0 "Logitech USB-PS/2 Optical Mouse" rev 2.00/13.20 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 4 buttons, Z dir wsmouse1 at ums0 mux 0 vscsi0 at root scsibus0 at vscsi0: 256 targets softraid0 at root scsibus1 at softraid0: 256 targets root on wd0a (d6952a422d689fb0.a) swap on wd0b dump on wd0b WARNING: / was not properly unmounted wi0 at pcmcia0 function 0 "The Linksys Group, Inc., Instant Wireless Network PC Card, ISL37300P" port 0xa000/64 wi0: PRISM3 ISL37300P (0x801b), Firmware 1.1.0 (primary), 1.4.2 (station), address 00:06:25:15:f5:1f wsmouse1 detached ums0 detached uhidev0 detached Thanks, Lu-
Re: USB mouse
Please stop feeding the troll, just ignore this thread and let it die. Zantgo, respect the effort people in this list are doing to help people like you and me by giving all necessary input. READ this page before you send another email to the list: http://www.openbsd.org/mail.html Best regards Johan 2011/10/27 Jiri B : > On Wed, Oct 26, 2011 at 08:22:35PM -0300, Zantgo wrote: >> WTF? I use OpenBSD and hate the other operating systems > > And we hate your retarted questions! > > j.
Re: USB mouse
On Wed, Oct 26, 2011 at 08:22:35PM -0300, Zantgo wrote: > WTF? I use OpenBSD and hate the other operating systems And we hate your retarted questions! j.
Re: USB mouse
On Wed, 26 Oct 2011, Zantgo wrote: > How I can run USB mouse? > > Zantgo > Fully supported in SuSE, ..
Re: USB mouse
Could you please stop spamming the list? It's really annoying.
Re: USB mouse
On 10/26/11 5:19 PM, Scott McEachern wrote: On 10/26/11 20:05, Christiano F. Haesbaert wrote: On 26 October 2011 20:52, Zantgo wrote: How I can run USB mouse? Zantgo It should work just by plugging it, have you tried ? Oh that's just pie-in-the-sky craziness. The next thing you'll be saying is that USB keyboards should "just work". Steve Jobs kept saying that .."It should just work" and look where he ended up! Zani, please be careful else all this "advice" from novices will lead you to a DEAD end. I would install the usb-mouse package before plugging in the mouse. Mehma
Re: USB mouse
tie one end of a string around your pet mouse, and the other end, tie it to your USB mouse. then watch your USB mouse run. On Wed, Oct 26, 2011 at 5:52 PM, Zantgo wrote: > How I can run USB mouse? > > Zantgo
Re: USB mouse
On 26 October 2011 22:13, Zantgo wrote: > oh, then it is true, you can get drivers and programs from other operating > system, there is some documentation on this? No, they're messing with you. > PD: Yeah, try putting the mouse but nothing :( > I hope you were in X ? you don't want mouse in the console do you ? You have to paste the output of dmesg and usbdevs before people start considering helping you, until then you're just wasting everybody's time. All your mails lack information, you don't say what you are trying to do, what you already did, what worked, what didn't work. Then you provide no dmesg, and no other output which may convince someone to take you seriously. This is not the first mail people tell you that. Have in mind, you're doing everything to convince people *not* to pay attention to you.
Re: USB mouse
On 10/26/11 20:05, Christiano F. Haesbaert wrote: On 26 October 2011 20:52, Zantgo wrote: How I can run USB mouse? Zantgo It should work just by plugging it, have you tried ? Oh that's just pie-in-the-sky craziness. The next thing you'll be saying is that USB keyboards should "just work".
Re: USB mouse
oh, then it is true, you can get drivers and programs from other operating system, there is some documentation on this? PD: Yeah, try putting the mouse but nothing :( Zantgo El 26-10-2011, a las 21:05, "Christiano F. Haesbaert" escribiC3: > On 26 October 2011 20:52, Zantgo wrote: >> How I can run USB mouse? >> >> Zantgo >> >> > > It should work just by plugging it, have you tried ?
Re: USB mouse
On 26 October 2011 20:52, Zantgo wrote: > How I can run USB mouse? > > Zantgo > > It should work just by plugging it, have you tried ?
Re: USB mouse
On 10/26/11 18:52, Zantgo wrote: How I can run USB mouse? Zantgo Did you try formatting it first?
Re: USB mouse
On Wednesday, October 26, 2011, Zantgo wrote: > How I can run USB mouse? No description of what you tried, ergo you didn't try anything, like, say, plugging it in and moving it, checking logs, dmesg, reading man pages? What did you do for yourself before you wrote that email? Philip Guenther
Re: USB mouse
Ignore all of these guys. They're just mad that OpenBSD doesn't support new hardware. You'll need an adapter to get an USB mouse to work. Something like this: www.amazon.com/dp/B000K04SB2 On Wed, Oct 26, 2011 at 4:22 PM, Zantgo wrote: > WTF? I use OpenBSD and hate the other operating systems > > Zantgo > > El 26-10-2011, a las 20:11, Bryan Irvine escribiC3: > >> On Wed, Oct 26, 2011 at 3:52 PM, Zantgo wrote: >>> How I can run USB mouse? >> >> You have to extract the drivers from the ubuntu linux installation CD.
Re: USB mouse
On 26/10/11 20:22 -0300, Zantgo wrote: >WTF? I use OpenBSD and hate the other operating systems > >Zantgo > If you can't get a USB to work (in what context, btw? I'm presuming in Xenocara, but you never mentioned. Or what type of mouse..) then I'm not convinced you've given the other OS's a fighting chance.. -- richo || Today's excuse: Budget cuts forced us to sell all the power cords for the servers. [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]
Re: USB mouse
On 27/10/2011 10:22 AM, Zantgo wrote: WTF? I use OpenBSD and hate the other operating systems Zantgo It's like this: Ask a stupid question, get a stupid answer. El 26-10-2011, a las 20:11, Bryan Irvine escribiC3: On Wed, Oct 26, 2011 at 3:52 PM, Zantgo wrote: How I can run USB mouse? You have to extract the drivers from the ubuntu linux installation CD.
Re: USB mouse
On Wed, Oct 26, 2011 at 7:22 PM, Zantgo wrote: > WTF? I use OpenBSD and hate the other operating systems Don't listen to those posts - clearly you need the Windows 7 drivers if you're running -current.
Re: USB mouse
WTF? I use OpenBSD and hate the other operating systems Zantgo El 26-10-2011, a las 20:11, Bryan Irvine escribiC3: > On Wed, Oct 26, 2011 at 3:52 PM, Zantgo wrote: >> How I can run USB mouse? > > You have to extract the drivers from the ubuntu linux installation CD.
Re: USB mouse
On Wed, Oct 26, 2011 at 3:52 PM, Zantgo wrote: > How I can run USB mouse? You have to extract the drivers from the ubuntu linux installation CD.
Re: USB mouse
On Wed, 26 Oct 2011 19:52:44 -0300, Zantgo wrote: >How I can run USB mouse? > >Zantgo > Run Puppy Linux. Please. *** NOTE *** Please DO NOT CC me. I subscribed to the list. Mail to the sender address that does not originate at the list server is tarpitted. The reply-to: address is provided for those who feel compelled to reply off list. Thankyou. Rod/ --- This life is not the real thing. It is not even in Beta. If it was, then OpenBSD would already have a man page for it.
USB mouse
How I can run USB mouse? Zantgo
Re: USB mouse does not work on Lenovo T61
On Thu 2008.05.01 at 11:03 +0100, Owain Ainsworth wrote: > On Thu, May 01, 2008 at 05:27:48AM -0300, Leonardo Rodrigues wrote: > > Hi everyone, > > > > Just got a Thinkpad T61, and installed latest snapshot (08-04-29). > > Strangely enough, the lenovo usb mouse (2000dpi) that came with it > > doesn't work. When plugged in, these messages appear: > > > > uhub4: port 1, set config at addr 2 failed > > uhub4: device problem, disabling port 1 > > > > I've tried different USB ports, to no avail. Any suggestions on how to > > make it work? > > Does it work in another machine, or on another os? > > > > I've got a couple of questions also. Does the fingerprint reader > > (ugen0 right?) work? Does the accelerometer (aps) work? It seems that > > the latter fails to initialise... > > I know okan@ had that problem with aps. He found a bios downgrade a > couple of versions helped. Must be the new bioses broke something. i have "7NET30WW (1.11 )" date 11/15/2007 on a x61s with working aps(4). fitting date for me, on a few levels...
Re: USB mouse does not work on Lenovo T61
> Does it work in another machine, or on another os? Yes it does (tested on Windows XP). A cheap USB mouse works fine also. I'll try to test it on another Unix-like machine. This is strange. The mouse seems to be simple enough to work. What did Lenovo put on it?... So, if there's no software for the aps, than I won't even bother trying to make it work... Now, the fingerprint would be really nice if it worked =)
Re: USB mouse does not work on Lenovo T61
On Thu, May 01, 2008 at 05:27:48AM -0300, Leonardo Rodrigues wrote: > I've got a couple of questions also. Does the fingerprint reader > (ugen0 right?) work? Does the accelerometer (aps) work? It seems that > the latter fails to initialise... There are no free drivers for the fingerprint reader. It looks like the accelerometer gives proper values on my machine: $ sysctl hw.sensors.aps0.raw hw.sensors.aps0.raw0=508 (X_ACCEL) hw.sensors.aps0.raw1=510 (Y_ACCEL) hw.sensors.aps0.raw2=508 (X_VAR) hw.sensors.aps0.raw3=510 (Y_VAR) The values are changing nicely when I turn my Thinkpad R60. But is there any bsd-software around wich can use these values to make a 'active protection system'? Pieter Verberne
Re: USB mouse does not work on Lenovo T61
On Thu, May 01, 2008 at 05:27:48AM -0300, Leonardo Rodrigues wrote: > Hi everyone, > > Just got a Thinkpad T61, and installed latest snapshot (08-04-29). > Strangely enough, the lenovo usb mouse (2000dpi) that came with it > doesn't work. When plugged in, these messages appear: > > uhub4: port 1, set config at addr 2 failed > uhub4: device problem, disabling port 1 > > I've tried different USB ports, to no avail. Any suggestions on how to > make it work? Does it work in another machine, or on another os? > > I've got a couple of questions also. Does the fingerprint reader > (ugen0 right?) work? Does the accelerometer (aps) work? It seems that > the latter fails to initialise... I know okan@ had that problem with aps. He found a bios downgrade a couple of versions helped. Must be the new bioses broke something. Cheers, -0- -- Horses are forbidden to eat fire hydrants in Marshalltown, Iowa.
USB mouse does not work on Lenovo T61
Hi everyone, Just got a Thinkpad T61, and installed latest snapshot (08-04-29). Strangely enough, the lenovo usb mouse (2000dpi) that came with it doesn't work. When plugged in, these messages appear: uhub4: port 1, set config at addr 2 failed uhub4: device problem, disabling port 1 I've tried different USB ports, to no avail. Any suggestions on how to make it work? I've got a couple of questions also. Does the fingerprint reader (ugen0 right?) work? Does the accelerometer (aps) work? It seems that the latter fails to initialise... If anyone knows something about these issues I'm having, I'd be grateful for any tips! Thanks everyone =) Here's the full dmesg (isnt it great to see so many devices being recognised? kudos to the openbsd team!): OpenBSD 4.3-current (GENERIC.MP) #667: Tue Apr 29 01:59:23 MDT 2008 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR real mem = 2112114688 (2014MB) avail mem = 2034110464 (1939MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 01/21/08, BIOS32 rev. 0 @ 0xfdc60, SMBIOS rev. 2.4 @ 0xe0010 (73 entries) bios0: vendor LENOVO version "7LETB0WW (2.10 )" date 01/21/2008 bios0: LENOVO 7663CV4 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC BOOT ASF! SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EHC0(S3) EHC1(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: duplicate apic id, remapped to apid 2 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus 4 (EXP2) acpiprt5 at acpi0: bus 5 (EXP3) acpiprt6 at acpi0: bus 13 (EXP4) acpiprt7 at acpi0: bus 21 (PCI1) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2 acpicpu1 at acpi0: C3, C2 acpitz0 at acpi0: critical temperature 127 degC acpitz1 at acpi0: critical temperature 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model "42T5264" serial 1983 type LION oem "Panasonic" acpibat1 at acpi0: BAT1 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock at acpi0 not configured bios0: ROM list: 0xc/0xf000 0xcf000/0x1000 0xd/0x1000 0xe/0x1! cpu0: unknown Enhanced SpeedStep CPU, msr 0x06120b2f06000b2f cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 2200 MHz (1452 mV): speeds: 2200, 1200 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c ppb0 at pci0 dev 1 function 0 "Intel GM965 PCIE" rev 0x0c: apic 2 int 16 (irq 10) pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 vendor "NVIDIA", unknown product 0x0429 rev 0xa1 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) agp0 at vga1: no integrated graphics em0 at pci0 dev 25 function 0 "Intel ICH8 IGP M AMT" rev 0x03: apic 2 int 20 (irq 11), address 00:1c:25:40:29:26 uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: apic 2 int 20 (irq 11) uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: apic 2 int 21 (irq 11) ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: apic 2 int 22 (irq 11) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: apic 2 int 17 (irq 11) azalia0: RIRB time out azalia0: RIRB time out azalia0: codec[s]: Analog Devices AD1984, Conexant/0x2bfa, using Analog Devices AD1984 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: apic 2 int 20 (irq 11) pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: apic 2 int 21 (irq 11) pci3 at ppb2 bus 3 wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: apic 2 int 17 (irq 11), MoW1, address 00:1c:bf:b3:ec:b0 ppb3 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev
Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1
Solved! The problem(?) was the mouse. I installed 4.2 this morning just for kicks, still no mouse! Went out and picked up another mouse and everything works! Thanks for all the help guys. Relevant dmesg output. uhidev0 at uhub2 port 2 configuration 1 interface 0 uhidev0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 1.10/3.00, addr 2, iclass 3/1 ums0 at uhidev0: 3 buttons and Z dir. wsmouse1 at ums0 mux 0 -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1
On Nov 1, 2007 11:50 PM, Vadim Jukov <[EMAIL PROTECTED]> wrote: > Hmmm, looks sane. Run xev(1) application (inside X, of course) and see, > does it generate anything when you try to move/click/scroll while > pointer is positioned in it's window. Post what you see: no reaction on > second mouse touching, or sample of messages it generates. No output at all from USB mouse in xev. > Also, please, run "usbdevs -v" and post output lines here. output from usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 addr 2: low speed, power 100 mA, config 1, Microsoft Optical Mouse with Tilt Wheel(0x00d1), Microsoft(0x045e), rev 1.20 Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 powered Controller /dev/usb3: addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered > And last but not least: try to rename/move xorg.conf and start X without > it. Does this help? Nope! Still no USB mouse but X works fine. :) Thanks for the lesson, I can see where xev could come in handy from time to time. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1
B qnnayemhh nr Ormhv` 02 mnap 2007 Mark Thomas m`ohq`k(a): > On Nov 1, 2007 6:30 PM, Vadim Jukov <[EMAIL PROTECTED]> wrote: > > The only one InputDevice section you need: > > > > Section "InputDevice" > > Identifier "Mouse1" > > Driver "mouse" > > Option "Protocol" "wsmouse" > > Option "Device" "/dev/wsmouse" > > Option "ZAxisMapping" "4 5 6 7" > > EndSection > > > > Then, in ServerLayout section you put only one string: > > > > InputDevice "Mouse1" "CorePointer" > > > > Greg is right: that's all what you need on OpenBSD.:) Put in more > > mice or get them out, your X doesn't have to bother about this. In > > very rare cases, at least on x86 architecture PCs, you will need to > > control mouse handling per device. > > I remember reading something just like a few weeks ago when I was > investigating what laptop hardware worked best with OpenBSD. It > basically said "OpenBSD just works!" > > Thanks for your time Vadim but it's still not working. > > Here again is the relevant part of my xorg.conf file > > Section "ServerLayout" > Identifier "X.org Configured" > Screen 0 "Screen0" 0 0 > InputDevice"Mouse0" "CorePointer" > InputDevice"Keyboard0" "CoreKeyboard" > EndSection > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "wsmouse" > Option "Device" "/dev/wsmouse" > Option "ZAxisMapping" "4 5 6 7" > EndSection Hmmm, looks sane. Run xev(1) application (inside X, of course) and see, does it generate anything when you try to move/click/scroll while pointer is positioned in it's window. Post what you see: no reaction on second mouse touching, or sample of messages it generates. Also, please, run "usbdevs -v" and post output lines here. And last but not least: try to rename/move xorg.conf and start X without it. Does this help? -- Best wishes, Vadim Jukov
Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1
On Nov 1, 2007 6:30 PM, Vadim Jukov <[EMAIL PROTECTED]> wrote: > The only one InputDevice section you need: > > Section "InputDevice" > Identifier "Mouse1" > Driver "mouse" > Option "Protocol" "wsmouse" > Option "Device" "/dev/wsmouse" > Option "ZAxisMapping" "4 5 6 7" > EndSection > > Then, in ServerLayout section you put only one string: > > InputDevice "Mouse1" "CorePointer" > > Greg is right: that's all what you need on OpenBSD.:) Put in more mice > or get them out, your X doesn't have to bother about this. In very rare > cases, at least on x86 architecture PCs, you will need to control mouse > handling per device. I remember reading something just like a few weeks ago when I was investigating what laptop hardware worked best with OpenBSD. It basically said "OpenBSD just works!" Thanks for your time Vadim but it's still not working. Here again is the relevant part of my xorg.conf file Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice"Mouse0" "CorePointer" InputDevice"Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/TTF/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" EndSection Section "Module" Load "dbe" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "freetype" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse" Option "ZAxisMapping" "4 5 6 7" EndSection -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1
On Nov 1, 2007 4:59 PM, Stijn <[EMAIL PROTECTED]> wrote: > Hi Mark, > > You only need to specify one mouse input device (i.e. /dev/wsmouse). I > have the following in my xorg.conf (only showing the relevant entries): > > > Section "InputDevice" > Identifier "Mouse1" > Driver "mouse" > Option "Device" "/dev/wsmouse" > Option "ZAxisMapping" "4 5 6 7" > EndSection > > Section "ServerLayout" > Identifier "Single_head" > Screen 0 "Screen LFP" > InputDevice "Mouse1" "CorePointer" > InputDevice "Keyboard1" "CoreKeyboard" > EndSection > Ok, I changed my xorg.conf file to reflect those exact changes, I even ran xorgcfg again to create a new one. Still no luck. I see no errors int the log files either. > This works for me for both the built-in and usb mouse. Notice: no "0" or > "1" after "/dev/wsmouse". > > I noticed that sometimes the usb mouse is not working when it's plugged > in before X starts. Plugging it in after X was started made the usb > mouse work. Perhaps, also try another usb port to see if it makes a > difference. Tried that too. still nothing. I wish I had another mouse to try because that seems to be the only thing left at this point. thanks a lot for your time on this matter, I do appreciate it. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1
B qnnayemhh nr Werbepc 01 mnap 2007 Mark Thomas m`ohq`k(a): > On Oct 31, 2007 9:47 PM, Vadim Jukov <[EMAIL PROTECTED]> wrote: > > You need only one "InputDevice" section for all your mice with > > "/dev/wsmouse" as "Device" option, indeed. > > I'm sorry but I do not understand. I tried putting both mice in one > InputDevice section and X refused to start. > > Parse error on line 47 of section InputDevice in file > /etc/X11/xorg.conf Multiple "Identifier" lines. > (EE) Problem parsing the config file > (EE) Error parsing the config file > > Thanks again The only one InputDevice section you need: Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Then, in ServerLayout section you put only one string: InputDevice "Mouse1" "CorePointer" Greg is right: that's all what you need on OpenBSD.:) Put in more mice or get them out, your X doesn't have to bother about this. In very rare cases, at least on x86 architecture PCs, you will need to control mouse handling per device. -- Best wishes, Vadim Jukov
Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1
On 05:28:58 Nov 01, Mark Thomas wrote: > On Oct 31, 2007 9:47 PM, Vadim Jukov <[EMAIL PROTECTED]> wrote: > > You need only one "InputDevice" section for all your mice with > > "/dev/wsmouse" as "Device" option, indeed. > > I'm sorry but I do not understand. I tried putting both mice in one > InputDevice section and X refused to start. > > Parse error on line 47 of section InputDevice in file /etc/X11/xorg.conf > Multiple "Identifier" lines. > (EE) Problem parsing the config file > (EE) Error parsing the config file > I don't think you got him right. He must have meant replacing /dev/wsmouse1 and /dev/wsmouse2 with /dev/wsmouse. If you are not sure about the format of xorg.conf , then you can get several samples from google. The idea is that OpenBSD multiplexes mouse movements into /dev/wsmouse. So you don't have to explicitly tell Xorg about it. Read wsmouse(1) and wsmux(1) for details. Best, Girish
Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1
On Oct 31, 2007 9:47 PM, Vadim Jukov <[EMAIL PROTECTED]> wrote: > You need only one "InputDevice" section for all your mice with > "/dev/wsmouse" as "Device" option, indeed. I'm sorry but I do not understand. I tried putting both mice in one InputDevice section and X refused to start. Parse error on line 47 of section InputDevice in file /etc/X11/xorg.conf Multiple "Identifier" lines. (EE) Problem parsing the config file (EE) Error parsing the config file Thanks again -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1
2007/11/1, Mark Thomas <[EMAIL PROTECTED]>: > On Oct 31, 2007 9:13 PM, Vadim Jukov <[EMAIL PROTECTED]> wrote: > > > > Missing option "SendCoreEvents" for wsmouse1. And why don't use > > /dev/wsmouse, which is "cumulative" device for all mice? > > > > Thanks Vadim. I changed my xorg.conf to reflect your advise. But still > no usb mouse activity. I did get an error though. > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "wsmouse" > Option "Device" "/dev/wsmouse" > Option "ZAxisMapping" "4 5 6 7" > Option "AlwaysCore" "true" > EndSection > > Section "InputDevice" > Identifier "Mouse1" > Driver "mouse" > Option "Protocol" "wsmouse" > Option "Device" "/dev/wsmouse" > Option "ZAxisMapping" "4 5" > Option "SendCoreEvents" "true" > EndSection > > (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD) > (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE) > (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE) > (EE) xf86OpenSerial: Cannot open device /dev/wsmouse > Device busy. > (WW) Mouse1: cannot open input device > > thanks again for your help. You need only one "InputDevice" section for all your mice with "/dev/wsmouse" as "Device" option, indeed.
Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1
On Oct 31, 2007 9:13 PM, Vadim Jukov <[EMAIL PROTECTED]> wrote: > > Missing option "SendCoreEvents" for wsmouse1. And why don't use > /dev/wsmouse, which is "cumulative" device for all mice? > Thanks Vadim. I changed my xorg.conf to reflect your advise. But still no usb mouse activity. I did get an error though. Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse" Option "ZAxisMapping" "4 5 6 7" Option "AlwaysCore" "true" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse" Option "ZAxisMapping" "4 5" Option "SendCoreEvents" "true" EndSection (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD) (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE) (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE) (EE) xf86OpenSerial: Cannot open device /dev/wsmouse Device busy. (WW) Mouse1: cannot open input device thanks again for your help. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1
2007/11/1, Mark Thomas <[EMAIL PROTECTED]>: > On Oct 28, 2007 9:46 AM, Mark Thomas <[EMAIL PROTECTED]> wrote: > > I'm trying to get a USB mouse to work in X. obsd 4.1 recognizes the > > mouse as soon as I plug it in ( see dmesg output below ) as > > wsmouse1(?). When I add that as Mouse1 in the xorg.conf file it does > > not work. everything else works great! > > > > ( relevant dmesg output ) > > uhidev0 at uhub1 port 2 configuration 1 interface 0 > > uhidev0: Microsoft Microsoft Optical Mouse with Tilt Wheel, rev > > 2.00/1.20, addr 2, iclass 3/1 > > uhidev0: 24 report ids > > ums0 at uhidev0 reportid 17: 3 buttons and Z dir. > > wsmouse1 at ums0 mux 0 > > uhid0 at uhidev0 reportid 18: input=0, output=0, feature=1 > > uhid1 at uhidev0 reportid 19: input=1, output=0, feature=0 > > uhid2 at uhidev0 reportid 23: input=0, output=0, feature=1 > > uhid3 at uhidev0 reportid 24: input=0, output=0, feature=1 > > > > ( xorg.conf / InputDevice section) > > Section "InputDevice" > > Identifier "Mouse0" > > Driver "mouse" > > Option "Protocol" "wsmouse" > > Option "Device" "/dev/wsmouse" > > Option "ZAxisMapping" "4 5 6 7" > > EndSection > > > > Section "InputDevice" > > Identifier "Mouse1" > > Driver "mouse" > > Option "Protocol" "wsmouse" > > Option "Device" "/dev/wsmouse1" > > Option "ZAxisMapping" "4 5" > > EndSection > > > > still no luck but I do know a lot more about Xorg! After > searching/reading for a few says I've added the following to my > xorg.conf. > > Section "ServerLayout" > Identifier "X.org Configured" > Screen 0 "Screen0" 0 0 > InputDevice"Mouse0" "CorePointer" > InputDevice"Mouse1" > InputDevice"Keyboard0" "CoreKeyboard" > EndSection > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "wsmouse" > Option "Device" "/dev/wsmouse0" > Option "ZAxisMapping" "4 5 6 7" > Option "AlwaysCore" "true" > EndSection > > Section "InputDevice" > Identifier "Mouse1" > Driver "mouse" > Option "Protocol" "wsmouse" > Option "Device" "/dev/wsmouse1" > Option "ZAxisMapping" "4 5" > EndSection Missing option "SendCoreEvents" for wsmouse1. And why don't use /dev/wsmouse, which is "cumulative" device for all mice?
Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1
On Oct 28, 2007 9:46 AM, Mark Thomas <[EMAIL PROTECTED]> wrote: > I'm trying to get a USB mouse to work in X. obsd 4.1 recognizes the > mouse as soon as I plug it in ( see dmesg output below ) as > wsmouse1(?). When I add that as Mouse1 in the xorg.conf file it does > not work. everything else works great! > > ( relevant dmesg output ) > uhidev0 at uhub1 port 2 configuration 1 interface 0 > uhidev0: Microsoft Microsoft Optical Mouse with Tilt Wheel, rev > 2.00/1.20, addr 2, iclass 3/1 > uhidev0: 24 report ids > ums0 at uhidev0 reportid 17: 3 buttons and Z dir. > wsmouse1 at ums0 mux 0 > uhid0 at uhidev0 reportid 18: input=0, output=0, feature=1 > uhid1 at uhidev0 reportid 19: input=1, output=0, feature=0 > uhid2 at uhidev0 reportid 23: input=0, output=0, feature=1 > uhid3 at uhidev0 reportid 24: input=0, output=0, feature=1 > > ( xorg.conf / InputDevice section) > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "wsmouse" > Option "Device" "/dev/wsmouse" > Option "ZAxisMapping" "4 5 6 7" > EndSection > > Section "InputDevice" > Identifier "Mouse1" > Driver "mouse" > Option "Protocol" "wsmouse" > Option "Device" "/dev/wsmouse1" > Option "ZAxisMapping" "4 5" > EndSection > still no luck but I do know a lot more about Xorg! After searching/reading for a few says I've added the following to my xorg.conf. Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice"Mouse0" "CorePointer" InputDevice"Mouse1" InputDevice"Keyboard0" "CoreKeyboard" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse0" Option "ZAxisMapping" "4 5 6 7" Option "AlwaysCore" "true" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse1" Option "ZAxisMapping" "4 5" EndSection Xorg apparently does not have a problem with that configuration. (**) Option "Protocol" "wsmouse" (**) Mouse0: Protocol: wsmouse (**) Option "AlwaysCore" "true" (**) Mouse0: always reports core events (**) Option "CorePointer" (**) Mouse0: Core Pointer (**) Option "Device" "/dev/wsmouse0" (==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50 (**) Option "ZAxisMapping" "4 5 6 7" (**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7 (**) Mouse0: Buttons: 11 (**) Option "Protocol" "wsmouse" (**) Mouse1: Protocol: wsmouse (**) Option "Device" "/dev/wsmouse1" (==) Mouse1: Emulate3Buttons, Emulate3Timeout: 50 (**) Option "ZAxisMapping" "4 5" (**) Mouse1: ZAxisMapping: buttons 4 and 5 (**) Mouse1: Buttons: 9 (**) Option "CoreKeyboard" (**) Keyboard0: Core Keyboard (**) Option "Protocol" "standard" (**) Keyboard0: Protocol: standard (**) Option "AutoRepeat" "500 30" (**) Option "XkbRules" "xorg" (**) Keyboard0: XkbRules: "xorg" (**) Option "XkbModel" "pc105" (**) Keyboard0: XkbModel: "pc105" (**) Option "XkbLayout" "us" (**) Keyboard0: XkbLayout: "us" (**) Option "CustomKeycodes" "off" (**) Keyboard0: CustomKeycodes disabled (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD) (II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE) (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE) Any/All help greatly appreciated. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1
What's your "ServerLayout" section? I have this in my section "ServerLayout": ---8<--- InputDevice "Mouse1" "CorePointer" ---8<--- HTH, Stijn Mark Thomas wrote: I'm trying to get a USB mouse to work in X. obsd 4.1 recognizes the mouse as soon as I plug it in ( see dmesg output below ) as wsmouse1(?). When I add that as Mouse1 in the xorg.conf file it does not work. everything else works great! ( relevant dmesg output ) uhidev0 at uhub1 port 2 configuration 1 interface 0 uhidev0: Microsoft Microsoft Optical Mouse with Tilt Wheel, rev 2.00/1.20, addr 2, iclass 3/1 uhidev0: 24 report ids ums0 at uhidev0 reportid 17: 3 buttons and Z dir. wsmouse1 at ums0 mux 0 uhid0 at uhidev0 reportid 18: input=0, output=0, feature=1 uhid1 at uhidev0 reportid 19: input=1, output=0, feature=0 uhid2 at uhidev0 reportid 23: input=0, output=0, feature=1 uhid3 at uhidev0 reportid 24: input=0, output=0, feature=1 ( xorg.conf / InputDevice section) Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse1" Option "ZAxisMapping" "4 5" EndSection thanks
[i386/Thinkpad T41]USB mouse + Xorg obsd 4.1
I'm trying to get a USB mouse to work in X. obsd 4.1 recognizes the mouse as soon as I plug it in ( see dmesg output below ) as wsmouse1(?). When I add that as Mouse1 in the xorg.conf file it does not work. everything else works great! ( relevant dmesg output ) uhidev0 at uhub1 port 2 configuration 1 interface 0 uhidev0: Microsoft Microsoft Optical Mouse with Tilt Wheel, rev 2.00/1.20, addr 2, iclass 3/1 uhidev0: 24 report ids ums0 at uhidev0 reportid 17: 3 buttons and Z dir. wsmouse1 at ums0 mux 0 uhid0 at uhidev0 reportid 18: input=0, output=0, feature=1 uhid1 at uhidev0 reportid 19: input=1, output=0, feature=0 uhid2 at uhidev0 reportid 23: input=0, output=0, feature=1 uhid3 at uhidev0 reportid 24: input=0, output=0, feature=1 ( xorg.conf / InputDevice section) Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse1" Option "ZAxisMapping" "4 5" EndSection thanks -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Re: Wireless USB mouse problem
It's not very important, of course... -- Best wishes, Vadim Jukov Index: ums.c === RCS file: /cvs/src/sys/dev/usb/ums.c,v retrieving revision 1.26 diff -u -r1.26 ums.c --- ums.c 17 Sep 2007 01:40:38 - 1.26 +++ ums.c 18 Oct 2007 01:45:23 - @@ -80,11 +80,6 @@ #define UMSUNIT(s) (minor(s)) -#define PS2LBUTMASKx01 -#define PS2RBUTMASKx02 -#define PS2MBUTMASKx04 -#define PS2BUTMASK 0x0f - #define MAX_BUTTONS16 /* must not exceed size of sc_buttons */ struct ums_softc {
Re: Wireless USB mouse problem
2007/10/18, Miod Vallat <[EMAIL PROTECTED]>: > > Due to different reasons I bought MS Wireless Desktop (keyboard + > > mouse; Well, I don't like very much of their software, but AFAIK > > their hardware is good enough). While keyboard works fine, mouse > > produces headache. I'll try to skip most of simptoms, going > > straight to information gathered. > > This mouse is currently not correctly supported by OpenBSD. I am working > on porting FreeBSD's changes to support it (FreeBSD PR #90162); will you > be interested in testing these changes? Of course! :)
Re: Wireless USB mouse problem
> Due to different reasons I bought MS Wireless Desktop (keyboard + > mouse; Well, I don't like very much of their software, but AFAIK > their hardware is good enough). While keyboard works fine, mouse > produces headache. I'll try to skip most of simptoms, going > straight to information gathered. This mouse is currently not correctly supported by OpenBSD. I am working on porting FreeBSD's changes to support it (FreeBSD PR #90162); will you be interested in testing these changes? Miod
panic on boot with plugged usb mouse on dell c521
Hi, I hope I'm not making any mistake ... I've installed openbsd/amd64 4.1 and moved to current with no mouse plugged. All the process went fine. Later I rebooted with the mouse plugged and then I got the panic message. I tried all the various usb port and even booted without keyboard but with mouse and ended up to the same result. I cannot send the trace and ps output as required as my keyboard (usb too) is unavailable after the panic. If I plug the mouse at the end of the boot (login prompt), everything is fine : no panic, pointer and buttons are working under X. The pseudo dmesg output with panic message (third attachment) is handwritten. Should I provide more infos or test anything, I am available. OpenBSD 4.1-current (GENERIC) #1126: Mon Jun 25 13:09:22 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 1005056000 (958MB) avail mem = 964476928 (919MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf (62 entries) bios0: Dell Inc Dimension C521 acpi at mainbus0 not configured cpu0 at mainbus0: (uniprocessor) cpu0: AMD Athlon(tm) 64 Processor 3500+, 2204.88 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: PowerNow! K8 2204 MHz: speeds: 2200 2000 1800 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 "NVIDIA C51 Host" rev 0xa2 at pci0 dev 0 function 0 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 1 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 2 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 3 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 4 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 5 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 6 not configured "NVIDIA C51 Memory" rev 0xa2 at pci0 dev 0 function 7 not configured ppb0 at pci0 dev 2 function 0 "NVIDIA C51 PCIE" rev 0xa1 pci1 at ppb0 bus 1 ppb1 at pci0 dev 3 function 0 "NVIDIA C51 PCIE" rev 0xa1 pci2 at ppb1 bus 2 ppb2 at pci0 dev 4 function 0 "NVIDIA C51 PCIE" rev 0xa1 pci3 at ppb2 bus 3 vga1 at pci0 dev 5 function 0 "NVIDIA GeForce 6150 LE" rev 0xa2 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) "NVIDIA MCP51 Host" rev 0xa2 at pci0 dev 9 function 0 not configured pcib0 at pci0 dev 10 function 0 "NVIDIA MCP51 ISA" rev 0xa3 nviic0 at pci0 dev 10 function 1 "NVIDIA MCP51 SMBus" rev 0xa3 iic0 at nviic0 iic1 at nviic0 "NVIDIA MCP51 Memory" rev 0xa3 at pci0 dev 10 function 2 not configured ohci0 at pci0 dev 11 function 0 "NVIDIA MCP51 USB" rev 0xa3: irq 5, version 1.0, legacy support ehci0 at pci0 dev 11 function 1 "NVIDIA MCP51 USB" rev 0xa3: irq 15 usb0 at ehci0: USB revision 2.0 uhub0 at usb0: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1 pciide0 at pci0 dev 14 function 0 "NVIDIA MCP51 SATA" rev 0xa1: DMA pciide0: using irq 10 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 76293MB, 15625 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5 pciide1 at pci0 dev 15 function 0 "NVIDIA MCP51 SATA" rev 0xa1: DMA pciide1: using irq 11 for native-PCI interrupt ppb3 at pci0 dev 16 function 0 "NVIDIA MCP51 PCI-PCI" rev 0xa2 pci4 at ppb3 bus 4 bce0 at pci4 dev 7 function 0 "Broadcom BCM4401B1" rev 0x02: irq 5, address 00:1a:a0:0e:f8:29 bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0 ral0 at pci4 dev 9 function 0 "Ralink RT2560" rev 0x01: irq 7, address 00:11:50:15:c6:2e ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525 azalia0 at pci0 dev 16 function 1 "NVIDIA MCP51 HD Audio" rev 0xa2: irq 10 azalia0: host: High Definition Audio rev. 1.0 azalia0: codec: 0x8384/0x7618 (rev. 2.1), HDA version 1.0 audio0 at azalia0 pchb0 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00 pchb1 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00 pchb2 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00 pchb3 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00 isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 usb1 at ohci0: USB revision 1.0 uhub1 at usb1: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1 uhidev0 at uhub1 port 5 configuration 1 interface 0 uhidev0: Dell Dell USB Keyboard, rev 1.10/3.01, addr 2, iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key
Re: Microsoft Optical USB mouse
On 10/26/06, Jon Simola <[EMAIL PROTECTED]> wrote: I've been playing with my USB mouse, trying to get it to work. I've found one message in the archives (unanswered) asking about this exact mouse, a Microsoft Comfort Optical Mouse 3000. Just an update, if this attracts anyone with more USB knowledge than myself. I've rebuilt the kernel with all the appropriate USB debugging turned on (in ums.c and uhidev.c, build with -DUSB_DEBUG and -DUHIDEV_DEBUG), and followed through the whole uhid initialize and attach functions. I've been able to figure out that it might be possible to make it work by following the method used for the Graphire tablets, but that is obviously not desirable. I've stuck the dmesg output when plugging the mouse in up at (30KB): http://proteus.mecha.com/laptop/MSOpt3K.txt Hopefully I've provided enough useful details for someone to give me a kick in the right direction. -- Jon
Microsoft Optical USB mouse
I've been playing with my USB mouse, trying to get it to work. I've found one message in the archives (unanswered) asking about this exact mouse, a Microsoft Comfort Optical Mouse 3000. I'd like to get this working, and would appreciate any applications of a cluestick or other ideas. It is probed by the kernel: uhidev0 at uhub1 port 2 configuration 1 interface 0 uhidev0: Microsoft Microsoft Optical Mouse with Tilt Wheel, rev 2.00/1.20, addr 2, iclass 3/1 uhidev0: 24 report ids ums0 at uhidev0 reportid 17: 3 buttons and Z dir. wsmouse1 at ums0 mux 0 uhid0 at uhidev0 reportid 18: input=0, output=0, feature=1 uhid1 at uhidev0 reportid 19: input=1, output=0, feature=0 uhid2 at uhidev0 reportid 23: input=0, output=0, feature=1 uhid3 at uhidev0 reportid 24: input=0, output=0, feature=1 usbdevs -dv shows Controller /dev/usb1: addr 1: full speed, self powered, config 1, OHCI root hub(0x), ATI(0x1002), rev 1.00 uhub1 port 1 powered port 2 addr 2: low speed, power 100 mA, config 1, Microsoft Optical Mouse with Tilt Wheel(0x00d1), Microsoft(0x045e), rev 1.20 uhidev0 port 3 powered port 4 powered I've added the USB dev to /usr/src/sys/dev/usb/usbdevs and rebuilt the header files and the kernel, noting the message in the file that it won't help. It did add an extra "Microsoft" in the probe message, as it would seem to be expected. I've attached the diff, if there is any interest: Index: usbdevs === RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.226 diff -c -r1.226 usbdevs *** usbdevs 2006/10/19 16:53:48 1.226 --- usbdevs 2006/10/27 04:19:57 *** *** 1501,1506 --- 1501,1507 product MICROSOFT INETPRO 0x002b Internet Keyboard Pro product MICROSOFT MN510 0x006e MN510 Wireless product MICROSOFT MN110 0x007a 10/100 Ethernet + product MICROSOFT OPTICAL 0x00d1 Optical Mouse /* Microtech products */ product MICROTECH SCSIDB250x0004 SCSI-DB25 And a full dmesg: OpenBSD 4.0-current (GENERIC) #1: Wed Oct 25 14:24:34 PDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 1071902720 (1046780K) avail mem = 906502144 (885256K) using 22937 buffers containing 107397120 bytes (104880K) of memory mainbus0 (root) bios0 at mainbus0: SMBIOS rev. 2.31 @ 0xd7810 (34 entries) bios0: Hewlett-Packard Pavilion dv8000 (EP454UA#ABL) cpu0 at mainbus0: (uniprocessor) cpu0: AMD Turion(tm) 64 Mobile Technology ML-37, 1994.54 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: PowerNow! K8 1994 MHz: speeds: 2000 1800 1600 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 "ATI RS480 Host" rev 0x01 ppb0 at pci0 dev 1 function 0 "ATI RS480 PCIE" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 "ATI Radeon XPRESS 200M" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb1 at pci0 dev 4 function 0 "ATI RS480 PCIE" rev 0x00 pci2 at ppb1 bus 2 ohci0 at pci0 dev 19 function 0 "ATI IXP400 USB" rev 0x00: irq 11, version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: ATI OHCI root hub, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ohci1 at pci0 dev 19 function 1 "ATI IXP400 USB" rev 0x00: irq 11, version 1.0, legacy support usb1 at ohci1: USB revision 1.0 uhub1 at usb1 uhub1: ATI OHCI root hub, rev 1.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered ehci0 at pci0 dev 19 function 2 "ATI IXP400 USB2" rev 0x00: irq 11 usb2 at ehci0: USB revision 2.0 uhub2 at usb2 uhub2: ATI EHCI root hub, rev 2.00/1.00, addr 1 uhub2: 8 ports with 8 removable, self powered piixpm0 at pci0 dev 20 function 0 "ATI IXP400 SMBus" rev 0x11: SMI iic0 at piixpm0 pciide0 at pci0 dev 20 function 1 "ATI IXP400 IDE" rev 0x00: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA, 76319MB, 156301488 sectors wd1 at pciide0 channel 0 drive 1: wd1: 16-sector PIO, LBA, 76319MB, 156301488 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 wd1(pciide0:0:1): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 pcib0 at pci0 dev 20 function 3 "ATI IXP400 ISA" rev 0x00 ppb2 at
Re: new ms usb mouse
I was wrong about that it's blinking all the time, it does only when I remove it from the mousepad. Just to make sure the mouse is working I booted a knoppix live cd and connected the mouse. And it works flawless... with this in dmesg: usb 3-2: new low speed USB device using uhci_hcd and address 2 usb 3-2: configuration #1 chosen from 1 choice input: Microsoft Microsoft Optical Mouse with Tilt Wheel as /class/input/input2 input: USB HID v1.11 Mouse [Microsoft Microsoft Optical Mouse with Tilt Wheel] on usb-:00:1d.1-2 I'm still very suprised that it doesn't work with openbsd. There must be a reason. /bkw
new ms usb mouse
Hi I've been using a optical logitech usb mouse without any problems. But I've bought a new ms mouse(comfort usb mouse 3000) today which I've some problems with. When I connect the mouse the red light start blinking without stopping. I've tried to boot -c ; disable pms* at boot without any luck. my xorg.conf looks like: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "wsmouse" Option "Device" "/dev/wsmouse" Option "ZAxisMapping" "4 5" EndSection Rebooting with the mouse connected didn't help. Everytime I connect the mouse xconsole say: uhid0 at uhidev0 reportid 18: input=0, output=0, feature=1 uhid1 at uhidev0 reportid 19: input=1, output=0, feature=0 uhid2 at uhidev0 reportid 23: input=0, output=0, feature=1 uhid3 at uhidev0 reportid 24: input=0, output=0, feature=1 My dmesg is found at the end of this email. (the only change to the kernel is added ntfs support) /bkw OpenBSD 3.9 (mykern2) #0: Sun Jul 23 22:28:24 CEST 2006 [EMAIL PROTECTED]:/sys/arch/i386/compile/mykern2 cpu0: Intel(R) Pentium(R) M processor 1500MHz ("GenuineIntel" 686-class) 1.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2 cpu0: Enhanced SpeedStep 1500 MHz (1484 mV): speeds: 1500, 1400, 1200, 1000, 800, 600 MHz real mem = 501719040 (489960K) avail mem = 450674688 (440112K) using 4278 buffers containing 25190400 bytes (24600K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(79) BIOS, date 01/14/04, BIOS32 rev. 0 @ 0xfd4e0 pcibios0 at bios0: rev 2.1 @ 0xfd4e0/0xb20 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdcc0/176 (9 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc/0xce00 0xcd000/0x1800 0xcf800/0x800! 0xe/0x4000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82852GM Hub-PCI" rev 0x02 "Intel 82852GM Memory" rev 0x02 at pci0 dev 0 function 1 not configured "Intel 82852GM Configuration" rev 0x02 at pci0 dev 0 function 3 not configured vga1 at pci0 dev 2 function 0 "Intel 82852GM AGP" rev 0x02: aperture at 0xe800, size 0x800 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) "Intel 82852GM AGP" rev 0x02 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x03: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x03: irq 11 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x03: irq 10 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x03: irq 10 usb3 at ehci0: USB revision 2.0 uhub3 at usb3 uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x83 pci1 at ppb0 bus 1 bce0 at pci1 dev 2 function 0 "Broadcom BCM4401" rev 0x01: irq 11, address 00:c0:9f:2f:00:84 bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0 ipw0 at pci1 dev 4 function 0 "Intel PRO/Wireless 2100" rev 0x04: irq 11, address 00:04:23:79:9c:11 cbb0 at pci1 dev 6 function 0 vendor "O2 Micro", unknown product 0x7113 rev 0x20pci_intr_map: no mapping for pin A : couldn't map interrupt cbb1 at pci1 dev 6 function 1 vendor "O2 Micro", unknown product 0x7113 rev 0x20pci_intr_map: no mapping for pin A : couldn't map interrupt "Texas Instruments TSB43AB21 FireWire" rev 0x00 at pci1 dev 7 function 0 not configured ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x03 pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 38154MB, 78140160 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 "Intel 82801DB SMBus" rev 0x03: irq 10 iic0 at ichiic0 "unknown" at iic0 addr 0x18 not configure
usb mouse detected but not working
I've got a similar situation as this: http://marc.theaimsgroup.com/?l=openbsd-misc&m=106401329307009&w=2 Basically, I have a laptop with a built-in touchpad (which works fine) and also a separate keyboard + touchpad hooked up to one of the laptop's USB ports. The external touchpad is a very plain 2-button Cirque serial device, which is connected to a serial-to-ps/2 adaptor. Both the keyboard and touchpad are hooked up to the same USB port via a ps/2-to-usb "Y" adaptor. The keyboard works fine. The touchpad doesn't ever respond at all, although I know the hardware is good because this setup works fine if I boot into a Knoppix CD (it finds it at /dev/input/mice, and both touchpads multiplex ok in gpm). My dmesg is appended to the end of this email, and here's some other relevant info: $ usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, OHCI root hub(0x), SIS(0x1039), rev 1.00 port 1 powered port 2 addr 2: low speed, power 100 mA, config 1, Semi Tech PS/2 Keyboard - PS/2 Mouse(0x8081), Semi Tech(0x04b4), rev 0.01 port 3 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, OHCI root hub(0x), SIS(0x1039), rev 1.00 port 1 powered port 2 powered port 3 powered Controller /dev/usb2: addr 1: high speed, self powered, config 1, EHCI root hub(0x), SIS(0x1039), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered $ ls -l /dev/wsmouse* crw---1 smt smt 69, 0 Nov 17 20:48 /dev/wsmouse crw---1 smt smt 68, 0 Nov 17 20:48 /dev/wsmouse0 crw---1 smt smt 68, 1 Dec 3 17:46 /dev/wsmouse1 crw---1 root wheel 68, 2 Nov 17 20:48 /dev/wsmouse2 crw---1 root wheel 68, 3 Nov 17 20:48 /dev/wsmouse3 $ sudo wsmoused -i -p /dev/wsmouse wsmouse supported mouse: USB $ sudo wsmoused -i -p /dev/wsmouse0 wsmouse supported mouse: PS/2 compatible $ sudo wsmoused -i -p /dev/wsmouse1 wsmouse supported mouse: USB Testing with wsmoused: "sudo wsmoused -2df -p /dev/wsmouse0" shows the mouse cursor moving when finger pressure is applied to the laptop's built-in touchpad. "sudo wsmoused -2df -p /dev/wsmouse1" has no effect all at when pressure is applied to the external touchpad, even if explicit -t option is used (tried every single protocol type on the list) Testing with cat: "cat /dev/wsmouse0" prints binary junk to the screen when the built-in touchpad is pressed. "cat /dev/wsmouse1" prints nothing at all when the external touchpad is pressed. It's dead Jim... I also tried the same tests after booting with "disable pms" in the UKC. The only result was that the built-in touchpad then also became dead, and the external touchpad replaced it as wsmouse0 (but was still completely dead). Booting with the external keyboard disconnected from the "Y" adaptor also had no effect. I'm not sure what else to try or what I should look at next? OpenBSD 3.8 (GENERIC) #0: Wed Apr 5 20:52:37 EDT 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Mobile AMD Sempron(tm) Processor 3000+ ("AuthenticAMD" 686-class, 128KB L2 cache) 1.80 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3 cpu0: AMD Powernow: FID VID TTP TM STC real mem = 501784576 (490024K) avail mem = 450740224 (440176K) using 4278 buffers containing 25190400 bytes (24600K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(39) BIOS, date 08/24/05, BIOS32 rev. 0 @ 0xfd5f0 pcibios0 at bios0: rev 2.1 @ 0xfd5f0/0xa10 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd30/160 (8 entries) pcibios0: PCI Interrupt Router at 000:02:0 ("SIS 85C503 System" rev 0x00) pcibios0: PCI bus #2 is the last bus bios0: ROM list: 0xc/0xc000 0xdc000/0x8000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "SIS 760 PCI" rev 0x03 ppb0 at pci0 dev 1 function 0 "SIS 86C202 VGA" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "SIS 6330 VGA" rev 0x00: aperture at 0xe800, size 0x40 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 2 function 0 "SIS 85C503 System" rev 0x25 pciide0 at pci0 dev 2 function 5 "SIS 5513 EIDE" rev 0x00: 760: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 "SIS 7013 Modem" rev 0xa0 at pci0 dev 2 function 6 not configured auich0 at pci0 dev 2 function 7 "SIS 7012 AC97" rev 0xa0: irq 5, SiS7012 AC97 ac97: codec id 0x414c4770 (Avance Logic ALC203) ac97: codec features headphone, 20 bit DA