Go Back   maemo.org - Talk > Devices > Nokia N900
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #171  
Old 2011-03-12, 20:54
M_Scofield M_Scofield is offline
 
Join Date: Feb 2011
Location: Bulgaria
Posts: 43
Thanks!: 20
Thanked 0 Times in 0 Posts
Default Re: Thread for problems getting USB hostmode working.

Quote:
Originally Posted by peterleinchen View Post
I did each step precisely as you told me.

1) modprobe -a ntfs
2) Started h-e-n (my hdd doesn't have external power cable)
3) mount -t ntfs /dev/sda1 /media/ntfs -o uid=29999,gid=29999,utf8,dmask=027,fmask=137

and the following error appeared

Quote:
Mount: mounting /dev/sda1 on /media/ntfs failed: No such a file or directory
OK I went to /media there was the ntfs and moved to the another directory /dev but there were no "sda1" in it
Reply With Quote
  #172  
Old 2011-03-12, 22:38
peterleinchen's Avatar
peterleinchen peterleinchen is offline
 
Join Date: Aug 2010
Location: Ruhrgebiet, Germany
Posts: 4,117
Thanks!: 16,423
Thanked 8,901 Times in 3,168 Posts
Send a message via ICQ to peterleinchen
Default Re: Thread for problems getting USB hostmode working.

OK, so we have to stop here.
The N900 can deliver only 200 mA and this will never be enough for an external HDD. Without additional power supply You will never see files, respectively a /dev/sda1 device (after enumerating) ....

I was successful with a standard Y cable providing the current with the second USB connector from my laptop (or USB charger).
Or You my try with a powered hub.
Reply With Quote
The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
  #173  
Old 2011-03-16, 14:49
NiQ NiQ is offline
 
Join Date: Sep 2010
Location: Israel
Posts: 102
Thanks!: 4
Thanked 140 Times in 44 Posts
Default Re: Thread for problems getting USB hostmode working.

Quote:
Originally Posted by NiQ View Post
OK, apparently the problem of not being able to mount CD-ROMs is due to the modules cdrom.ko, sr_mod.ko and sg.ko being missing from the kernel-power-modules package. I'll try to compile them from source and ask titan to include them in the official package.
Regarding that earlier post I made - confirmed this is due to missing modules. These modules are included in the original h-e-n hostmode kernel (that's how there are a few videos out there showing the N900 play DVD's etc) but they are not included in kernel-power.
The bad news: You cannot transfer the modules from the old hostmode kernel to kernel-power because of symbol differences.
If you try compiling them against kernel-power-headers you will be able to get cdrom.ko and sg.ko to load but not sr_mod.ko, which means that it's as good as nothing.

Only solutions to that problem:
1. Revert back to the original hostmode kernel (and lose all the other unrelated improvements that kernel-power features).
2. Recompile kernel-power and add support for necessary modules (such as CD-ROM). I've written a very thorough guide on how to do that.
3. Since I've already done method 2, I now have a kernel image based on kernel-power 46 with support for CD-ROM drives and DVB dongles. I may upload it and post a download link once I've tested it and am more-or-less confident there are no problems or regressions. If you want it earlier, please send me a PM.
Reply With Quote
The Following 4 Users Say Thank You to NiQ For This Useful Post:
  #174  
Old 2011-03-19, 09:41
sunny2nisha sunny2nisha is offline
 
Join Date: Feb 2011
Posts: 15
Thanks!: 18
Thanked 0 Times in 0 Posts
Default Re: Thread for problems getting USB hostmode working.

plz help me conntecting usb mouse in N900

HEN Application was successfully installed in my phone but when we connect flash drives and keyboard through USB mouse it works but i cannot use mouse its not working plz suggest..............
i am using logitech cordless desktop mk250

Last edited by sunny2nisha; 2011-03-19 at 12:16.
Reply With Quote
  #175  
Old 2011-03-19, 12:52
Asbahl Asbahl is offline
 
Join Date: Oct 2010
Location: Brazil
Posts: 8
Thanks!: 4
Thanked 1 Time in 1 Post
Send a message via Skype™ to Asbahl
Default Re: Thread for problems getting USB hostmode working.

Quote:
Originally Posted by NiQ View Post
Regarding that earlier post I made - confirmed this is due to missing modules. These modules are included in the original h-e-n hostmode kernel (that's how there are a few videos out there showing the N900 play DVD's etc) but they are not included in kernel-power.
The bad news: You cannot transfer the modules from the old hostmode kernel to kernel-power because of symbol differences.
If you try compiling them against kernel-power-headers you will be able to get cdrom.ko and sg.ko to load but not sr_mod.ko, which means that it's as good as nothing.

Only solutions to that problem:
1. Revert back to the original hostmode kernel (and lose all the other unrelated improvements that kernel-power features).
2. Recompile kernel-power and add support for necessary modules (such as CD-ROM). I've written a very thorough guide on how to do that.
3. Since I've already done method 2, I now have a kernel image based on kernel-power 46 with support for CD-ROM drives and DVB dongles. I may upload it and post a download link once I've tested it and am more-or-less confident there are no problems or regressions. If you want it earlier, please send me a PM.
Guy,

a) I'm using the kernel-power 46-wl1 that has the bleeding-edge WLAN driver for packet injections. It's important remember the source code is shared;

b) I live in Brazil and the digital tv standard here is ISDB not DVB.

There would be some way to add this drive in a kernel-power 46-wl1?
Reply With Quote
  #176  
Old 2011-03-19, 21:02
joerg_rw's Avatar
joerg_rw joerg_rw is offline
 
Join Date: Mar 2010
Location: SOL 3
Posts: 2,222
Thanks!: 3,399
Thanked 12,651 Times in 1,970 Posts
Default Re: Thread for problems getting USB hostmode working.

Quote:
Originally Posted by NiQ View Post
Regarding that earlier post I made - confirmed this is due to missing modules. These modules are included in the original h-e-n hostmode kernel (that's how there are a few videos out there showing the N900 play DVD's etc) but they are not included in kernel-power.
Thank you so much for straightening that. I'll go to push PK maintainer to fix this extremely annoying flaw. In the meantime we might consider to host the fixed PK on h-e-n garage.

thanks
jOERG
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
Reply With Quote
The Following 2 Users Say Thank You to joerg_rw For This Useful Post:
  #177  
Old 2011-03-21, 10:42
NiQ NiQ is offline
 
Join Date: Sep 2010
Location: Israel
Posts: 102
Thanks!: 4
Thanked 140 Times in 44 Posts
Default Re: Thread for problems getting USB hostmode working.

Quote:
Originally Posted by Asbahl View Post
Guy,

a) I'm using the kernel-power 46-wl1 that has the bleeding-edge WLAN driver for packet injections. It's important remember the source code is shared;

b) I live in Brazil and the digital tv standard here is ISDB not DVB.

There would be some way to add this drive in a kernel-power 46-wl1?
Sure, my custom kernel does not actually include any source changes, only configuration changes (i.e. include the drivers that were missing). It should be possible to recompile kernel-power-wl1 and add these drivers to the configuration as well.

About TV/DVB/ISDB - I have to admit that I've yet to succeed in watching TV through the N900. The driver loads but still doesn't really work with the DVB dongle that I have and there's also the issue of userspace software which may have to be patched and/or recompiled from source. Anyway, the whole watching TV issue is still in its infancy and should not be considered as working by anyone. Adding the kernel drivers for DVB is just a first step in the right direction, therefore I think that your concern is a bit premature. CD/DVD drive / CD writing support is confirmed working, though.
On the second hand, you do have a point here - ISDB support is very new in Linux and AFAIK preliminary support was added to the Linux kernel in version 2.6.32 - which is newer than the version used by N900 (2.6.28). If we want this to happen, we may have to upgrade the N900 to a newer kernel - which is a big project.

Quote:
Originally Posted by joerg_rw View Post
Thank you so much for straightening that. I'll go to push PK maintainer to fix this extremely annoying flaw. In the meantime we might consider to host the fixed PK on h-e-n garage.

thanks
jOERG
Would really like to see that happening. I'm gonna send cheve my custom kernel for testing today and if he reports no problems I'll send you the binary (no need for sources as the only changes are configuration).
Reply With Quote
The Following User Says Thank You to NiQ For This Useful Post:
  #178  
Old 2011-03-21, 19:44
Asbahl Asbahl is offline
 
Join Date: Oct 2010
Location: Brazil
Posts: 8
Thanks!: 4
Thanked 1 Time in 1 Post
Send a message via Skype™ to Asbahl
Default Re: Thread for problems getting USB hostmode working.

Quote:
Originally Posted by NiQ View Post
Sure, my custom kernel does not actually include any source changes, only configuration changes (i.e. include the drivers that were missing). It should be possible to recompile kernel-power-wl1 and add these drivers to the configuration as well.

About TV/DVB/ISDB - I have to admit that I've yet to succeed in watching TV through the N900. The driver loads but still doesn't really work with the DVB dongle that I have and there's also the issue of userspace software which may have to be patched and/or recompiled from source. Anyway, the whole watching TV issue is still in its infancy and should not be considered as working by anyone. Adding the kernel drivers for DVB is just a first step in the right direction, therefore I think that your concern is a bit premature. CD/DVD drive / CD writing support is confirmed working, though.
On the second hand, you do have a point here - ISDB support is very new in Linux and AFAIK preliminary support was added to the Linux kernel in version 2.6.32 - which is newer than the version used by N900 (2.6.28). If we want this to happen, we may have to upgrade the N900 to a newer kernel - which is a big project.


Would really like to see that happening. I'm gonna send cheve my custom kernel for testing today and if he reports no problems I'll send you the binary (no need for sources as the only changes are configuration).
NiQ,

Could you PM with your contact, I have PM do not available to me!
Reply With Quote
  #179  
Old 2011-03-21, 23:31
ahbarnasha
Guest
 
Posts: n/a
Default Re: Thread for problems getting USB hostmode working.

hostmode doesn't work for me,

when I try to connect a usb mouse or flash drive sometimes nothing happens and sometimes it says:
"can't mount filesystem" (or something like that, it's translated)

dmesg shows:
... new full speed USB device using musb_hdrc ...

and after that a couple of lines like these:
usb 1-1: khubd timed out on ep0out len=0/0
usb 1-1: khubd timed out on ep0out len=0/64

I've tried different speeds, does anybody know what's wrong here?

Thanks in advance,
AhBarnasha
Reply With Quote
  #180  
Old 2011-03-22, 00:37
Schturman's Avatar
Schturman Schturman is offline
 
Join Date: Jan 2010
Location: Israel
Posts: 5,339
Thanks!: 3,613
Thanked 4,133 Times in 1,971 Posts
Default Re: Thread for problems getting USB hostmode working.

Please Help !
It's my first time for using USB host mode...
After connecting I can see and play files on my SD card by card reader - no problem..
But when I tried to transfer this files to the phone - it's failed all the time... it's procure 10-20% and stops, card reader shuts down.. something like auto unmount.. I tried with another card reader - the same result. Restart the phone did not help...
After that I tried to transfer from SD card to memory card on the phone (it's the first time I put memory card in my phone..), transfer succeeded. Here reveals a new problem..
When I tried to move the file from a memory card in to the phone to one of the folders in MyDocs - I got a message that "you don't have permission, the file system read-only!"..
I was in shock.. I tried to transfer files in MyDocs from one folder to another and I got the same message... and again, restart the phone did not help...
All this stuff I tried with default file manager and with FileBox...
Now I can not do anything with the files - not copy, not move... only running..
What can I do? How I can change this permission ?
Thanks
Reply With Quote
Reply

Tags
awesome!, bada rox, h-e-n hostmode, more noise


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:50.