[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XF86 wants a mouse file



Hello Mike,
I'm not experienced with the theory of your problem...
On Fri, Oct 19, 2001 at 09:39:06AM -0400, mmissett wrote:
> the result is the same: startx says, "cannot open mouse (no
> such file or directory)".  And it's right: that file doesn't
> exist.  
 ...and do not understand _why_ /dev/input/mice doesn't exist in your
 installation ...

> My question is: if anXious, attempting to configure X,
> gets as far as not finding a video card it can drive and stops,
> has it failed to *create* a mouse file?

...I can't imagine that the character devices in the directory /dev/input
should be created by anxious

  I can presumably use
> the framebuffer to drive the card, but I have to have a mouse.

Probably you can try to create a character device by
mknod /dev/input/mice  c 13 63

Don't know if it works here as it did before the "new-input-layer",
but you could try. (Probably you will wait a couple of hours if
somebody with more experience blames/corrects my idea ;-) ).

In general you should inform us if your mouse works on console, which
I can't imagine if you lack /dev/input/mice, and therefore you can't
solve this by configuring XFree86.

> >> >> I changed BusMouse to IMPS/2, ....

If you have /dev/input/mice, you should configure your mouse with
gpmconfig so that it works on console. This is where you have to
change mouse type to IMPS/2 and protocol to raw ...
(BTW you need the correct USB-config in the kernel which should be no
problem with a _standard_ -kernel).

> >> >> Still trying  to get X running on my G4.

I send you my (G4 and XFree4.1) XF86Config-4 in the attachment. It's
far away from beeing perfect but works ;-)

Hope that helps

-- 

M.f.G.

Georg Koss

mailto: g.koss@eunet.at
# XF86Config-4 (XFree86 server configuration file) generated by Dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config manual page.
# (Type "man XF86Config" at the shell prompt.)

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/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

Section "ServerFlags"
EndSection

Section "Module"
	Load	"ddc"
	Load	"GLcore"
	Load	"dbe"
	Load	"dri"
	Load	"extmod"
#   SubSection "extmod"
#     Option "omit xfree86-dga"
#   EndSubSection
	Load	"glx"
	Load	"pex5"
	Load	"record"
	Load	"xie"
	Load	"bitmap"
	Load	"freetype"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
	Load	"int10"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"macintosh"
	Option		"XkbLayout"	"de"
EndSection

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

Section "Device"
	Identifier	"Rage 128"
	Driver		"ati"
	Option		"UseFBDev"		"true"
#	BusID		"0:16:0"
#	Option		"dpms"
#	Option		"hw_cursor"
EndSection

Section "Monitor"
	Identifier	"APPLE STUDIO CRT 17inch"
	HorizSync	30-85
	VertRefresh	48-160
#	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Rage 128"
	Monitor		"APPLE STUDIO CRT 17inch"
	DefaultDepth     24	
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1152x864" "1024x768" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1152x864" "1024x768" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1152x864" "1024x768" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1152x864" "1024x768" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1152x864" "1024x768" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "640x480"
	EndSubSection
EndSection

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

Section "DRI"
	Mode	0666
EndSection

# end of XF86Config

Reply to: