[help,plz]problem with usb driver - HD2 Ubuntu Q&A, Help & Troubleshooting and General

I have problem with my usb driver on ubuntu in HD2.
I try Y-cable with 3 male and convect 1 male to 1 female.
I try power usb hub same as tiveco TM-UH710 which I search in hxxp://htc-linux.org/wiki/index.php?title=Msm_Usb_Host.all[/url] of this that I try does not work for me.I can't not use my keyboard,mouse or external HDD.
Finally,I see that thing on black boot sceen.
something like "/lib/2.6.32_2.6.32.9-38182/modules.deb no such file or directory".
when I came to look for modules.deb,it had on 2.6.32_2.6.32.9-38182 directory.
could you help me to fix this probelm,plz?
I really want to use keyboard,mouse
ps.sry for my bad english.

Which version of ubuntu do you use? The 0.3 version of ubuntu? Or the Nandroid bootable version?

I use version 0.2 and 0.3 and nandroid too.
Now,I can use power usb hub but I found new problem.
I need to use power charger and AC together because if I use only AC,I can use mouse or keyboard only one.
My problem is my usb hub does not have enough power to use mouse and keyboard together.
ps.sry for my bad english.

That's some set-up, do I need to use a 3-way micro-USB connector to run a keyboard and mouse on Ubuntu?

peachwork said:
I have problem with my usb driver on ubuntu in HD2.
I try Y-cable with 3 male and convect 1 male to 1 female.
I try power usb hub same as tiveco TM-UH710 which I search in hxxp://htc-linux.org/wiki/index.php?title=Msm_Usb_Host.all[/url] of this that I try does not work for me.I can't not use my keyboard,mouse or external HDD.
Finally,I see that thing on black boot sceen.
something like "/lib/2.6.32_2.6.32.9-38182/modules.deb no such file or directory".
when I came to look for modules.deb,it had on 2.6.32_2.6.32.9-38182 directory.
could you help me to fix this probelm,plz?
I really want to use keyboard,mouse
ps.sry for my bad english.
Click to expand...
Click to collapse
Postcount limit in developmental fora, why?

Problem with usb host
I have also this problem. I have tested my USB(made at home by me also with external power supply)cable in WM6.5 with USBHSwitch V1.03 and is working with USB HDD, Keyboard, USB Silicon Power Flash 8GB, USB HUB but when i load ubuntu 0.2 and 0.3 isn't working Why? I don't understand this "leo/hd2 htc-msm-2.6.32 kernel is patched for usb host mode support. Use htcleo-usbhost_defconfig to configure with correct configurations. " Where do i must insert this command "htcleo-usbhost_defconfig " I want to use external mouse and keyboard in ubuntu. Please explain me how to enable usb host in ubuntu. Thanks !

To use usb host on ubuntu 0.2 or 0.3 go to linux/ubuntu directory on your storage card and edit file startup.txt in this way:
# Ubuntu Linux for HTC HD2 v0.3
set mtype 2524
set ramaddr 0x11800000
set ramsize 0x1E400000
set initrd_offset 0x00a00000
set initrd initrd.cpio.gz
# USB MODES
# Chose one of the following kernels by uncommenting
# (removing the # from the front of the line) the according
# line.
# USBETH allows for conventional usb ethernet connectivity
# ADB will provide android debug bridge conectivity
# USBHOST will allow connection of peripheral usb devices
# when supplying +5V externally.
#set kernel zImage_htcleo_adb_2.6.32.9-38182-g6ad7e77
set kernel zImage_htcleo_usbhost_2.6.32.9-38182-g6ad7e77
# set kernel zImage_htcleo_usbeth_2.6.32.9-38182-g6ad7e77
set cmdline "init=/init rw consoleblank=0 fbcon=rotate:1"
bootlinux
The trick is simple, just make sure that "#" is unchecked on the line "set kernel zImage_htcleo_usbhost_2.6.32.9-38182-g6ad7e77"
Connect your usb devices first before you start haret.exe cause it might not work.

