[Q] tty serial console - Xoom Q&A, Help & Troubleshooting

Hi all,
I have searched high and low for an answer to this but cannot find a definitive answer so thought I would post it here.
does the xoom have or can we get access to the tegra serial debugging port or a serial console?
do we have any technical schematics for the xoom mainboard?
does the xoom have nvflash mode? if so is it open or is an SBK required?
I am really interested in getting serial console output of u-boot and early kernel boot stage. I have already tried to enable debug_ll and earlyprintk etc etc then output using a usb to serial cable but this only becomes available when usb device drivers are loaded which is reasonably late in the kernel init process.
currently the kernel config suggests the fiq debugger is run on uart-b I wonder if this uart-b is accessible on the mainboard or through the micro-usb/headphone port by creating a cable or setting a gpio as on the nexus one or attrix respectively.
thanks for any and all responses.

WoOsH said:
Hi all,
I have searched high and low for an answer to this but cannot find a definitive answer so thought I would post it here.
does the xoom have or can we get access to the tegra serial debugging port or a serial console?
do we have any technical schematics for the xoom mainboard?
does the xoom have nvflash mode? if so is it open or is an SBK required?
I am really interested in getting serial console output of u-boot and early kernel boot stage. I have already tried to enable debug_ll and earlyprintk etc etc then output using a usb to serial cable but this only becomes available when usb device drivers are loaded which is reasonably late in the kernel init process.
currently the kernel config suggests the fiq debugger is run on uart-b I wonder if this uart-b is accessible on the mainboard or through the micro-usb/headphone port by creating a cable or setting a gpio as on the nexus one or attrix respectively.
thanks for any and all responses.
Click to expand...
Click to collapse
Have you already checked bigrushdog's thread in Development: Tegra Hardware and Feature Implementation http://forum.xda-developers.com/showthread.php?t=1513490
bigrushdog is the person to talk to imo.

thanks will post in that thread now.

I'm gonna refer this to my good friend kcrudup who is a hardware guru

bigrushdog said:
I'm gonna refer this to my good friend kcrudup who is a hardware guru
Click to expand...
Click to collapse
Thanks very much.

Unfortunately, as I have neither Xoom schematics, nor even the Tegra 2 TRM (NVidia never got back to me on my application, either ) I'm utterly unable to help you with this.

Thanks anyway.

Related

[DRIVER PORT] Sprint Hero USB Host Mode Rabbit hole. Want to look for the way out?

I got curious about USB Host mode for our Hero after seeing it on a G1. Found some interesting stuff that pertains primarily to the .27 kernel and 1.5, but with a possible starting place for anyone interested in working on a .29/2.1 driver.
Did some searching and found someone porting a driver to GSM Hero. that had figured out he could easily take a driver from u-boot for a freescale processor because the processor used the same licensed usb controller design as what was used in the MSM72XX in his GSM Hero. And the freescale had widely available documentation where the MSMs definitely do not. So he was able to use the freescale docs to come up an EHCI/MSM7201 USB host support driver. He could hook up a keyboard to his GSM hero and it just worked. Though he had to use a custom hub adaptation to address the lack of power on the USB port supplied by the phone. He later got USB External Storage working for his GSM hero.
WELLL the MSM7600 in our CDMA Heros are pretty much just CDMA versions of MSM720X. Surely they too share the same usb controller design. I compared the USB Device Mode Driver the GSM Hero with the one for our CDMA Hero and they are identical. So surely this confirms our MSM7600 too has the same usb controller design.
Apparently someone else with a CDMA Hero was already barking up this tree because I realized someone managed to compile the GSM guy's patch with HTC's source for the Sprint Hero yet got some errors and no help from the GSM guy.
Meanwhile, GSM guy implements switching between device and host mode via new driver (and its still kind of wonky). Then he spies a another source on codeaurora.com for his GSM hero that implements proper USB OnTheGo switching and tries to port it to his hero. He got it built but one of his reasons for coming off the .27 kernel (usb bus powered from the phone) turned out to be unworkable on his GSM Hero. He also wasn't ready to sort through the changes between .27 and .29 and making sure his patch worked with .29 on his phone. He went back to work on the his .27 driver patch and his latest incarnation is here. He is pretty much done with .27 driver now and awaiting HTC source for their 2.1/.29 kernel.
The codeaurora 2.6.29 msm kernel tree's USB host driver is here
I'm definitely not a developer, just technical enough to follow what was going on. Why did I type all that? So anyone who might know what to do would have all the information to get started. Thanks for reading!
Just for clarification, what exactly is USB Host Mode?
abcdfv said:
Just for clarification, what exactly is USB Host Mode?
Click to expand...
Click to collapse
This would allow you to hook a USB device to your hero.. You could mount sdcards.. Camera's.. Printers.. This would also allow you to mount USB wireless cards.. Packet injection with aircrack-ng on our hero's anyone?
-Keo
think of it as a usb port on your computer. plug it in and it loads what it needs to make it work. it is hosting the software to make your device that it needs
Keo-Keo said:
This would allow you to hook a USB device to your hero.. You could mount sdcards.. Camera's.. Printers.. This would also allow you to mount USB wireless cards.. Packet injection with aircrack-ng on our hero's anyone?
-Keo
Click to expand...
Click to collapse
I am sooo down with aircrack.... keep us posted!
ive looked at this before. i may again once im finished with all the other stuff im looking into but yah good find and nice reminder. also doesnt usb gadget support do the same thing or no? im just asking cuz i never understood the whole usb gadget thing for a mobile device and was wondering if this could possibly be one of the uses for it.
really would love to be able to control an emulator with a gamepad instead of onscreen stuffs. I found a WiiMote app but it won't work if the phone comes with SenseUI.
toastcfh said:
also doesnt usb gadget support do the same thing or no? im just asking cuz i never understood the whole usb gadget thing for a mobile device and was wondering if this could possibly be one of the uses for it.
Click to expand...
Click to collapse
as far as I could tell, usb gadget driver is what makes debugging mode and adb work.

[Q] Can I use a Telstra Ultimate Mobile USB modem for data ?

Hi Folks
I have an Asus Transformer arriving in the next few days and in anticipation I bought a Telstra Ultimate Mobile USB modem.
Now I am hoping like hell I can use in on the tablet when it arrives .... can it be done ?
Thanks for reading and Mods can move this to somewhere else if I posted in the wrong area
Cheers
Android has no support for USB network devices.
That said some rom builders for some devices have got some USB 3g dongles working on devices that have USB host mode ports (The TF doesn't have a USB host port without the keyboard dock)
Overall I'd say there is vanishingly small likelihood it would work out of the box and it's unlikely it will ever work.
Honeycomb 3.1 is supposed to include support for a much wider range of devices and I've seen reports that USB modems may be among these devices.
I'm planning to try my old Huawei E220 modem (if any device is supported it's going to be the E220) as soon as I get the update applied and see how I get on.
SilentMobius said:
Android has no support for USB network devices.
That said some rom builders for some devices have got some USB 3g dongles working on devices that have USB host mode ports (The TF doesn't have a USB host port without the keyboard dock)
Overall I'd say there is vanishingly small likelihood it would work out of the box and it's unlikely it will ever work.
Click to expand...
Click to collapse
I am getting the dock as well so are you saying it may work on the USB off the dock ?
Matchstick said:
Honeycomb 3.1 is supposed to include support for a much wider range of devices and I've seen reports that USB modems may be among these devices.
I'm planning to try my old Huawei E220 modem (if any device is supported it's going to be the E220) as soon as I get the update applied and see how I get on.
Click to expand...
Click to collapse
Please let us know how you get on mate
Sadly I've tried both a Huawei E220 and E160G without any success.
I haven't tried checking logcat etc when I plug in the device but at the moment the transformer doesn't recognise them as modems (or seem to show the micro-sd card reader on the E160G either but that may be down to a dodgy micro-sd card)
I can't say I'm exactly surprised as USB modem support wouldn't exactly help Asus to sell the 3G version of the Transformer (when it's finally released), but maybe the extra device support in 3.1 will make it easier for the dev community to add this functionality.
EEE use with Telstra Ultimate USB modem
Thanks for this thread.
Unfortunately, I have been caught on this too and have been searching for some answers. This site was the closest I found to something that applies.
I have tried it on the docking station host port and it does not even see it.
I tried fooling it by putting a copy of the installation software on a thumb-drive using another port, it saw the folder but would not execute any of the auto run files.
Looks to me like either Telstra or Android need a firmware version put into the hardware before we get any joy. It's too bad because it is a great tablet and the docking station is great.
Cheers

