Debian Wheezy on Dell Latitude E7240

This laptop has actually been ubuntu certified and Dell has an ubuntu image at their website. Since I’m not really an Ubuntu fan and like to make stuff a bit complicated just because I want to have it the way I want it, I decided to go for Debian Wheezy (7.8).
At first, I was going with Freebsd 10.1 but since the wifi drivers has not yet been ported Stable from Openbsd and the FreeBSD port that exists only compiles in Freebsd 11 which is not stable and has shitloads of verbose messages spewn out by the OS all the time…so, maybe later.

So, here is a summary:

Wifi

WIFI doesn’t work out of the box
The wifi chipset is Intel dual band wireless ac 7260, but a few sites suggest it also has a Intel Centrino Ultimate N 6300 in some editions.

For 7260 you have to download a newer kernel.

Sound

Almost works out the box but alsa sort of defaults to wrong sound card, rather confusing at first, but google foo says:

/etc/modprobe.d/alsa-base.conf:
options snd_hda_codec_realtek index=1
options snd_hda_intel index

Suspend/Resume

Not tested very thoroughly, but initially it seems to work good as intended.

Docking Station

Requires MST support in the kernel for multiple screens. I did some quick test by fetching liquorix-kernel but didn’t get it to work correctly (only mirrored screens). Didn’t spend much time trying though.

FreeBSD 10.1 on a Lenovo T410

So, this post  to so I will share my experience with running FreeBSD 10.1 (10.1-RELEASE-p14) on Lenovo T410 (with intel gfx chip). I think it worked much better and easier than I expected. Will update if new marvelous things emerge.

Maybe this information should go to https://wiki.freebsd.org/Laptops – but I dunno to add content there.

Wifi

Intel Centrino Advanced-N 6200 works out of the box.

Wired NIC

Works without a hitch.

Suspend/Resume

Out of the box, suspend seem to work but resume leaves you with a blank screen. This can be fixed by adding kern.vty=vt to /boot/loader.conf Without vt, switching between Xorg and terminal will be a fscky experience also. This option is default in Freebsd 11 tho.

Xorg

Full resolution works fine for me, Xorg -configure did most of the magic. Install xf86-video-intel and change VESA to intel in xorg.conf if you want to use a better video driver.

Sound

Does not work out of the box, but luckily you just need to add hw.snd.default_unit=1 to /etc/sysctl.conf to make it work.

Docking Station

Works overall good with dual screens using HDMI.
USB works fine also. However, undocking laptop leaves you with a black laptop screen and re-docking it somehow freezes the video. Shutting down the laptop with the off button refreshes the screen and shows spews out the usual shut down messages.

Below is pciconf -lv output:

