On Wed, Dec 16, 2015 at 12:47:18PM +1100, David Tulloh wrote:
> I am working on a SinoVoip Bananapi M1
>
> With the current mainline USB does not work. I believe that power to the USB
> vbus is being disabled during boot.
>
> Failing build v4.4-rc5
> Working build v4.2.3
Hello,
I don't have a kernel 4.4-rc5 build handy now, but I have just
tried a kernel 4.4-rc4 with a .config based on the default Debian
kernel configuration on a LeMaker BananaPi (which should be the
same hardware as your SinoVoip Bananapi M1). A USB keyboard
works without problems in this setup. I can try a 4.4-rc5 build
during the next days, but perhaps you could give my .config
a try on your hardware in the meantime.
From the kernel log:
[ 0.103252] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[ 0.103312] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[ 0.103347] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[ 0.104312] reg-fixed-voltage gmac-3v3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/gmac_power_pin@0, deferring probe
[ 0.106634] vgaarb: loaded
[ 0.107280] usbcore: registered new interface driver usbfs
[ 0.107358] usbcore: registered new interface driver hub
[ 0.107486] usbcore: registered new device driver usb
[...]
[ 1.403736] vcc3v0: disabling
[ 1.403747] vcc3v3: disabling
[ 1.403755] vcc5v0: disabling
[ 1.403763] usb0-vbus: disabling
[ 1.403772] usb1-vbus: disabling
[ 1.403785] usb2-vbus: disabling
[ 1.403794] gmac-3v3: disabling
[ 1.405661] Freeing unused kernel memory: 844K (c09bb000 - c0a8e000)
[...]
[ 5.056351] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.060268] ehci-platform: EHCI generic platform driver
[ 5.065366] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.068821] ohci-platform: OHCI generic platform driver
[ 5.102832] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 5.174364] axp20x 0-0034: AXP20x variant AXP209 found
[ 5.191994] axp20x 0-0034: AXP20X driver loaded
[ 5.351286] Adding 696316k swap on /dev/mmcblk0p5. Priority:-1 extents:1 across:696316k SSFS
[ 5.712343] ehci-platform 1c14000.usb: EHCI Host Controller
[ 5.712805] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[ 5.713032] ehci-platform 1c14000.usb: irq 29, io mem 0x01c14000
[ 5.722566] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[ 5.723051] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 5.723067] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.723078] usb usb1: Product: EHCI Host Controller
[ 5.723087] usb usb1: Manufacturer: Linux 4.4.0-rc4-armmp-lpae+ ehci_hcd
[ 5.723097] usb usb1: SerialNumber: 1c14000.usb
[ 5.724227] hub 1-0:1.0: USB hub found
[ 5.724330] hub 1-0:1.0: 1 port detected
[ 5.725916] ehci-platform 1c1c000.usb: EHCI Host Controller
[ 5.726391] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[ 5.726611] EXT4-fs (mmcblk0p1): mounting ext2 file system using the ext4 subsystem
[ 5.730806] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000
[ 5.742512] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[ 5.742859] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 5.742872] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.742882] usb usb2: Product: EHCI Host Controller
[ 5.742892] usb usb2: Manufacturer: Linux 4.4.0-rc4-armmp-lpae+ ehci_hcd
[ 5.742901] usb usb2: SerialNumber: 1c1c000.usb
[ 5.743874] hub 2-0:1.0: USB hub found
[ 5.743934] hub 2-0:1.0: 1 port detected
[ 5.745296] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[ 5.747160] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[ 5.747465] ohci-platform 1c14400.usb: irq 30, io mem 0x01c14400
[ 5.806746] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 5.806771] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.806782] usb usb3: Product: Generic Platform OHCI controller
[ 5.806791] usb usb3: Manufacturer: Linux 4.4.0-rc4-armmp-lpae+ ohci_hcd
[ 5.806801] usb usb3: SerialNumber: 1c14400.usb
[ 5.807774] hub 3-0:1.0: USB hub found
[ 5.807836] hub 3-0:1.0: 1 port detected
[ 5.809230] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[ 5.818142] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[ 5.818387] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400
[ 5.834732] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)
[ 5.878852] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 5.878876] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.878887] usb usb4: Product: Generic Platform OHCI controller
[ 5.878897] usb usb4: Manufacturer: Linux 4.4.0-rc4-armmp-lpae+ ohci_hcd
[ 5.878906] usb usb4: SerialNumber: 1c1c400.usb
[ 5.879892] hub 4-0:1.0: USB hub found
[ 5.879966] hub 4-0:1.0: 1 port detected
[ 6.282576] usb 3-1: new low-speed USB device number 2 using ohci-platform
[ 6.331479] RX IPC Checksum Offload disabled
[ 6.331507] No MAC Management Counters available
[ 6.486633] usb 3-1: New USB device found, idVendor=xxxx, idProduct=yyyy
[ 6.486657] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 6.495625] random: nonblocking pool is initialized
[ 6.682759] input: HID xxxx:yyyy as /devices/platform/soc@01c00000/1c14400.usb/usb3/3-1/3-1:1.0/0003:xxxx:yyyy.0001/input/input0
[ 6.709379] hid-generic 0003:xxxx:yyyy.0001: input,hidraw0: USB HID v1.10 Keyboard [HID xxxx:yyyy] on usb-1c14400.usb-1/input0
[ 6.722008] input: HID xxxx:yyyy as /devices/platform/soc@01c00000/1c14400.usb/usb3/3-1/3-1:1.1/0003:xxxx:yyyy.0002/input/input1
[ 6.722831] hid-generic 0003:xxxx:yyyy.0002: input,hidraw1: USB HID v1.10 Device [HID xxxx:yyyy] on usb-1c14400.usb-1/input1
Regards,
Karsten
--
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.