Subject: Re: thinkpad?
To: None <current-users@netbsd.org>
From: Michael Santos <mike@ethmoid.org>
List: current-users
Date: 05/16/2004 20:58:02
On Sun, May 16, 2004 at 04:32:09PM -0700, Simon Gerraty wrote:
> Thanks to Perry I have a current kernel on my ThinkPad T41
> which recognizes the onboard ethernet (wm0) and wireless adapters (ath0).
> 
> I noticed though that dhclient couldn't get a lease using wm0.
> In fact even configuring it manually (after killing off dhclient)
> I could not get any traffic out of it.
> 
> BUT as soon as I ran tcpdump on it - it started working.
> This hints that there's some extra initialization step needed.
> (hopefully putting it into/outof promiscuous mode isn't it ;-)

Hmmm, I have a T41p with a wm0 and ath0 as well. No problems with DHCP
on either interface so far.

(ack)/etc$ cat ifconfig.wm0
ip4csum tcp4csum udp4csum up

> Also, does anyone have an XFree86 config suitable for the T41?

I've attached mine below (for an ATI Radeon). It was generated by
XFree86 -configure. To use the trackpoint mouse, I had to disable the
touchpad in the BIOS.

-- 
Michael Santos
mike@ethmoid.org


Section "ServerLayout"
	Identifier     "XFree86 Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath   "/usr/X11R6/lib/X11/fonts/local/"
	FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
	FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

	FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "glx"
	Load  "record"
	Load  "xtrap"
	Load  "speedo"
	Load  "type1"
	Load  "freetype"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "wsmouse"
	Option	    "Device" "/dev/wsmouse"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "PanelOff"           	# [<bool>]
        #Option     "DDCMode"            	# [<bool>]
        #Option     "MonitorLayout"      	# [<str>]
        #Option     "IgnoreEDID"         	# [<bool>]
        #Option     "OverlayOnCRTC2"     	# [<bool>]
        #Option     "CloneMode"          	# [<str>]
        #Option     "CloneHSync"         	# [<str>]
        #Option     "CloneVRefresh"      	# [<str>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "DisplayPriority"    	# [<str>]
        #Option     "PanelSize"          	# [<str>]
        #Option     "ForceMinDotClock"   	# <freq>
	Identifier  "Card0"
	Driver      "ati"
	VendorName  "ATI Technologies Inc"
	BoardName   "Unknown Board"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"

	DefaultDepth 24

	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection