https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082007-01-29T02:45:01ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #545: PS/2 port problemhttps://bugs.dragonflybsd.org/issues/545?journal_id=22192007-01-29T02:45:01Zwa1ter
<ul></ul><p>On Sun, 28 Jan 2007, walt wrote:</p>
<p>I cleverly read the code and then added PSM_DEBUG to my kernel.</p>
<p>Now I see this during boot:</p>
<pre><code>atkbdc0: &lt;Keyboard controller (i8042)&gt; at port 0x60,0x64 on isa0<br /> atkbd0: &lt;AT Keyboard&gt; irq 1 on atkbdc0<br /> kbd0 at atkbd0<br /> psm0: current command byte:0047<br /> psm0: failed to get data.<br /> psm0: &lt;PS/2 Mouse&gt; irq 12 on atkbdc0<br /> psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons<br /> psm0: config:00000000, flags:00000000, packet size:3<br /> psm0: syncmask:00, syncbits:00</code></pre>
<p>And when moused starts up:<br />psm: status 00 02 64</p>
<p>And when attempting to re-start moused:<br />psm0: failed to enable the device (doopen).</p>
<p>Any ideas?</p> DragonFlyBSD - Bug #545: PS/2 port problemhttps://bugs.dragonflybsd.org/issues/545?journal_id=22532007-02-05T04:28:01Zdillon
<ul></ul><p>:On Sun, 28 Jan 2007, walt wrote:<br />:<br />:> Any ideas for debugging?<br />:<br />:I cleverly read the code and then added PSM_DEBUG to my kernel.<br />:<br />:Now I see this during boot:<br />:<br />: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0<br />: atkbd0: <AT Keyboard> irq 1 on atkbdc0<br />: kbd0 at atkbd0<br />: psm0: current command byte:0047<br />: psm0: failed to get data.<br />: psm0: <PS/2 Mouse> irq 12 on atkbdc0<br />: psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons<br />: psm0: config:00000000, flags:00000000, packet size:3<br />: psm0: syncmask:00, syncbits:00<br />:<br />:And when moused starts up:<br />:psm: status 00 02 64<br />:<br />:And when attempting to re-start moused:<br />:psm0: failed to enable the device (doopen).<br />:<br />:Any ideas?</p>
<pre><code>I haven't had any luck reproducing this. I can start moused, use<br /> vidcontrol -m on to test it, then I can kill moused and start it <br /> again, and the mouse works again.</code></pre>
<pre><code>I then killed moused and started up X with a directly specified<br /> /dev/psm0, and that worked. Then I terminated X and started it<br /> again, and that also worked.</code></pre>
<pre><code>-Matt<br /> Matthew Dillon <br /> &lt;<a class="email" href="mailto:dillon@backplane.com">dillon@backplane.com</a>&gt;</code></pre> DragonFlyBSD - Bug #545: PS/2 port problemhttps://bugs.dragonflybsd.org/issues/545?journal_id=22542007-02-05T09:03:01Zwa1ter
<ul></ul><p>Sorry, I need to emend my original report: I said/implied the bug was<br />100% reproducible, but it's not.</p>
<p>I just reproduced it twice by doing the following:<br />#/etc/rc.d/moused restart</p>
<p>I do that eight or ten or more times, rapidly, before the bug is<br />triggered. The number of tries will vary depending (I think) on<br />the speed of repetition. Maybe doing it from a shellscript would<br />show it quicker.</p> DragonFlyBSD - Bug #545: PS/2 port problemhttps://bugs.dragonflybsd.org/issues/545?journal_id=22572007-02-05T13:08:00Zqhwt+dfly
<ul></ul><p>And if it never reproduces on FreeBSD, porting some of updates from<br />FreeBSD may fix your problem. BTW what was the manufacturers and the<br />models of your mainboard and mouse?</p>
<p>Cheers.</p> DragonFlyBSD - Bug #545: PS/2 port problemhttps://bugs.dragonflybsd.org/issues/545?journal_id=22692007-02-06T06:28:00Zwa1ter
<ul></ul><p>Excellent clue, as always :o) After reproducing the same error on<br />FBSD I finally narrowed it down to my KVM -- when I plug the mouse<br />directly into the computer the bug disappears. Sorry for the noise.</p> DragonFlyBSD - Bug #545: PS/2 port problemhttps://bugs.dragonflybsd.org/issues/545?journal_id=95762011-02-08T06:20:02Ztuxillo
<ul></ul><p>Hi,</p>
<p>psm(4) was synced recently with FreeBSD. Among all the changes there were some<br />specific to KVM switches and in fact it solved my problems with my own KVM so I<br />encourage you to give it a try if you can.</p>
<p>Let me know.</p>
<p>Cheers,<br />Antonio Huete</p> DragonFlyBSD - Bug #545: PS/2 port problemhttps://bugs.dragonflybsd.org/issues/545?journal_id=135582018-12-21T08:28:03Zmartin1234
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/13558/diff?detail_id=3158">diff</a>)</li></ul>