[HTC One Mini 2] stkl:
I played around with various USB configurations in the kernel source within the last days, mostly the usb_otg: usb@f9a55000 block in the msm8226.dtsi, swapping otg-mode from 1 (Periphery only) to 3 (OTG), changeing otg-control, et. Unfortunately none of these provided the result I wanted, some disabled USB for both directions completely, most showed the same kernel errors. I'm still stuck on HID working (e.g. keyboards), but no other device.

I'll try to have a look into the datasheet to verify the parameters.

[MENTION=7570463]nightcore500[/MENTION] where did you extract the original config? I had a look in the LG G2 Mini project, which is using similar hardware and the block looks identical - they claim the same issues though.

If anyone is interested in the log...

kmsg (otg-mode=<3>, otg-control=<1>)

<6>[ 322.173576] c0 0 [CABLE] usb: id interrupt

<6>[ 322.295829] c0 134 [CABLE] cable_detect_handler

<6>[ 322.295886] c0 134 [CABLE] cable_detect_get_type: id pin low

<6>[ 322.295931] c0 134 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee2a0810

<6>[ 322.301471] c0 134 [USB] [CABLE] chan=138, adc_code=24853, measurement=1962,	physical=1962 translate voltage 1

<6>[ 322.301528] c0 134 [CABLE] [1st] accessory adc = 1

<6>[ 322.301573] c0 134 [CABLE] htc_8x26_config_usb_id_gpios: 1 output high

<6>[ 322.301618] c0 134 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee2a0810

<6>[ 322.306217] c0 134 [USB] [CABLE] chan=138, adc_code=24863, measurement=2943,	physical=2943 translate voltage 2

<6>[ 322.306277] c0 134 [CABLE] [2nd] accessory adc = 2

<6>[ 322.306319] c0 134 [CABLE] htc_8x26_config_usb_id_gpios: 1 intput nopull

<6>[ 322.306367] c0 134 [CABLE] cable_detect_get_type prev_type 0, type 16, stable_count 0

<6>[ 322.428739] c0 134 [CABLE] cable_detect_handler

<6>[ 322.429913] c0 134 [CABLE] cable_detect_get_type: id pin low

<6>[ 322.429967] c0 134 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee2a0810

<6>[ 322.437375] c0 134 [USB] [CABLE] chan=138, adc_code=24855, measurement=2158,	physical=2158 translate voltage 2

<6>[ 322.437433] c0 134 [CABLE] [1st] accessory adc = 2

<6>[ 322.437478] c0 134 [CABLE] htc_8x26_config_usb_id_gpios: 1 output high

<6>[ 322.437524] c0 134 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee2a0810

<6>[ 322.443443] c0 134 [USB] [CABLE] chan=138, adc_code=24862, measurement=2845,	physical=2845 translate voltage 2

<6>[ 322.443503] c0 134 [CABLE] [2nd] accessory adc = 2

<6>[ 322.443546] c0 134 [CABLE] htc_8x26_config_usb_id_gpios: 1 intput nopull

<6>[ 322.443595] c0 134 [CABLE] cable_detect_get_type prev_type 16, type 16, stable_count 1

<6>[ 322.565760] c0 32 [CABLE] cable_detect_handler

<6>[ 322.565812] c0 32 [CABLE] cable_detect_get_type: id pin low

<6>[ 322.565857] c0 32 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee2a0810

<6>[ 322.570584] c0 32 [USB] [CABLE] chan=138, adc_code=24856, measurement=2256,	physical=2256 translate voltage 2

<6>[ 322.570644] c0 32 [CABLE] [1st] accessory adc = 2

<6>[ 322.570690] c0 32 [CABLE] htc_8x26_config_usb_id_gpios: 1 output high

<6>[ 322.570736] c0 32 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee2a0810

<6>[ 322.575333] c0 32 [USB] [CABLE] chan=138, adc_code=24862, measurement=2845,	physical=2845 translate voltage 2