To use Ubuntu 0.3 with nandroid (Magdlr) follow the guide in this post:
http://forum.xda-developers.com/showpost.php?p=14335100&postcount=472
Make sure to use this zImage: zImage_htcleo_usbhost_2.6.32.9-38182-g6ad7e77
This way the mouse and keyboard will work, however the touchscreen and wifi won't

Related

MotoUSB reverse tether w/ linux success

I have successfully used reverse USB tethering on a flipout. This method should be portable to other devices running the motorola android multi-device driver with usb0.
If you are comparing to any windows drivers, say that installed from the driver installer MSI when connecting a flipout and maybe other devices in 'portal' mode, the (windows) driver will be motousbnet. On linux, the driver is cdc_subset. However, this driver does not know how to bind to the motorola
1. Figure out the usb vendor id, product id, and interface class, interface subclass, and interface protocol of the networking interface. On the flipout, this is named the 'motorola networking interface'. On my device, it has these ids: 0x22b8, 0x41da, 0x02, 0x0a, 0x01. You can find these ids via exploring /sys/bus/usb on a linux system, or with the lsusb utility.
2. patch your cdc_subset driver to support the USB id and interface of the above device. You will need to inspect via lsusb or sysfs to setup a 'product' and 'driver info' structure in cdc_subset.c to select the correct interface and endpoints. The pertinent parts of my cdc_subset.c are as follows:
Code:
add to products
{
// Moto flipout usb
USB_DEVICE_AND_INTERFACE_INFO (0x22b8, 0x41da, 0x02, 0x0a, 0x01),
.driver_info = (unsigned long) &motousb_info,
},
add near other driver_infos:
static const struct driver_info motousb_info = {
.description = "Motorola USB endpoint",
.check_connect = always_connected,
.in=0x84, .out=0x03,
};
3. Doing such a mod and compiling yourself a new cdc_subset.ko, and installing that, will yield a usb driver that can talk to usb0 on your flipout. At this point, you just have to configure networking. I setup proxyarp on my LAN and usb0 interfaces, and set up some manual addresses and routes. Other options could be to add usb0 to a bridge, or do routing and DHCP, or routing + nat + DHCP. You'll probably need to netcfg rmnet0 down and setprop net.dns1 and net.rmnet0.dns1 your ips manually. Make sure you save your old dns. I'm not sure if that gets restored from carrier when you turn rmnet back on.
4. after all that, you should be online.
5. EDIT: all compiling and module installation steps noted above happen on the host PC, if that wasn't clear.
Work to follow:
use SL4A to automate usb0 bringup
interface with APNDroid to soft-down the 3g instead of nuking it the hard way. killing the radio process will get you back online, but thats effectively the same as resetting the baseband, so you'll need to re-unlock your SIM etc.
Thanks man! This is awesome. It worked on my Motorola Defy (same parameters) under Ubunutu.
Hi,
I thing this is what i am looking for, enable a motorola device (defy) to be a usb0 device with ubuntu so you can have an IP, and ssh easly with your droid (using vlc remote with usb cable). I realy appreciate this native feature with my old htc.
where is the cdc_subset.c ?
tkx
balek said:
Hi,
I thing this is what i am looking for, enable a motorola device (defy) to be a usb0 device with ubuntu so you can have an IP, and ssh easly with your droid (using vlc remote with usb cable). I realy appreciate this native feature with my old htc.
where is the cdc_subset.c ?
tkx
Click to expand...
Click to collapse
It's in the kernel source. -- You'll have to download the linux or kernel source package that matches the kernel you run on your ubuntu machine, modify your cdc_subset driver, rebuild it, and install it.
Learning things like the kernel build system and how to install a kernel module are exercises for the reader.
Good job! I'll try it once i get my Ubuntu installation up and running again ^_^
Defy and Debian USB network works partially...
Hello. The idea was good...
My config is:
- on one side: a Defy (CM7 1.0-RC1 Nightly build 2037, Gingerbread 2.3.4)
- on the other side: a Linux Debian (Squeeze , kernel 3.0.0-1-686-pae)
I patched the cdc_subset driver as proposed. I saw a little difference on the endpoints: lsusb -v reports 0x83 for 'in' endpoint and 0x2 (bulk) or 0x3 (interrupt) for 'out' endpoint. I tried all combinations and only 0x83/0x2 give a working ping between hosts. => Are the initial endpoints working (0x84/0x3) ?
See attached file for the complete listing, search 'SDX' to see where I patched.
When I plug the USB cable, the usb0 interface is brought up on linux automatically and that's perfect.
With a simple network configuration, ping works on both hosts.
.
So everything seems right.
I then tried to transfer a huge 100MB file to see the performance:
- scp from linux to defy => OK, ~5MB/s
- scp from defy to linux => FAILURE after a few MB transfered
In the second test, the connection is completely frozen and I see errors on both interfaces (ifconfig usb0, error packets). I repeated the test multiple times with alternate network configs, without wifi etc., and I could never transfer the file completely.
Can someone confirm me:
- that the transfer is working for him in both ways with huge files
- what is reported by "lsusb -v -d 22b8:41da" to see if my endpoints for a Defy are correct
I'm not sure, but maybe cdc_subset is not the right driver to patch ?
Or simply it's a bug in scp or sshd on Defy ! I should try with something else like ftp or http...
I keep working on this topic...Thx for any clue !
sdxmob said:
Hello. The idea was good...
My config is:
- on one side: a Defy (CM7 1.0-RC1 Nightly build 2037, Gingerbread 2.3.4)
- on the other side: a Linux Debian (Squeeze , kernel 3.0.0-1-686-pae)
I patched the cdc_subset driver as proposed. I saw a little difference on the endpoints: lsusb -v reports 0x83 for 'in' endpoint and 0x2 (bulk) or 0x3 (interrupt) for 'out' endpoint. I tried all combinations and only 0x83/0x2 give a working ping between hosts. => Are the initial endpoints working (0x84/0x3) ?
See attached file for the complete listing, search 'SDX' to see where I patched.
When I plug the USB cable, the usb0 interface is brought up on linux automatically and that's perfect.
With a simple network configuration, ping works on both hosts.
.
So everything seems right.
I then tried to transfer a huge 100MB file to see the performance:
- scp from linux to defy => OK, ~5MB/s
- scp from defy to linux => FAILURE after a few MB transfered
In the second test, the connection is completely frozen and I see errors on both interfaces (ifconfig usb0, error packets). I repeated the test multiple times with alternate network configs, without wifi etc., and I could never transfer the file completely.
Can someone confirm me:
- that the transfer is working for him in both ways with huge files
- what is reported by "lsusb -v -d 22b8:41da" to see if my endpoints for a Defy are correct
I'm not sure, but maybe cdc_subset is not the right driver to patch ?
Or simply it's a bug in scp or sshd on Defy ! I should try with something else like ftp or http...
I keep working on this topic...Thx for any clue !
Click to expand...
Click to collapse
Any news with defy ?

