Tag Archives: config

Dual Boot DOS and Debian Toughbook

Dual Boot DOS and Debian

From DougMcIntosh

Jump to: navigation, search

Contents

if (window.showTocToggle) { var tocShowText = “show”; var tocHideText = “hide”; showTocToggle(); }

The Debian DosBook

Why ?

I wanted all the software that was better on the linux system. Particularly xmame, xmess and ScummVM. I also wanted to be ble to play many of the original DOS games at full speed. Sites like abandonia and Home Of The Underdogs has lifted my desire up to a frenzy.

My plan was to install Debain linux onto a large partition, leave some space on the drive, then install MS-DOS 7.10.

Easy Peasy.

Finding Stuff

Debian is *very* easy to find.

Search for MS-DOS 7.10 on torrent sites, or just google for it. Download the CD ISO image and burn it to disk.

I also used FreeDos CD ISO image.

Installation

Debian Installation

Read about it here

I installed Debian using the guide above. I used manual partitioning and set up a 3.9 Gig partition with about a 350 Meg swap partition. /dev/hda1 and /dev/hda2/.

I then set up the rest of the space as a vfat partition and set it to be mounted on /dos.

DOS Installation

This is from memory. I sadly was not taking notes.

  • MS DOS

I initially tried just booting up with the disk installed. Booted up fine. Told me it could not find any suitable disks to install on. I dropped down to a dos shell. It dropped me at the A: drive, which I suspect was some kind of RAM drive. The D: drive was the CD. All the files on the CD seemed to be compressed and not really accessible.

The A: drive did not contain the fdisk or format commands.

  • FreeDOS

I booted up with FreeDOS in the CD. And installed it. I can’t remember if I actually had to drop to the shell and go for the FDISK followed by FORMAT C:, I may well have done. The FreeDOS 1.0 release works very well. Is currently what I am using. Sound card was awful to set up though. Nick the relevant lines from my autoexec.bat file

I chose NOT to overwrite the Master Boot Record.

  • Debian

I booted into Debian and changed the /boot/grub/menu.lst to let me boot into DOS.

  title DOS
  rootnoverify (hd0,2)
  chainloader +1
  makeactive

It booted fine. For some reason I didn’t like FreeDOS though. I *wanted* MSDOS 7.10.

  • MS-DOS 7.10

Booted again. This time I ignored the message about failing the drive check. Just skip it and install to C:\DOS.

Install all the supplemental stuff. Except the chinese add on.

Away you go.

Advertisements

Toughbook lsmod

Module Size Used by
ipv6 229892 6
ds 17796 4
af_packet 20872 2
parport_pc 33348 0
parport 37320 1 parport_pc
pcspkr 3816 0
rtc 12088 0
8139too 23936 0
8139cp 19072 0
mii 4864 2 8139too,8139cp
yenta_socket 19200 1
pcmcia_core 63028 2 ds,yenta_socket
joydev 9536 0
snd_ymfpci 58180 0
snd_ac97_codec 59268 1 snd_ymfpci
usbhid 28864 0
snd_pcm_oss 48168 0
snd_mixer_oss 16640 1 snd_pcm_oss
snd_pcm 85384 2 snd_ymfpci,snd_pcm_oss
snd_opl3_lib 9728 1 snd_ymfpci
snd_timer 23300 3 snd_ymfpci,snd_pcm,snd_opl3_lib
snd_hwdep 9092 1 snd_opl3_lib
snd_page_alloc 11144 2 snd_ymfpci,snd_pcm
gameport 4736 1 snd_ymfpci
snd_mpu401_uart 7296 1 snd_ymfpci
snd_rawmidi 23204 1 snd_mpu401_uart
snd_seq_device 7944 2 snd_opl3_lib,snd_rawmidi
snd 50660 11 snd_ymfpci,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 9824 1 snd
uhci_hcd 29328 0
usbcore 104164 4 usbhid,uhci_hcd
tsdev 7168 0
mousedev 9996 1
evdev 9088 0
capability 4872 0
commoncap 7168 1 capability
psmouse 17800 0
ide_cd 38176 0
cdrom 35740 1 ide_cd
ext3 109544 1
jbd 54552 1 ext3
ide_generic 1664 0
piix 12448 1
ide_disk 16768 3
ide_core 125028 4 ide_cd,ide_generic,piix,ide_disk
unix 26036 80
font 8576 0
vesafb 6688 0
cfbcopyarea 3840 1 vesafb
cfbimgblt 3200 1 vesafb
cfbfillrect 3712 1 vesafb

Toughbook xf86config

# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type “man XF86Config-4” at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86

Section “Files”
FontPath “unix/:7100” # local font server
# if the local font server has problems, we can fall back on these
FontPath “/usr/lib/X11/fonts/misc”
FontPath “/usr/lib/X11/fonts/cyrillic”
FontPath “/usr/lib/X11/fonts/100dpi/:unscaled”
FontPath “/usr/lib/X11/fonts/75dpi/:unscaled”
FontPath “/usr/lib/X11/fonts/Type1”
FontPath “/usr/lib/X11/fonts/CID”
FontPath “/usr/lib/X11/fonts/Speedo”
FontPath “/usr/lib/X11/fonts/100dpi”
FontPath “/usr/lib/X11/fonts/75dpi”
EndSection

Section “Module”
Load “GLcore”
Load “bitmap”
Load “dbe”
Load “ddc”
Load “dri”
Load “extmod”
Load “freetype”
Load “glx”
Load “int10”
Load “record”
Load “speedo”
Load “type1”
Load “vbe”
EndSection

Section “InputDevice”
Identifier “Generic Keyboard”
Driver “keyboard”
Option “CoreKeyboard”
Option “XkbRules” “xfree86”
Option “XkbModel” “pc105”
Option “XkbLayout” “uk”
EndSection

Section “InputDevice”
Identifier “Configured Mouse”
Driver “mouse”
Option “CorePointer”
Option “Device” “/dev/input/mice”
Option “Protocol” “ImPS/2”
Option “Emulate3Buttons” “true”
Option “ZAxisMapping” “4 5”
EndSection

Section “Device”
Identifier “NeoMagic Corporation NM2200 [MagicGraph 256AV]”
Driver “neomagic”
EndSection

Section “Monitor”
Identifier “Generic Monitor”
HorizSync 28-38
VertRefresh 43-72
Option “DPMS”
EndSection

Section “Screen”
Identifier “Default Screen”
Device “NeoMagic Corporation NM2200 [MagicGraph 256AV]”
Monitor “Generic Monitor”
DefaultDepth 16
SubSection “Display”
Depth 1
Modes “800×600”
EndSubSection
SubSection “Display”
Depth 4
Modes “800×600”
EndSubSection
SubSection “Display”
Depth 8
Modes “800×600”
EndSubSection
SubSection “Display”
Depth 15
Modes “800×600”
EndSubSection
SubSection “Display”
Depth 16
Modes “800×600”
EndSubSection
SubSection “Display”
Depth 24
Modes “800×600”
EndSubSection
EndSection

Section “ServerLayout”
Identifier “Default Layout”
Screen “Default Screen”
InputDevice “Generic Keyboard”
InputDevice “Configured Mouse”
EndSection

Section “DRI”
Mode 0666
EndSection

Toughbook lspci -v

0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX – 82443BX/ZX/DX Host bridge (AGP disabled) (rev 03)
Flags: bus master, medium devsel, latency 64
Memory at (32-bit, prefetchable)

0000:00:02.0 VGA compatible controller: Neomagic Corporation NM2200 [MagicGraph 256AV] (rev 20) (prog-if 00 [VGA])
Subsystem: Matsushita Electric Industrial Co., Ltd.: Unknown device 831b
Flags: bus master, medium devsel, latency 128, IRQ 9
Memory at fd000000 (32-bit, prefetchable) [size=16M]
Memory at fe800000 (32-bit, non-prefetchable) [size=4M]
Memory at fed00000 (32-bit, non-prefetchable) [size=1M]
Capabilities:

