PDA

View Full Version : Adding a cd burner + screen resolution



proceed
03-22-2003, 10:21 PM
Hi,
I did a hd install and all works fine....
I have a cd drive which Knoppix/Debian (which do I have now? hahahha) picked up no problem, but I also have a cd burner that it didn't add (SonyCRX140E) how can I install this so I can access it?
I tried "mkdir /cdrom2" (as cdrom is not located in the "/mnt" directory like it was in Mandrake 9.0)
Then I copied the "cdrom" info from "/etc/fstab" but changed it to "cdrom2" where necessary tried to mount it but it tells me it does not exist.....
Any ideas .... (I am trying!)

Also I only have access to 800 / 600 resolution or something LARGER...
I would really like 1024 / 768 my monitor is well capable of this...

Any help here too ?

Thanks
Proceed

proceed
03-22-2003, 11:08 PM
Had to change /dev/cdrom2 in fstab to /dev/sr1

Now just for that screen resolution.....

god
03-23-2003, 01:27 AM
what video card are you working with?

proceed
03-23-2003, 10:27 AM
Nvidia tnt2
I downloaded drivers from Nvidia and installed them no worries
NVIDIA_kernel-1.0-4191.tar.gz
NVIDIA_GLX-1.0-4191.tar.gz
Installed and edited the xf86Config-4 file no worries..
(Tuxracer runs fine)

Proceed

god
03-23-2003, 08:54 PM
odds are you will just have to uncomment a few lines in the config file....

rickenbacherus
03-24-2003, 01:58 AM
Post your XF86Config file.

proceed
03-24-2003, 10:57 AM
Here is my XF86Config-4 file as made by Knoppix, the only adjustment I have done is to add Load "glx" and remove Load "dri" & Load "GLcore"
from the Module section and change Driver "nv" to Driver "nvidia" .
Apart from this everything is working fine including Tuxracer so I know the Nvidia drivers are installed corectly.

Would it be as simple as putting "1024x768" in the Section "screen" ?
Thanks
Proceed



Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "PS/2 Mouse" "CorePointer"
# Serial Mouse not detected
# USB Mouse not detected
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"
FontPath "/usr/X11R6/lib/X11/fonts/Truetype"
# Additional fonts: Locale, Gimp, TTF...
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/Truetype"
# 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/openoffice"
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 "dbe"

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" "pc104"
Option "XkbLayout" "us"

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" "PS/2"
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

# Auto-generated by KNOPPIX mkxf86config

Section "Monitor"
Identifier "Monitor0"
ModelName "CAL 0100"
# These are the DDC-probed settings and modelines
HorizSync 30-62
VertRefresh 55-75
# 640x480, 60.0Hz; hfreq=31.469000, vfreq=59.939999
ModeLine "640x480" 25.17 640 648 744 784 480 482 484 509 -hsync -vsync
# 640x480, 75.0Hz; hfreq=37.500000, vfreq=75.000000
ModeLine "640x480" 31.50 640 656 720 840 480 481 484 500 -hsync -vsync
# 800x600, 60.0Hz; hfreq=37.879002, vfreq=60.317001
ModeLine "800x600" 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync
# 800x600, 75.0Hz; hfreq=46.875000, vfreq=75.000000
ModeLine "800x600" 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync
# 1280x1024, 75.0Hz; hfreq=79.975998, vfreq=75.025002
ModeLine "1280x1024" 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Device"
### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
#Option "sw_cursor"
#Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
Identifier "Card0"
# The following line is auto-generated by KNOPPIX mkxf86config
Driver "nvidia"
VendorName "All"
BoardName "All"
# BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

garyng
03-24-2003, 11:13 AM
The Modes under "Screen" section only listed 800x600 and 640x480. You can added the other resolution I believe. However, the monitor section doesn't have entries for 1024x768 and I don't know what that means.

Still learning this XFree86 stuff myself. The numbers are just like cryptic to me.

proceed
03-24-2003, 11:14 AM
I took a punt and added the lines below and it worked ....
Hahhhhh Linux is sooooooooooo cooooollllllllllllllll ! !
Thanks for the help eveyone.

****Would it be as simple as putting "1024x768" in the Section "screen"******

rickenbacherus
03-24-2003, 12:46 PM
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16<-this is what Linux will use
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16<-the 'default depth' line pointed it here so addding "1024x768" in the next line is the answer as proceed has discoverd
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Glad you took the initiative to get it fixed proceed! You could obviously change the default depth to 8, 16, 24 or 32 and of course you'd need to add "1024x768" to those lines as well.