Reply
Thread Tools
Posts: 43 | Thanked: 0 times | Joined on Feb 2011 @ Bulgaria
#171
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

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
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#172
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.
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 102 | Thanked: 140 times | Joined on Sep 2010 @ Israel
#173
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.
 

The Following 4 Users Say Thank You to NiQ For This Useful Post:
Posts: 15 | Thanked: 0 times | Joined on Feb 2011
#174
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.
 
Posts: 8 | Thanked: 1 time | Joined on Oct 2010 @ Brazil
#175
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?
 
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#176
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
 

The Following 2 Users Say Thank You to joerg_rw For This Useful Post:
Posts: 102 | Thanked: 140 times | Joined on Sep 2010 @ Israel
#177
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.

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).
 

The Following User Says Thank You to NiQ For This Useful Post:
Posts: 8 | Thanked: 1 time | Joined on Oct 2010 @ Brazil
#178
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!
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#179
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
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#180
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

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

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:54.