[Q] USB Drivers from 3.1 to 2.2

Hello, I was wandering if it would be possible to port the USB drivers from Android 3.1 to use on Android 2.2 for use on the A7. I love this tablet, but hate the lack of USB device support. If it is at all possible how hard would it be to do so? Thanks for any help at all. Sorry if this has been asked before.
why don't you try loading dexter A7comb 3.0.1 rom, you can run it as HC or GB..
Does it have USB mouse support? And doesn't it have a fair share of bugs?
i think i included the USB_OTG app in HC3.0 release, which can enable your usb port, if you get a MALE-A to MALE-A cable (OTG cable i think its called)
then you get full usb connection support, and mapping to windows works too.
Its disabled for use in regular mod i think.
technically, the trick is in a terminal program,
to do this one line,
DEVICE MODE
echo 0 >/proc/test_program/usb
HOST MODE
echo 1 >/proc/test_program/usb

[Q] how to access flash drive?

i don't know if this has been answered already.
How or What application to use in accessing the USB flash drive in NST. I have already update the kernel that support USB host mode and multitouch.
I don't really use this enough to have looked into it more, but to mount a USB drive from a shell:
Code:
mount -o rw,remount rootfs /
mkdir /usb
mount -t vfat /dev/block/uba1 /usb
Yes, it works!! ...Thanks Renate....
Though It has to be mounted manually every time we use it, at least there always a way...
couldn't you install terminal on the nook and run the same command? I don't remember how but isn't there a way to make an icon/shortcut run a command i terminal?? I think it involved a 3rd part app.
persichini said:
couldn't you install terminal on the nook and run the same command? I don't remember how but isn't there a way to make an icon/shortcut run a command i terminal?? I think it involved a 3rd part app.
Click to expand...
Click to collapse
Yes you can.
Much easier to use ADB tho - you can cut&paste
I have since bought an OTG cable. I can switch to host mode with the state at a_host. I can't mount my USB drive, and neither does the light go on.
I can get my USB mouse to work.
tehriddler said:
I have since bought an OTG cable. I can switch to host mode with the state at a_host. I can't mount my USB drive, and neither does the light go on.
I can get my USB mouse to work.
Click to expand...
Click to collapse
To mount your USB drive, you should know how to use ADB wireless and get and ADB command shell, and follow those shell commands mentions by Renate on her post above.
@tehriddler:
I forget if you need a special uImage for USB mass storage, I think you do.
Some thumb drives take a bit of current, maybe too much for a Nook.
Try to get it working with a hub first, the light must be on.
Us the UsbMode app, it will show you if the drive is being detected and if the driver is loaded.
Look at the "View USB". If there is a black dot there, then the driver is loaded.
I'm typing the commands into TerminalEmulator. /dev/block/uba1 doesn't exist because I can't mount the drive.
(I don't have ADB wireless/Android SDK at the moment as my computer is away for fixing.)
ETA: How did sugaray get theirs to work? I tried with two different flash drives. Errr for a powered USB hub I'm not stripping the OTG cable and rewiring it like the method you described, and the only powered USB hubs sold in stores are powered by AC.
Is this the app https://play.google.com/store/apps/details?id=in.zatta.USB_switch&hl=en or another specifically for the Nook? Will try again with the app.
No, I meant this UsbMode app: http://forum.xda-developers.com/showthread.php?p=25613941#post25613941
I see - I had the old version of the app that didn't have the View USB button.
Yep the drive has been detected.
MUSB HDRC host driver.
However I the light of my USB drive doesn't go on and I can't find the mount path. There's no /dev/block/uba1
My original response:
The USB system on the Nook is not so hot on "un-detecting" devices.
It could be that the system initially identifies the flash drive, then it drops out.
By a "powered" hub, I just meant a regular hub that would be supplying the current to the flash from a wall wart.
I didn't meant a modified "back powering" hub that would charge the Nook.
In any case, with either powered hub or "back-powered hub" no cables need to be modified.
Click to expand...
Click to collapse
Oops! I reread your response:
tehriddler said:
Yep the drive has been detected.
MUSB HDRC host driver.
Click to expand...
Click to collapse
No, that's not being detected at all.
That is the host adapter and will show without anything plugged in.
You should have a treeview with another box under there saying "Mass Storage Device".
There should be a black dot to the right of it to show that the driver is loaded.
I have the treeview with my flash drive's name but no black dot (your screenshot link is broken)
MUSB HDRC host driver
- DT 101 II (my flash drive)
There's a file called 074 in /dev/bus/usb/001 which has been created when the drive was detected.
Oh, then you need mali100's uImage with the USB mass storage support.
(Oops, I guess that XDA thinks a 2nd link is hotlinking. Here's the capture, note the black dots.)
Nope there's no black dot next to my flash drive's name.
I'm using mali100's uImage with Multi-touch and USB host.
Additional USB related drivers (usb-storage, usb-serial ...)
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1570637&highlight=uimage
Even with nothing plugged in a "ps" in ADB shell should show (something like) this:
Code:
root 607 2 0 0 c02d00fc 00000000 S usb_mass_storag
Code:
root 595 2 0 0 c02cde14 00000000 S usb_mass_storag
Ok, are you running the flash drive with power from a hub?
Have you tried another flash drive?
I'm using an OTG cable because I don't have a powered hub. I didn't buy a powered hub because they're not portable - they only use AC adapters, no battery-powered ones.
Last night I was reading using my LED light. I changed back to peripheral mode after using OTG mode for powering the reading light. There was 40% battery left (in the pop up shown after switching back to peripheral mode). The next morning, the battery drained and my Nook turned off because the battery was low. Am I supposed to quit the app after I'm done?
I tried a flash drive that I bought last month. This one doesn't work at all. The name doesn't even show up in View USB.
ETA: Same result as the first drive. Its name shows up in View USB but no black dot.
Try with a powered hub.
This is diagnostics, not your preference for portability.

[HOWTO] Enable Wired Ethernet on P5110

Dear Forum,
Wired Ethernet on a tablett HOWTO.
Tested on a P5110
Get ready to build CyanogenMod for Your Device
http : / wiki.cyanogenmod.org/w/Build_for_p5110
but before you build:
cd android/system/kernel/samsung/espresso10
make menuconfig
[Navigate using arrow keys and enter]
Load an Alternate Configuration File:
./arch/arm/configs/cyanogenmod_p5110_defconfig
then
Device Drivers ->
Network device support ->
USB Network Adapters ->
Multi-Purpose USB Networking Framework ->
[PRESS y so that the module will be built into the kernel]
[*] Multi-purpose USB Networking Framework
find the Chipset Your Adapter is using
[PRESS y]
[*] ASIX AX88xxx Based USB 2.0 Ethernet Adapters
or whatever Chipset your Adapter is using
exit and save
build the ROM
Flash it
open terminal
su
netcfg
Your eth0 should now show up to get an IP Address
netcfg eth0 dhcp
The grapevine says not all apps are supported as Android has a sketchy implementation apps written in c or c++ should work
martburg said:
Dear Forum,
Wired Ethernet on a tablett HOWTO.
Tested on a P5110
.....
The grapevine says not all apps are supported as Android has a sketchy implementation apps written in c or c++ should work
Click to expand...
Click to collapse
What would ./arch/arm/configs/cyanogenmod_p5110_defconfig be on a p3110?
Easier will be to flash Agni kernel and install this app from store. Is using a little hack so every app works with the wired connection https://play.google.com/store/apps/details?id=xda.usbhost.test
I"ve been scratching my head for a while on this one. Here's what I did to get ethernet access with the help from above. Thanks iamashwin and blueseeker.
1) From TWRP v2.8.4.0 in boot recovery, flash the following:
- Recent version of OmniRom 4.4.4 nightly. I used the 2/12/15 nightly.
- Flash PA Gapps Micro for 4.4.4
- Flash SuperUser
- Flash AGNi kernel for 4.4.4
- Reboot
2) Load this android app.
2) Make sure wifi is turned off.
3) Plug in your USB-OTG adapter with USB-Ethernet adapter. I bought this USB-OTG adapter and this USB-Ethernet adapter.
4) Run ethernet app that you downloaded from 2) above. Hit "Enable".
You should be good to go from here.....
Samsung Galaxy Tab 3 10.1" P5200.
Hello I want to get a similar configuration setup on my Samsung Galaxy Tab 3. Is there any way that modifications can be made to what's been used here to support it.

