* droid4 -- weird behaviour when attempting to use usb host @ 2023-09-25 14:36 Pavel Machek 2023-09-26 7:14 ` Tony Lindgren 0 siblings, 1 reply; 4+ messages in thread From: Pavel Machek @ 2023-09-25 14:36 UTC (permalink / raw) To: kernel list, linux-arm-kernel, linux-omap, tony, sre, nekit1000, mpartap, merlijn, martin_rysavy, phone-devel, maemo-leste Hi! I'm having some fun with usb host. Good news is it works with externally powered hub... after a while. I get some error messages about inability to go host mode, but with enough patience it eventually does enter host mode and I see my keyboard/mouse. And usually in that process, one of my cpu cores disappear. top no longer shows 2 cores, and I was wondering for a while if d4 is single-core system. It is not, my two cores are back after reboot. That's with 6.1.9 kernel from leste. Ideas how to debug this would be welcome. (Do you use usb host?) Best regards, Pavel -- ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: droid4 -- weird behaviour when attempting to use usb host 2023-09-25 14:36 droid4 -- weird behaviour when attempting to use usb host Pavel Machek @ 2023-09-26 7:14 ` Tony Lindgren 2023-09-27 15:52 ` Pavel Machek 0 siblings, 1 reply; 4+ messages in thread From: Tony Lindgren @ 2023-09-26 7:14 UTC (permalink / raw) To: Pavel Machek Cc: kernel list, linux-arm-kernel, linux-omap, sre, nekit1000, mpartap, merlijn, martin_rysavy, phone-devel, maemo-leste * Pavel Machek <pavel@ucw.cz> [230925 14:36]: > Hi! > > I'm having some fun with usb host. Good news is it works with > externally powered hub... after a while. I get some error messages > about inability to go host mode, but with enough patience it > eventually does enter host mode and I see my keyboard/mouse. > > And usually in that process, one of my cpu cores disappear. top no > longer shows 2 cores, and I was wondering for a while if d4 is > single-core system. It is not, my two cores are back after reboot. > > That's with 6.1.9 kernel from leste. Ideas how to debug this would be > welcome. (Do you use usb host?) You are using a "proper" non-standard usb micro-b cable that grounds the id pin, right? If not, try with one of those as it allows the hardware to do what it's supposed to do. And presumably you don't have a hacked usb hub that feeds back the vbus to your phone, right? If you have, that should not be used as the pmic can feed vbus. Regards, Tony ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: droid4 -- weird behaviour when attempting to use usb host 2023-09-26 7:14 ` Tony Lindgren @ 2023-09-27 15:52 ` Pavel Machek 2023-09-27 16:50 ` Unknown 0 siblings, 1 reply; 4+ messages in thread From: Pavel Machek @ 2023-09-27 15:52 UTC (permalink / raw) To: Tony Lindgren Cc: kernel list, linux-arm-kernel, linux-omap, sre, nekit1000, mpartap, merlijn, martin_rysavy, phone-devel, maemo-leste [-- Attachment #1: Type: text/plain, Size: 1422 bytes --] Hi! > > I'm having some fun with usb host. Good news is it works with > > externally powered hub... after a while. I get some error messages > > about inability to go host mode, but with enough patience it > > eventually does enter host mode and I see my keyboard/mouse. > > > > And usually in that process, one of my cpu cores disappear. top no > > longer shows 2 cores, and I was wondering for a while if d4 is > > single-core system. It is not, my two cores are back after reboot. > > > > That's with 6.1.9 kernel from leste. Ideas how to debug this would be > > welcome. (Do you use usb host?) > > You are using a "proper" non-standard usb micro-b cable that grounds > the id pin, right? Yes. > If not, try with one of those as it allows the hardware to do what it's > supposed to do. > > And presumably you don't have a hacked usb hub that feeds back the > vbus to your phone, right? Do have hacked hub. Or more precisely, have device that needs external power (spinning rust), and hub passes it back to the device. I'll retry with a keyboard... but I recall it behaved funny with that, too. > If you have, that should not be used as the pmic can feed vbus. Well, my plan was to use it as a desktop, and external power is useful that as Droid battery is not that big. Best regards, Pavel -- People of Russia, stop Putin before his war on Ukraine escalates. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 195 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: droid4 -- weird behaviour when attempting to use usb host 2023-09-27 15:52 ` Pavel Machek @ 2023-09-27 16:50 ` Unknown 0 siblings, 0 replies; 4+ messages in thread From: Unknown @ 2023-09-27 16:50 UTC (permalink / raw) To: Pavel Machek, Tony Lindgren Cc: kernel list, linux-arm-kernel, linux-omap, sre, nekit1000, mpartap, merlijn, martin_rysavy, phone-devel, maemo-leste On Wed, 2023-09-27 at 17:52 +0200, Pavel Machek wrote: > Hi! > > > > I'm having some fun with usb host. Good news is it works with > > > externally powered hub... after a while. I get some error > > > messages > > > about inability to go host mode, but with enough patience it > > > eventually does enter host mode and I see my keyboard/mouse. > > > > > > And usually in that process, one of my cpu cores disappear. top > > > no > > > longer shows 2 cores, and I was wondering for a while if d4 is > > > single-core system. It is not, my two cores are back after > > > reboot. > > > > > > That's with 6.1.9 kernel from leste. Ideas how to debug this > > > would be > > > welcome. (Do you use usb host?) > > > > You are using a "proper" non-standard usb micro-b cable that > > grounds > > the id pin, right? > > Yes. > > > If not, try with one of those as it allows the hardware to do what > > it's > > supposed to do. > > > > And presumably you don't have a hacked usb hub that feeds back the > > vbus to your phone, right? > > Do have hacked hub. Or more precisely, have device that needs > external > power (spinning rust), and hub passes it back to the device. > > I'll retry with a keyboard... but I recall it behaved funny with > that, too. > > > If you have, that should not be used as the pmic can feed vbus. > > Well, my plan was to use it as a desktop, and external power is > useful > that as Droid battery is not that big. > > Best regards, > Pavel I use usb host quite a bit with xt875, mostly to have a keyboard. I have noted that several hubs i have don't work reliably, im not sure why. Its possible that they use or request too mutch power from the port as cpcap has a pretty small vbus out limit. All my regular otg adapters work fine however. I also have a powered hub that works quite well, its item 373697032160 on ebay ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-09-27 17:06 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-09-25 14:36 droid4 -- weird behaviour when attempting to use usb host Pavel Machek 2023-09-26 7:14 ` Tony Lindgren 2023-09-27 15:52 ` Pavel Machek 2023-09-27 16:50 ` Unknown
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).