<6>[ 322.575391] c0 32 [CABLE] [2nd] accessory adc = 2

<6>[ 322.575432] c0 32 [CABLE] htc_8x26_config_usb_id_gpios: 1 intput nopull

<6>[ 322.575481] c0 32 [CABLE] cable_detect_get_type prev_type 16, type 16, stable_count 2

<6>[ 322.699356] c0 134 [CABLE] cable_detect_handler

<6>[ 322.699410] c0 134 [CABLE] cable_detect_get_type: id pin low

<6>[ 322.699456] c0 134 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee2a0810

<6>[ 322.704147] c0 134 [USB] [CABLE] chan=138, adc_code=24855, measurement=2158,	physical=2158 translate voltage 2

<6>[ 322.704290] c0 134 [CABLE] [1st] accessory adc = 2

<6>[ 322.704338] c0 134 [CABLE] htc_8x26_config_usb_id_gpios: 1 output high

<6>[ 322.704385] c0 134 [USB] htc_qpnp_adc_get_usbid_adc : vadc_chip ee2a0810

<6>[ 322.708897] c0 134 [USB] [CABLE] chan=138, adc_code=24862, measurement=2845,	physical=2845 translate voltage 2

<6>[ 322.708955] c0 134 [CABLE] [2nd] accessory adc = 2

<6>[ 322.708997] c0 134 [CABLE] htc_8x26_config_usb_id_gpios: 1 intput nopull

<6>[ 322.709046] c0 134 [CABLE] cable_detect_get_type prev_type 16, type 16, stable_count 3

<6>[ 322.709090] c0 134 [CABLE] USB Host inserted

<6>[ 322.709128] c0 134 [CABLE] [HostNotify] Send to: usb_host: 1

<6>[ 322.709165] c0 134 [USB] PMIC: ID clear

<6>[ 322.710983] c0 134 [CABLE] cable_detect_handler ID pin 0, type 16

<6>[ 322.714507] c0 447 [USBH] msm_otg_sm_work: state:b_idle bit:0x00000000

<6>[ 322.714566] c0 447 [USBH] msm_otg_resume

<6>[ 322.733214] c0 447 [USB] msm_hsusb_ldo_enable: USB reg mode (3) (OFF/HPM/LPM)

<6>[ 322.733295] c0 447 [USB] msm_hsusb_config_vddcx: min_vol:5 max_vol:7

<6>[ 322.733370] c0 447 msm_otg f9a55000.usb: USB exited from low power mode

<6>[ 322.733418] c0 447 [USB] b_idle work

<6>[ 322.733450] c0 447 [USBH] !id || id_a

<6>[ 322.733508] c0 447 [USBH] msm_otg_sm_work: state:a_idle bit:0x00000040

<6>[ 322.733551] c0 447 [USB] a_idle work

<6>[ 322.733583] c0 447 [USBH] !a_bus_drop && (a_srp_det || a_bus_req)

<6>[ 322.847825] c0 447 [USB] starting a_wait_vrise timer

<6>[ 322.848309] c0 32 [USBH] send connect type 5

<6>[ 322.848354] c0 32 [CABLE] usb_status_notifier_func: cable_type = 5

<7>[ 322.848400] c0 32 [CABLE] send_cable_connect_notify: cable_type = 5

<6>[ 322.848442] c0 32 [CABLE] Send to: htc_battery, type 5

<6>[ 322.848481] c0 32 [CABLE] Send to: htc_battery_8960, type 5

<6>[ 322.947912] c0 0 [USB] expired a_wait_vrise timer

<6>[ 322.948015] c0 447 [USBH] msm_otg_sm_work: state:a_wait_vrise bit:0x00000140

<6>[ 322.948064] c0 447 [USB] a_wait_vrise work

<6>[ 322.948098] c0 447 [USBH] a_vbus_vld

<6>[ 322.948145] c0 447 msm_hsusb_host msm_hsusb_host: Qualcomm On-Chip EHCI Host Controller