hostb0@pci0:255:0:0: class=0x060000 card=0x219617aa chip=0x2c628086 rev=0x02 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘Core Processor QuickPath Architecture Generic Non-core Registers’
class = bridge
subclass = HOST-PCI
hostb1@pci0:255:0:1: class=0x060000 card=0x219617aa chip=0x2d018086 rev=0x02 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘Core Processor QuickPath Architecture System Address Decoder’
class = bridge
subclass = HOST-PCI
hostb2@pci0:255:2:0: class=0x060000 card=0x219617aa chip=0x2d108086 rev=0x02 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘Core Processor QPI Link 0’
class = bridge
subclass = HOST-PCI
hostb3@pci0:255:2:1: class=0x060000 card=0x219617aa chip=0x2d118086 rev=0x02 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘Core Processor QPI Physical 0’
class = bridge
subclass = HOST-PCI
hostb4@pci0:255:2:2: class=0x060000 card=0x219617aa chip=0x2d128086 rev=0x02 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘Core Processor Reserved’
class = bridge
subclass = HOST-PCI
hostb5@pci0:255:2:3: class=0x060000 card=0x219617aa chip=0x2d138086 rev=0x02 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘Core Processor Reserved’
class = bridge
subclass = HOST-PCI
hostb6@pci0:0:0:0: class=0x060000 card=0x219317aa chip=0x00448086 rev=0x02 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘Core Processor DRAM Controller’
class = bridge
subclass = HOST-PCI
vgapci0@pci0:0:2:0: class=0x030000 card=0x215a17aa chip=0x00468086 rev=0x02 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘Core Processor Integrated Graphics Controller’
class = display
subclass = VGA
none0@pci0:0:22:0: class=0x078000 card=0x215f17aa chip=0x3b648086 rev=0x06 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘5 Series/3400 Series Chipset HECI Controller’
class = simple comms
uart2@pci0:0:22:3: class=0x070002 card=0x216217aa chip=0x3b678086 rev=0x06 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘5 Series/3400 Series Chipset KT Controller’
class = simple comms
subclass = UART
em0@pci0:0:25:0: class=0x020000 card=0x215317aa chip=0x10ea8086 rev=0x06 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘82577LM Gigabit Network Connection’
class = network
subclass = ethernet
ehci0@pci0:0:26:0: class=0x0c0320 card=0x216317aa chip=0x3b3c8086 rev=0x06 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘5 Series/3400 Series Chipset USB2 Enhanced Host Controller’
class = serial bus
subclass = USB
hdac0@pci0:0:27:0: class=0x040300 card=0x215e17aa chip=0x3b568086 rev=0x06 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘5 Series/3400 Series Chipset High Definition Audio’
class = multimedia
subclass = HDA
pcib2@pci0:0:28:0: class=0x060400 card=0x216417aa chip=0x3b428086 rev=0x06 hdr=0x01
vendor = ‘Intel Corporation’
device = ‘5 Series/3400 Series Chipset PCI Express Root Port 1’
class = bridge
subclass = PCI-PCI
pcib3@pci0:0:28:1: class=0x060400 card=0x216417aa chip=0x3b448086 rev=0x06 hdr=0x01
vendor = ‘Intel Corporation’
device = ‘5 Series/3400 Series Chipset PCI Express Root Port 2’
class = bridge
subclass = PCI-PCI
pcib4@pci0:0:28:3: class=0x060400 card=0x216417aa chip=0x3b488086 rev=0x06 hdr=0x01
vendor = ‘Intel Corporation’
device = ‘5 Series/3400 Series Chipset PCI Express Root Port 4’
class = bridge
subclass = PCI-PCI
pcib5@pci0:0:28:4: class=0x060400 card=0x216417aa chip=0x3b4a8086 rev=0x06 hdr=0x01
vendor = ‘Intel Corporation’
device = ‘5 Series/3400 Series Chipset PCI Express Root Port 5’
class = bridge
subclass = PCI-PCI
ehci1@pci0:0:29:0: class=0x0c0320 card=0x216317aa chip=0x3b348086 rev=0x06 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘5 Series/3400 Series Chipset USB2 Enhanced Host Controller’
class = serial bus
subclass = USB
pcib6@pci0:0:30:0: class=0x060401 card=0x216517aa chip=0x24488086 rev=0xa6 hdr=0x01
vendor = ‘Intel Corporation’
device = ‘82801 Mobile PCI Bridge’
class = bridge
subclass = PCI-PCI
isab0@pci0:0:31:0: class=0x060100 card=0x216617aa chip=0x3b078086 rev=0x06 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘Mobile 5 Series Chipset LPC Interface Controller’
class = bridge
subclass = PCI-ISA
ahci0@pci0:0:31:2: class=0x010601 card=0x216817aa chip=0x3b2f8086 rev=0x06 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘5 Series/3400 Series Chipset 6 port SATA AHCI Controller’
class = mass storage
subclass = SATA
none1@pci0:0:31:3: class=0x0c0500 card=0x216717aa chip=0x3b308086 rev=0x06 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘5 Series/3400 Series Chipset SMBus Controller’
class = serial bus
subclass = SMBus
none2@pci0:0:31:6: class=0x118000 card=0x219017aa chip=0x3b328086 rev=0x06 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘5 Series/3400 Series Chipset Thermal Subsystem’
class = dasp
iwn0@pci0:3:0:0: class=0x028000 card=0x13118086 chip=0x42398086 rev=0x35 hdr=0x00
vendor = ‘Intel Corporation’
device = ‘Centrino Advanced-N 6200’
class = network
sdhci_pci0@pci0:13:0:0: class=0x080500 card=0x213317aa chip=0xe8221180 rev=0x01 hdr=0x00
vendor = ‘Ricoh Co Ltd’
device = ‘MMC/SD Host Controller’
class = base peripheral
subclass = SD host controller
none3@pci0:13:0:1: class=0x088000 card=0x213417aa chip=0xe2301180 rev=0x01 hdr=0x00
vendor = ‘Ricoh Co Ltd’
device = ‘R5U2xx (R5U230 / R5U231 / R5U241) [Memory Stick Host Controller]’
class = base peripheral
none4@pci0:13:0:3: class=0x0c0010 card=0x213617aa chip=0xe8321180 rev=0x01 hdr=0x00
vendor = ‘Ricoh Co Ltd’
device = ‘R5C832 PCIe IEEE 1394 Controller’
class = serial bus
subclass = FireWire

EOF