Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2003 12:15:17 -0500 (EST)
From:      Stuart Barkley <stuartb@4gh.net>
To:        Jason <jason@tcpipbitch.net>
Cc:        freebsd-mobile@FreeBSD.ORG, "" <freebsd-current@FreeBSD.ORG>
Subject:   Re: psm not working on  Toshiba 1905-s301 and 5.0 Release
Message-ID:  <20030131112135.A11313@freeman.4gh.net>
In-Reply-To: <44755.208.59.233.179.1044025228.squirrel@webmail.tcpipbitch.net>
References:  <44755.208.59.233.179.1044025228.squirrel@webmail.tcpipbitch.net>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-944979401-1044033317=:11313
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 31 Jan 2003 at 10:00 -0500, Jason wrote:

> I searched the archives, found a few similair problems, and possible
> resolutions, but none have worked for me.

Perhaps you have already seen my Toshiba Satellite 1005-S157 page
which discusses a similar problem.  See:

    http://www.4gh.net/hints/toshiba/satellite1005-s157.html

In November you where trying 5.0 DP2 on a Toshiba 1901-S301.  Is this
the same machine?  Did the suggestions to disable EISA and/or SCSI
help in booting or has 5.0-RELEASE addressed the initial booting
problem?

> In windows, it is shown as an Alps Glidepoint on irq12, however fbsd
> refuses to find it.
>
> The device.hints file shows the correct info.  I ran acpidump, but was not
> quite sure what to look for.  (In one of the posts involving a sony with
> similair problems, someone said to check for MOUE <which I suspect they
> meant MOUSE> to get the ID to modify psm.c, but neither exist in acpidump
> results)
>
> Any ideas?

I have not yet tried FreeBSD 5.0 on my laptop, but src/isa/psm.c is
pretty similar between 4.7 and -CURRENT and my patch appears to apply
cleanly:

% patch psm.c < ~/psm.c.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -r -u ../src_dist/sys/isa/psm.c ./sys/isa/psm.c
|--- ../src_dist/sys/isa/psm.c  Wed Mar 27 11:53:35 2002
|+++ ./sys/isa/psm.c    Wed Oct 16 16:15:17 2002
--------------------------
Patching file psm.c using Plan A...
Hunk #1 succeeded at 632 (offset -18 lines).
Hunk #2 succeeded at 1034 (offset 34 lines).
done
%

My patch is just a hack to make my Toshiba work correctly.  I tend to
think that test_aux_port() or its callers may need some work.  I'm
don't really like adding a third hack to the already existing two
hacks which ignore other return codes.  Someone more familiar with the
mouse and keyboard driver code may want to look at moving the default
processing for test_aux_port results to be the same as the current
PSM_ACK case.

Stuart
-- 
I've never been lost; I was once bewildered for three days, but never lost!
                                        --  Daniel Boone
--0-944979401-1044033317=:11313
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="psm.c.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <20030131121517.O11313@freeman.4gh.net>
Content-Description: psm.c.patch
Content-Disposition: attachment; filename="psm.c.patch"

ZGlmZiAtciAtdSAuLi9zcmNfZGlzdC9zeXMvaXNhL3BzbS5jIC4vc3lzL2lz
YS9wc20uYw0KLS0tIC4uL3NyY19kaXN0L3N5cy9pc2EvcHNtLmMJV2VkIE1h
ciAyNyAxMTo1MzozNSAyMDAyDQorKysgLi9zeXMvaXNhL3BzbS5jCVdlZCBP
Y3QgMTYgMTY6MTU6MTcgMjAwMg0KQEAgLTY1MCw2ICs2NTAsNyBAQA0KIA0K
ICAgICBzd2l0Y2goKGkgPSB0ZXN0X2F1eF9wb3J0KGtiZGMpKSkgew0KICAg
ICBjYXNlIDE6CS8qIGlnbm9yZSB0aGlzIGVycm9yICovDQorICAgIGNhc2Ug
MjoJLyogaWdub3JlIHRoaXMgZXJyb3IgKi8NCiAgICAgY2FzZSBQU01fQUNL
Og0KIAlpZiAodmVyYm9zZSkNCiAJICAgIGxvZyhMT0dfREVCVUcsICJwc20l
ZDogc3RyYW5nZSByZXN1bHQgZm9yIHRlc3QgYXV4IHBvcnQgKCVkKS5cbiIs
DQpAQCAtOTk5LDkgKzEwMDAsMTEgQEANCiAgICAgICogZXJyb3IgY29kZS4g
RXZlbiBpZiB0aGUgY29udHJvbGxlciBIQVMgZXJyb3Igd2l0aCB0aGUgYXV4
IHBvcnQsDQogICAgICAqIGl0IHdpbGwgYmUgZGV0ZWN0ZWQgbGF0ZXIuLi4N
CiAgICAgICogWFhYOiBhbm90aGVyIGluY29tcGF0aWJsZSBjb250cm9sbGVy
IHJldHVybnMgUFNNX0FDSyAoMHhmYSkuLi4NCisgICAgICogWFhYOiBUb3No
aWJhIFNhdGVsbGl0ZSAxMDA1LVMxNTcgcmV0dXJucyAyLi4uDQogICAgICAq
Lw0KICAgICBzd2l0Y2ggKChpID0gdGVzdF9hdXhfcG9ydChzYy0+a2JkYykp
KSB7DQogICAgIGNhc2UgMToJICAgLyogaWdub3JlIHRoaXMgZXJyb3IgKi8N
CisgICAgY2FzZSAyOgkgICAvKiBpZ25vcmUgdGhpcyBlcnJvciAqLw0KICAg
ICBjYXNlIFBTTV9BQ0s6DQogICAgICAgICBpZiAodmVyYm9zZSkNCiAJICAg
IHByaW50ZigicHNtJWQ6IHN0cmFuZ2UgcmVzdWx0IGZvciB0ZXN0IGF1eCBw
b3J0ICglZCkuXG4iLA0K

--0-944979401-1044033317=:11313--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030131112135.A11313>