Re: OpenBSD on Thinkpad X13s ARM-based laptop

2023-06-02 Thread Daniel Ouellet
there is a dmesg of one running current as well in the archive with 
what's working and not as well. All in the archive.




On 6/2/23 6:55 AM, Alexander Hall wrote:

Search the archives for "support of thinkpad arm". This was asked just this 
Tuesday.

/Alexander

On June 1, 2023 10:46:33 PM GMT+02:00, "Tito Mari Francis Escaño" 
 wrote:

Hi everyone,
Has anyone tried to install and run OpenBSD on ARM-based Thinkpad X13s?
What are the challenges on making OpenBSD run on it?
Thank you.






Re: OpenBSD on Thinkpad X13s ARM-based laptop

2023-06-02 Thread Alexander Hall
Search the archives for "support of thinkpad arm". This was asked just this 
Tuesday.

/Alexander

On June 1, 2023 10:46:33 PM GMT+02:00, "Tito Mari Francis Escaño" 
 wrote:
>Hi everyone,
>Has anyone tried to install and run OpenBSD on ARM-based Thinkpad X13s?
>What are the challenges on making OpenBSD run on it?
>Thank you.



Re: OpenBSD on thinkpad x280

2019-05-27 Thread Theo de Raadt
Otto Moerbeek  wrote:

