maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [Announce] USB hostmode beta release (https://talk.maemo.org/showthread.php?t=65232)

toxaris 2010-11-09 12:16

Re: [Announce] USB hostmode beta release
 
A question.
If I dont have write permissions on a FAT32 flashdrive.
Can I then run (as root):
Code:

chmod +rwx -R /dev/sda1
Or what might be the problem?

freemangordon 2010-11-09 12:19

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by SubCore (Post 867921)

this is a modified 1.3 kernel.
all the patches can be found here (as always).

If kernel binary posted from MohammadAG is based on titan's kernel-power v40 (as the name implies) plus usb hostmode patches, it does not contain kernel patches from PR1.3 as kernel-power is not updated to PR1.3. What I can find in garage is PR1.3 kernel plus USB hostmode patches. And i suspect that if i grab and apply pathces from garage against kernel-power 40 sources from repository the result will be disaster. So request was - MohammadAG to post USB hostmode patches for kernel-power 40, so one can apply them directly to kernel-power source from repository and after that to adjust patchset from 20103103+0m5.diff to be applicable to this new kernel (whatever it is called :) ). The net result will be overclockable kernel(and all other goodies from titan's patches) with USB hostmode support.

And my idea is to have one major community kernel which has all things in it. Don't care if it is called titan's, mohhamad's, matan's or whatever. I have got patch to make at least rest half of bluetooth mice work with n900 since march and till today it is spread here in tmo as compiled kernel module. Just nowhere to put .diff file.

Posting here, as the place and time seems right to me. As lots of people will probably want USB hostmode working on their devices(including me) and as it seems (at least to me) that titan does not have enough time to continue the support of its excellent kernel, what i can foresee is several kernel forks (usb hostmode, overclock,...?) - which does not make sence if one take into account number of devices in wild.

Larswad 2010-11-09 12:20

Re: [Announce] USB hostmode beta release
 
toxaris: Thanks so much for the details!
One thing though, is there anything I should think about if I already have regular titan power (without the OTG beta) installed, like for instance uninstall it before doing your described steps?

edit: freemangordon, I absolutely agree with you there. It would be terrible if there would be a separate fork for each community based feature out there. I think there should be one kernel to rule them all :) ! I would guess however that this is what MohammadAG and all the other great devs in here already has in mind.

SubCore 2010-11-09 12:33

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by freemangordon (Post 868002)
If kernel binary posted from MohammadAG is based on titan's kernel-power v40 (as the name implies) plus usb hostmode patches, it does not contain kernel patches from PR1.3 as kernel-power is not updated to PR1.3.

yes, i'm sorry, i missed the -power part :)
i thought you were asking for the stock kernel with hostmode patches.

you better contact titan directly for that (as MohammadAG suggested). i'm not sure if he has released his kernel power patches as sources.

toxaris 2010-11-09 12:39

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by Larswad (Post 868003)
toxaris: Thanks so much for the details!
One thing though, is there anything I should think about if I already have regular titan power (without the OTG beta) installed, like for instance uninstall it before doing your described steps?

edit: freemangordon, I absolutely agree with you there. It would be terrible if there would be a separate fork for each community based feature out there. I think there should be one kernel to rule them all :) ! I would guess however that this is what MohammadAG and all the other great devs in here already has in mind.

When I installed the packages I already had Kernel-Power installed, so that would not curse any problems.
dpkg just updated the Kernel-Power

freemangordon 2010-11-09 12:49

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by SubCore (Post 868014)
yes, i'm sorry, i missed the -power part :)
i thought you were asking for the stock kernel with hostmode patches.

you better contact titan directly for that (as MohammadAG suggested). i'm not sure if he has released his kernel power patches as sources.

All titan's sources are in repository, what to ask him for?

Time to stop clutter this thread and request to join h-e-n. ;)

toxaris 2010-11-09 12:54

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by toxaris (Post 867997)
A question.
If I dont have write permissions on a FAT32 flashdrive.
Can I then run (as root):
Code:

chmod +rwx -R /dev/sda1
Or what might be the problem?

Hmm, this might be the problem:
http://farm2.static.flickr.com/1344/...ff9e5631_b.jpg

rash.m2k 2010-11-09 13:01

Re: [Announce] USB hostmode beta release
 
Does the N810 usb host mode cable work with this?

I've got the N810 cable at home - just not with me right now.

IzzehO 2010-11-09 13:25

Re: [Announce] USB hostmode beta release
 
Quote:

Originally Posted by rash.m2k (Post 868048)
Does the N810 usb host mode cable work with this?

I've got the N810 cable at home - just not with me right now.

I see absolutely no reason it wouldn't :S

On that note, what sort of power did the N810 supply? I can't be bothered chasing it down :P

Ps. I've found using an external harddrive that the phone will shut off if you stop VBUS (and exit gui as well I believe) before unplugging it (using an external power source from Y usb cable).

pennywise 2010-11-09 13:40

Re: [Announce] USB hostmode beta release
 
I installed h-e-n. was very happy to be able to use a SDcard reader to backup my slr camera pics on the road. N900 is a great imagetank now!
really great work guys.

I am not a real power user, but managed to remove the ' from the script to get longer than 32 secs.

also noticed my onboard cam was no longer working. "operation failed"
Read about fcam being an issue, removed it and rebooted.
Still no camera.

Read about the powerkernel and used dpkg -i on the .deb files from MomhammadAG. these installed fine and did not see problems.(i think)
rebooted, still no camera.

Mhh, called it a day and went to sleep.
Today I noticed some updates, including one for h-e-n. tried installed the new updates in update center but all updates failed. could not install a single more update.

open terminal in root. apt-get gave issues:


/home/user/MyDocs/power # dpkg -i kernel-power-flasher_2.6.28-maemo40_armel.deb
dpkg: parse error, in file `/var/lib/dpkg/available' near line 8577 package `kernel-power-flasher':
EOF during value of field `Maemo-Icon-26' (missing final newline)




currently am stuck and no idea what to do.
USB host works fine, but how can I get my camera back and also use the available updates back for my other programs.

any help would be appreciated.


All times are GMT. The time now is 09:15.

vBulletin® Version 3.8.8