No mouse and no console video :(


Subject: No mouse and no console video :(
From: Lothar Meyer-Lerbs (TeXSatz@computer.org)
Date: Tue Apr 18 2000 - 09:04:16 MDT


Hi all, two problems

#1: The Mac-mouse is dead. While the keyboard and X-mouse work just fine.
    To see what's going on I checked the ADB-bus with ADB-Prober -- under
    the normal MacOS 9.04 it lists
    CA OA TYPE Desc
    02 02 $11 Keyboard (Adjustable D)
    03 03 $01 Mouse/Trackball (Apple/other)
                 many Phantom devices
    07 07 $02 AudioVision Control
                 more Phantom devices
    15 02 $0E Detached Keypad

    and later in MoL nothing but:
    02 02 $11 Keyboard (Adjustable D)
    03 03 $01 Phantom device
  
so I essentially lost the mouse?!
It's such a nice Mouse Systems One button one.
I've had this mouse-stuck problem before (MacOS only) and usually solve
it by
rebooting (press on/off button (under MoL I have to do it twice)
and type r(eboot)) -- but MoL exits when I do that.

The other (unrelated?) problem is

#2: MoL starts nicely on console vt9 (or by default vt8), MacOS smile and
    welcome, BootX -- start MacOS -- normal icons come up (the graphics
    card accelerator patches don't load, of course) and once it displays
    the blank Menubar, before anything else gets drawn -- zap -- I'm left
    with the textversion on vt9 -- it reads:
    *** Mac-on-Linux full screen video console ***
    Opening console video 1152*870, depth 32, 92.1 Hz [offs:1280,rb:4608]
    Closing console video.

    So I switch back to vt7 -- the standard X console -- and here is
    a 640x480 Mac-Window happily running -- just no mouse (see above).
    

How do I keep the console video from closing -- how to restart?
And what about the mouse? (I've tried just the console device, adb on/off
but allways the same thing.)

Thanks for any pointers
  Lothar

Here is my setup...
from dmesg:

Total memory = 336MB; using 2048kB for hash table (at c0400000)
Linux version 2.2.15pre3 (benh@sawtooth.wanadoo.fr) (gcc version 2.95.2
19991024 (release/franzo)) #3 Sat Jan 29 18:02:45 CET 2000

adb devices: [1]: 3 1f [2]: 2 11 [3]: 3 1 [4]: 3 4f [5]: 3 5f [6]: 3 6f
[7]: 7 2 [8]: 3 8f [9]: 3 9f [10]: 3 af [11]: 3 bf [12]: 3 cf [13]: 3 df
[14]: 3 ef [15]: 2 e

MacOS display is /bandit/MaPi_850_750
Using unsupported 1152x870 MaPi_850_750 at 82000500, depth=32, pitch=4608
Console: switching to colour frame buffer device 144x54
fb0: Open Firmware frame buffer device on /bandit/MaPi_850_750
ADB keyboard at 2, handler 1
ADB keyboard at 15, handler 1
ADB mouse at 1, handler 1
ADB mouse at 3, handler set to 4
ADB mouse at 4, handler 1
ADB mouse at 5, handler set to 0x5F (Microspeed/MacPoint or compatible)
ADB mouse at 6, handler 1
ADB mouse at 8, handler 1
ADB mouse at 9, handler 1
ADB mouse at 10, handler 1
ADB mouse at 11, handler 1
ADB mouse at 12, handler 1
ADB mouse at 13, handler 1
ADB mouse at 14, handler 1

Macintosh ADB mouse driver installed.

------------------------------
/etc/fb.modes is:
### from lml

mode "1152x870-92"
    # D: 100.000 MHz, H: 83.893 kHz, V: 92.190 Hz
    geometry 1152 870 1152 870 32
    timings 10000 16 16 16 16 8 8
endmode
------------------------------

from /etc/molrc:
rom_image: rom/rom.8500
oftree: oftrees/oftree.8500

processor: 4 # Should almost *ALWAYS* be 8 <------------
ram_size: 128 # You might want to increase this

mouse_device: /dev/adbmouse
mouse_protocol: adb # usb (ps2), adb, console
mouse_dpi: 140 # higher == slower mouse
use_x_cursor: yes # use X cursor as mouse cursor

resolution: 1152/870 # width/height[/Hz]
depth: 32 #

vmode_database: /etc/fb.modes

start_on_console: yes # switch to console initially
autoswitch_console: yes # allow automatic switch to console
enable_console_video: yes # 'no' to disable full-screen (console) video
enable_xvideo: yes #
use_backing_store: no # Set to 'yes' only if the X-server is remote.
vt: 9 # VT-number to use for full-screen video

keyboard_id: 17
------------------------------
and finally after startmol:
Using MOL library directory /usr/lib/mol
This kernel is NOT runtime patched
Trying to apply MOL runtime patches.
**** Examining '/boot/System.map' ****
**** Success ****
Patching the kernel...
PATCH....0
PATCH....1
PATCH....2
PATCH....3
PATCH....4
PATCH....5
PATCH....6
PATCH....7
PATCH....8
PATCH....9
PATCH....10
PATCH....11
PATCH....12
PATCH....13
PATCH....14
MOL runtime patch installed
Trying to load the Mac-on-Linux kernel module.

Warning: kernel-module version mismatch
        /usr/lib/mol/modules/mol.o was compiled for kernel version 2.2.14pre9
        while this kernel is version 2.2.15pre3

Warning: kernel-module version mismatch
        /usr/lib/mol/modules/sheep_net.o was compiled for kernel version 2.2.14pre9
        while this kernel is version 2.2.15pre3

Mac-on-Linux 0.9.41
(C) 1997-2000 Samuel Rydh, <samuel@ibrium.se>
Using resource file '/etc/molrc'
MOL kernel module 1.1.41
sym: giveup_altivec [8] C00039D0
Loading OF device tree from 'oftrees/oftree.8500'
128MB RAM mapped at 0x20000000
4096K ROM mapped at 0x4fc00000 from 'rom/rom.8500'
ROM checksum = 0x129
Running in PowerPC 604 mode
DEC frequency: 0x00989680 (10 MHx), 1000:100 mticks/usec
PCI-bridge 'bandit' (bus 0..0) installed at 0xf2000000
PCI-bridge 'chaos' (bus 1..1) installed at 0xf0000000
GC, Grand Central, (0:16) found
Using nvram-image 'nvram/nvram.8500.image'
nvram, read_image: open: No such file or directory
Swim3 floppy driver installed
Hammerhead driver installed
Control driver disabled (no pci entry added)
Video module 'xvideo' installed.
Running on VT 9.
Using adb mouse on /dev/adbmouse
Video module 'console_video' installed.
MODE: 640*480, depth 8,32, 0.0 Hz
MODE: 800*600, depth 8,32, 0.0 Hz
MODE: 1024*768, depth 8,32, 0.0 Hz
MODE: 1152*864, depth 8,32, 0.0 Hz
MODE: 1152*870, depth 32, 92.1 Hz
MODE: 1280*1024, depth 8,32, 0.0 Hz
MODE: 1600*1200, depth 8,32, 0.0 Hz
Starting in video mode 1152*870, depth 32, 92.1 Hz [offs:1280, rb:4608]
osi_enet: Attached to network interface <eth0>
osi_enet: Ethernet address is: 00 05 02 44 bf e3
osi_scsi: *** OSI SCSI DISABLED **
53c94 SCSI-driver installed (IRQs 12/0)
Could not register MESH SCSI unit. Need a second bus ??

----> (disk_open) Opening /dev/cdrom: No medium found
HFS disk: 1024 MB, /dev/sdc7 [read-write]

SCSI-Disk (hw-0): 0 MB

Starting emulation...

Mapping GC at F3000000
dcbi treated as no-op
dcbi treated as no-op
[CLOCK_FIX_HACK]
Unmapping GC
Mapping GC at F3000000
<*> DriveControlCmd IGNORED 48
<*> kOpenCommand
<*> control - Unrecognized cscode 20
KBD: kbd_read_reg, unexpected regster 1
mouse_read_reg, unexpected regster 1
mouse_read_reg, unexpected regster 2
mouse_read_reg, unexpected regster 1
mouse_read_reg, unexpected regster 2
mouse_read_reg, unexpected regster 1
mouse_read_reg, unexpected regster 2
adb_key: Keycode 0xff (nokey) queued!
adb_key: Keycode 0xff (nokey) queued!
<*> DriveControlCmd IGNORED -1
<*> Gestalt selector 'ejec' skipped (unit==NULL)
cleaning up...
Terminating threads...
thread 'SWIM-thread' is active!
DONE



This archive was generated by hypermail 2a24 : Sun Apr 23 2000 - 18:07:34 MDT