On Wednesday 12 February 2003 4:00pm, you wrote: > Dear Friends, > > Long time back I posted a problem to the list regarding my Linux > Installation on an iMac machine. The problems have been finally solved and > I would like to share the solutions for future reference of this list. > > Machine Description : > > Power PC G3 processor, 400 MHz, with 192 MB SDRAM, 8 Mb VRAM, ATY Rage > 128K display, Apple USB Keyboard and Apple Mitsumi USB Mouse with one > button. > > Problems : > > Initial Debian GNU/Linux 3.0 (Woody release for PPC) went smooth according > to the instructions in the manual. However, the following problems were > observed : > > 1. gpm does not recognise the mouse which the installation s/w recognises > as PS/2 mouse 2. X starts, but the then the server crashes with the error > that mouse pointer not found 3. X with -allowMouseOpenFail starts, but > stops with a black screen. > > Solution : > > 1 & 2. The mouse is connected behind the keyboard, has round cable and thus > rightly selected as PS/2; however it has six pins and not 9. > > The mouse device is "/dev/input/mice" and protocol ImPS/2. > > I attach the "/etc/gpm.conf" and "/etc/X11/XF86Config-4" files for > perusal.
also there is a command *mdetect* which can auto-detect the mouse. I have a PS/2, 2 buttons, scroll mouse. debian has a lack of auto-detection during installation. so xwindow couldn't be started properly due to a mis-configured mouse. then I used that command & it displayed everything about the mouse. with that info. I configured the XF86config file & everything is OK. I think it would be better to install discover/kudzu just after the base installation. > > 3. The HorizSync value is chosen by the installation programme quite > conservatively as 28 - 33, and it should be 55 - 65 ! > > One more problem remains, now that X has started. How to emulate three > buttons ? The idea is to use sysctl. For PPC there is in the /proc/sys/dev > a directory called mac_hid and this has the required variables to be set in > the sysctl.conf file. > > I attach the "/etc/sysctl.conf" file also for perusal. > > Hope this shall help. > > I still have the following problems to be addressed. > > 1. The sound in KDE is not working (I mean that the KDE events that provoke > sounds are not working, but the keyboard is providing usual beeps on error) > On starting KDE the following error comes up : > > ****** error message ****** > > Error while initialising the sound driver > > SNDCTL_DSP_SETFMT failed - invalid argument > > The sound server shall continue to use /dev/null as output > > ****** end of error message ****** > > 2. UCT uses Novell Netware for printing purposes. I have ncpfs and ipx > installed. However, on using nprint (I have my "SERVER/USER password" > information kept in my .nwclient file with permission 600) with a file name > and the queue name produces "close error" message and produces no output to > the queued machine. > > Waiting for help on these two fronts, > > > Thanking you, > > ------------------------------------------------------------ > > ****** the files > > # /etc/gpm.conf - configuration file for gpm(1) > # > # If mouse response seems to be to slow, try using > # responsiveness=15. append can contain any random arguments to be > # appended to the commandline. > # > # If you edit this file by hand, please be aware it is sourced by > # /etc/init.d/gpm and thus all shell meta characters must be > # protected from evaluation (i.e. by quoting them). > # > # This file is used by /etc/init.d/gpm and can be modified by > # /usr/sbin/gpmconfig. > # > device=/dev/input/mice > responsiveness=18 > repeat_type=raw > type=imps2 > #append="" > #sample_rate= > > > ### BEGIN DEBCONF SECTION > # 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-4 manual page. > # (Type "man XF86Config-4" at the shell prompt.) > # > # If you want your changes to this file preserved by dexconf, only make > changes # before the "### BEGIN DEBCONF SECTION" line above, and/or after > the # "### END DEBCONF SECTION" line below. > # > # To change things within the debconf section, run the command: > # dpkg-reconfigure xserver-xfree86 > # as root. Also see "How do I add custom sections to a dexconf-generated > # XF86Config or XF86Config-4 file?" in > /usr/share/doc/xfree86-common/FAQ.gz. > > 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 "Module" > Load "GLcore" > Load "bitmap" > Load "dbe" > Load "ddc" > Load "dri" > Load "extmod" > Load "freetype" > Load "glx" > Load "int10" > Load "pex5" > Load "record" > Load "speedo" > Load "type1" > Load "vbe" > Load "xie" > EndSection > > Section "InputDevice" > Identifier "Generic Keyboard" > Driver "keyboard" > Option "CoreKeyboard" > Option "XkbRules" "xfree86" > Option "XkbModel" "macintosh" > Option "XkbLayout" "us" > EndSection > > Section "InputDevice" > Identifier "Configured Mouse" > Driver "mouse" > Option "CorePointer" "true" > Option "Device" "/dev/input/mice" > Option "Protocol" "ImPS/2" > EndSection > > Section "Device" > Identifier "ATY Rage 128 VR" > Driver "ati" > BusID "PCI:00:16:0" > VideoRam 8192 > Option "UseFBDev" "true" > EndSection > > Section "Monitor" > Identifier "iMac" > HorizSync 55-65 > VertRefresh 43-78 > Option "DPMS" > EndSection > > Section "Screen" > Identifier "Default Screen" > Device "ATY Rage 128 VR" > Monitor "iMac" > DefaultDepth 16 > SubSection "Display" > Depth 1 > Modes "1152x864" "1024x768" "800x600" "640x480" > EndSubSection > SubSection "Display" > Depth 4 > Modes "1152x864" "1024x768" "800x600" "640x480" > EndSubSection > SubSection "Display" > Depth 8 > Modes "1152x864" "1024x768" "800x600" "640x480" > EndSubSection > SubSection "Display" > Depth 15 > Modes "1152x864" "1024x768" "800x600" "640x480" > EndSubSection > SubSection "Display" > Depth 16 > Modes "1152x864" "1024x768" "800x600" "640x480" > EndSubSection > SubSection "Display" > Depth 24 > Modes "1152x864" "1024x768" "800x600" "640x480" > EndSubSection > EndSection > > Section "ServerLayout" > Identifier "Default Layout" > Screen "Default Screen" > InputDevice "Generic Keyboard" > InputDevice "Configured Mouse" > EndSection > > Section "DRI" > Mode 0666 > EndSection > > ### END DEBCONF SECTION > > # > # /etc/sysctl.conf - Configuration file for setting system variables > # See sysctl.conf (5) for information. > # > # 3 button mouse emulation > # mouse button is left button > dev.mac_hid.mouse_button_emulation=1 > # send middle button to F11 > dev.mac_hid.mouse_button2_keycode=87 > # send right button to F12 > dev.mac_hid.mouse_button3_keycode=88 > > #kernel.domainname = example.com > #net/ipv4/icmp_echo_ignore_broadcasts=1 -- To unsubscribe, send mail to [EMAIL PROTECTED] with the body "unsubscribe ilug-cal" and an empty subject line. FAQ: http://www.ilug-cal.org/node.php?id=3
