• Order of the Butterfly
    Order of the Butterfly
    Posts: 158 from 2019/4/6
    I tried to get close to the actual hardware setup.
    Now somehow the audio stick seems to "work"
    poseidon recognizes the hardware and rescan morphos works fine too.
    the device no longer receives "device death" but is not classified for example with: hid.class or other
    and also in qemu the libusb error disappears
    The only drawback is that in the audio settings it is not recognized as "usb audio" and therefore I cannot select it to enable it.

    If, on the other hand, someone wants to try this is the new UDEV rule I used:
    SUBSYSTEM == "usb", DRIVER == "snd-usb-audio", ATTRS {idVendor} == "0d8c", ATTRS {idProduct} == "0014", ATTR {authorized} = "0"

    then not to use sudo:
    ACTION == "add", SUBSYSTEM == "usb", ATTR {idVendor} == "0d8c", ATTR {idProduct} == "0014", OWNER = "white"

    this instead the previous UDEV that was recognized directly in MUSIC as USB-AUDIO:
    ACTION == "add", ATTR {idVendor} == "0d8c", ATTR {idProduct} == "0014", RUN + = "/ bin / sh -c 'echo 0> / sys / \ $ devpath / authorized'"

    but he had problems with the "death of the device"

    now I'm not an expert in this maybe someone can help.
    Thanks :-)

    maybe some parameters are missing in UDEV but I can't do better

    here instead the new log:
    16: 38: 19 | 0-poseidon.library: Welcome to poseidon 4.4 (15.3.18) © 2002-2018 by Chris Hodges (20090807)!
    16: 38: 19 | 0-poseidon.library: This is the PPC native MorphOS version.
    16: 38: 19 | 0-poseidon.library: Event broadcaster started.
    16: 38: 19 | 0-poseidon.library: Say hello to massstorage.class V4.9 (Supports storage devices via usbscsi.device (MOS)).
    16: 38: 19 | 0-poseidon.library: Whoah! hub.class V4.4 surprised as Root / external hub base class (MOS).
    16: 38: 19 | 0-poseidon.library: The door bell rang for hid.class V4.6 (Generic support for human interface devices (MOS)).
    16: 38: 19 | 0-poseidon.library: New hardware pciusb.device / 0 added (PCI OHCI USB 1.1 Host Controller (NEC)).
    16: 38: 19 | 0-poseidon.library: Root hub has been enumerated.
    16: 38: 19 | 20-poseidon.library: Opening pciusb.device unit 1 failed device / unit failed to open (-1).
    16: 38: 19 | 0-hub.class: Hub with 3 ports successfully configured.
    16: 38: 19 | 0-hub.class: I'm in love with hub 'PCI Root Hub Unit 0'.
    16: 38: 20 | 0-hub.class: Detected device 'QEMU USB Keyboard' at port 1. I like it.
    16: 38: 20 | 0-hub.class: Detected device 'QEMU USB Mouse' at port 2. I like it.
    16: 38: 20 | 0-hub.class: Detected device 'QEMU USB Hub' at port 3. I like it.
    16: 38: 20 | 0-hub.class: Hub has added 3 device (s). That'll be fun!
    16: 38: 20 | 0-hid.class: Using HID Descriptor from initial configuration run.
    16: 38: 20 | 0-hid.class: HID the road, 'QEMU USB Keyboard'!
    16: 38: 20 | 0-hid.class: Using HID Descriptor from initial configuration run.
    16: 38: 20 | 0-hid.class: HID the road, 'QEMU USB Mouse'!
    16: 38: 20 | 0-hub.class: Hub with 8 ports successfully configured.
    16: 38: 20 | 0-hub.class: I'm in love with hub 'QEMU USB Hub'.
    16: 38: 20 | 10-poseidon.library: SET_CONFIGURATION failed: endpoint stall (4)
    16: 38: 20 | 10-poseidon.library: No current configuration, huh?
    16: 38: 20 | 0-hub.class: Detected device 'USB Audio Device ??????????????' at port 1. I like it.
    16: 38: 20 | 0-hub.class: Hub has added 1 device (s). That'll be fun!
    16: 38: 20 | 10-poseidon.library: SET_CONFIGURATION failed: endpoint stall (4)
    16: 38: 20 | 10-poseidon.library: No current configuration, huh?
    16: 38: 20 | 10-poseidon.library: SET_CONFIGURATION failed: endpoint stall (4)
    16: 38: 20 | 10-poseidon.library: No current configuration, huh?
    16: 38: 24 | 10-poseidon.library: Forced device binding of USB Audio Device ?????????????? to hub.class failed.


    I put a video maybe the concept is clearer maybe you can configure it manually and be of help to those who want to try:
    https://www.youtube.com/watch?v=jJSZilWXe-Y

    [ Edited by white 20.09.2021 - 15:52 ]
  • »20.09.21 - 14:13
    Profile