Lenovo X121e, UMTS, WLAN, X11...

Kevin Oberman kob6558 at gmail.com
Sun Aug 28 15:45:19 UTC 2011


On Sun, Aug 28, 2011 at 5:13 AM, Kurt Jaeger <pi at opsec.eu> wrote:
> Hi!
>
> I got the new Lenovo X121e model (intel cpu version) to play with...
>
> I'm running freebsd 9.0-beta1 on it. fbsd 8.2 did not detect the alc0
> ethernet connection.
>
> X11 works in vesa (1024x768).
I believe that your system has "Intel 3000" graphics. If so, you are
out of luck unless you
are willing to play with hte very early development KMS code that kib
is working on under a grant from the FreeBSD Foundation.
http://wiki.freebsd.org/Intel_GPU

This is a non-trivial thing to install and is NOT full-featured at this point.

> - The touchpad is annoying (does anyone know how to deactivate it?)

Should be settable from BIOS. F1 at boot and look through the options
for the option to disable the trackpad. It's about the first thing I
do when I get a new system.

> - The resolution of the device is nominally 1366 x 768,
>  but I'm not sure how to activate that...

Requires KMS which is in alpha, but is reported as working. The
discussion of this work
is taking place on freebsd-x11 at .

> The system has a built-in Ericsson F5521gw UMTS/GPS card.
> - usbconfig -u 1 -a 4 dump_device_desc
>  says:
> ------------
> ugen1.4: <F5521gw Lenovo> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
>
>  bLength = 0x0012
>  bDescriptorType = 0x0001
>  bcdUSB = 0x0200
>  bDeviceClass = 0x0002
>  bDeviceSubClass = 0x0000
>  bDeviceProtocol = 0x0000
>  bMaxPacketSize0 = 0x0040
>  idVendor = 0x0bdb
>  idProduct = 0x1911
>  bcdDevice = 0x0000
>  iManufacturer = 0x0001  <Lenovo>
>  iProduct = 0x0002  <F5521gw>
>  iSerialNumber = 0x0003  <F2DA255B41AE3120>
>  bNumConfigurations = 0x0003
> ------------
> - Serial communication with /dev/cuaU0, 1 or 2 seems to work,
>  but neither gpsd can get data out of it nor does it accept a PIN
>  via
>  AT+CPIN=xxxx
> - If someone knows how to get this running, I would appreciate any hint.
> - During boot, it says:
> umodem0: <F5521gw Mobile Broadband Modem> on usbus1
> umodem0: data interface 2, has CM over data, has break
> umodem1: <F5521gw Mobile Broadband Data Modem> on usbus1
> umodem1: data interface 4, has CM over data, has break
> umodem2: <F5521gw Mobile Broadband GPS Port> on usbus1
> umodem2: data interface 10, has CM over data, has break
> - gpsd -N -D 2 -n /dev/cuaU2
>  says:
> ---------
> gpsd:INFO: launching (Version 2.96)
> gpsd:INFO: listening on port 2947
> gpsd:INFO: running with effective group ID 0
> gpsd:INFO: running with effective user ID 0
> gpsd:INFO: startup at 2011-08-28T11:20:35.00Z (1314530435)
> gpsd:INFO: stashing device /dev/cuaU2 at slot 0
> gpsd:INFO: opening GPS data source type 2 at '/dev/cuaU2'
> gpsd:INFO: speed 9600, 8N1
> gpsd:INFO: speed 9600, 8O1
> gpsd:INFO: speed 9600, 8N1
> gpsd:INFO: gpsd_activate(): activated GPS (fd 5)
> gpsd:INFO: device /dev/cuaU2 activated
> gpsd:INFO: NTPD ntpd_link_activate: 1
> gpsd:INFO: /dev/cuaU2 identified as type Generic NMEA (0.000437 sec @ 9600bps)
> gpsd:WARN: unknown sentence: "$PASHQ,RID*28\x0d\x0a"
> gpsd:WARN: unknown sentence: "@F2.2=1*64\x0d\x0a"
> gpsd:WARN: bad checksum in NMEA packet; expected 2D.
> gpsd:WARN: unknown sentence: "$PSRF100,0,9600,8,1,0*0C\x0d\x0a"
> gpsd:WARN: unknown sentence: "$PFEC,GPint*58\x0d\x0a"
> gpsd:WARN: unknown sentence: "$PTNLSNM,0139,01*5C\x0d\x0a"
> gpsd:WARN: unknown sentence: "$PFEC,GPsrq*5B\x0d\x0a"
> gpsd:WARN: unknown sentence: "$PASHQ,RID*28\x0d\x0a"
> [...]
> ---------

Sorry. No idea on this.

> - The system also has a broadcom wireless ethernet:
> ---------
> none2 at pci0:2:0:0:       class=0x028000 card=0x057614e4 chip=0x057614e4 rev=0x01
> hdr=0x00
>    vendor     = 'Broadcom Corporation'
>    device     = 'BCM43224 802.11a/b/g/n'
>    class      = network
>    bar   [10] = type Memory, range 64, base 0xd1500000, size 16384, enabled
>

There has been discussion of this chip on freebsd-wireless@, I don't
think a driver is
yet available, but there is quite a bit of interest, so it may be coming.

Good luck. Getting recent laptops working with FreeBSD is certainly a
challenge. On my T520 I'm still running VESA and waiting delivery of
an over-priced Intel Wireless card with
the custom PCI ID Lenovo requires. (Standard Intel 6205 is $20 while
the same card
with the Lenovo PCI ID (FRU 60Y3253) seems to run $100-$145.
-- 
R. Kevin Oberman, Network Engineer - Retired
E-mail: kob6558 at gmail.com


More information about the freebsd-mobile mailing list