Open Poseidon devices
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 779 from 2007/10/23
    From: Gelsenkirchen,...
    Hi!
    Why are so many Poseidon devices open? I don't have the hardware...
    Code:
    address         version rev     opencnt flags   name
    ------------------------------------------------------------
    0x1401B9C4 52 2 68 0x24 timer.device
    0x1403FF6C 51 6 16 0x24 input.device
    0x14056DC0 51 1 1 0x24 console.device
    0x1400E7D8 50 3 0 0x34 ramdrive.device
    0x1403FBAC 4 9 2 0x24 usbscsi.device
    0x1403FC70 1 13 1 0x24 pciusb.device
    0x1410F38C 51 23 9 0x24 ide.device
    0x143CE6A0 50 1 1 0x24 keyboard.device
    0x14D69988 4 4 1 0x24 usbasixeth.device
    0x14D7D128 4 4 1 0x24 serialcp210x.device
    0x14D83138 4 4 1 0x24 usbmodem.device
    0x14D7D490 4 5 1 0x24 serialpl2303.device
    0x14D8EFB0 4 4 1 0x24 usbparallel.device
    0x14D9B3F0 4 4 1 0x24 usbpalm.device
    0x14DA1BD8 4 4 1 0x24 usbpegasus.device
    0x14DC6C18 4 4 1 0x24 usbethwrap.device
    0x14DCEED8 4 4 1 0x24 usbraw.device
    0x190BA288 50 11 2 0x24 sungem_eth.device
    0x1908E948 39 7 0 0x14 printer.device
    0x1A804F50 51 10 0 0x34 netinfo.device
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »05.01.19 - 21:30
    Profile
  • MorphOS Developer
    geit
    Posts: 1031 from 2004/9/23
    Because all usb classes were loaded to find your keyboard/mouse driver.

    OpenCNT is 1, because the device are created at runtime.

    Important is the OpenCNT of the usb class. That one should be zero and some avail flush should remove them along with the virtual devices as 1 indicates unused there.
  • »06.01.19 - 10:20
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 779 from 2007/10/23
    From: Gelsenkirchen,...
    Quote:

    geit schrieb:

    Because all usb classes were loaded to find your keyboard/mouse driver.

    OpenCNT is 1, because the device are created at runtime.

    Important is the OpenCNT of the usb class. That one should be zero and some avail flush should remove them along with the virtual devices as 1 indicates unused there.


    THX!
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »10.01.19 - 22:52
    Profile
  • Butterfly
    Butterfly
    Norbi
    Posts: 99 from 2004/6/19
    Quote:

    polluks wrote:
    Hi!
    Why are so many Poseidon devices open? I don't have the hardware...


    Remove all unused classes from Poseidon Classes
    If you use it only hub.class i hid.class, you will have it such drivers open
    Code:

    address version rev opencnt flags name
    ------------------------------------------------------------
    0x1401B9C4 52 2 77 0x24 timer.device
    0x1403FF6C 51 6 13 0x24 input.device
    0x14056DC0 51 1 2 0x24 console.device
    0x1400E7D8 50 3 0 0x24 ramdrive.device
    0x1403FBAC 4 9 2 0x24 usbscsi.device
    0x1403FC70 1 13 2 0x24 pciusb.device
    0x14110394 51 18 1 0x24 idemacio.device
    0x14125D6C 51 23 7 0x24 ide.device
    0x1422D6E0 50 1 1 0x24 keyboard.device
    0x15709F18 51 10 1 0x24 netinfo.device
    0x15671AF0 50 12 3 0x24 bcm43xx_wl.device
    0x1571D0A8 39 7 0 0x4 printer.device
    0x156BFB5C 6 7 1 0x24 ahi.device
    0x16A84AA8 50 9 1 0x24 clipboard.device

  • »12.01.19 - 21:16
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 779 from 2007/10/23
    From: Gelsenkirchen,...
    I see but it's not very intuitive, looks rather like a misuse of the concept.
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »13.01.19 - 01:35
    Profile
  • MorphOS Developer
    geit
    Posts: 1031 from 2004/9/23
    It is not, because the superior class created it is in memory and the device is in use by that class for the lifespan of that class.

    Also if the class would use zero for unused, you would still not be able flush it from memory. That would look like a bug. Even more dangerous would be to use external tools to remove those devices from device list, as they would look unused. The result would be fatal.
  • »13.01.19 - 15:53
    Profile