Pegasos II/MorphOS2.x: No sound? [SOLVED]
  • Cocoon
    Cocoon
    cha05e90
    Posts: 58 from 2010/6/23
    Hi,

    while having my Pegasos II for some months now, this christmas holidays were the first time I really had the time to look deeper into MorphOS. I instantly upgraded the (previous) MorphOS2.5 installation to MorphOS 2.7 (clean install on an empty partition, no "upgrade" from 2.5, though). So far, so good.

    The really strange thing is, that my PegII generates absolutly no sound under MorphOS. I'm still a n00b when it comes to MorphOS system settings, this is what I saw/did up to now:

    - Mixer always shows all output devices as "off". If I set them manually to some level, still no sound. Even if I save the settings in Mixer, next reboot: all sound settings = "off"!
    - Booting without the Mixer app in WBStartup doesn't change anything, no sound (what I expected, but, hey, I'm desperate... ;-)).
    - AHI seems to be fine, device Pegasos audio is there and can be configured. But no avail, my system stays muted...
    - Deleting all sound settings from envarc: (ahi, mixer, sound prefs...) didn't help.
    - Even booting from Install-CDs (2.0, 2.1, 2.4, 2.7) into Ambient: No sound!
    - HW: Nothing special, some external speakers attached to the audio output (I even tested more than one speaker set - which of course doesn't help...).


    And now the disturbing:

    - Xubuntu Linux (8.10): no problems, perfect sound output!
    - AmigaOS 4.1: no problems, perfect sound output!

    What's different with MorphOS here? Is there a OF variable that can prevent sound output (and is only read by the MorphOS kernel)?

    Any hints how I might hunt this problem down and where to look after?

    [ Editiert durch cha05e90 an 2011/1/3 20:37 ]

    [ Editiert durch cha05e90 an 2011/1/9 10:38 ]
    II/G4
  • »03.01.11 - 09:52
    Profile Visit Website
  • MorphOS Developer
    Krashan
    Posts: 1107 from 2003/6/11
    From: Białystok...
    If you have front panel output jack connected, try both, front and rear output. On my machine front output is used by default on MorphOS, while AmigaOS 4 is able to feed the rear one only.
  • »03.01.11 - 11:17
    Profile Visit Website
  • MorphOS Developer
    cyfm
    Posts: 537 from 2003/4/11
    From: Germany
    Do you have a SATA or any other additional PCI card in your PegII ? I remember that some cards on PegII allocate too much I/O space on Quark setup which causes VIA audio to malfunction.
    Quark has some workaround for SiI3112/SiI3512 SATA cards but it might be caused by other PCI cards as well.
  • »03.01.11 - 11:38
    Profile Visit Website
  • Cocoon
    Cocoon
    cha05e90
    Posts: 58 from 2010/6/23
    @Krashan

    The front output is not connected (or to be more precise: I have only connected the reset button and CD audio connection on the motherboard - all other connections on the motherboard are not used - [if I remember correctly]).

    @Pega-1

    Indeed I have a sii3114 SATA controller in one of my PCI slots - so may try to operate the PegII without it, I'll look into this when I'm back home. Thanks for that suggestion.
    II/G4
  • »03.01.11 - 13:06
    Profile Visit Website
  • Cocoon
    Cocoon
    cha05e90
    Posts: 58 from 2010/6/23
    @pega-1

    Ok - perfect suggestion! That's it - I tested two sii3114 SATA RAID controllers (but both are from the same vendor) and you were right! MorphOS indeed disables VIA sound with this controllers in the PCI slot. Without controller, everything's fine, perfect sound output!

    Thank you very much for this tip, I would never have guessed that this might be the problem!

    But what now? I need this controllers for my big SATA harddisks.

    - Are there known-to-work SATA controllers for the Pegasos II that doesn't make MorphOS disable the VIA sound system? It should be supported by AmigaOS4.1 as well. Any suggestions?

    - Or is it possible to attach my SATA disks to the Pegasos II ATA on-board via some kind of adaptor? Not ideal in regards of speed, but a stable full-functional system is more important.

    - Or should I post some informations from my SATA controller - so it might be supported/work-arounded in some future MorphOS version? ;-)
    II/G4
  • »03.01.11 - 18:37
    Profile Visit Website
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    3x12 controllers are supported under MorphOS, currently.

    [ Edited by Fab on 2011/1/3 19:40 ]
  • »03.01.11 - 18:40
    Profile Visit Website
  • Cocoon
    Cocoon
    cha05e90
    Posts: 58 from 2010/6/23
    @Fab

    Ok, thanks for this information - so it seems I will look for a new SATA controller.
    II/G4
  • »03.01.11 - 19:28
    Profile Visit Website
  • MorphOS Developer
    cyfm
    Posts: 537 from 2003/4/11
    From: Germany
    Quote:


    - Are there known-to-work SATA controllers for the Pegasos II that doesn't make MorphOS disable the VIA sound system? It should be supported by AmigaOS4.1 as well. Any suggestions?


    MorphOS only supports the 2-port SiI3x12 controllers for now but support for SiI3x14 is planned for the next MorphOS update. The workaround already added for SiI3x12 will be in there as well ...

    Quote:


    - Or is it possible to attach my SATA disks to the Pegasos II ATA on-board via some kind of adaptor? Not ideal in regards of speed, but a stable full-functional system is more important.



    Yes, there are IDE->SATA converters

    Quote:


    - Or should I post some informations from my SATA controller - so it might be supported/work-arounded in some future MorphOS version? ;-)


    Well the SiI3x14 is the 4-port version of the SiI3x12 chip. It just isnt supported yet. Feel free to post some more infos, though.



    [ Editiert durch pega-1 an 2011/1/3 22:02 ]
  • »03.01.11 - 20:01
    Profile Visit Website
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Quote:

    I instantly upgraded the (previous) MorphOS2.5 installation to MorphOS 2.7 (clean install on an empty partition, no "upgrade" from 2.5, though).



    Btw you dont have to install update on clean partition. Upgrading from 2.5 to 2.7 would have been fine.
    1 + 1 = 3 with very large values of 1
  • »03.01.11 - 21:13
    Profile
  • Cocoon
    Cocoon
    cha05e90
    Posts: 58 from 2010/6/23
    @itix

    I considered this - but due to the above mentioned "sound problem" I decided to do a clean install, 'cos I didn't knew whether there might be a problem with quirked settings from the previous 2.5 install (which wasn't done by me) or not. Nevertheless it's good to know for the future that MorphOS seems to be more bullet proof when it comes to installing OS updates... :-)
    II/G4
  • »03.01.11 - 22:22
    Profile Visit Website
  • Cocoon
    Cocoon
    cha05e90
    Posts: 58 from 2010/6/23
    @pega-1

    I hope this might be useful information, this is what PCITool outputs for my SiL3114 controller (slot 05) and additionally my VIA USB2.0 controller (slot 06, which, btw, doesn't work well with Poseidon...)

    $VER: PciTool 2.3 (18.11.2010) Marian "MaaG^dA" Guc
    Pci.ids database: 2010-11-07 03:15:01

    Driver: openpci.library v2.1
    Detected: Pegasos Bus <Pegasos II>

    ================================
    Pci Device: Slot 05, Function 00
    Vendor 0x1095 <Silicon Image, Inc.> Device 0x3114 <SiI 3114 [SATALink/SATARaid] Serial ATA Controller>
    Class Code 0x01 <Mass storage controller>
    Sub-Class 0x04 <RAID bus controller>
    Programming Interface 0x00
    Revision 0x02, Cache Line Size 0, Latency 0, Bus Master Capable
    PCI_COMMAND 0x0000 (Command Register)
    PCI_STATUS 0x02B0 (Status Register)
    -> 4: Support new capabilities linked List
    -> 5: Support 66MHz PCI bus
    -> 7: Fast Back-To-Back Capable
    -> 10,9:DEVSEL# timing: 01 <MEDIUM>
    PCI_BIST 0x00 (Built In Selftest Register)
    ------------------------------
    Header Type:0x00 <Normal PCI Bridge : Single-function device>
    PCI_SUBSYSTEM_VENDOR_ID 0x1095 PCI_SUBSYSTEM_ID 0x7114
    IRQ Linie=9, Interrupt Pin=0x01 <INTA#>, Min.Grant=0, Max.Latency=0
    Capabilities List(CL)[0x60]=0x06220001:
    +CL_ID:0x01 <PCI Power Management Interface>
    :PMC 0x0622 (Power Management Capabilities Register)
    -> 0-2:VERSION 2 (Version bits)
    -> 5: DSI (Device Specific Initialization)
    -> 8-6: AUX_POWER 000 <0mA> (The 3,3Vaux auxilliary current power)
    -> 9: D1 (D1 power state support)
    -> 10:D2 (D2 power state support)
    :PMCSR 0x4000 (Power Management Control and Status Register)
    -> 1,0: PowerState 00 <D0> (Current power state)
    -> 12-9:Data_Select 0x00 (Select data from Data register and Data_Scale field)
    -> 14,13:Data_Scale 10 <x0.01> (Scale factor to apply to contents of Data register)
    I/O Base Addr.0: 0xEFFFC000 - 0xEFFFCFFF 4 kbytes
    I/O Base Addr.1: 0xEFFFB000 - 0xEFFFBFFF 4 kbytes
    I/O Base Addr.2: 0xEFFFA000 - 0xEFFFAFFF 4 kbytes
    I/O Base Addr.3: 0xEFFF9000 - 0xEFFF9FFF 4 kbytes
    I/O Base Addr.4: 0xEFFF8000 - 0xEFFF8FFF 4 kbytes
    Mem.Base Addr.5: 0xEFFF7000 - 0xEFFF7FFF 4 kbytes
    CardBus CIS Pointer: 0x00000000
    -> 2-0: 000 <Adress space in device's device-specific configuration space>
    -> 0x00000000 <Offset for address space>
    ROM Address: 0xEFF77000 - 0xEFFF6FFF, Size: 512 kbytes

    ================================
    Pci Device: Slot 06, Function 00
    Vendor 0x1106 <VIA Technologies, Inc.> Device 0x3038 <VT82xxxxx UHCI USB 1.1 Controller>
    Class Code 0x0C <Serial bus controller>
    Sub-Class 0x03 <USB Controller>
    Programming Interface 0x00 <UHCI>
    Revision 0x61, Cache Line Size 0, Latency 22, Bus Master Capable
    PCI_COMMAND 0x0007 (Command Register)
    -> 0: I/O Access Enable
    -> 1: Memory Access Enable
    -> 2: Bus Mastering Enable
    PCI_STATUS 0x0210 (Status Register)
    -> 4: Support new capabilities linked List
    -> 10,9:DEVSEL# timing: 01 <MEDIUM>
    PCI_BIST 0x00 (Built In Selftest Register)
    ------------------------------
    Header Type:0x80 <Normal PCI Bridge : Multi-function device>
    PCI_SUBSYSTEM_VENDOR_ID 0x1106 PCI_SUBSYSTEM_ID 0x3038
    IRQ Linie=9, Interrupt Pin=0x01 <INTA#>, Min.Grant=0, Max.Latency=0
    Capabilities List(CL)[0x80]=0x7E0A0001:
    +CL_ID:0x01 <PCI Power Management Interface>
    :PMC 0x7E0A (Power Management Capabilities Register)
    -> 0-2:VERSION 2 (Version bits)
    -> 3: CLOCK (PCI clock required for PME#)
    -> 8-6: AUX_POWER 000 <0mA> (The 3,3Vaux auxilliary current power)
    -> 9: D1 (D1 power state support)
    -> 10:D2 (D2 power state support)
    -> 11:PME# from D0
    -> 12:PME# from D1
    -> 13:PME# from D2
    -> 14:PME# from D3 (hot)
    :PMCSR 0x0000 (Power Management Control and Status Register)
    -> 1,0: PowerState 00 <D0> (Current power state)
    -> 12-9:Data_Select 0x00 (Select data from Data register and Data_Scale field)
    -> 14,13:Data_Scale 00 <---> (Scale factor to apply to contents of Data register)
    I/O Base Addr.4: 0xEFF76000 - 0xEFF76FFF 4 kbytes
    CardBus CIS Pointer: 0x00000000
    -> 2-0: 000 <Adress space in device's device-specific configuration space>
    -> 0x00000000 <Offset for address space>

    ================================
    Pci Device: Slot 06, Function 01
    Vendor 0x1106 <VIA Technologies, Inc.> Device 0x3038 <VT82xxxxx UHCI USB 1.1 Controller>
    Class Code 0x0C <Serial bus controller>
    Sub-Class 0x03 <USB Controller>
    Programming Interface 0x00 <UHCI>
    Revision 0x61, Cache Line Size 0, Latency 22, Bus Master Capable
    PCI_COMMAND 0x0007 (Command Register)
    -> 0: I/O Access Enable
    -> 1: Memory Access Enable
    -> 2: Bus Mastering Enable
    PCI_STATUS 0x0210 (Status Register)
    -> 4: Support new capabilities linked List
    -> 10,9:DEVSEL# timing: 01 <MEDIUM>
    PCI_BIST 0x00 (Built In Selftest Register)
    ------------------------------
    Header Type:0x80 <Normal PCI Bridge : Multi-function device>
    PCI_SUBSYSTEM_VENDOR_ID 0x1106 PCI_SUBSYSTEM_ID 0x3038
    IRQ Linie=9, Interrupt Pin=0x02 <INTB#>, Min.Grant=0, Max.Latency=0
    Capabilities List(CL)[0x80]=0x7E0A0001:
    +CL_ID:0x01 <PCI Power Management Interface>
    :PMC 0x7E0A (Power Management Capabilities Register)
    -> 0-2:VERSION 2 (Version bits)
    -> 3: CLOCK (PCI clock required for PME#)
    -> 8-6: AUX_POWER 000 <0mA> (The 3,3Vaux auxilliary current power)
    -> 9: D1 (D1 power state support)
    -> 10:D2 (D2 power state support)
    -> 11:PME# from D0
    -> 12:PME# from D1
    -> 13:PME# from D2
    -> 14:PME# from D3 (hot)
    :PMCSR 0x0000 (Power Management Control and Status Register)
    -> 1,0: PowerState 00 <D0> (Current power state)
    -> 12-9:Data_Select 0x00 (Select data from Data register and Data_Scale field)
    -> 14,13:Data_Scale 00 <---> (Scale factor to apply to contents of Data register)
    I/O Base Addr.4: 0xEFF75000 - 0xEFF75FFF 4 kbytes
    CardBus CIS Pointer: 0x00000000
    -> 2-0: 000 <Adress space in device's device-specific configuration space>
    -> 0x00000000 <Offset for address space>

    ================================
    Pci Device: Slot 06, Function 02
    Vendor 0x1106 <VIA Technologies, Inc.> Device 0x3104 <USB 2.0>
    Class Code 0x0C <Serial bus controller>
    Sub-Class 0x03 <USB Controller>
    Programming Interface 0x20 <EHCI>
    Revision 0x63, Cache Line Size 0, Latency 22, Bus Master Capable
    PCI_COMMAND 0x0007 (Command Register)
    -> 0: I/O Access Enable
    -> 1: Memory Access Enable
    -> 2: Bus Mastering Enable
    PCI_STATUS 0x0210 (Status Register)
    -> 4: Support new capabilities linked List
    -> 10,9:DEVSEL# timing: 01 <MEDIUM>
    PCI_BIST 0x00 (Built In Selftest Register)
    ------------------------------
    Header Type:0x80 <Normal PCI Bridge : Multi-function device>
    PCI_SUBSYSTEM_VENDOR_ID 0x1106 PCI_SUBSYSTEM_ID 0x3104
    IRQ Linie=9, Interrupt Pin=0x03 <INTC#>, Min.Grant=0, Max.Latency=0
    Capabilities List(CL)[0x80]=0x7E0A0001:
    +CL_ID:0x01 <PCI Power Management Interface>
    :PMC 0x7E0A (Power Management Capabilities Register)
    -> 0-2:VERSION 2 (Version bits)
    -> 3: CLOCK (PCI clock required for PME#)
    -> 8-6: AUX_POWER 000 <0mA> (The 3,3Vaux auxilliary current power)
    -> 9: D1 (D1 power state support)
    -> 10:D2 (D2 power state support)
    -> 11:PME# from D0
    -> 12:PME# from D1
    -> 13:PME# from D2
    -> 14:PME# from D3 (hot)
    :PMCSR 0x0000 (Power Management Control and Status Register)
    -> 1,0: PowerState 00 <D0> (Current power state)
    -> 12-9:Data_Select 0x00 (Select data from Data register and Data_Scale field)
    -> 14,13:Data_Scale 00 <---> (Scale factor to apply to contents of Data register)
    Mem.Base Addr.0: 0xEFF74000 - 0xEFF74FFF 4 kbytes
    CardBus CIS Pointer: 0x00000000
    -> 2-0: 000 <Adress space in device's device-specific configuration space>
    -> 0x00000000 <Offset for address space>
    II/G4
  • »06.01.11 - 10:05
    Profile Visit Website
  • Cocoon
    Cocoon
    cha05e90
    Posts: 58 from 2010/6/23
    @cha05e90

    Ok, switched to a sii3112 controller - now everythings fine and loud (Iif I decide to pump up the volume... ;-)).
    II/G4
  • »09.01.11 - 08:37
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12200 from 2003/5/22
    From: Germany
    > I tested two sii3114 SATA RAID controllers (but both are from the same vendor)
    > and you were right! MorphOS indeed disables VIA sound with this controllers in
    > the PCI slot. Without controller, everything's fine, perfect sound output!

    This may work now with MorphOS 3.4:

    "Support for SiI3114 cards (master ports only)"
    http://www.morphos-team.net/releasenotes/3.4
  • »14.12.13 - 15:14
    Profile