> On Mon, May 27, 2019 at 04:57:48AM -0600, Theo de Raadt wrote:
> 
> > Claudio Jeker  wrote:
> > 
> > > On Sat, May 25, 2019 at 03:53:03PM +0100, Maurice McCarthy wrote:
> > > > On 25/05/2019, Timo Myyrä  wrote:
> > > > > Tristan Pilat  writes:
> > > > >
> > > > >> Hi OpenBSD users and devs!
> > > > >>
> > > > >> I got a new laptop in January, a thinkpad x280. At that time my 
> > > > >> system
> > > > >> running 'current' was very slow and I assumed the video acceleration
> > > > >> wasn't working so I just sadly stuck with Debian for a while. I then
> > > > >> saw that an update of the inteldrm landed in current a month ago or 
> > > > >> so
> > > > >> so I tried yesterday to reinstall current. Unfortunately the system 
> > > > >> is
> > > > >> still barely usable. Could you guys tell me why the video 
> > > > >> acceleration
> > > > >> isn't handled? Isn't Kaby lake compatible for now? I saw this article
> > > > >> (https://jcs.org/2017/05/22/xiaomiair) which says it is.
> > > > >>
> > > > 
> > > > You may have to adjust the aperture
> > > > See /etc/examples/sysctl.conf
> > > > 
> > > > #machdep.allowaperture=2# See xf86(4)
> > > > 
> > > 
> > > Nope. That does not help. I bet the issue is not related to anything
> > > related to inteldrm. It is most probably an interrupt storm happening
> > > because of Thunderbolt 3. At least that seems to be something people
> > > complained about.
> > 
> > Same sort of thing happened with x1rev6, but various folk figured out BIOS
> > options which could prevent it, and newer BIOS replacements also improved
> > the situation.  Please study it and see if you can find some clues.
> 
> I'm up-to-date with the newest BIOS on my X1 6th but I see acpi0
> eating lots of CPU if I connect a displayport device. Playing with
> options does not fix this for me. The workaround I'm using now see
> below) is very unsatisfactory, but I have no clue on where I should be
> looking for a real fix and no one with knowledge in this area has
> surfaced to look into this problem.
> 
>   -Otto
> 
> Index: acpi.c
> ===
> RCS file: /cvs/src/sys/dev/acpi/acpi.c,v
> retrieving revision 1.367
> diff -u -p -r1.367 acpi.c
> --- acpi.c12 May 2019 15:52:52 -  1.367
> +++ acpi.c27 May 2019 11:07:52 -
> @@ -2262,6 +2262,10 @@ acpi_gpe(struct acpi_softc *sc, int gpe,
>   struct aml_node *node = arg;
>   uint8_t mask, en;
>  
> + static unsigned short count111;
> + if (gpe == 111 && count111++ != 0)
> + return 0;
> +
>   dnprintf(10, "handling GPE %.2x\n", gpe);
>   aml_evalnode(sc, node, 0, NULL, NULL);

It is good clue to know what GPE is firing.  Next step is to see what
parts of AML use that GPE.

(I still suspect it is related to Thunderbolt 3 / xhci / etc)



Re: OpenBSD on thinkpad x280

2019-05-27 Thread Otto Moerbeek
On Mon, May 27, 2019 at 04:57:48AM -0600, Theo de Raadt wrote:

> Claudio Jeker  wrote:
> 
> > On Sat, May 25, 2019 at 03:53:03PM +0100, Maurice McCarthy wrote:
> > > On 25/05/2019, Timo Myyrä  wrote:
> > > > Tristan Pilat  writes:
> > > >
> > > >> Hi OpenBSD users and devs!
> > > >>
> > > >> I got a new laptop in January, a thinkpad x280. At that time my system
> > > >> running 'current' was very slow and I assumed the video acceleration
> > > >> wasn't working so I just sadly stuck with Debian for a while. I then
> > > >> saw that an update of the inteldrm landed in current a month ago or so
> > > >> so I tried yesterday to reinstall current. Unfortunately the system is
> > > >> still barely usable. Could you guys tell me why the video acceleration
> > > >> isn't handled? Isn't Kaby lake compatible for now? I saw this article
> > > >> (https://jcs.org/2017/05/22/xiaomiair) which says it is.
> > > >>
> > > 
> > > You may have to adjust the aperture
> > > See /etc/examples/sysctl.conf
> > > 
> > > #machdep.allowaperture=2  # See xf86(4)
> > > 
> > 
> > Nope. That does not help. I bet the issue is not related to anything
> > related to inteldrm. It is most probably an interrupt storm happening
> > because of Thunderbolt 3. At least that seems to be something people
> > complained about.
> 
> Same sort of thing happened with x1rev6, but various folk figured out BIOS
> options which could prevent it, and newer BIOS replacements also improved
> the situation.  Please study it and see if you can find some clues.

I'm up-to-date with the newest BIOS on my X1 6th but I see acpi0
eating lots of CPU if I connect a displayport device. Playing with
options does not fix this for me. The workaround I'm using now see
below) is very unsatisfactory, but I have no clue on where I should be
looking for a real fix and no one with knowledge in this area has
surfaced to look into this problem.

-Otto

Index: acpi.c
===
RCS file: /cvs/src/sys/dev/acpi/acpi.c,v
retrieving revision 1.367
diff -u -p -r1.367 acpi.c
--- acpi.c  12 May 2019 15:52:52 -  1.367
+++ acpi.c  27 May 2019 11:07:52 -
@@ -2262,6 +2262,10 @@ acpi_gpe(struct acpi_softc *sc, int gpe,
struct aml_node *node = arg;
uint8_t mask, en;
 
+   static unsigned short count111;
+   if (gpe == 111 && count111++ != 0)
+   return 0;
+
dnprintf(10, "handling GPE %.2x\n", gpe);
aml_evalnode(sc, node, 0, NULL, NULL);
 




Re: OpenBSD on thinkpad x280

2019-05-27 Thread Theo de Raadt
Claudio Jeker  wrote:

> On Sat, May 25, 2019 at 03:53:03PM +0100, Maurice McCarthy wrote:
> > On 25/05/2019, Timo Myyrä  wrote:
> > > Tristan Pilat  writes:
> > >
> > >> Hi OpenBSD users and devs!
> > >>
> > >> I got a new laptop in January, a thinkpad x280. At that time my system
> > >> running 'current' was very slow and I assumed the video acceleration
> > >> wasn't working so I just sadly stuck with Debian for a while. I then
> > >> saw that an update of the inteldrm landed in current a month ago or so
> > >> so I tried yesterday to reinstall current. Unfortunately the system is
> > >> still barely usable. Could you guys tell me why the video acceleration
> > >> isn't handled? Isn't Kaby lake compatible for now? I saw this article
> > >> (https://jcs.org/2017/05/22/xiaomiair) which says it is.
> > >>
> > 
> > You may have to adjust the aperture
> > See /etc/examples/sysctl.conf
> > 
> > #machdep.allowaperture=2# See xf86(4)
> > 
> 
> Nope. That does not help. I bet the issue is not related to anything
> related to inteldrm. It is most probably an interrupt storm happening
> because of Thunderbolt 3. At least that seems to be something people
> complained about.

Same sort of thing happened with x1rev6, but various folk figured out BIOS
options which could prevent it, and newer BIOS replacements also improved
the situation.  Please study it and see if you can find some clues.



Re: OpenBSD on thinkpad x280

2019-05-26 Thread Tristan Pilat
On 25 May 2019 17:04:54 CEST, Claudio Jeker  wrote:
>On Sat, May 25, 2019 at 03:53:03PM +0100, Maurice McCarthy wrote:
>> On 25/05/2019, Timo Myyrä  wrote:
>> > Tristan Pilat  writes:
>> >
>> >> Hi OpenBSD users and devs!
>> >>
>> >> I got a new laptop in January, a thinkpad x280. At that time my
>system
>> >> running 'current' was very slow and I assumed the video
>acceleration
>> >> wasn't working so I just sadly stuck with Debian for a while. I
>then
>> >> saw that an update of the inteldrm landed in current a month ago
>or so
>> >> so I tried yesterday to reinstall current. Unfortunately the
>system is
>> >> still barely usable. Could you guys tell me why the video
>acceleration
>> >> isn't handled? Isn't Kaby lake compatible for now? I saw this
>article
>> >> (https://jcs.org/2017/05/22/xiaomiair) which says it is.
>> >>
>> 
>> You may have to adjust the aperture
>> See /etc/examples/sysctl.conf
>> 
>> #machdep.allowaperture=2 # See xf86(4)
>> 
>
>Nope. That does not help. I bet the issue is not related to anything
>related to inteldrm. It is most probably an interrupt storm happening
>because of Thunderbolt 3. At least that seems to be something people
>complained about.

Hi!

Thanks to you all, I just sent an email to bugs@ about this issue that seems to 
be related to an ACPI bug.

Cheers
-- 
Tristan Pilat
40 avenue des Chartreux
13004 Marseille
06 95 55 74 71



Re: OpenBSD on thinkpad x280

2019-05-25 Thread Claudio Jeker
On Sat, May 25, 2019 at 03:53:03PM +0100, Maurice McCarthy wrote:
> On 25/05/2019, Timo Myyrä  wrote:
> > Tristan Pilat  writes:
> >
> >> Hi OpenBSD users and devs!
> >>
> >> I got a new laptop in January, a thinkpad x280. At that time my system
> >> running 'current' was very slow and I assumed the video acceleration
> >> wasn't working so I just sadly stuck with Debian for a while. I then
> >> saw that an update of the inteldrm landed in current a month ago or so
> >> so I tried yesterday to reinstall current. Unfortunately the system is
> >> still barely usable. Could you guys tell me why the video acceleration
> >> isn't handled? Isn't Kaby lake compatible for now? I saw this article
> >> (https://jcs.org/2017/05/22/xiaomiair) which says it is.
> >>
> 
> You may have to adjust the aperture
> See /etc/examples/sysctl.conf
> 
> #machdep.allowaperture=2  # See xf86(4)
> 

Nope. That does not help. I bet the issue is not related to anything
related to inteldrm. It is most probably an interrupt storm happening
because of Thunderbolt 3. At least that seems to be something people
complained about.

-- 
:wq Claudio



Re: OpenBSD on thinkpad x280

2019-05-25 Thread Maurice McCarthy
On 25/05/2019, Timo Myyrä  wrote:
> Tristan Pilat  writes:
>
>> Hi OpenBSD users and devs!
>>
>> I got a new laptop in January, a thinkpad x280. At that time my system
>> running 'current' was very slow and I assumed the video acceleration
>> wasn't working so I just sadly stuck with Debian for a while. I then
>> saw that an update of the inteldrm landed in current a month ago or so
>> so I tried yesterday to reinstall current. Unfortunately the system is
>> still barely usable. Could you guys tell me why the video acceleration
>> isn't handled? Isn't Kaby lake compatible for now? I saw this article
>> (https://jcs.org/2017/05/22/xiaomiair) which says it is.
>>

You may have to adjust the aperture
See /etc/examples/sysctl.conf

#machdep.allowaperture=2# See xf86(4)

Good Luck



Re: OpenBSD on thinkpad x280

2019-05-25 Thread Timo Myyrä
Tristan Pilat  writes:

> Hi OpenBSD users and devs!
>
> I got a new laptop in January, a thinkpad x280. At that time my system
> running 'current' was very slow and I assumed the video acceleration
> wasn't working so I just sadly stuck with Debian for a while. I then
> saw that an update of the inteldrm landed in current a month ago or so
> so I tried yesterday to reinstall current. Unfortunately the system is
> still barely usable. Could you guys tell me why the video acceleration
> isn't handled? Isn't Kaby lake compatible for now? I saw this article
> (https://jcs.org/2017/05/22/xiaomiair) which says it is.
>
> The weird thing is that sometimes the computer is usable (not that fast 
> though) and sometimes it's very slow.
>
> Here's the dmesg:
>
>>OpenBSD 6.5-current (GENERIC.MP) #38: Thu May 23 22:22:19 MDT 2019
>>   dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>>real mem = 8322945024 (7937MB)
>>avail mem = 8060583936 (7687MB)
>>mpath0 at root
>>scsibus0 at mpath0: 256 targets
>>mainbus0 at root
>>bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x6f0bb000 (63 entries)
>>bios0: vendor LENOVO version "N20ET36W (1.21 )" date 09/06/2018
>>bios0: LENOVO 20KF001QFR
>>acpi0 at bios0: rev 2
>>acpi0: sleep states S0 S3 S4 S5
>>acpi0: tables DSDT FACP SSDT SSDT TPM2 UEFI SSDT SSDT HPET APIC MCFG
>>ECDT SSDT SSDT BOOT BATB SLIC SSDT SSDT SSDT LPIT WSMT SSDT SSDT SSDT
>>DBGP DBG2 MSDM DMAR ASF! FPDT UEFI BGRT
>>acpi0: wakeup devices GLAN(S4) XHC_(S3) XDCI(S4) HDAS(S4) RP01(S4)
>>PXSX(S4) RP02(S4) PXSX(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4)
>>RP06(S4) PXSX(S4) RP07(S4) [...]
>>acpitimer0 at acpi0: 3579545 Hz, 24 bits
>>acpihpet0 at acpi0: 2399 Hz
>>acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
>>cpu0 at mainbus0: apid 0 (boot processor)
>>cpu0: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz, 1496.89 MHz, 06-8e-0a
>>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,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
>>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 23MHz
>>cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
>>cpu1 at mainbus0: apid 2 (application processor)
>>cpu1: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz, 1496.51 MHz, 06-8e-0a
>>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,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
>>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-8250U CPU @ 1.60GHz, 1496.51 MHz, 06-8e-0a
>>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,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
>>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-8250U CPU @ 1.60GHz, 1496.51 MHz, 06-8e-0a
>>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,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
>>cpu3: 256KB 64b/line 8-way L2 cache
>>cpu3: smt 0, core 3, package 0
>>cpu4 at mainbus0: apid 1 (application processor)
>>cpu4: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz, 1496.51 MHz, 06-8e-0a
>>cpu4:
>>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,A

Re: OpenBSD on ThinkPad

2007-06-18 Thread Matthew Szudzik
> If X works ok, then mplayer will be able to scale the video (using
> either the xv or sdl video output plugin). Press 'f' during video
> playback.
> 
> vlc can probably do it too, but I dont use it, so i cant say.

The sdl flavor of mplayer works great on my ThinkPad T60 (with Intel GMA 
950 graphics chipset), but vlc doesn't work for me.  In particular, vlc 
garbles all the audio.



Re: OpenBSD on ThinkPad

2007-06-18 Thread Edd Barrett

Hi,

On 17/06/07, Timo MyyrC$ <[EMAIL PROTECTED]> wrote:

Hi,

I have Thinkpad T60 and I'm currently running Linux on it. I'm planning
to switch to OpenBSD but I have a small question about the video playback.
The laptop has ATI Mobility X1400 Radeon graphics card. As far as I know
the open source 'radeon' driver doesn't support that one so I'm forced
to use the 'vesa' driver.
I know I can get the correct resolution using it but what about video
playback. Will I be able to get good playback using the vesa driver?
Also, can I get tv-out using it?
I'd hate to install OpenBSD just to notice it won't work.


If X works ok, then mplayer will be able to scale the video (using
either the xv or sdl video output plugin). Press 'f' during video
playback.

vlc can probably do it too, but I dont use it, so i cant say.

--
Best Regards

Edd

---
http://students.dec.bournemouth.ac.uk/ebarrett



Re: OpenBSD on ThinkPad

2007-06-17 Thread Sam Fourman Jr.
On 6/15/07, Felix kronlage <[EMAIL PROTECTED]> wrote:
>
> On Thu, Jun 14, 2007 at 10:23:05PM +0200, Henning Brauer wrote:
>
> > > Also, I did not bother to try installing a non-Lenovo wireless card
> > > because Thinkpads have a BIOS whitelist that refuses to recognize
> > > "unauthorized" cards.  Some people have modified the BIOS to solve
> this
> > > problem, but the modification attempts sometimes corrupt the BIOS and
> make
> > > the computer un-bootable, which I wasn't willing to risk.  See
> > err?
> > it is as trivial as
> > sudo pkg_add tpwireless
> > and running that thing once.
>
> tpwireless does not work on models like x41 and others of that age
> (and even newer models completly changed bios).
> It will patch the bios, yet the bios will still refuse to boot
> the machine with an un-authorized card in it.
>
> darn, I have a x41 tablet I wanted to swap the iwi out with a ral




felix



Re: OpenBSD on ThinkPad

2007-06-17 Thread Harpalus a Como
I currently have a Thinkpad T60. I use OpenBSD with it, and it has the exact
same graphics card, the ATI Mobility Radeon X1400. However, I have
widescreen, and I was unable to use my laptop's native resolution of
1680x1050, and the stretched alternatives was, to me, largely unusable, or
at least hard on the eyes. The stretched console font was fine, but X11, to
me, wasn't. I haven't tried tv-out, just posting my own experiences. Note
that Xenocara may have fixed this situation. I did indeed attempt to use
915resolution, and I was unable to pull 1680x1050 widescreen out of it.

On 6/17/07, Timo Myyrd <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have Thinkpad T60 and I'm currently running Linux on it. I'm planning
> to switch to OpenBSD but I have a small question about the video playback.
> The laptop has ATI Mobility X1400 Radeon graphics card. As far as I know
> the open source 'radeon' driver doesn't support that one so I'm forced
> to use the 'vesa' driver.
> I know I can get the correct resolution using it but what about video
> playback. Will I be able to get good playback using the vesa driver?
> Also, can I get tv-out using it?
> I'd hate to install OpenBSD just to notice it won't work.
>
> -Zmyrgel-
>
> atstake atstake wrote:
> > On 6/15/07, Pieter Verberne <[EMAIL PROTECTED]> wrote:
> >> *I'm thinking of a R60 or T60. I have no interest in widescreen.
> >
> > I bought a T60 recently -
> >
> > o wpi(4) is not detected - fatal firmware error. From the manpage -
> > "fatal firmware error. For some reason, the firmware crashed. The
> > driver will reset the hardware. This should not happen."
> >
> > o APM is not detected
> >
> > I am not sure whether other bits like Infrared, bluetooth would work
> > smoothly as well.
> >
> > I sent the dmesg so hopefully everything will work by the time 4.2
> > comes out.
> >
> > At the time however, I installed Fedora Core 7 which detects
> > everything just fine (or with small tweaks here and there)



Re: OpenBSD on ThinkPad

2007-06-17 Thread Timo Myyrä

Hi,

I have Thinkpad T60 and I'm currently running Linux on it. I'm planning 
to switch to OpenBSD but I have a small question about the video playback.
The laptop has ATI Mobility X1400 Radeon graphics card. As far as I know 
the open source 'radeon' driver doesn't support that one so I'm forced 
to use the 'vesa' driver.
I know I can get the correct resolution using it but what about video 
playback. Will I be able to get good playback using the vesa driver? 
Also, can I get tv-out using it?

I'd hate to install OpenBSD just to notice it won't work.

-Zmyrgel-

atstake atstake wrote:

On 6/15/07, Pieter Verberne <[EMAIL PROTECTED]> wrote:

*I'm thinking of a R60 or T60. I have no interest in widescreen.


I bought a T60 recently -

o wpi(4) is not detected - fatal firmware error. From the manpage -
"fatal firmware error. For some reason, the firmware crashed. The
driver will reset the hardware. This should not happen."

o APM is not detected

I am not sure whether other bits like Infrared, bluetooth would work
smoothly as well.

I sent the dmesg so hopefully everything will work by the time 4.2 
comes out.


At the time however, I installed Fedora Core 7 which detects
everything just fine (or with small tweaks here and there)




Re: OpenBSD on ThinkPad

2007-06-15 Thread Felix kronlage
On Thu, Jun 14, 2007 at 10:23:05PM +0200, Henning Brauer wrote:

> > Also, I did not bother to try installing a non-Lenovo wireless card 
> > because Thinkpads have a BIOS whitelist that refuses to recognize 
> > "unauthorized" cards.  Some people have modified the BIOS to solve this 
> > problem, but the modification attempts sometimes corrupt the BIOS and make 
> > the computer un-bootable, which I wasn't willing to risk.  See
> err?
> it is as trivial as
> sudo pkg_add tpwireless
> and running that thing once.

tpwireless does not work on models like x41 and others of that age
(and even newer models completly changed bios).
It will patch the bios, yet the bios will still refuse to boot
the machine with an un-authorized card in it.


felix



Re: OpenBSD on ThinkPad

2007-06-14 Thread atstake atstake

On 6/15/07, Pieter Verberne <[EMAIL PROTECTED]> wrote:

*I'm thinking of a R60 or T60. I have no interest in widescreen.


I bought a T60 recently -

o wpi(4) is not detected - fatal firmware error. From the manpage -
"fatal firmware error. For some reason, the firmware crashed. The
driver will reset the hardware. This should not happen."

o APM is not detected

I am not sure whether other bits like Infrared, bluetooth would work
smoothly as well.

I sent the dmesg so hopefully everything will work by the time 4.2 comes out.

At the time however, I installed Fedora Core 7 which detects
everything just fine (or with small tweaks here and there)



Re: OpenBSD on ThinkPad

2007-06-14 Thread Greg Thomas

On 6/14/07, Don Scott <[EMAIL PROTECTED]> wrote:

If tpb and tphdisk functionality is a requirement for you, then you may
consider getting an older thinkpad T40 or X40 for $500.


Yeah, I love my used T40.  When this one breaks I may get the same
exact model.

Greg
--
http://ticketmastersucks.org/tracker.html

Dethink to survive - Mclusky



Re: OpenBSD on ThinkPad

2007-06-14 Thread Henning Brauer
* Matthew Szudzik <[EMAIL PROTECTED]> [2007-06-14 22:17]:
> > > I initially made the mistake of getting the "ThinkPad 11a/b/g Wi-Fi 
> > > wireless LAN Mini-PCIe" wireless card, but that Atheros-based card is not 
> > > currently supported by OpenBSD because it uses the AR5424 chipset.  So I 
> > > had to replace it with an Intel PRO/Wireless 3945ABG card--which is what 
> > > I 
> > > should have gotten in the first place.
> > 
> > Why didn't you replace your card to one wich has free firmware?
> > maybe it is better to just accept the nonfree firmware and replace the
> > Intel wlan card later. Just a few ThinkPads have no intel wifi so
> > it really limits your choise.
> > 
> 
> The T60 has a mini-PCI Express port.  The older Atheros cards with the 
> chipsets that OpenBSD does support are mini-PCI cards, not PCI Express.
> 
> Also, I did not bother to try installing a non-Lenovo wireless card 
> because Thinkpads have a BIOS whitelist that refuses to recognize 
> "unauthorized" cards.  Some people have modified the BIOS to solve this 
> problem, but the modification attempts sometimes corrupt the BIOS and make 
> the computer un-bootable, which I wasn't willing to risk.  See

err?
it is as trivial as
sudo pkg_add tpwireless
and running that thing once.

-- 
Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED]
BS Web Services, http://bsws.de
Full-Service ISP - Secure Hosting, Mail and DNS Services
Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam



Re: OpenBSD on ThinkPad

2007-06-14 Thread Don Scott
If tpb and tphdisk functionality is a requirement for you, then you may
consider getting an older thinkpad T40 or X40 for $500. ACPI development has
made strides since I bought my X60 in November 2006, but tpb still only
works with a non-SMP kernel and I've been unable to get tphdisk to work at
all. A word of caution though, as my problem may exist between the chair and
the keyboard.



Re: OpenBSD on ThinkPad

2007-06-14 Thread Matthew Szudzik
> > I initially made the mistake of getting the "ThinkPad 11a/b/g Wi-Fi 
> > wireless LAN Mini-PCIe" wireless card, but that Atheros-based card is not 
> > currently supported by OpenBSD because it uses the AR5424 chipset.  So I 
> > had to replace it with an Intel PRO/Wireless 3945ABG card--which is what I 
> > should have gotten in the first place.
> 
> Why didn't you replace your card to one wich has free firmware?
> maybe it is better to just accept the nonfree firmware and replace the
> Intel wlan card later. Just a few ThinkPads have no intel wifi so
> it really limits your choise.
> 

The T60 has a mini-PCI Express port.  The older Atheros cards with the 
chipsets that OpenBSD does support are mini-PCI cards, not PCI Express.

Also, I did not bother to try installing a non-Lenovo wireless card 
because Thinkpads have a BIOS whitelist that refuses to recognize 
"unauthorized" cards.  Some people have modified the BIOS to solve this 
problem, but the modification attempts sometimes corrupt the BIOS and make 
the computer un-bootable, which I wasn't willing to risk.  See

 http://www.thinkwiki.org/wiki/Problem_with_unauthorized_MiniPCI_network_card

for examples of successes and failures with this BIOS modification.



Re: OpenBSD on ThinkPad

2007-06-14 Thread Matthew Szudzik
Oh, and if you're thinking of buying a carrying case for your new ThinkPad 
T60, don't get the Lenovo messenger bag

 
http://shop.lenovo.com/SEUILibrary/controller/catalog.workflow:item.detail?GroupID=38&Code=40Y8598

The strap is connected to the bag with cheap plastic clips that look like 
they might easily snap if, say, you were running to catch the bus with the 
bag around your shoulder.

Also, the flap just barely covers the interior compartment, which has no 
zipper or other secondary protection from the elements.  So, if the bag 
were overstuffed and you were in a windy rain or dust storm, then the 
contents might get damaged.



Re: OpenBSD on ThinkPad

2007-06-14 Thread Matthew Szudzik
> I want to buy a new laptop and want to run OpenBSD on it. So I think
> my best choice is to buy a laptop without Intel wifi chipset and 
> -with- Intel Graphics Media Accelerator. (GMA is supported well 
> according to the FSF.) But the number of laptops with this
> combination is very limited! What are your experience or tips on
> buying a (new*) ThinkPad for OpenBSD.
> 
> *I'm thinking of a R60 or T60. I have no interest in widescreen.

I purchased a T60 (model 1953) with exactly that configuration a few 
months ago.  It works great with OpenBSD.  As you mentioned, it has an XGA 
display (no wide-screen) and Intel GMA 950 graphics chipset.

I initially made the mistake of getting the "ThinkPad 11a/b/g Wi-Fi 
wireless LAN Mini-PCIe" wireless card, but that Atheros-based card is not 
currently supported by OpenBSD because it uses the AR5424 chipset.  So I 
had to replace it with an Intel PRO/Wireless 3945ABG card--which is what I 
should have gotten in the first place.

So, I think you are making EXACTLY the correct decisions.  The model you 
are describing is the perfect OpenBSD laptop, and it's currently available 
brand new on the Lenovo website.



Re: OpenBSD on ThinkPad

2007-06-14 Thread Todd Alan Smith

On 6/14/07, Pieter Verberne <[EMAIL PROTECTED]> wrote:

Hi there,

I want to buy a new laptop and want to run OpenBSD on it. So I think
my best choice is to buy a laptop without Intel wifi chipset and
-with- Intel Graphics Media Accelerator. (GMA is supported well
according to the FSF.) But the number of laptops with this
combination is very limited! What are your experience or tips on
buying a (new*) ThinkPad for OpenBSD.

*I'm thinking of a R60 or T60. I have no interest in widescreen.

Pieter Verberne


Pieter, I'm pretty sure this has been discussed previously (and
recently) on this list. You might search the archives:

http://openbsd.org/mail.html#Archives

-Todd



Re: OpenBSD on ThinkPad

2007-06-14 Thread Ted Unangst

On 6/14/07, Pieter Verberne <[EMAIL PROTECTED]> wrote:

I want to buy a new laptop and want to run OpenBSD on it. So I think
my best choice is to buy a laptop without Intel wifi chipset and
-with- Intel Graphics Media Accelerator. (GMA is supported well
according to the FSF.) But the number of laptops with this
combination is very limited! What are your experience or tips on
buying a (new*) ThinkPad for OpenBSD.

*I'm thinking of a R60 or T60. I have no interest in widescreen.


works for me.



Re: OpenBSD on Thinkpad T60

2007-05-01 Thread zmyrgel
Ok, that's good to know that it works. Hopefully I get my CDs soon so I 
can test it out.


Timo

shunt wrote:

Hi, I recently installed 4.0 straight from CDs to my T60, from scratch.  The 
reverse-engineered ipw3945 driver is especially awesome and works "right out of the 
box".  The only things that don't work without a lot of intervention (I'm assuming 
here) are full 3d ati video driver and I didn't install an SMP kernel.

Even with using vnconfig to encrypt home (swap is of course already encrypted) and a non-SMP kernel, it did fairly well with a fully-tweaked KDE environment.  I was very satisfied.  


I also installed 3.9 on this same t60 and ran into the hard drive problem (go 
into bios and switch from sata to compatibility mode and it will work), as well 
as no wifi.  4.0 (and then i upgraded to 4.1 current).


On Tue, May 01, 2007 at 05:23:00PM +0100, zmyrgel wrote:
  

Just planning on getting new T60 laptop to replace my 'toy' laptop. I'm
wondering does OpenBSD run on T60 and does all of the devices work with it?

Are there Thinkpad specific packages in ports?

I think atleast the fingerprint reader won't work although that would be
pretty nice if it did work. The Active protection system or what it was 
called did

have some driver in OBSD AFAIK.

I checked from OpenBSD/laptop site and it doesn't have any T60's listed 
IIRC
but I found one thread in net that 3.9 installation didn't find the hard 
drive

for T60 so OBSD couldn't be installed. Has the situation improved since?

Still waiting for my 4.1 CD's :)