<6>[ 322.948248] c0 447 msm_hsusb_host msm_hsusb_host: new USB bus registered, assigned bus number 1

<6>[ 322.971151] c0 447 msm_hsusb_host msm_hsusb_host: irq 166, io mem 0xf9a55000

<6>[ 322.980970] c0 447 msm_hsusb_host msm_hsusb_host: USB 2.0 started, EHCI 1.00

<6>[ 322.981033] c0 447 [USB] portsc = 80001803

<6>[ 322.981294] c0 447 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

<6>[ 322.981351] c0 447 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

<6>[ 322.981403] c0 447 usb usb1: Product: Qualcomm On-Chip EHCI Host Controller

<6>[ 322.981452] c0 447 usb usb1: Manufacturer: Linux 3.4.0-g3e6fd57-dirty ehci_hcd

<6>[ 322.981500] c0 447 usb usb1: SerialNumber: msm_hsusb_host

<6>[ 322.992525] c0 447 hub 1-0:1.0: USB hub found

<6>[ 322.992612] c0 447 hub 1-0:1.0: 1 port detected

<6>[ 323.244729] c0 42 [USB] portsc = 88001205

<6>[ 323.244788] c0 42 [USB] portsc = 8c00100a

<6>[ 323.247984] c0 0 [USB] portsc = 8000180b

<6>[ 323.297960] c0 42 usb 1-1: new high-speed USB device number 2 using msm_hsusb_host

<6>[ 323.461600] c0 42 [USB] portsc = 8800120f

<6>[ 323.461693] c0 42 [USB] portsc = 8c00100a

<6>[ 323.464685] c0 4471 [USB] portsc = 8000180b

<6>[ 323.720629] c0 0 [USB] portsc = 8c00100a

<6>[ 323.722562] c0 4457 [USB] portsc = 8000180b

<6>[ 323.925029] c0 0 [USB] portsc = 8c00100a

<6>[ 323.927200] c0 0 [USB] portsc = 8000180b

<6>[ 324.128555] c0 0 [USB] portsc = 8c00100a

<6>[ 324.130826] c0 0 [USB] portsc = 8000180b

<3>[ 324.275516] c0 42 hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?

<6>[ 324.328614] c0 42 [USB] portsc = 88001205

<6>[ 324.384363] c0 42 usb 1-1: new high-speed USB device number 3 using msm_hsusb_host

<6>[ 324.554883] c0 42 [USB] portsc = 8800120f

<6>[ 324.611663] c0 0 [USB] portsc = 8c00100a

<6>[ 324.613300] c0 0 [USB] portsc = 8000180b

<6>[ 324.815175] c0 0 [USB] portsc = 8c00100a

<6>[ 324.817451] c0 0 [USB] portsc = 8000180b

<6>[ 325.018754] c0 0 [USB] portsc = 8c00100a

<6>[ 325.020826] c0 0 [USB] portsc = 8000180b

<6>[ 325.219648] c0 0 [USB] portsc = 8800120f

<6>[ 325.220802] c0 0 [USB] portsc = 8c00100a

<6>[ 325.223814] c0 1065 [USB] portsc = 8000180b

<3>[ 325.368072] c0 42 hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?

<6>[ 325.421643] c0 42 [USB] portsc = 88001205

<6>[ 325.424688] c0 4393 [USB] portsc = 8000180b

<6>[ 325.475059] c0 42 usb 1-1: new high-speed USB device number 4 using msm_hsusb_host

<3>[ 325.965966] c0 42 usb 1-1: device not accepting address 4, error -71

<6>[ 326.018905] c0 42 [USB] portsc = 88001205

<6>[ 326.021938] c0 4393 [USB] portsc = 8000180b

<6>[ 326.071104] c0 42 usb 1-1: new high-speed USB device number 5 using msm_hsusb_host

<3>[ 326.565699] c0 42 usb 1-1: device not accepting address 5, error -71

<3>[ 326.565849] c0 42 hub 1-0:1.0: unable to enumerate USB device on port 1