Brief Report: IBM/Lenovo z60t notebook with FreeBSD

Luigi Rizzo rizzo at icir.org
Sat Dec 3 03:52:50 PST 2005


On Sat, Dec 03, 2005 at 11:36:28AM +0000, Robert Watson wrote:
> 
> Last week, I ordered byself a new notebook -- for reasons of price, stock, 
> features, etc, I went with the Lenovo z60t 2511.  This is IBM part number 
> UM3EJUK, and comes with a 14" display (1280x768 widescreen), 1.86GHz 
> Pentium M, 512M of memory, and a 60GB hard disk.  It also has hardware 
> fingerprint scanner, bluetooth, SD card reader, broadcom gig-e, firewire, 
> atheros 802.11 chipset, and various other neat things.  Obviously, I 

from the description you give, the process looks very similar to what
i did for my Dell Latitude X1, similar features except for a 12.1" screen,
no fingerprint, and intel2200 instead of atheros card.
The output of pciconf -lv is attached.

just for the records, i have 6.0 installed here, the screen needed
tweaking through a port called 915resolution to install a 1280x768
vesa mode, and /dev/agp is not recognised so i cannot e.g. do
mplayer full screen using hw acceleration. if you have patches
for agp_*.c for that, I would be happy to see them and try to backport,
because i see more and more people with 915-based laptops in the need
for them.

Audio works fine with (basically) the latest snap from Ariff, although
it was recognised already  by the stock driver.

iwi mostly works except that wpa_supplicant seems to make the interface
unable to communicate until the next revoot.

bluetooth works (i used it once following the instructions).

suspend/resume does not work well. actually, one issue is that
the screen goes off when you close the lid and even though the
rest of the system seems to be somwehat alive, i cannot see
anything.

	cheers
	luigi



> installed FreeBSD on it.  Throughout, I found the 
> http://www.thinkwiki.org/ site useful.
> 
> After chatting with Bjoern Zeeb <bz>, I concluded that I would leave XP on 
> the notebook, as well as the IBM maintenance partition.  The advantage to 
> keeping these around is that it makes it possible to pick up useful things 
> like BIOS updates, and possibly makes getting support easier when things 
> go horribly wrong (hasn't happened yet).  I successfully booted the 6.0 
> release CD and used the livecd along with ntfsprogs to resize the 
> partition.  Suggestion: we should include the ntfsprogs package on the 
> install CD, even if we don't provide any UI for it.  After a bit of 
> cylinder math, I appear to have both reduced the ntfs partition to a much 
> smaller size, and not corrupted it.  One annoying nit I ran into was that 
> when fdisk complained about my not ending a slice on a cylinder boundary 
> and offered to correct it for me, it rounded down rather than up: this is 
> fine if you have nothing in the slice, but I think I'll be patching it to 
> ask if you want to round down or up.
> 
> FreeBSD 6.0 installed without a hitch, and was up and running quickly. 
> Immediately, I ran into two problems (with four parts):
> 
> (1) The current kernel AGP parts don't support the Intel 915gm chipset.
> (2) X.org 6.8.2 used the VESA video mode 1024x768.
> (3) The committed i915 DRM parts don't work.
> (4) When I loaded the if_ath driver to use the wireless, I got an NMI
>      and panic.
> 
> Over the last two days, I've worked with Eric Anholt and Sam Leffler to 
> try and track down the sources of these problems, and I'm pleased to 
> report both are now resolved (when running with their patches).
> 
> In order to get the X11 bits working, I updated to 7-CURRENT, and applied 
> a set of patches provided by Eric over the latest DRM drop he committed a 
> few days ago.  I believe he has now committed those patches, and if not, 
> will do so shortly.  I updated to xorg-server-snap, which provides the 
> X.org 7 release candidate server.  If you're reading this after X.org 7 
> comes out, I imagine it should "just work".  If it's in the next few 
> weeks, make sure you're running 7-CURRENT and using the xorg-server-snap 
> server -- you can use the rest of the 6.8.2 X.org parts with this with no 
> problem (libraries, clients, and so on).  If you're running 6.x and the 
> above hasn't yet been MFC'd, you'll need to get patches for the backport 
> of the AGP and DRM changes.  I'm pleased to report DRM also appeared to 
> work fine with Eric's patches, and glxgears spins away happily.
> 
> I was able to get the atheros card working with the NDIS Project Evil 
> magic.  You can find the AR5211.SYS and NET5211.INF files on the Windows 
> partition (I mounted the partition using ntfs support in FreeBSD without a 
> hitch to copy them over).  I had to tweak the INF file so that it could be 
> parsed by ndisgen to comment out the following two lines:
> 
>    [5211.reg.security]
>    "D:ARAI(A;;GA;;;BA)(A;;GA;;;SY)(A;CI;GA;;;IO)
> 
> However, I was unable to get the card to go into both 802.11b mode and ad 
> hoc mode at the same time.  I need to send Bill Paul a useful report, 
> although possibly once I'm back from travel.
> 
> After chatting with Sam Leffler, and being a bit puzzled about the exact 
> failure mode I was seeing, we concluded I should apply his most recent 
> atheros and 802.11 patches, and update to the latest HAL.  Once I did 
> this, all was well.  I don't know what Sam's plans for merging these is, 
> but they're what you need.  I did not try the new HAL with the old 802.11 
> code and driver.
> 
> At the end of the day, I have most things working with this notebook 
> except for the following:
> 
> - The Ricoh SD card reader is unsupported.  Google suggests that Linux
>    also doesn't support it, and that although there's a reverse engineering
>    effort going on, it has made limited progress.  They're looking for
>    volunteers if anyone is interested in learning about reverse
>    engineering.
> 
> - I don't yet have the sound driver attaching.  Not really something I
>    know much about -- it could be an existing driver would work if I
>    tweaked the PCI IDs, or not.  The card is described in pciconf -lv as
>    "82801FB/FR/FW/FRW Intel High DefiNition Audio Controller", class
>    0x040300, card 0x05b71014, chip 0x26688086, rev 0x03.
> 
> - The fingerprint scanner attaches as ugen0.  I haven't googled around yet
>    to see what I can learn.
> 
> - Suspend/resume was pretty sad, I don't advise trying it.  I may get a
>    chance to investigate this more while on travel over the next few weeks.
> 
> BTW, just so there's no confusion: the 14" version of this notebook is 
> actually the 15" notebook but with a smaller panel.  The case is 
> apparently identical, so if you buy the 14" one, make sure it's not under 
> the assumption it will be smaller than the 15" one, because it won't be 
> :-).
> 
> Robert N M Watson
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
-------------- next part --------------
hostb0 at pci0:0:0:	class=0x060000 card=0x01a31028 chip=0x25908086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82915PM/GM/GMS, 82910GML Host Bridge'
    class    = bridge
    subclass = HOST-PCI
