maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Announce: USB Mode (easy switch to USB host mode) [in Extras-Devel] (https://talk.maemo.org/showthread.php?t=85658)

weebly 2012-09-24 08:39

Re: Announce: USB Mode (easy switch to USB host mode)
 
Can anyone please tell me how to insatall this to my phone step by step. Still I can't install this. When I download DEB package,it says can't install because missing kernel files.

I have kernel version 2.6.28.

What should I do?

biketool 2012-10-09 17:03

Re: Announce: USB Mode (easy switch to USB host mode)
 
I have been using this for a few weeks now.
Firstly it should be on the repos and maybe in CSSU since it is a more natural way to find and control the USB mode.

Like h-e-n it usualy takes 2-3 tries to get my Sandisk 16GB thumb drive or other drive mounted. Maybe reclicking on the USB master mode could make for an easier retry on mounting a drive if the first attempt failed rather than having to jump back to slave before trying master again.

stuart34 2012-10-14 16:19

Re: Announce: USB Mode (easy switch to USB host mode)
 
Should there not be a 4th option "USB host mode (no power)"? I'm plugging my N900 into a powered USB 2.0 hub. I don't want my N900 to provide any power but nor can it charge. What option should I use here? Thanks

stuart34 2012-10-14 22:26

Re: Announce: USB Mode (easy switch to USB host mode)
 
In order to understand it pali's script better I tried to rewrite in python: https://github.com/stuart12/n900_fil...n/usb_host_ctl Let me know what you think

pichlo 2012-10-15 12:01

Re: Announce: USB Mode (easy switch to USB host mode)
 
@weebly,

As you say, "it says can't install because missing kernel files". That and the first page of this thread should be a clear giveaway. The list of missing files (in fact packages) is right there for you to see. I am sorry and I do not want to sound patronizing or discouraging but I fear that if you have difficulties understanding that then installing this application may be a bit too advanced for you.

The best I can suggest you do is read the thread again, from the beginning to the end, every single post. There are only 104 of them at the moment, it has taken me only about an hour and a half to read them all. If, following that, you still find yourself lost in all the jargon, then I would suggest that it may not be for you, sorry.

In a nutshell, the app requires a modified kernel. 2.6.28 is not a precise enough specification. There are letters and numbers after the 28. The one required by this package is 2.6.28-10power51r1. Note the r1 at the end, plain power51 will not do. The link is in the first post, BTW, along with other dependencies, of which probably the most crucial is CSSU, which stands for Comunity Seamless Software Update. There is a big yellow-green CSSU link at the top right corner of your screen right now, right under the Council logo.

In other words, it will not work on a stock device. You need to do a lot of updating before you get to the point when your device is ready for installing this app, some of them quite risky if you do not know what you are doing. Judging by your questions, I would guess that you may not have the sufficient technical knowledge to embark on all that, even though of course I may be wrong. Either way, as Estel said, there are better ways to ask a question and expect an answer.

Estel 2012-10-19 00:34

Re: Announce: USB Mode (easy switch to USB host mode)
 
Quote:

Originally Posted by stuart34 (Post 1280470)
Should there not be a 4th option "USB host mode (no power)"? I'm plugging my N900 into a powered USB 2.0 hub. I don't want my N900 to provide any power but nor can it charge. What option should I use here? Thanks

Either I'm missing something due to late hour, or you have very good point here. In H-E-N, it would require using boostoff *without* executing charge command later.

Hoever, on second though, it seems to me, that USB Mode uses kernel module for charging. This way, when you select hostmode + charging, it should work ok, and just, don't charge (in your case with powered hub, without backfeeding power to uplink USB port).

Or is, it written in a way, that it shout and exits, when no charging power detected? I can't test it, as my all hubs are either passive ones, or somehow over-active (when powered, backfeed power to uplink, too). could you test what happens, and report back?

/Estel

// edit

And what keeps Pali from uploading it into extras-devel, after so much pre-release testing? Pretty please?

misiak 2012-10-19 06:01

Re: Announce: USB Mode (easy switch to USB host mode)
 
Quote:

Originally Posted by Estel (Post 1282367)
And what keeps Pali from uploading it into extras-devel, after so much pre-release testing? Pretty please?

Maybe fact that it depends on CSSU packages? ;) I don't think there are any CSSU-dependant packages not only in Extras, but even Extras-devel, are there?

Estel 2012-10-19 23:25

Re: Announce: USB Mode (easy switch to USB host mode)
 
Good point - although, ke-recv is only used for automounting. I can easily imagine version of this package, that wouldn't depend on it (leaving trivial mount for user, or doing it via own script, in case of detecting vanilla ssu), which leaves kernel-power as only one significant dependency.

Considering, that there isn't much hope for USB-Mode inclusion in CSSU in foreseeable future, it might be worth effort. Unless someone got better ideas, that is.

All after all, link to package in random thread of TMO (and we don't even know, if TMO will exist after 31.12.2012, and if yes, in what form...) seems to be worst of available solution, no?

/Estel

stuart34 2012-10-21 12:26

Re: Announce: USB Mode (easy switch to USB host mode)
 
The automounting will not mount my USB stick that is formatted as iso9660 (it is a Debian install image that I just happened to have lying around) even though maemo will mount the filesystem.

I have another stick that contains a vfat partition, a crypt_LUKS partition and an ext4 partition. The automounting code mounts the vfat partition and gives errors for the others.

Perhaps the error message "Unable to connect, no file system available" could be modified to "Unable to mount %s, filesystem type %s" to make things clearer. thanks

dann9 2012-10-26 08:42

Re: Announce: USB Mode (easy switch to USB host mode)
 
i can't install usbmode/usbmode_1.0-2_armel.deb on my n9.

i can't find SSU repository for hartman.

Who can help me?


All times are GMT. The time now is 12:14.

vBulletin® Version 3.8.8