[Q] Tethering with USB add-on

Is it possible to usb tether a droid phone to the usb kit/dongle add-on that recently came out for the Transformer?
Wow!
I actually logged on to this thread with the same basic question in mind. I have a SGS 4G and would like to be able to USB tether it through the dock.
Maybe read the 3G dongle stuff and fiddle around? If you setup your phone as tether does the kernel see the device?
Sent from my Transformer TF101 using Tapatalk
Spidey01 said:
Maybe read the 3G dongle stuff and fiddle around? If you setup your phone as tether does the kernel see the device?
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
I haven't purchased the usb dongle yet so I wanted to see if anyone had any luck. Would be interested to know if anyone has any luck usb tethering through the keyboard dock.
Answered my own question: IT DOES NOT. I borrowed the keyboard dock from a friend and attempted to USB tether with the phone's built-in app plus other apps including pda net. It does not work. They all say you have to have Windows, Linux or Mac OS on your computer.
Having Linux (kernel) on our TF's I would assume that it's a driver issue that could be solved with an Loadable Kernel Module (LKM) or built into a custom kernel. I wouldn't expect whatever that is though, to be an integeral part of the stock kernel, nor necessarily however the docking port mates to USB at it's level.
I wonder how that works in relation to standard USB drivers.
Sent from my Transformer TF101 using Tapatalk
How does that process work? I have very general knowledge relating to Linux, but I wouldn't even know where to start trying to isolate the driver and trying to make it available for android to use. Know of any guides or starting points that would help me do it?
overkillthemighty said:
How does that process work? I have very general knowledge relating to Linux, but I wouldn't even know where to start trying to isolate the driver and trying to make it available for android to use. Know of any guides or starting points that would help me do it?
Click to expand...
Click to collapse
Google and the Linux source would but idk how the whole thing withthe docking port in between impacts it
Sent from my Transformer TF101 using Tapatalk

[Q] Adding a USB Ethernet adapter kernel module

I'm currently working to add support for the DM9620 USB network adapter to the Android 4 kernel, specifically for the Samsung GT-I9100 (Galaxy S2) running CyanogenMod 9.
The driver can be found here: code.google.com/p/dm962x/source/browse/dm9620.c
I have added and compiled the driver into the kernel, along with enabling USB host mode. However, plugging the adapter into the phone does not cause a new device to appear (both `lsusb` and `ip link` show nothing new, and dmesg has no relevant messages).
I'm guessing that I didn't actually enable USB host mode correctly. Or maybe it's something else. But I don't really know enough to debug this on my own. Any insight provided would be very helpful.
Hey, go into the General section of Samsung Galaxy Nexus, there is a thread for "aircrack-ng", the original post show a couple of links + on page 2 there is another post from the same guy explaining on how to compile for Android.
Hope it could help.
Sent from my Galaxy Nexus using xda premium
This turned out to be a pretty stupid hardware issue, unrelated to the kernel or the driver. I was lead to believe that the adapter was a 5 pin USB OTG cable, when it was actually a standard 4 pin. A quick hardware hack later and the device is recognized just fine.
Mind making a tutorial of this? Im interested in testing it out myself. Also, can you tell me how to add support for the Galaxy S III? Id be happy to, myself, but I dont know how right now. Thanks
CJJohnson said:
Mind making a tutorial of this? Im interested in testing it out myself. Also, can you tell me how to add support for the Galaxy S III? Id be happy to, myself, but I dont know how right now. Thanks
Click to expand...
Click to collapse
I second the request for a tutorial of how to do this. Thanks!

Kali for Magisk question

Hey folks,
I was just wondering if any kernel exists for the Pixel 2 that allows packet injection with a compatible WiFi dongle. I had one for my Nexus 6. Just can't find one for this phone. Thanks!
After more research I realize how stupid that post sounded. I now realize I just need to figure out how to rebuild my kernel with the TP-LINK WN722N V1. Drivers baked in.
The lsusb command in Kali shows the adaptor when it's connected to the phone via OTG, so I assume this is all I have to do now.
I found a really great thread that explains how to do it for an older CyanogenMod kernel and a different WiFi chipset.
https://forum.xda-developers.com/showthread.php?t=2338179
On my next day off I'll play around with it.
If anyone has any input or advice I'd really appreciate it.
I may be a noob but I love to learn.
Edit:

Categories

Resources