maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   N900 will not allow USB OTG! (https://talk.maemo.org/showthread.php?t=31921)

saadgadit 2010-05-20 12:37

Re: N900 will not allow USB OTG!
 
where to copy this config file :D? some howto plz?

MohammadAG 2010-05-20 12:43

Re: N900 will not allow USB OTG!
 
Too early to give out instructions, it's still not fully working (needs a PC connection, needs a voltage boost etc...).

javispedro 2010-05-20 12:45

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by MohammadAG (Post 667236)
No Y cable here :)

Then you're experiencing the same that happened to me. twl3040 settings survive a reboot, be careful (as I had unmodified kernel but couldn't reproduce after removing the battery).

saadgadit 2010-05-20 12:46

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by MohammadAG (Post 667594)
Too early to give out instructions, it's still not fully working (needs a PC connection, needs a voltage boost etc...).

thnx muhammad :).. u ppl take your time :).. u ppl are doin a marvelous job :).. keep it up :)

joerg_rw 2010-05-20 13:30

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by javispedro (Post 667602)
Then you're experiencing the same that happened to me. twl3040 settings survive a reboot, be careful (as I had unmodified kernel but couldn't reproduce after removing the battery).

The point is: there shouldn't be ANY twl4030 settings, to make hostmode work.
Basically everything accessing twl4030 GAIA is a bug wrt hostmode, no matter if it's the real hostmode or the "fake hostmode" we're talking about here in the past some weeks

blue_led 2010-05-20 15:03

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by hcm (Post 667184)
no, there was nothing attached to the USB port. This is also confirmed by the value 0x00 read from the status register (no charge in progress, no charge done).

for what reason bme read an idle/unused asic ( bq24xxx ) ?
as i understand from specs in charge or boost mode for sustaining those functions, some activity on i2c bus is needed.
if NO CHARGE mode why i2c read / writes activity ?. this useless activity drain the precious battery.
i will look closer on specs for a decent reason.

if vbus sensing for mode selection pop-up is needed instead of pulling status of BQ24k vbus sensing from 4030 via interrupt is preferred.

popup usb mode selection is not in bme or mce . what code is doing this selection ?

MohammadAG 2010-05-20 16:13

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by blue_led (Post 667838)
popup usb mode selection is not in bme or mce . what code is doing this selection ?

Was just looking for what this is before you posted.
cat'ing the language files shows that Mass storage mode and PC Suite are in hildon-status-bar-usb, which as far as I know is closed source.

e: as for the actual buttons, they're scripts, in /usr/sbin as I mentioned above.
pcsuite-enable.sh for PC suite mode
osso-usb-mass-storage-enable.sh for Mass storage mode.
Same for disabling them (unplugging), just replace enable with disable.

If you're thinking about executing pcsuite-enable.sh to trick it into host mode it won't work, you have to connect it to a real host till the driver is fixed.

blue_led 2010-05-20 16:54

Re: N900 will not allow USB OTG!
 
i wish a new one with:

pc suite mode ( never used )
mass storage
host ( docking station )
printer for photos ( pict bridge )
.....

MohammadAG 2010-05-20 16:56

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by blue_led (Post 668011)
i wish a new one with:

pc suite mode ( never used )
mass storage
host ( docking station )
printer for photos ( usb-ptp )
.....

Edit the PC suite one and change the string to host mode or something.
Just add the echo H > command to the end of the pcsuite-enable.sh script (NOT tested, but in theory it SHOULD work)

It's quite useless however, since the 'plug into PC' part is still present, which kind of defeats the purpose, again, till the driver is fixed.

qole 2010-05-20 16:57

Re: N900 will not allow USB OTG!
 
Quote:

Originally Posted by MohammadAG (Post 667331)
E: Also tried a Wireless-N Wi-Fi USB adapter, it didn't power up but I have two guesses:
1. It's using too much power
2. It causes a kernel panic on my PC, so it might be borked

My experience with USB WiFi sticks and the N800 is that they need an external power supply to run.


All times are GMT. The time now is 04:27.

vBulletin® Version 3.8.8