Active Topics

 


Reply
Thread Tools
Posts: 101 | Thanked: 8 times | Joined on Mar 2007
#1
N800

Installed "becomeroot" -> ok

command "sudo gainroot" -> ok

command "echo host > /sys/devices/platform/musb_hdrc/mode"

Result "Permission denied" -> whats the problem ?????

-----------------------------------------------------

http://muru.com/linux/n800-usb-host/

CHANGING THE ROLE VIA SYSFS

You can use sysfs to change between host and gadget mode with a non-standard
mini-B to mini-B cable:

$ echo host > /sys/devices/platform/musb_hdrc/mode

To set N800 back to OTG mode, do:

# echo otg > /sys/devices/platform/musb_hdrc/mode

If the system does not detect cable events after switching back to OTG mode,
switch it to peripheral mode first, then to OTG mode:

# echo peripheral > /sys/devices/platform/musb_hdrc/mode
# echo otg > /sys/devices/platform/musb_hdrc/mode

USB VBUS POWER LIMITATIONS

For most USB devices you need to connect the N800 to a powered USB hub. N800
can only provide 100mA of power, so basically any load on the VBUS line will
make the host mode to fail. Since N800 can provide nominal VBUS power, a
N770 modified hub is not needed.
 
Posts: 465 | Thanked: 149 times | Joined on Oct 2007
#2
After sudo gainroot, do you have a # before your cursor?

What does:
ls -l /sys/devices/platform/musb_hdrc/mode

output?

Should look something like this:
-rw-r--r-- 1 root root 0 Dec 7 02:14 /sys/devices/platform/musb_hdrc/mode
 
Posts: 345 | Thanked: 467 times | Joined on Nov 2007 @ Germany
#3
Are you aware that you need to have os2008 installed (or a modified kernel) to be able to successfully issue this command?
 
Posts: 101 | Thanked: 8 times | Joined on Mar 2007
#4
What does:
ls -l /sys/devices/platform/musb_hdrc/mode
-r--rr--r-- 1 root root 4096 Dec 8

Are you aware that you need to have os2008 installed (or a modified kernel) to be able to successfully issue this command?
My error - i have 2007 installed
  • It runs very well and is stable
  • and I thought - UNOFFICIAL USB HOST MODE runs also with 2007
No possibility - its work with the 2007 version ?????

Last edited by frank.wagner; 2007-12-10 at 03:06.
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:30.