maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Thread for problems getting USB hostmode working. (https://talk.maemo.org/showthread.php?t=65570)

stlpaul 2011-03-22 01:28

Re: Thread for problems getting USB hostmode working.
 
Quote:

Originally Posted by Schturman (Post 972785)
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

Unmount MyDocs partition and fsck it. Or remount it read-write like:

mount -o remount,rw /home/user/MyDocs

Schturman 2011-03-22 12:55

Re: Thread for problems getting USB hostmode working.
 
1 Attachment(s)
Thanks, it's helped..
But when I again tried to transfer file by FileBox, the filebox is stoped and freezed, after restart I got a new look of FileBox (see pic)
After this I tried to transfer with default file manager and it's worked fine. Movie 1.4GB - 3 min, 2.5GB - 4-5 min...
I tried to uninstall and reinstall the FileBox, but it's still with this bad look...
I tried again to transfer by FileBox and again it's stoped work and freezed... I think the problem in FileBox..
Any ideas to fix this ?
Thanks

Schturman 2011-03-23 13:21

Re: Thread for problems getting USB hostmode working.
 
ok.. after "big" reboot, the filebox is loaded correctly..
I think about two things why the filebox not worked:
1) The filebox not like and can't work with usb host mode..
2) The filebox work with root access, and this not compatible to work with usb host mode..

Someone, any ideas ? or why filebox crashed when his work with usb host mode..
Thanks

joerg_rw 2011-03-23 15:06

Re: Thread for problems getting USB hostmode working.
 
Quote:

Originally Posted by Schturman (Post 973867)
ok.. after "big" reboot, the filebox is loaded correctly..
I think about two things why the filebox not worked:
1) The filebox not like and can't work with usb host mode..
2) The filebox work with root access, and this not compatible to work with usb host mode..

Someone, any ideas ? or why filebox crashed when his work with usb host mode..
Thanks

filebox shouldn't even notice it's USB hostmode. That's some other problem unrelated to hostmode, rather it's maybe the filesystem on your memstick that is confusing filebox, or whatever.

/j

Schturman 2011-03-23 15:23

Re: Thread for problems getting USB hostmode working.
 
Thanks..
Today I tried again to transfer the movie from my disk on key to the phone with default file manager and again it's crashed...
Don't know why...

andyt12 2011-03-24 10:13

Re: Thread for problems getting USB hostmode working.
 
From reading the last 19 pages it seems hostmode is working rather well, It looks like most of the issues are user error and not understanding how linux works.

ahbarnasha 2011-03-25 18:27

Re: Thread for problems getting USB hostmode working.
 
Quote:

Originally Posted by andyt12 (Post 974545)
From reading the last 19 pages it seems hostmode is working rather well, It looks like most of the issues are user error and not understanding how linux works.

do you know what error I'm making?

Quote:

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?
ps:
the lights on my flash disk and mouse don't light up

cheve 2011-03-26 02:51

Re: Thread for problems getting USB hostmode working.
 
@ahbarnasha: for USB drive, sometime I have to select umount and then mount again to make it work. Also please note that it was said that you may need to wait for sometime(may be upto 1min.; I don't remember the recommended time) for the system to sort out everything.

In any case, did the log report the name of the manufacturer and product for your USB drive or mouse, if it does then the good news is that h.e.n. is most likely working as design; and the bad news is that there are issue with drivers or other thing in play that is causing you the problem.

good luck,
cheers,

sudarsan_avs 2011-03-26 17:17

Re: Thread for problems getting USB hostmode working.
 
when I try to connect a usb mouse or flash drive sometimes nothing happens and sometimes it says:
"can't connect, no filesystem"

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

Kernel Message:
usb 1-1: khubd timed out on ep0out len=0/0

I cannot see the pen drive listed on the file manager, but shown in Xarchiver - however while I try to open the pen drive - error: Failed to execute child process "gnome-mount" (no such file or dir)

pls help..

ahbarnasha 2011-03-27 21:45

Re: Thread for problems getting USB hostmode working.
 
1 Attachment(s)
Quote:

Originally Posted by cheve (Post 975909)
@ahbarnasha: for USB drive, sometime I have to select umount and then mount again to make it work. Also please note that it was said that you may need to wait for sometime(may be upto 1min.; I don't remember the recommended time) for the system to sort out everything.

In any case, did the log report the name of the manufacturer and product for your USB drive or mouse, if it does then the good news is that h.e.n. is most likely working as design; and the bad news is that there are issue with drivers or other thing in play that is causing you the problem.

good luck,
cheers,

Hi,

I tried again with my mouse, the manufacurer doesn't show.
when I wait a while it fails to connect and tries again and again.
dmesg shows:
[41385.422760] usb 1-1: device descriptor read/64, error -110

and sometimes a warning with a large trace (I attached one)
then it starts over..

I hope you can help, thanks anyway.


All times are GMT. The time now is 16:06.

vBulletin® Version 3.8.8