![]() |
Re: [Testers needed] USB Hostmode prealpha for the N900
Quote:
I've also noticed that hostmode.py sometimes gets stuck and doesn't respond at all, which I'm assuming is because of Python sucking at handling memory, so I've started doing the app again in Qt/C++ (god python is so much easier to code in...) |
Re: [Testers needed] USB Hostmode prealpha for the N900
1 Attachment(s)
Finally it worked for me allso :D
What i did was start up the bme script, plug in flashstick when 'starting bme' showed (no light in my flashstick at this point), waited to 'connect usb now' showed and waited about 5 secs, then unpluged and repluged the flashstick and now the light blimped on the flashstick, then checked in xterm: ls /dev/sd* and got /dev/sda + /dev/sda1, then pushed mount /dev/sda1 in bme ui... And there it was the flashstick in the N900 file browser ;) Thanks to all the devs and the ones posting there experience and tips in this thread :D Here's my sylog (flashstick)... Attachment 14122 e: Just did it with a external HDD powered by a netbook (i know not that OTG lol) and didn't need to unplug/replug to make it work ;) |
Re: [Testers needed] USB Hostmode prealpha for the N900
Quote:
p.s.: when i see xterminal after click mount /dev/sda1 i see this: mounting /dev/sda1 on /media/flash mount: mounting /dev/sda1 on /media/flash failed: no such file or directory |
Re: [Testers needed] USB Hostmode prealpha for the N900
2 Attachment(s)
MohammadAG,
It works with my USB adpators: - USB female to USB Female+Cable - USB female to µUSB Male (OTG embedded ?) Here is the logs. (I am still using your first package from the 20102201). I still have issue on booting from kernel-hostmode1 to Kernel-Power40. I provided some logs. Great Job, well done ! P.S: In your new Qt Gui could we have umount button ? Could this help the procedure to detect a new device, without having to reboot ? |
Re: [Testers needed] USB Hostmode prealpha for the N900
5 Attachment(s)
Hi,
A few things noticed during daily testings: 1.During boot process yellow led, start flashing for a few seconds - flash pattern indicate charge mode without charger connected (cold be BME load or the musb starting) is that normal behavior? 2.After restart of N900 and starting #python /root/hostmode.py, and click on "hostmode VBUS" - usb is detected and node created in /dev/sda1, disconnecting single drive and connecting other USB drive will give errors in syslog: Code:
[37722.812316] usb 1-1: new high speed USB device using musb_hdrc and address 6 3. After reboot and using N900 for a day without starting hostmode, then starting hosmode and trying to connect device, no longer work, until I reboot (need conformation and further testing-happened 3 times, but today after one night on is still working). 4. When USB device is recognized and mounted, without doing anything else, it has constant activity reading and writing to device (it could be tracerd indexing service, but activity last till disconnecting device after 30 minutes) 5.Few days running hostmode1 kernel logs Attaching few logs including powertop (LCD was off during all 4 test) and udev trigger device and subsystem does not help for proper recognizing device again logs: Adding todays log Can someone confirm some of the things mentioned? |
Re: [Testers needed] USB Hostmode prealpha for the N900
2 Attachment(s)
Okay me Usb lights his LED up, but damn it won't mount, Syslog provided.
Also, i got an IOerror in your script, see attachement |
Re: [Testers needed] USB Hostmode prealpha for the N900
Quote:
Quote:
Code:
#!/bin/sh I do not know python, but it seem that for some reason it can not reach the stage where you can mount your device. can you reboot and click hostmode vbus,connect your USB and post the result from the fallowing commands in prompt: Code:
ls /dev/sd* Code:
ls /usr/local/sbin/i2* Quote:
Also if you can measure the output voltage form your USB post value here? |
Re: [Testers needed] USB Hostmode prealpha for the N900
Is there any good reason why the hostmode kernel has to be flashed to work with multiboot and can't just be placed in /boot/multiboot? I'm guessing that flashing it makes it the emergency/default boot - I'd prefer to keep the most conservative kernel possible for that purpose.
|
Re: [Testers needed] USB Hostmode prealpha for the N900
1 Attachment(s)
Quote:
First, i cant measure the voltage, but i assume theres a voltage because the LED goes up. ls /dev/sd* returned : No such file or directory ls/usr/local/sbin/i2* Returned: No such file or directory BTW IOerror is input output, so i think it gives the error because my flashdrive can't be read. Only an idea maybe im talkin complete ****, but im learning java, C, linux and all the shizzle on school right now :) Thanks again |
Re: [Testers needed] USB Hostmode prealpha for the N900
1 Attachment(s)
I tested my external hdd some more and it turns out i can only read/copy from it not write/copy to it?
Attachment 14196 |
All times are GMT. The time now is 12:08. |
vBulletin® Version 3.8.8