FreeBSD 6.0 on TC1000 (was: wireless, ndis problems on Compaq TC1000 Tablet running 6-STABLE)

John Nielsen lists at jnielsen.net
Tue Mar 7 14:59:09 UTC 2006


On Tuesday 07 March 2006 08:57, Milan Obuch wrote:
> On Wednesday 30 November 2005 15:38, John Nielsen wrote:
> > On Tuesday 29 November 2005 06:03 pm, Milan Obuch wrote:
> > > On Tuesday 29 November 2005 21:39, John Nielsen wrote:
> > > > After successfully installing FreeBSD 6.0 on a Compaq TC1000 Tablet
> > > > PC
> > >
> > > By the way, how did you install 6.0 there? I am working with TC1000
> > > too, but it looks almost impossible to install FreeBSD without
> > > keyboard. Just would like to know possibilities - I tried 7.0 but ACPI
> > > does not work (does not boot even, only with ACPI disabled).
> >
> > My only obstacle was getting a keyboard attached to the console - by
> > default it would boot up to sysinstall just fine but the keyboard
> > wouldn't work.  (It was detected, but not attached.. i.e. caps lock, etc
> > would work but sysinstall wasn't getting any input.)
> >
> > Using a 6.0-BETA or RC disk (I don't remember which one), I wasn't able
> > to get around this.  However, using 6.0-RELEASE I was able to use the
> > builtin keyboard by disabling atkbd0 AND atkbdc0 in the loader.
>
> I did verify this method with 6.1-BETA3. While I did not install it, only
> came to sysinstall, it works - even with ACPI loaded, which was my primary
> question. So after I build new 5.5-soon-to-be-RELEASE working partition, I
> can wipe currently used 5.4-STABLE, couple of months old one and put 6.1
> there to test.

Glad to hear it.

> > Loading the kbdmux module may or may not be helpful--I didn't end up
> > needing it.
>
> While I consider using loading kbdmux extremely useful, it did not work as
> an alternative for your installing method. Neither buttons nor keyboard
> worked, so no use...

Yeah, I'll have to play around with this some more.

> > Once installed (and with sshd running as a backup), I updated to -STABLE
> > and built a custom kernel that does not include atkbdc, atkbd, or psm. 
> > It works fine. (And it's especially nice with a VESA 1024x768 mode in
> > syscons.)
>
> Could you share your setup? Kernel config and similar? Maybe X setup, if
> you are using it... I would like to put all information regarding TC1000 to
> my web log at www.dino.sk, so others could benefit from my observations as
> well.

I don't have the tablet with me at the moment, but I do have the kernel config 
file (attached).  The only options in there that I don't typically include on 
other machines are CPU_ENABLE_LONGRUN and SC_PIXEL_MODE, but I did have the 
sound and CD-ROM working on this kernel.

For the VESA console you'll want to check the output of "vidcontrol -i mode", 
but IIRC I used this in /etc/rc.conf:

allscreens_flags="-f 8x8 cp437-8x8.fnt MODE_280"

Obviously you could substitute different font sizes and character pages as 
appropriate.

I did set up X.org, but don't have my config file.  "Xorg -configure" was 
reasonably helpful.  I may have only been able to use X's VESA driver, but I 
don't remember for certain.  I do remember that the mouse was flakey.

My inability to get the built-in wireless working (even with NDIS) coupled 
with the mouse not behaving well enough to use in X put a damper on my 
enthusiasm for running FreeBSD on the device.  I didn't explore using the 
stylus at all.

I'd be interested in getting e-mail updates if you make any headway on any of 
those fronts, and I'll try to keep an eye on your blog.

JN
-------------- next part --------------
# SPARRTAB - Compaq TC1000 tablet

machine		i386
cpu		I586_CPU
ident		SPARRTAB

options		CPU_ENABLE_LONGRUN

options		IPFIREWALL
options		IPFIREWALL_FORWARD
options		IPDIVERT
options		DUMMYNET

options		LIBMCHAIN
options		LIBICONV
options		NETSMB
options		NETSMBCRYPTO
options		SMBFS

#options 	SCHED_ULE		# ULE scheduler
options 	SCHED_4BSD		# 4BSD scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
options 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_GPT		# GUID Partition Tables.
options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.
#options 	STOP_NMI		# Stop CPUS using NMI instead of IPI

device		apic
device		pci
device		ata
device		atadisk		# ATA disk drives
options 	ATA_STATIC_ID	# Static device numbering

device		scbus		# SCSI bus (required for SCSI)
device		da		# Direct Access (disks)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
#device		atkbdc		# AT keyboard controller
#device		atkbd		# AT keyboard
#device		psm		# PS/2 mouse

device		agp		# support several AGP chipsets
device		vga		# VGA video card driver
device		sc
options		SC_HISTORY_SIZE=2000
options		VESA
options		SC_PIXEL_MODE
options		SC_TWOBUTTON_MOUSE
options		VGA_WIDTH90

device		cbb		# cardbus (yenta) bridge
device		pccard		# PC Card (16-bit) bus
device		cardbus		# CardBus (32-bit) bus

device		miibus		# MII bus support
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
device		wlan		# 802.11 support

device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
device		snp
device		carp
device		bpf		# Berkeley packet filter

# USB support
#device		uhci		# UHCI PCI->USB interface
device		ohci
device		ehci		# EHCI PCI->USB interface (USB 2.0)
device		usb		# USB Bus (required)
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse

device		sound
device		snd_via82c686


More information about the freebsd-stable mailing list