0000:00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
Flags: bus master, medium devsel, latency 0

0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
Flags: bus master, medium devsel, latency 64
I/O ports at fcf0 [size=16]

0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at fcc0 [size=32]

0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
Flags: medium devsel, IRQ 9

0000:00:0a.0 Multimedia audio controller: Yamaha Corporation YMF-744B [DS-1S Audio Controller] (rev 02)
Subsystem: Matsushita Electric Industrial Co., Ltd.: Unknown device 831b
Flags: bus master, medium devsel, latency 64, IRQ 9
Memory at fecf8000 (32-bit, non-prefetchable) [size=32K]
I/O ports at fc40 [size=64]
I/O ports at fcec [size=4]
Capabilities:

0000:00:0c.0 CardBus bridge: Ricoh Co Ltd RL5c478 (rev 03)
Subsystem: Matsushita Electric Industrial Co., Ltd.: Unknown device 831b
Flags: bus master, medium devsel, latency 168, IRQ 9
Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
Memory window 0: 10400000-107ff000 (prefetchable)
Memory window 1: 10800000-10bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
16-bit legacy interface ports at 0001

0000:00:0c.1 CardBus bridge: Ricoh Co Ltd RL5c478 (rev 03)
Subsystem: Matsushita Electric Industrial Co., Ltd.: Unknown device 831b
Flags: bus master, medium devsel, latency 168, IRQ 9
Memory at 10001000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=05, subordinate=08, sec-latency=176
Memory window 0: 10c00000-10fff000 (prefetchable)
Memory window 1: 11000000-113ff000
I/O window 0: 00004800-000048ff
I/O window 1: 00004c00-00004cff
16-bit legacy interface ports at 0001

0000:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Surecom Technology: Unknown device 0428
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at 4000 [size=256]
Memory at 10800000 (32-bit, non-prefetchable) [size=512]
Capabilities:

pvr channel ids

Please note that I no longer update any of my PVR stuff – Douglas

channel_ids file from the xmltv package. Lives somewhere in /usr/share/xmltv/uk_grabber/channel_ids

# channel_ids
#
# This file maps Radio Times channel ids to XMLTV style.
#
# The format of this file is one channel per line, each line has three
# fields separated by colons: the XMLTV id, Radio Times id, and then
# the third field if nonempty is an additional (English or numeric)
# display name for the channel. Blank lines and comments are ignored.
#
carlton.com:26:3
animalplanet.discoveryeurope.com:39:
artsworld.com:40:
choice.bbc.co.uk:45:BBC Choice
knowledge.bbc.co.uk:47:
news-24.bbc.co.uk:48:BBC News 24
parliament.bbc.co.uk:49:BBC Parl
south-east.bbc1.bbc.co.uk:92:1
south-east.bbc2.bbc.co.uk:105:2
biography-channel.biography.com:119:Biography
british.eurosport.com:123:British Eurosport
news.eurosport.com:1742:
channel4.com:132:4
channel5.co.uk:134:5
discoveryeurope.com:147:Discovery
e4.channel4.com:158:E4
filmfour.channel4.com:160:FilmFour
plus.granadatv.co.uk:177:Granada Plus
thehistorychannel.co.uk:182:History
itv2.itv.co.uk:185:ITV2
nationalgeographic.co.uk:213:National Geographic
performancetv.co.uk:225:Performance
sky-one.sky.com:248:S1
cinema.sky.com:249:Sky Cinema
2.cinema.sky.com:250:Sky Cinema 2
moviemax.sky.com:251:Sky Moviemax
2.moviemax.sky.com:252:Sky Moviemax 2
3.moviemax.sky.com:253:Sky Moviemax 3
4.moviemax.sky.com:254:Sky Moviemax 4
5.moviemax.sky.com:255:Sky Moviemax 5
ondigital.premier.sky.com:257:Sky Premier
2.premier.sky.com:258:Sky Premier 2
3.premier.sky.com:259:Sky Premier 3
4.premier.sky.com:260:Sky Premier 4
1.sports.sky.com:262:Sky Sports 1
2.sports.sky.com:264:Sky Sports 2
3.sports.sky.com:265:Sky Sports 3
tcm.turner.com:271:TCM
uk-gold.flextech.telewest.co.uk:288:UKTV Gold
uk-documentary.flextech.telewest.co.uk:1601:UKTV Documentary
uk-drama.flextech.telewest.co.uk:292:UKTV Drama

