[opensuse-arm] BananaPi - usb out of function
Hello all, usb is out of function on my bananapi with Tmbleweed. After boot up the USB power seems to be turned off. I found two links: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/395 232.html https://patchwork.kernel.org/patch/7927841/ "With a new kernel, the kernel will turn off the USB power supply during boot by default if the driver isn't present." Can anybody help me with the patch? Which file I have to patch? After this I have to compile the kernel? Am I the only one with Banana and Opensuse? Thanks a lot Stefan Sorry for my bad English, I'm still learning... -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hello Stefan, Am 08.10.2016 um 19:55 schrieb Stefan Mack:
usb is out of function on my bananapi with [Tumbleweed]. After boot up the USB power seems to be turned off.
I found two links: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/395 232.html https://patchwork.kernel.org/patch/7927841/
"With a new kernel, the kernel will turn off the USB power supply during boot by default if the driver isn't present."
Can anybody help me with the patch? Which file I have to patch? After this I have to compile the kernel?
openSUSE does not use the sunxi_defconfig. See here for our lpae config: http://kernel.opensuse.org/cgit/kernel-source/tree/config/armv7hl/lpae?h=sta... It already has CONFIG_AXP20X_POWER=m and USB seems to be working fine on my Cubietruck with both 4.7 and 4.8 kernels. And our "default" kernel flavor has the same setting. So the problem on your device must be something else. Are you able to boot into the system from, e.g., SD, so that this is blocking only networking and keyboard? Or is this a boot problem for you? I.e., can you get to a prompt and gather more information? Are you using the JeOS-bananapi image from here? http://download.opensuse.org/ports/armv7hl/tumbleweed/images/ Have you tried downloading the very latest image from OBS directly? Can you share a boot log (in a bugzilla.opensuse.org ticket) please? Is your device really the original Banana Pi or some later model like Banana Pro, bpi-M2, etc.? Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hello Andreas, thanks for your mail. I have an original Banana Pi and I'm using the JeOS-bananapi-image from the link you've posted. Network and sata are working fine. After the boot I log in per ssh and can copy the sd-image to the ssd. All is fine except usb. I use the original power-in and not the OTG. Only keyboard, mouse or usb sticks aren't recogniced in the log and don't work. Is the log enough? Thanks and regards Stefan bananavdr:/home/stefan # dmesg | grep usb [ 0.392333] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe [ 0.392459] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe [ 0.392540] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe [ 5.522256] usb0-vbus: disabling [ 5.534726] usb1-vbus: disabling [ 5.546965] usb2-vbus: disabling [ 8.539983] usbcore: registered new interface driver usbfs [ 8.581877] usbcore: registered new interface driver hub [ 8.643329] usbcore: registered new device driver usb -------- Weitergeleitete Nachricht -------- Von: Andreas Färber <afaerber@suse.de> An: Stefan Mack <mack.stefan@web.de>, opensuse-arm@opensuse.org Betreff: Re: [opensuse-arm] BananaPi - usb out of function Datum: Mon, 10 Oct 2016 02:45:35 +0200 Hello Stefan, Am 08.10.2016 um 19:55 schrieb Stefan Mack:
usb is out of function on my bananapi with [Tumbleweed]. After boot up the USB power seems to be turned off.
I found two links: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/3 95 232.html https://patchwork.kernel.org/patch/7927841/
"With a new kernel, the kernel will turn off the USB power supply during boot by default if the driver isn't present."
Can anybody help me with the patch? Which file I have to patch? After this I have to compile the kernel?
openSUSE does not use the sunxi_defconfig. See here for our lpae config: http://kernel.opensuse.org/cgit/kernel-source/tree/config/armv7hl/lpae? h=stable It already has CONFIG_AXP20X_POWER=m and USB seems to be working fine on my Cubietruck with both 4.7 and 4.8 kernels. And our "default" kernel flavor has the same setting. So the problem on your device must be something else. Are you able to boot into the system from, e.g., SD, so that this is blocking only networking and keyboard? Or is this a boot problem for you? I.e., can you get to a prompt and gather more information? Are you using the JeOS-bananapi image from here? http://download.opensuse.org/ports/armv7hl/tumbleweed/images/ Have you tried downloading the very latest image from OBS directly? Can you share a boot log (in a bugzilla.opensuse.org ticket) please? Is your device really the original Banana Pi or some later model like Banana Pro, bpi-M2, etc.? Regards, Andreas -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hello Stefan, I use openSUSE on Banana pi M1. It's on 27/7 and I use it as torrent seedbox, IRC Bouncer and ddns client. I use a custon version I made. You can download it from https://mega.nz/#!zNAxhIIb!Z9OCSMYdhx95eEA3s7CxpuMNBFkIHzuZHR3dP4SSoBY The repositories version didn't work. Not sure what you try to do. If you have a spare SD card, you can test it and tell me. User/Pass are root/linux as usual. Take care, Stathis 2016-10-10 19:59 GMT+03:00 Stefan Mack <mack.stefan@web.de>:
Hello Andreas,
thanks for your mail.
I have an original Banana Pi and I'm using the JeOS-bananapi-image from the link you've posted.
Network and sata are working fine. After the boot I log in per ssh and can copy the sd-image to the ssd. All is fine except usb. I use the original power-in and not the OTG.
Only keyboard, mouse or usb sticks aren't recogniced in the log and don't work.
Is the log enough?
Thanks and regards Stefan
bananavdr:/home/stefan # dmesg | grep usb [ 0.392333] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe [ 0.392459] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe [ 0.392540] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe [ 5.522256] usb0-vbus: disabling [ 5.534726] usb1-vbus: disabling [ 5.546965] usb2-vbus: disabling [ 8.539983] usbcore: registered new interface driver usbfs [ 8.581877] usbcore: registered new interface driver hub [ 8.643329] usbcore: registered new device driver usb
-------- Weitergeleitete Nachricht -------- Von: Andreas Färber <afaerber@suse.de> An: Stefan Mack <mack.stefan@web.de>, opensuse-arm@opensuse.org Betreff: Re: [opensuse-arm] BananaPi - usb out of function Datum: Mon, 10 Oct 2016 02:45:35 +0200
Hello Stefan,
Am 08.10.2016 um 19:55 schrieb Stefan Mack:
usb is out of function on my bananapi with [Tumbleweed]. After boot up the USB power seems to be turned off.
I found two links: http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/3 95 232.html https://patchwork.kernel.org/patch/7927841/
"With a new kernel, the kernel will turn off the USB power supply during boot by default if the driver isn't present."
Can anybody help me with the patch? Which file I have to patch? After this I have to compile the kernel?
openSUSE does not use the sunxi_defconfig. See here for our lpae config: http://kernel.opensuse.org/cgit/kernel-source/tree/config/armv7hl/lpae? h=stable
It already has CONFIG_AXP20X_POWER=m and USB seems to be working fine on my Cubietruck with both 4.7 and 4.8 kernels. And our "default" kernel flavor has the same setting.
So the problem on your device must be something else. Are you able to boot into the system from, e.g., SD, so that this is blocking only networking and keyboard? Or is this a boot problem for you? I.e., can you get to a prompt and gather more information?
Are you using the JeOS-bananapi image from here? http://download.opensuse.org/ports/armv7hl/tumbleweed/images/ Have you tried downloading the very latest image from OBS directly?
Can you share a boot log (in a bugzilla.opensuse.org ticket) please?
Is your device really the original Banana Pi or some later model like Banana Pro, bpi-M2, etc.?
Regards, Andreas
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
-- http://www.iosifidis.gr http://linkedin.iosifidis.gr The difference between fiction and reality is that fiction has to make sense. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hello Stathis, Am 11.10.2016 um 17:51 schrieb Efstathios Iosifidis:
I use openSUSE on Banana pi M1. It's on [24/7] and I use it as torrent seedbox, IRC Bouncer and ddns client. I use a custon version I made. You can download it from https://mega.nz/#!zNAxhIIb!Z9OCSMYdhx95eEA3s7CxpuMNBFkIHzuZHR3dP4SSoBY
Please don't advertise binary non-OBS image downloads to users here.
The repositories version didn't work.
Then please report any errors to this list or on Bugzilla, and since apparently you have found solutions, please create Submit Requests on build.opensuse.org to have the official repositories fixed. If no community member reports or fixes problems, things will stay broken. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hello Andreas, 2016-10-15 16:11 GMT+03:00 Andreas Färber <afaerber@suse.de>:
Please don't advertise binary non-OBS image downloads to users here.
OK. I tried the image from http://download.opensuse.org/ports/armv7hl/tumbleweed/images/ and didn't work. So I took rootfs come from OBS. I posted a tutorial on lizards.
Then please report any errors to this list or on Bugzilla, and since apparently you have found solutions, please create Submit Requests on build.opensuse.org to have the official repositories fixed. If no community member reports or fixes problems, things will stay broken.
Unfortunately, I'm not familiar with OBS or other Bugzilla. I'm end user and I would like to install something and it'll work. Anyways, thanks for suggestions. Take care, Stathis -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi, Am 15.10.2016 um 18:00 schrieb Efstathios Iosifidis:
I tried the image from
http://download.opensuse.org/ports/armv7hl/tumbleweed/images/
and didn't work.
"didn't work" is much too imprecise, same for "the image". We would need the full URL with versioned filename (now or a year ago?) and any serial output, screenshots or anything concrete to investigate. It can mean you didn't wait long enough while Kiwi re-partitions the SD card (the most frequent report here) or that you expect HDMI/VGA/... output while serial or ssh are working fine, or a $fdtfile mismatch for your M1, ... way too many possibilities.
So I took rootfs come from OBS. I posted a tutorial on lizards.
Google found this: https://lizards.opensuse.org/2015/09/17/how-to-create-an-opensuse-banana-pi-... So essentially you're combining a downstream kernel with our rootfs, and you never even wrote to this list back then, nor did you create a Wiki page about your M1 board.
Then please report any errors to this list or on Bugzilla, and since apparently you have found solutions, please create Submit Requests on build.opensuse.org to have the official repositories fixed. If no community member reports or fixes problems, things will stay broken.
Unfortunately, I'm not familiar with OBS or other Bugzilla. I'm end user and I would like to install something and it'll work.
As an end user we certainly can expect you to log in to a website and fill an error report into a form if you want us to fix something for you. Don't tell me you can't do that when you post blog tutorials about how to build a custom image! https://en.opensuse.org/openSUSE:Bug_reporting_FAQ Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi Stefan, Am 10.10.2016 um 18:59 schrieb Stefan Mack:
I have an original Banana Pi and I'm using the JeOS-bananapi-image from the link you've posted.
Network and sata are working fine. After the boot I log in per ssh and can copy the sd-image to the ssd. All is fine except usb. I use the original power-in and not the OTG.
Only keyboard, mouse or usb sticks aren't recogniced in the log and don't work.
Is the log enough?
Unfortunately no. I understood you boot from SD, can login via ssh and then USB doesn't work in the SD-booted running system? Nothing to do with the SSD yet? If that is the case, please do open a Bugzilla ticket and CC me on it, so that we can track this. The full dmesg including kernel version and command line as well as lsusb output would be useful as a start. On my A20 based Cubietruck with kernel-lpae 4.8.0 it looks like this: andreas@lastwagen:~> dmesg | grep usb [ 0.695769] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe [ 0.695808] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe [ 0.695843] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe [ 7.215472] usb0-vbus: disabling [ 7.218702] usb1-vbus: disabling [ 7.221930] usb2-vbus: disabling [ 10.404986] usbcore: registered new interface driver usbfs [ 10.410634] usbcore: registered new interface driver hub [ 10.424817] usbcore: registered new device driver usb [ 28.772266] ohci-platform 1c14400.usb: Generic Platform OHCI controller [ 28.854799] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 1 [ 28.948835] ohci-platform 1c14400.usb: irq 31, io mem 0x01c14400 [...] andreas@lastwagen:~> lsusb Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub The connected USB UART adapter (third line) works just fine. kernel-lpae 4.7.6 or 4.7.4 worked equally well last time I checked. I note that the bananapi image uses kernel-default. Have you tried installing kernel-lpae and rebooting? Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hello Andreas, today I installed a fresh JeOS-bananapi-image-Tumbleweed on my banana (SD-card). The results are: bananavdr:/home/stefan # dmesg |grep usb [ 0.391001] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, defe rring probe [ 0.391068] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, defe rring probe [ 0.391105] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, defe rring probe [ 4.618572] usb0-vbus: disabling [ 4.618581] usb1-vbus: disabling [ 4.618594] usb2-vbus: disabling [ 10.227698] usbcore: registered new interface driver usbfs [ 10.227805] usbcore: registered new interface driver hub [ 10.235037] usbcore: registered new device driver usb bananavdr:/home/stefan # lsusb bananavdr:/home/stefan # -> NOTHING bananavdr:/home/stefan # uname -a Linux bananavdr 4.7.6-1-default #1 SMP PREEMPT Fri Sep 30 12:22:14 UTC 2016 (fb37fcc) armv7l armv7l armv7l GNU/Linux The same result with kernel-lpae - no difference to the kernel-default. Where can I open a Bugzilla ticket? Is this the correct account and I need an acount? https://login.microfocus.com/nidp/idff/sso?id=132&sid=2&option=credenti al&sid=2&target=https://esp.microfocus.com/LAGBroker?%22https://bugzill a.opensuse.org/accessmanagerlogin.cgi?target=enter_bug.cgi?product%3Dop enSUSE%2520Tumbleweed%26format%3Dguided%22 Sorry for the delay and thank you very much! bananavdr:/home/stefan # lsmod | grep usb musb_hdrc 131072 1 sunxi udc_core 24576 1 musb_hdrc phy_sun4i_usb 16384 1 sunxi extcon 24576 2 sunxi,phy_sun4i_usb usbcore 253952 5 musb_hdrc,ohci_platform,ohci_hcd,ehci_hcd,ehci_platform usb_common 16384 4 sunxi,musb_hdrc,udc_core,usbcore Regards Stefan -------- Weitergeleitete Nachricht -------- Von: Andreas Färber <afaerber@suse.de> An: Stefan Mack <mack.stefan@web.de>, opensuse-arm@opensuse.org Betreff: Re: [opensuse-arm] BananaPi - usb out of function Datum: Sat, 15 Oct 2016 18:17:46 +0200 Hi Stefan, Am 10.10.2016 um 18:59 schrieb Stefan Mack:
I have an original Banana Pi and I'm using the JeOS-bananapi-image from the link you've posted.
Network and sata are working fine. After the boot I log in per ssh and can copy the sd-image to the ssd. All is fine except usb. I use the original power-in and not the OTG.
Only keyboard, mouse or usb sticks aren't recogniced in the log and don't work.
Is the log enough?
Unfortunately no. I understood you boot from SD, can login via ssh and then USB doesn't work in the SD-booted running system? Nothing to do with the SSD yet? If that is the case, please do open a Bugzilla ticket and CC me on it, so that we can track this. The full dmesg including kernel version and command line as well as lsusb output would be useful as a start. On my A20 based Cubietruck with kernel-lpae 4.8.0 it looks like this: andreas@lastwagen:~> dmesg | grep usb [ 0.695769] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe [ 0.695808] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe [ 0.695843] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe [ 7.215472] usb0-vbus: disabling [ 7.218702] usb1-vbus: disabling [ 7.221930] usb2-vbus: disabling [ 10.404986] usbcore: registered new interface driver usbfs [ 10.410634] usbcore: registered new interface driver hub [ 10.424817] usbcore: registered new device driver usb [ 28.772266] ohci-platform 1c14400.usb: Generic Platform OHCI controller [ 28.854799] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 1 [ 28.948835] ohci-platform 1c14400.usb: irq 31, io mem 0x01c14400 [...] andreas@lastwagen:~> lsusb Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub The connected USB UART adapter (third line) works just fine. kernel-lpae 4.7.6 or 4.7.4 worked equally well last time I checked. I note that the bananapi image uses kernel-default. Have you tried installing kernel-lpae and rebooting? Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (3)
-
Andreas Färber
-
Efstathios Iosifidis
-
Stefan Mack