[Guide][1.2.1] Mounting USB Devices

Hello, nookies!
Today I have decided to make an easy-to-follow guide on mounting USB devices (cameras, USB sticks) on your Nooks! Hooray! :good:
DISCLAIMER - I am not responsible if you brick your Nook, break your USB device, the current state of the economy, or why Obama is the president. Please do research on these topics if you would like to know more.
DISCLAIMER 2 - I did not make either of the apps attached, I have merely posted them here for easy access.
So let's get started with some prerequisites!
Prerequisites:
A rooted Nook Touch or Nook Touch Glow with software 1.2.1 installed, as well as Superuser and su binary installed
A terminal app (attached below)
Renate NST's UsbMode.apk (attached below)
A USB host-enabled kernel correctly installed and working (see my signature for a Nook Touch Glow one)
A USB OTG cable
Steps:
Make sure that your Nook is completely charged before continuing!
Make sure that your kernel is definitely working and that USB mode is properly working, too!
1. Open up Renate NST's UsbMode.apk app. Tap the "Off" button. (This will stop your Nook from trying to charge itself from the USB device by turning off the current.)
2. Plug your USB OTG cable (without anything attached to it) into your Nook's USB port.
3. Tap "Host" in the UsbMode app. (This turns on Host mode.)
If the LED beside your Nook's USB port has turned solid green at this point, you are doing well!
4a. For USB devices that have a separate cord (cameras): Turn on the USB device. Plug its cord into its USB port. Now, connect both the device's cord and the device into the open end of the OTG cable that is attached to your Nook.
4b. For USB sticks/drives: Plug the drive directly into the open end of the OTG cable that is attached to your Nook.
5. Tap "View USB" in the UsbMode app. You should see the Nook's main listing at the top, as well as the plugged-in device's listing under it. The device's listing should have a black dot next to it.
Good job! You're doing well so far! :laugh:
6. Now, open up the Terminal Emulator app I attached below. You should have installed it already. When it opens, you should see a dollar sign ($) at the far left of each line.
7. Type in
Code:
su
. Now, instead of a $, there should be a # at the far left of each line.
8. Type in
Code:
mount -o rw,remount rootfs /
. This remounts /system as read-writable.
9. Type in
Code:
mkdir /usb
. This creates a directory called /usb in the root of your Nook's filesystem; it will be used to mount your USB device in.
10a. For USB devices (cameras, etc.), first type in
Code:
mount -t vfat /dev/block/uba /usb
. You will get some sort of error message, that's okay. Now, after typing that, type in
Code:
mount -t fvat /dev/block/uba1 /usb
.
10b. For USB sticks/drives. just type in
Code:
mount -t vfat /dev/block/uba1 /usb
.
11. If the above commands worked properly, you should now be able to go into a file explorer, navigate to the /usb directory, and boom! You can now manage your USB device's filesystem straight from your Nook!
Unmounting your USB drive
It is important that you unmount your USB device/drive properly before physically taking it out of your Nook. Here's how to do that.
1. Open up your Terminal Emulator app again.
2. Type
Code:
su
.
3. Type
Code:
mount -o rw,remount rootfs /
.
4. Type
Code:
umount /usb
.
5. Type
Code:
rmdir /usb
.
6. Take the whole cord/USB drive out of your Nook with the OTG cable.
7. Open up the UsbMode app again.
8. Tap "Auto". (This turns your Nook's current back to being automatically determined, instead of being off.)
9. Tap "Peripheral". (This makes your Nook return to having the ability to charge from an AC outlet (or whatever).)
10. You have successfully unmounted your device!
Hope this helps all of you guys who want to manage your USB devices on your Nooks! :good:
Reserved
Reserved for future use/expansion.
I hate to do this, but...
Bump.
I'm sure that someone can profit from this tutorial, right?
There was a whole thread on using my modified volume daemon to do this all automatically.
I've pretty much abandoned that train of thought.
I'm not really sure that anyone really wants to mount USB drives.
It's really a pretty current-intensive way to get data.
It's better to just use a 32 GB SD card in the Nook, formatted with something better than vfat.
Renate NST said:
There was a whole thread on using my modified volume daemon to do this all automatically.
I've pretty much abandoned that train of thought.
I'm not really sure that anyone really wants to mount USB drives.
It's really a pretty current-intensive way to get data.
It's better to just use a 32 GB SD card in the Nook, formatted with something better than vfat.
Click to expand...
Click to collapse
thanks for the efforts @Renate NST in creating the USB mode app, I really envy you guys for the knowledge and understanding you have of the tech involved.
I agree with you on the practicality of the application.
At the same time and more we can never let go off the THRILL in trying the invaluable efforts you manage to put in.
Kudos.
Coming back to the thrill of it all ...
 @NoogiE ... thanks for the link to this thread ...
i am on 1.3.4 version of your 1337 ROM, assuming the USB kernel is in place, i opened @Renate NST's USBMode app and pressed Off, then i connected the OTG cable and pressed Host ... no action no led action ... if you can help ... thanks.
thanks,
aiamuzz said:
no action no led action ...
Click to expand...
Click to collapse
Hmm. You have this rooted and the UsbMode is not showing any "<errors>"?
You're sure that it's an OTG cable? (I've never seen one over 6" long. If you know of a longer molded cable, please tell me!)
You're sure that your kernel has the OTG fix?
You should get a quick flash (50 mS or so) out of the LED just pushing the host button on UsbMode even with nothing connected at all (no adapter).
With an adapter connected you should get a solid LED.
I've never gotten into writing/patching kernel drivers, but I always thought that someone would fix the buggy USB driver so that UsbMode would not be needed for regular OTG operation.
Renate NST said:
Hmm. You have this rooted and the UsbMode is not showing any "<errors>"?
You're sure that it's an OTG cable? (I've never seen one over 6" long. If you know of a longer molded cable, please tell me!)
You're sure that your kernel has the OTG fix?
You should get a quick flash (50 mS or so) out of the LED just pushing the host button on UsbMode even with nothing connected at all (no adapter).
With an adapter connected you should get a solid LED.
I've never gotten into writing/patching kernel drivers, but I always thought that someone would fix the buggy USB driver so that UsbMode would not be needed for regular OTG operation.
Click to expand...
Click to collapse
Hey thanks for looking into it @Renate NST ...
I am using the small 4-5 inch cable ... had a spare lying around.
I am not getting the quick flash you talk about while a press the Host button.
However when i open the USB Mode app the first line 'Request' shows empty, when i press the Host button it says <write error>
when i engage the buttons (off, 100mA, 500mA, 1.5A & Auto) the Max Current line blinks between <write error> and Auto ...
If that helps !!!
and the kernel part, I am running a copy of Yattaro and Nookie's 1337 ROM(the latest 1.3.4) which claims it supports USB host capability.
Is there any way i can run a command to check if the kernel supports ? Not that i doubt/question this ROM developers efforts/claims.
aiamuzz said:
Hey thanks for looking into it @Renate NST ...
I am using the small 4-5 inch cable ... had a spare lying around.
I am not getting the quick flash you talk about while a press the Host button.
However when i open the USB Mode app the first line 'Request' shows empty, when i press the Host button it says <write error>
when i engage the buttons (off, 100mA, 500mA, 1.5A & Auto) the Max Current line blinks between <write error> and Auto ...
If that helps !!!
and the kernel part, I am running a copy of Yattaro and Nookie's 1337 ROM(the latest 1.3.4) which claims it supports USB host capability.
Is there any way i can run a command to check if the kernel supports ? Not that i doubt/question this ROM developers efforts/claims.
Click to expand...
Click to collapse
You seem to be having a an su binary issue. Check and see if the su binaries are in /system/bin; if they aren't, copy them there from /system/xbin and reboot. Should work like a charm.
ИΘΘK¡€ said:
You seem to be having a an su binary issue. Check and see if the su binaries are in /system/bin; if they aren't, copy them there from /system/xbin and reboot. Should work like a charm.
Click to expand...
Click to collapse
hey Nookie ... copied the su to to /system/bin and the led came up ... but i can't see the connected device under 'View USB', could it be bcos i am using a Micro SD card on in USB adapter ?
PS: and hey i saw swapon and swapoff files(binaries?) in /system/xbin, does it mean your ROM supports SWAP ? With swap and hopefully NookKat the RAM deficit could be manageable ? My first Android Device was LG Optimus Pro, C660 which had 256 MB RAM & 140-160 MB internal storage for apps, The stock ROM used to keep popping the close any programs popups every now and then rather freqeuntly, On a custom CM7 official port ROM with swap support & dark tremors ap2sd scripts, i was able to get rid of the annoying pop up and install 60-70 user apps to SD card and still have a daily ROM. Do you think our device supports a similar setup with swap and darktremors aap2sd scripts ?
thanks
Quick N00b question- I am trying to get a GPS signal into my rooted NST. It has a micro USB. Do I need to do this in order for an app to get my serial signals?
I will paypal someone to help me get GPS signals into my NST using an app called Simple Sailor! Thx
lolokai said:
Quick N00b question- I am trying to get a GPS signal into my rooted NST. It has a micro USB. Do I need to do this in order for an app to get my serial signals?
I will paypal someone to help me get GPS signals into my NST using an app called Simple Sailor! Thx
Click to expand...
Click to collapse
Maybe. I'd have to look into your quest more to know for sure.
ИΘΘK¡€ said:
Maybe. I'd have to look into your quest more to know for sure.
Click to expand...
Click to collapse
Thx Nookie.
Is an app that can see what serial data is being provided via USB? Or, a GPS testing app that grabs data from the USB. Do apps always look for GPS data to come in via USB or is there another place that an app would look for GPS data?
lolokai said:
Thx Nookie.
Is an app that can see what serial data is being provided via USB? Or, a GPS testing app that grabs data from the USB. Do apps always look for GPS data to come in via USB or is there another place that an app would look for GPS data?
Click to expand...
Click to collapse
To tell you the truth, I don't think either of those exist. I could be wrong, though - @Renate NST has done some stuff using an old GPS puck on her Nook, so you can ask her.
ИΘΘK¡€ said:
To tell you the truth, I don't think either of those exist. I could be wrong, though - @Renate NST has done some stuff using an old GPS puck on her Nook, so you can ask her.
Click to expand...
Click to collapse
Hey thanks Nookie. I have found some info from both Top hat Soaring (glider people who needs daytime screen visibility as well as ADV riders - motorcycle navigation with again, daytime visibility) so I'll be pursuing those. Thanks again.
I looked into all this a while ago.
You should be able to go right from serial into the LocationProvider.
Strangely enough, most of the stuff I saw back then was using the mock location to handle the data.
This seemed like a detour to me.
I really should follow this up.
Using USB host mode and serial USB is not optimum due to the wackiness in the USB driver and the current draw.
This is a 1.8V GPS module: https://www.sparkfun.com/products/10890
Besides the advantage of low voltage/low power, the 1.8V serial can interface internally and directly to the Nook.
I think that I'll be ordering one of these.
I do not know anything about programming.
But I can do all the manual. ))
What am i doing wrong?
Excuse me. Forum does not post a link to the picture. I'm new here ... It is necessary to dial 10 messages.
You must manually copy the link in Internet Explorer.
http:
//i5.imageban.ru/out/2015/08/27/
1dcc71f5ed606d4e51a1c7ed10cec568.png
Nik782 said:
I do not know anything about programming.
But I can do all the manual. ))
What am i doing wrong?
Excuse me. Forum does not post a link to the picture. I'm new here ... It is necessary to dial 10 messages.
You must manually copy the link in Internet Explorer.
http:
//i5.imageban.ru/out/2015/08/27/
1dcc71f5ed606d4e51a1c7ed10cec568.png
Click to expand...
Click to collapse
It looks like your Nook is not recognizing any drives being plugged into it.
Can you give me some more details on your progress thus far?
NOOK!E said:
It looks like your Nook is not recognizing any drives being plugged into it.
Can you give me some more details on your progress thus far?
Click to expand...
Click to collapse
Here is my story in detailed illustrations.
https:
//ww
w.dropbox.com/sh/47n1bhgd3usq15q/
AAAh5uIrxWnVWbbgoXY7PQy3a?dl=0

Categories

Resources