# following channels are only listed for registered users of the RT site
#
east.bbc1.bbc.co.uk:93:1
london.bbc1.bbc.co.uk:94:1
midlands.bbc1.bbc.co.uk:95:1
north.bbc1.bbc.co.uk:96:1
north-east.bbc1.bbc.co.uk:97:1
north-west.bbc1.bbc.co.uk:98:1
northern-ireland.bbc1.bbc.co.uk:99:1
scotland.bbc1.bbc.co.uk:101:1
south.bbc1.bbc.co.uk:102:1
south-west.bbc1.bbc.co.uk:103:1
wales.bbc1.bbc.co.uk:100:1
west.bbc1.bbc.co.uk:104:1
east.bbc2.bbc.co.uk:106:2
london.bbc2.bbc.co.uk:107:2
midlands.bbc2.bbc.co.uk:108:2
north.bbc2.bbc.co.uk:110:2
north-east.bbc2.bbc.co.uk:111:2
north-west.bbc2.bbc.co.uk:109:2
ireland.bbc2.bbc.co.uk:112:2
scotland.bbc2.bbc.co.uk:113:2
south.bbc2.bbc.co.uk:115:2
south-west.bbc2.bbc.co.uk:116:2
wales.bbc2.bbc.co.uk:114:2
west.bbc2.bbc.co.uk:117:2

channeltv.co.uk:28:3
grampiantv.co.uk:34:3
anglia.tv.co.uk:24:3
border-tv.com:25:3
scottish.border-tv.com:461:3
central.carlton.com:27:3
westcountry.carlton.com:33:3
granadatv.co.uk:29:3
meridian.tv.co.uk:30:3
tynetees.tv:31:3
wales.htv.co.uk:35:3
west.htv.co.uk:36:3
yorkshire.granadatv.co.uk:32:3

n2.rte.ie:46:RTE-N2
s4c.co.uk:133:4
rte-1.rte.ie:231:RTE-1
digital.s4c.co.uk:721:
digital.wales.bbc2.bbc.co.uk:521:

