Running dmesg on PinePhone reveals that idiot firmware is bored.

  • @[email protected]OP
    link
    fedilink
    5
    edit-2
    9 months ago

    Just to clarify, this is the keyboard addon that I was talking about. It has a built-in battery. It has a button on the side that lets you toggle the battery on and off. When I disable the battery and plug in a USB mouse, it will work, just as it does without the addon. But not with the battery enabled. So the extra battery must be interfering with the power to the USB port somehow. Surprisingly the result is the same even when plugging in a powered USB-C hub with the mouse plugged into it.

    When I disable the battery, then plug in the mouse and then enable the battery again, the mouse will keep working.

    I don’t know much about the hardware, though. I’m even surprised that the modem has something to do with delivering power to devices.

    Edit: I guess misunderstood some things. anx7688 seems to be a USB controller. The modem is separate from the SoC and is connected internally via USB. But maybe it’s not a problem with the modem in this case, but with the controller.

    • Rustmilian
      link
      English
      9
      edit-2
      9 months ago

      Edit: I guess misunderstood some things. anx7688 seems to be a USB controller. The modem is separate from the SoC and is connected internally via USB. But maybe it’s not a problem with the modem in this case, but with the controller.

      That’s my bad, I should’ve specified that anx7688 is the USB-C bridge driver controlling all USB devices along with the modem.
      In this case the modem is being effected by the USB charging state & USB-C peripherals over CC pins from anx7688.

      Your other issues are very likely tangentially related to the modem error messages caused by an underlying issue within the anx7688 USB-C bridge driver’s controller.

    • @[email protected]
      link
      fedilink
      1
      edit-2
      9 months ago

      The modem is separate from the SoC and is connected internally via USB.

      I guess that’s a pinephone thing, to keep modem and phone separate? How is it usually connected, with all the things it can do on your phone?

      • @[email protected]OP
        link
        fedilink
        3
        edit-2
        9 months ago

        Yeah, it’s to isolate the modem and I think it’s done the same way in Librem 5. Both phones also have a killswitch that lets you power off the modem. As far as I know other phones instead have the modem built into the SoC and there is some isolation too, but I don’t really know how that works and I guess it’s done by the chip’s manufacturer (but I’m not sure).

        Like the Librem 5, the PinePhone uses separate cellular baseband and Wi-Fi/Bluetooth chips. Together with the hardware kill switches, this results in larger printed circuit boards (PCBs) and less energy efficiency compared to the mass-produced Android phone that has an integrated System on a Chip, such as the Snapdragon, Helio or Exynos. The PinePhone is thinner at 9.2 mm than the Librem 5 which is 15.5 mm thick because the PinePhone solders its wireless communication chips to the PCB whereas the Librem 5 places the cellular baseband and Wi-Fi/Bluetooth on two removable M.2 cards.[1][18][19]

        https://en.wikipedia.org/wiki/PinePhone