none0 at pci0:2:0:	class=0x030000 card=0x01a31028 chip=0x25928086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82915GM/GMS, 82910GML Integrated Graphics Device'
    class    = display
    subclass = VGA
none1 at pci0:2:1:	class=0x038000 card=0x01a31028 chip=0x27928086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82915GM/GMS,82910GML Mobile Express Family Graphics Controller (??)'
    class    = display
pcib1 at pci0:28:0:	class=0x060400 card=0x00000040 chip=0x26608086 rev=0x03 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801FB/FR/FW/FRW PCI Express Port 1'
    class    = bridge
    subclass = PCI-PCI
uhci0 at pci0:29:0:	class=0x0c0300 card=0x01a31028 chip=0x26588086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801FB/FR/FW/FRW USB UHCI Controller'
    class    = serial bus
    subclass = USB
uhci1 at pci0:29:1:	class=0x0c0300 card=0x01a31028 chip=0x26598086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801FB/FR/FW/FRW USB UHCI Controller'
    class    = serial bus
    subclass = USB
uhci2 at pci0:29:2:	class=0x0c0300 card=0x01a31028 chip=0x265a8086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801FB/FR/FW/FRW USB UHCI Controller'
    class    = serial bus
    subclass = USB
uhci3 at pci0:29:3:	class=0x0c0300 card=0x01a31028 chip=0x265b8086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801FB/FR/FW/FRW USB UHCI Controller'
    class    = serial bus
    subclass = USB
ehci0 at pci0:29:7:	class=0x0c0320 card=0x01a31028 chip=0x265c8086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801FB/FR/FW/FRW USB 2.0 EHCI Controller'
    class    = serial bus
    subclass = USB
pcib2 at pci0:30:0:	class=0x060401 card=0x00000050 chip=0x24488086 rev=0xd3 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
pcm0 at pci0:30:2:	class=0x040100 card=0x01a31028 chip=0x266e8086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801FB/FR/FW/FRW AC '97 Audio Controller'
    class    = multimedia
    subclass = audio
none2 at pci0:30:3:	class=0x070300 card=0x542314f1 chip=0x266d8086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801FB/FR/FW/FRW AC '97 Modem Controller'
    class    = simple comms
    subclass = generic modem
isab0 at pci0:31:0:	class=0x060100 card=0x01a31028 chip=0x26418086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801FBM ICH6M LPC Interface Bridge'
    class    = bridge
    subclass = PCI-ISA
atapci0 at pci0:31:1:	class=0x01018a card=0x01a31028 chip=0x266f8086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801FB/FBM Ultra ATA Storage Controllers - 266F'
    class    = mass storage
    subclass = ATA
none3 at pci0:31:3:	class=0x0c0500 card=0x01a31028 chip=0x266a8086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801FB/FR/FW/FRW SMBus Controller'
    class    = serial bus
    subclass = SMBus
bge0 at pci1:0:0:	class=0x020000 card=0x01a31028 chip=0x167714e4 rev=0x01 hdr=0x00
    vendor   = 'Broadcom Corporation'
    device   = 'BCM5750A1 NetXtreme Gigabit Ethernet PCI Express'
    class    = network
    subclass = ethernet
cbb0 at pci2:1:0:	class=0x060700 card=0x01a31028 chip=0x04761180 rev=0xb3 hdr=0x02
    vendor   = 'Ricoh Co Ltd'
    device   = 'RL5c476 CardBus Controller'
    class    = bridge
    subclass = PCI-CardBus
fwohci0 at pci2:1:1:	class=0x0c0010 card=0x01a31028 chip=0x05521180 rev=0x08 hdr=0x00
    vendor   = 'Ricoh Co Ltd'
    device   = 'RL5c552 IEEE-1394 Controller'
    class    = serial bus
    subclass = FireWire
none4 at pci2:1:2:	class=0x080501 card=0x01a31028 chip=0x08221180 rev=0x17 hdr=0x00
    vendor   = 'Ricoh Co Ltd'
    device   = 'SD Bus Host Adapter'
    class    = base peripheral
iwi0 at pci2:3:0:	class=0x028000 card=0x27218086 chip=0x42208086 rev=0x05 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'PRO/Wireless 2200BG Network Connection'
    class    = network


More information about the freebsd-current mailing list