scottishtv.co.uk:37:
utvlive.com:38:
adventure-one.nationalgeographic.co.uk:22:
b4utv.com:43:
bbcamerica.com:44:
prime.bbc.com:50:
world-tv.bbc.com:90:
Bangla.rtvnetwork.com:118:
bid-up.tv:594:
bloomberg.com:120:
bravo.co.uk:122:
plus-1.bravo.co.uk:1221:
cbbc.bbc.co.uk:482:
cbeebies.bbc.co.uk:483:
europe.cnbc.com:125:
europe.cnn.com:126:
uk.cartoonnetwork.com:128:
plus-1.uk.cartoonnetwork.com:129:
challengetv.co.uk:131:Challenge
christian-channel-europe.god-digital.com:136:
plus-1.discoveryeurope.com:152:
civilisations.discoveryeurope.com:148:Civ
health.discovery.com:149:
home.discoveryeurope.com:150:
kids.discoveryeurope.com:151:
sci-trek.discoveryeurope.com:153:
travel.discoveryeurope.com:154:
wings.discoveryeurope.com:155:
disneychannel.disney.co.uk:156:
plus-1.disneychannel.disney.co.uk:157:
plus-1.e4.channel4.com:1161:
euronews.com:159:
eurosport.sky.com:124:
extreme.com:582:
fxuk.tv:1461:
ftv.com:583:
plus-1.filmfour.channel4.com:584:
weekly.filmfour.channel4.com:1041:
flaunt.tv:1141:
plus-1.foxkids.co.uk:166:
foxkids.co.uk:165:
frontrow.co.uk:1241:
god.tv:137:
men.granadatv.co.uk:176:
hallmarkchannelint.com:180:
plus-1.thehistorychannel.co.uk:183:
itn.co.uk:184:
kerrang.com:191:
kiss-tv.kiss100.com:609:
livingtv.co.uk:197:
plus-1livingtv.co.uk:841:
mtv.co.uk:202:
base.mtv.co.uk:203:
dance.mtv.co.uk:610:
hits.mtv.co.uk:204:
mtv2europe.com:205:
mutv.manutd.com:206:
magictv.co.uk:588:
plus-1.nationalgeographic.co.uk:214:
jr.nickelodeon.co.uk:215:
replay.nickelodeon.co.uk:216:
nickelodeon.co.uk:217:
toons.nickelodeon.co.uk:664:
paramountcomedy.com:1061:
2.paramountcomedy.com:1201:
playboy.com:1142:
playhouse.disney.co.uk:421:
premiership-plus.sports.sky.com:587:
q4music.com:613:
qvcuk.com:228:
realitytv.co.uk:746:
uk.scifi.com:244:
screenshop.co.uk:246:
scuzz.tv:1143:
box-office-digital.sky.com:1261:
events.box-office-digital.sky.com:219:
sky-news.sky.com:256:
mix.skyone.co.uk:922:
news.sports.sky.com:300:
extra.sports.sky.com:263:
travel.sky.co.uk:266:
smashhits.net:592:
setindia.com:267:
star-news.startv.com:590:
star-plus.startv.com:591:
tg4.ie:273:
tvtravelshop.co.uk:274:
2.tvtravelshop.co.uk:275:
tv3.ie:941:
tv5.org:276:
theadultchannel.co.uk:280:
theamp.tv:1144:
thebox.co.uk:281:
toon.disney.co.uk:422:
cable.travelchannel.co.uk:285:
sat.travelchannel.co.uk:1462:
trouble.co.uk:287:
reload.trouble.co.uk:1202:
ukbrightideas.tv:923:
uk-food.flextech.telewest.co.uk:423:
plus-1.uk-food.flextech.telewest.co.uk:1621:UKTV Food +1
uk-gold-2.flextech.telewest.co.uk:289:
plus-1.uk-gold.flextech.telewest.co.uk:665:
ukhistory.tv:801:
plus-1.ukhistory.tv:1521:
plus-1.uk-documentary.flextech.telewest.co.uk:625:UKTV Documentary +1
uk-style.flextech.telewest.co.uk:291:
plus-1uk-style.flextech.telewest.co.uk:666:
uk-people.flextech.telewest.co.uk:1602:UKTV People
vh1.co.uk:293:
vh2.vh1.co.uk:1482:
abc1.disney.com:1856:
classic.vh1online.co.uk:294:
tvasia.com:581:Zee TV
attheraces.co.uk:661:
eentertainment.com:1421:
ftn.tv:921:
tvpolonia.com:1442:
taste.co.uk:278:
televisionx.co.uk:279:
thedatingchannel.co.uk:981:
Toonami.cartoonnetwork.com:742:
traveldealsdirect.com:593:
nasn.com:1543:
price-drop.tv:1541:
tmf.nl:1501:
the-hits.emap.com:1544:
communitychannel.org:1542:
motors.tv:1581:Motors TV
boomerang.cartoonnetwork.com:1661:Boomerang
travel-extra.sky.co.uk:1662:Sky Travel Extra
horrorchannel.com:1681:Horror
chelseafc.com:1741:Chelsea
1.setanta.com:1783:
2.setanta.com:1781:
gmtv.co.uk:1801:
idealworld.tv:1802:
teleg.co.uk:1804:
rangerstv.setanta.com:1854:
celtictv.setanta.com:1853:

# Channels we couldn’t find a domain for.
223.radiotimes.beeb.com:223: # Pakistani channel

UKSat.xmltv

The channels I watch. The name of this file will depend. You will find it in the ~/.mythtv directory ending in .xmltv

