On Sun, Oct 10, 2004 at 07:13:27AM +1000, Elliott-Brennan wrote:
> Okay guys, here's the whole thing:
>
> Here's the XF86Config-4 file details:
> (Do you also need the XF86 config file too, or just -4?)
>
> Below that is something that I'd found in a file online, but I'm not
> sure how useful it is.
I think that will be useful, but let's get the standard, minimalist case
working first. That config snippet appears to give you separate input
devices for the writing and erasing parts of the tablet.
>
> Below that again is the suggestion from Ben.
I've attached my best guess at what should be in that file.
I am fairly sure that what you're saying about X scanning for config
files in that order is correct. I would get rid of the
/etc/X11XF86Config file and just use the /etc/X11/XF86Config-4 file. Add
a symlink for good measure in case some application tries to write
config data to the wrong place. So, run this:
rm /etc/X11/XF86Config
ln -s /etc/X11/XF86Config-4 /etc/X11/XF86Config
Now, make a backup of the config file that's in place before you do
anything. You always want a way to roll back. Put the file I've attached
to this email in place of what you've got and restart X (killall X
should do the trick).
If either your tablet, or all of X fails to work, please make a copy of
/var/log/XFree86.0.log available for us to inspect. It will be a large
file, so I suggest putting it up on a website somewhere and posting a
link if that's possible. Otherwise, just send it to me directly I guess.
HTH,
James.
--
"Now, there are no problems only opportunities. However, this seemed to be an
insurmountable opportunity."
- http://www.surfare.net/~toolman/temp/diagram.html
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config man page for details about the format of #
# this file.
# **********************************************************************
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection
# Tablet stuff:
Section "InputDevice"
Identifier "stylus"
Driver "aiptek"
Option "Device" "/dev/input/event0"
Option "Type" "stylus"
Option "Mode" "Absolute"
Option "Cursor" "stylus"
Option "USB" "on"
Option "KeepShape" "on"
Option "AlwaysCore" "on"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "Compaq V70 Color Monitor"
HorizSync 30-69
VertRefresh 50-150
# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
VendorName "ATI"
BoardName "ATI Mach64 3D Rage IIC"
Driver "ati"
Option "DPMS"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
InputDevice "stylus" "AlwaysCore"
Screen "screen1"
EndSection
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html