Can't get Mobian on PinePhone to recognise USB-C docking bar
#1
Hi Folks Smile

I recently purchased a USB-C docking bar and a new convergence-capable PinePhone motherboard, and fitted the new motherboard last weekend.  The Braveheart owner's discount was much appreciated too Smile 

I'm running the Mobian nightly build from 2021-05-02.

When I plug in the USB-C docking bar, it just charges the phone; no peripherals are detected (I have a keyboard, monitor, and trackball connected to the bar).  Instead I get the following in dmesg:

Code:
[  494.616801] anx7688 1-0028: DATA role change requested to UFP

I've tried upgrading to the linux-image-5.11-sunxi64 kernel, and flashing the ANX7688 firmware as per these instructions, but to no avail.

Anyone have any suggestions?  I suspect I'm missing something blindingly obvious.

Yours,
Duncan
  Reply
#2
Not all docking bars work with the Pinephone. The one from Pine64 and the Anchor 5 in 1 (reportedly) are two. Others I have tried just don't work. Something makes them not compatible. It would be nice if we could compile a list of ones confirmed to work. I am using the 64W power supply from Pine64 so it shouldn't be a power issue. I was looking for one with a SD card reader built in. I kinda gave up after I bought a flash drive with USB C and USB 3.0 on it that does what I was trying to accomplish. Make it easier transferring music and audio books between devices.
  Reply
#3
There is a usbc mod on youtube that 'unlocks' the port. It's called "usb-c fix on the pinephone". All you do is heat 2 small pieces while tweezing them off. The hard part is taking it apart and putting it back together. I haven't even tested mine yet. The youtube video references ubports but supposedly there is no software fix at all so if mine balks I'll probably do it if it can't be replaced with one that works. The video is less than 6m and it's very detailed so looks rather easy. I already own a soldering iron like the one pinephone makes and they are cheap.
  Reply
#4
(05-04-2021, 05:46 AM)duncan_bayne Wrote: Hi Folks Smile

I recently purchased a USB-C docking bar and a new convergence-capable PinePhone motherboard, and fitted the new motherboard last weekend.  The Braveheart owner's discount was much appreciated too Smile 

I'm running the Mobian nightly build from 2021-05-02.

When I plug in the USB-C docking bar, it just charges the phone; no peripherals are detected (I have a keyboard, monitor, and trackball connected to the bar).  Instead I get the following in dmesg:

Code:
[  494.616801] anx7688 1-0028: DATA role change requested to UFP

I've tried upgrading to the linux-image-5.11-sunxi64 kernel, and flashing the ANX7688 firmware as per these instructions, but to no avail.

Anyone have any suggestions?  I suspect I'm missing something blindingly obvious.

Yours,
Duncan

-------------------------------------------------------------

I had the same/similar problem, and I identified it as a bad USB-C port.  I got a little further than you did.  The phone would accept the mouse and keyboard, sometimes the charger, but never the monitor.  Lucky for me, I had two Convergence Package PinePhones and two Pine docking bars.  I finally realized that one of them would dock instantly with a fully loaded Pine docking bar (mouse, keyboard, ethernet, charger, and monitor) and the other didn't... when using the same distro on a transported SD!  I reported the problem to Pine Support.  They offered to send me a new USB-C side board to install myself... if I was confident with installing it.  Since I am not confident, I sent it to them for diagnostics and replacement. They have possession of it now.

At first I thought the problem was the order in which I attached the accessories. Then I though it was the docking bar. Then I thought it was the distro. i.e. Mobian instead of Manjaro or PMOS Phosh. Once I ruled all them out, I realized it was the defective USB-C port in the one phone.
  Reply
#5
I've since replaced the docking bar with a brand new USB-C bar from the Pine64 store, and the problem persists.  In the output from dmesg:


Code:
[ 1182.983372] anx7688 0-0028: plug irq (cd=1)
[ 1182.983690] anx7688 0-0028: plug irq (cd=0)
[ 1182.983965] anx7688 0-0028: plug irq (cd=1)
[ 1182.997363] anx7688 0-0028: cable inserted
[ 1183.041279] anx7688 0-0028: power enabled
[ 1183.109599] anx7688 0-0028: eeprom0 = 0x03
[ 1183.109637] anx7688 0-0028: fw loaded after 40 ms
[ 1183.114711] anx7688 0-0028: OCM firmware loaded (version 0x2410)
[ 1183.123922] anx7688 0-0028: send pd packet cmd=0x00 05 00 32 90 01 26 12
[ 1183.156404] anx7688 0-0028: send pd packet cmd=0x01 05 01 2c 91 01 26 16
[ 1183.156937] anx7688 0-0028: send pd packet cmd=0x02 11 02 00 00 00 ec 00 00 00 00 00 00 00 00 39 00 00 51 77
[ 1183.158099] anx7688 0-0028: send pd packet cmd=0x03 05 03 00 00 01 ff f8
[ 1183.158591] anx7688 0-0028: OCM configuration completed
[ 1183.161194] anx7688 0-0028: status changed to 0x00
[ 1183.161227] anx7688 0-0028: cc_status changed to CC1 = SRC.Open CC2 = SRC.Open
[ 1183.161235] anx7688 0-0028: DP state changed to 0x00
[ 1183.161344] anx7688 0-0028: VCONN role change to SINK
[ 1183.161369] anx7688 0-0028: DATA role change requested to UFP
[ 1186.962919] anx7688 0-0028: updating power mode to USB, current limit 0mA (0 => BC1.2)
[ 1186.972012] anx7688 0-0028: enabling vbus_in power path
[ 1187.581568] anx7688 0-0028: BC 1.2 result: SDP

Ahah! Fixed it. I re-flashed the firmware with the very latest version from https://xff.cz/git/linux-firmware/ and rebooted; now it's detecting the display!
  Reply
#6
Yeah, the mainboard swap video I watched did not even mention firmware.

But the 'Factory Test OS' will install your anx firmware from what I have read elsewhere on the forum.

The Link to it is in the wiki along with the current operating systems.

I am surprised that there has not been more discussion on this.
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
  Reply
#7
(05-04-2021, 11:22 AM)C0ffeeFreak Wrote: Not all docking bars work with the Pinephone. The one from Pine64 and the Anchor 5 in 1 (reportedly) are two. Others I have tried just don't work. Something makes them not compatible. It would be nice if we could compile a list of ones confirmed to work.

I agree it would be nice if we could compile a list of ones confirmed to work.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Most stable Pinephone OS karcdaeh 17 482 11 hours ago
Last Post: Zebulon Walton
  PureTalk work with Pinephone? car46999 3 214 12-01-2022, 10:46 PM
Last Post: car46999
  No sound after Mobian upgrade arbocenc 1 58 11-28-2022, 11:02 AM
Last Post: arbocenc
Exclamation No wIfI after Mobian update crakabeats 3 708 11-03-2022, 04:16 AM
Last Post: wifinoworkie
  Pinephone power consumption figures? girl 5 941 11-01-2022, 09:21 AM
Last Post: tunnelstrong
  SELLING: Pinephone 3GB RAM 32GB ROM gerstavros 12 3,059 10-24-2022, 02:51 PM
Last Post: gerstavros
  Are you using the Pinephone as your daily driver? jro 115 56,380 10-20-2022, 10:19 PM
Last Post: Chief
  Pinephone for sale in Europe tiho 7 2,967 10-19-2022, 05:35 AM
Last Post: peatord
  No sms receival on Arch Phosh Pinephone pineuser0 2 341 10-09-2022, 08:55 AM
Last Post: treebeard
  Instructions to get pinephone working on USA carrier omarcomputing 1 375 10-08-2022, 04:45 PM
Last Post: treebeard

Forum Jump:


Users browsing this thread: 1 Guest(s)