think tank forum

technology » *nix on x301

asemisldkfj's avatar
8 years ago
r1, link
asemisldkfj
the law is no protection
I have a thinkpad x301 type 2777.

ubuntu runs fine on it.

I installed a snapshot of openbsd 3.8 yesterday and it's working well too. sleep (zzz) works once you put apmd_flags="" in rc.conf.local. wireless works with the iwn driver and firmware package. sound works. x works. wired network works. brightness controls work.

I had to change the sata thing in the bios to compatibility mode instead of ahci. I also had some weird stuff with packages/ports and had to do ln -s libX11.so.14.0 libX11.so.13.0 in /usr/X11R6/lib and ln -s awk nawk in /usr/bin to fix it. these are probably just issues with the snapshot that I got, but I couldn't find much about the specific errors anywhere.

OpenBSD 4.8-current (GENERIC.MP) #366: Wed Aug 25 19:20:36 MDT 2010
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU U9400 @ 1.40GHz ("GenuineIntel" 686-class) 1.40 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1
real mem  = 3111415808 (2967MB)
avail mem = 3050541056 (2909MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/16/10, BIOS32 rev. 0 @ 0xfdcc0, SMBIOS rev. 2.4 @ 0xe0010 (80 entries)
bios0: vendor LENOVO version "6EET50WW (3.10 )" date 03/16/2010
bios0: LENOVO 2777CTO
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT ASF! SSDT SSDT TCPA SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) EHC0(S3) EHC1(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee00000: 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 U9400 @ 1.40GHz ("GenuineIntel" 686-class) 1.40 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
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 -1 (EXP2)
acpiprt5 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 105 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4643" serial   614 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
bios0: ROM list: 0xc0000/0x10000! 0xd0000/0x1000 0xd1000/0x1000 0xd2000/0x1000 0xde000/0x1800! 0xe0000/0x10000
cpu0: Enhanced SpeedStep 1397 MHz: speeds: 1401, 1400, 1200, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at inteldrm0
"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
"Intel GM45 HECI" rev 0x07 at pci0 dev 3 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: apic 1 int 20 (irq 11), address 00:22:68:0d:cd:ca
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 20 (irq 11)
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 21 (irq 11)
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 22 (irq 11)
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 23 (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 82801I HD Audio" rev 0x03: apic 1 int 17 (irq 11)
azalia0: codecs: Conexant CX20561
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 1 int 20 (irq 11)
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: apic 1 int 21 (irq 11)
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5100" rev 0x00: apic 1 int 17 (irq 11), MIMO 1T2R, MoW, address 00:1e:65:e6:f1:0e
uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 1 int 16 (irq 11)
uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 1 int 17 (irq 11)
uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 1 int 18 (irq 11)
ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 1 int 19 (irq 11)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93
pci3 at ppb2 bus 21
pcib0 at pci0 dev 31 function 0 "Intel 82801IEM LPC" rev 0x03
pciide0 at pci0 dev 31 function 2 "Intel 82801I SATA" rev 0x03: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 1 int 16 (irq 255) for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK1229GSG>
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 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: <MATSHITA, DVD-RAM UJ-844, RC05> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x03: apic 1 int 23 (irq 11)
iic0 at ichiic0
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci5: USB revision 1.0
uhub7 at usb7 "Intel UHCI 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, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
umodem0 at uhub1 port 4 configuration 1 interface 1 "Ericsson Ericsson F3507g Mobile Broadband Minicard Composite Device" rev 2.00/0.00 addr 2
umodem0: data interface 2, has CM over data, has break
umodem0: status change notification available
ucom0 at umodem0
umodem1 at uhub1 port 4 configuration 1 interface 3 "Ericsson Ericsson F3507g Mobile Broadband Minicard Composite Device" rev 2.00/0.00 addr 2
umodem1: data interface 4, has CM over data, has break
umodem1: status change notification available
ucom1 at umodem1
umodem2 at uhub1 port 4 configuration 1 interface 9 "Ericsson Ericsson F3507g Mobile Broadband Minicard Composite Device" rev 2.00/0.00 addr 2
umodem2: data interface 12, has CM over data, has break
umodem2: no data interface
uvideo0 at uhub0 port 6 configuration 1 interface 0 "Chicony Electronics Co., Ltd. product 0x4807" rev 2.00/31.34 addr 2
video0 at uvideo0
ugen0 at uhub2 port 2 "AuthenTec Fingerprint Sensor" rev 2.00/17.03 addr 2
ubt0 at uhub3 port 2 "Lenovo Computer Corp ThinkPad Bluetooth with Enhanced Data Rate II" rev 2.00/3.99 addr 2
softraid0 at root
root on wd0a swap on wd0b dump on wd0b


the worst thing beside not having flash is the touchpad. I don't know how to get edge scrolling to work or turn off tap-to-click (this is actually the only reason I had to edit this post, because I accidentally tapped and created the thread).
maple's avatar
8 years ago
link
maple
i like large datasets
im running a 4.8 snapshot on my x201 fulltime (except a windows xp partition so i can play street fighter 3: 3rd strike online). I have pretty much the same shit as you except, ahci works perfect. I actually have to change it to compat mode when i reboot into windows but then have to have ahci in openbsd (i could do compat in both if i changed my fstab in openbsd though - just havent).

the ports/packages issues are definitely just snapshot issues.

im lovin it.
maple's avatar
8 years ago
link
maple
i like large datasets
also, i disabled my touchpad and use the touchstick (nub, whatever) only. touch pads under X always are terrible for me. if you had it working fine in ubuntu, then its obviously just some settings.
asemisldkfj's avatar
8 years ago
link
asemisldkfj
the law is no protection
I can't stand the trackpoint nub. as much as tap-to-click annoys me, the nub is worse. I think to have access to all this stuff you need the synaptics driver, which doesn't work on openbsd.
lucas's avatar
8 years ago
link
lucas
i ❤ demo
how can you hate the trackpoint stick?!
asemisldkfj's avatar
8 years ago
link
asemisldkfj
the law is no protection
I'm really inaccurate with it for some reason. like way more so than the touchpad. I used to be the opposite, but I came around.
Étrangère's avatar
8 years ago
link
Étrangère
I am not a robot...
I am backing you up on this one, asemi. I haven't used it much, but each time I could swear I'm just getting worse...
maple's avatar
8 years ago
link
maple
i like large datasets
you guys must also hate dolphins, sunsets and rainbows.
bsdlite's avatar
8 years ago
link
bsdlite
thinks darkness is his ally
> you guys must also hate dolphins, sunsets and rainbows.

i'm not a part of this thread, but i just wanted to pipe in: i do
Carpetsmoker's avatar
8 years ago
link
Carpetsmoker
Martin
Actually, the trackpoint is less accurate as the touchpad, as a pointing device the touchpad is better.
The reason that the trackpoint owns anyway is that you can use it without moving your hands from the keyboard.
lucas's avatar
8 years ago
link
lucas
i ❤ demo
i don't know--the trackpoint is both fast and accurate for me. i can move across the entire screen and stop on the exact pixel i want. it would take me ten times as long on a touchpad, thumbing around it.
bsdlite's avatar
8 years ago
link
bsdlite
thinks darkness is his ally
> Actually, the trackpoint is less accurate as the touchpad, as a pointing device the touchpad is better.

according to whom and measured how? touchpads are fucking awful
Carpetsmoker's avatar
8 years ago
r1, link
Carpetsmoker
Martin
According to:
http://en.wikipedia.org/wiki/Trackpoint#Compa … _touchpads

Four studies are cited ...
These are averages of course ... YMMV ...
bsdlite's avatar
8 years ago
r1, link
bsdlite
thinks darkness is his ally
i suspect the studies also don't account for accumulation of "trackpoint" capital
lucas's avatar
8 years ago
link
lucas
i ❤ demo
i am more skilled with my fingers than the average person
bsdlite's avatar
8 years ago
link
bsdlite
thinks darkness is his ally
> i am more skilled with my fingers than the average person

you should put this on your eharmony.com profile
Étrangère's avatar
8 years ago
link
Étrangère
I am not a robot...
hm.
asemisldkfj's avatar
7 years ago
link
asemisldkfj
the law is no protection
I've been running debian wheezy (testing).

- wifi needs firmware (of course)
- wpa is pretty easy in /etc/network/interfaces (just specify wpa-ssid and wpa-psk)
- brightness keys work
- suspend works once I install acpi-support (I hate linux)
- to get volume up/down keys to work I have to bind them to amixer commands with xbindkeys
- same with play/pause/stop/prev/next audio buttons
asemisldkfj's avatar
7 years ago
link
asemisldkfj
the law is no protection
I think all those keys would work in a full desktop environment. they all generate events like XF86AudioNext and XF86VolDown.
asemisldkfj's avatar
7 years ago
link
asemisldkfj
the law is no protection
(but I'm using dwm and mpd.)
phi_'s avatar
7 years ago
link
phi_
... and let the Earth be silent after ye.
xbindkeys

I also use dwm and mpd ... but I edited my config.h to have Meta1+a/o/e/u/i acting as volume adjusters. The Fn+F10/11/12 that my eeePC has set up for volume control is just too much for my hands to do all the time.

asemisldkfj's avatar
7 years ago
link
asemisldkfj
the law is no protection
xbindkeys is pretty great.
bluet's avatar
7 years ago
link
bluet
I dropped support for spawning other programs in my window manager. I just use xbindkeys for that now.
phi_'s avatar
7 years ago
link
phi_
... and let the Earth be silent after ye.
I still prefer dmenu for program launching, but xbindkeys works really well for all the multimedia functions on keyboards.
bluet's avatar
7 years ago
link
bluet
I also use dmenu, but through xbindkeys.
asemisldkfj's avatar
7 years ago
link
asemisldkfj
the law is no protection
haha