channel north.bbc1.bbc.co.uk
channel north.bbc2.bbc.co.uk
channel yorkshire.granadatv.co.uk
channel channel4.com
channel channel5.co.uk
channel choice.bbc.co.uk
channel knowledge.bbc.co.uk
channel bravo.co.uk
channel discoveryeurope.com
channel e4.channel4.com
channel itv2.itv.co.uk
channel livingtv.co.uk
channel paramountcomedy.com
channel 2.paramountcomedy.com
channel uk.scifi.com
channel sky-one.sky.com
channel mix.skyone.co.uk
channel tcm.turner.com
channel ukbrightideas.tv
channel uk-drama.flextech.telewest.co.uk
channel uk-gold.flextech.telewest.co.uk
channel ukhistory.tv
channel uk-style.flextech.telewest.co.uk
channel uk-documentary.flextech.telewest.co.uk
channel uk-people.flextech.telewest.co.uk
channel fxuk.tv

pvr xf86config

/etc/X11/XF86Config-4

All output goes to the TV screen via the PVR 350.


Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen  0 "TV"

        InputDevice    "USB Mouse" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
	Option "AllowMouseOpenFail"  "true"

EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc"

	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"

	FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
	FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
#	FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
#	FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
	FontPath     "/usr/share/fonts/ttf/western"

	FontPath     "/usr/share/fonts/ttf/decoratives"
	FontPath     "/usr/share/fonts/truetype"
	FontPath     "/usr/share/fonts/truetype/openoffice"
	FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
	FontPath     "/usr/share/fonts/latex-ttf-fonts"

	FontPath     "/usr/X11R6/lib/X11/fonts/defoma/CID"
	FontPath     "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
#	Load  "GLcore"

	Load  "dbe"
	Load  "v4l"
	Load  "extmod"
	Load  "glx"
        Load  "bitmap" # bitmap-fonts
	Load  "speedo"

	Load  "type1"
	Load  "freetype"
	Load  "record"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"

	Driver      "keyboard"
        Option      "CoreKeyboard"
	Option "XkbRules" "xfree86"
	Option "XkbModel" "pc105"

	Option "XkbLayout" "uk"

EndSection

Section "InputDevice"
	Identifier  "Serial Mouse"
	Driver      "mouse"

	Option      "Protocol" "Microsoft"
	Option      "Device" "/dev/ttyS0"
	Option      "Emulate3Buttons" "true"

	Option      "Emulate3Timeout" "70"
	Option	    "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
	Identifier  "PS/2 Mouse"

	Driver      "mouse"
	Option      "Protocol" "auto"
	Option          "ZAxisMapping"          "4 5"
	Option      "Device" "/dev/psaux"

	Option      "Emulate3Buttons" "true"
	Option      "Emulate3Timeout" "70"
	Option	    "SendCoreEvents"  "true"

EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"

	Option		"SendCoreEvents"	"true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"

        Option          "Buttons"               "5"
EndSection

Section "Monitor"
       Identifier  "PAL TV"
       HorizSync  30-68
       VertRefresh 50-120
       Mode "720x576"

         DotClock 42.6
         HTimings 720 760 832 944
         VTimings 576 577 580 602
         Flags    "-HSync" "-VSync"
       EndMode
EndSection

Section "Device"
        Identifier  "Hauppauge PVR 350"

	Driver "fbdev"

	#Driver "ivtvdev"
        ### change fb1 to whatever number you got in the previous section
        Option      "fbdev" "/dev/fb1"

        ### change the busid to whatever is reported by lspci. Note that 
        ### output of lspci is hex, so add a preceding "0x" to the BusID
        BusID "PCI:1:06:0" 

EndSection

Section "Screen"
       Identifier  "TV"
       Device      "Hauppauge PVR350"
       Monitor     "PAL TV"
       DefaultDepth 24
       DefaultFbbpp 32
       Subsection "Display"

         Depth 24
         FbBpp 32
         Modes "720x576"                                                          
       EndSubsection
EndSection


Section "DRI"
	Mode 0666
EndSection