PDA

View Full Version : [Announce] USB hostmode beta release


Pages : [1] 2 3 4 5

MohammadAG
11-07-2010, 04:34 PM
USB hostmode status: beta.

Thanks to everyone part of the h-e-n team, and most importantly, thanks to Joerg Reisenweber for starting the project and leading it, and thanks to Paul Fertser for the new kernel patches, written from scratch.

This release has been tested by a few of us, but it has worked perfectly on all devices.

You will need to a female to female USB adapter (http://www.dealextreme.com/details.dx/sku.2646), and the stock USB cable (http://europe.nokia.com/find-products/accessories/all-accessories/memory-cards-and-cables/cables/nokia-connectivity-cable-ca-101).
(You can also use a Nokia CA-101D, a shorter version of the stock cable, a classmate gave it to me, and I found it perfect for hostmode, pic below)

I highly recommend you DO NOT! use direct adapters (microUSB to full size in one adapter || directly plugged into port) (http://www.google.com/products/catalog?client=ubuntu&channel=fs&q=microUSB+to+USB&oe=utf-8&um=1&ie=UTF-8&cid=16466678576082817409&ei=LJvvTMzFBIWaOuLBwJ0K&sa=X&oi=product_catalog_result&ct=image&resnum=3&ved=0CB4Q8gIwAg#), using those adapter will put a lot of stress on the USB port and may cause to be torn out! I suggest using at least a small cable like the Nokia CA-101D below with a female to female adapter, or a cable that is microUSB to full, but it should not be a direct adapter!

http://i52.tinypic.com/jr41lj.jpg

Paul has found out that it is impossible (at least at the time of writing) to detect speed changes while VBUS is running, so for now, you have to select speeds manually.
Use common sense in doing so, high speed is for devices that require a lot of writing and are fairly new (flash drives/HDDs/CD-drives, new hubs).
Full speed devices are devices that do not require a lot of USB activity, such as BT/2.4GHz mouse transceivers.
Low speed devices are normal mice and keyboards.

A help window is available and will guide you through the steps needed.
The mount button is currently hardcoded to mount /dev/sd*, default for most USB flash drives and HDDs.
For NTFS support, do modprobe ntfs as root
For ISO (CDs/DVDs - most of them), do modprobe isofs (also as root).
CDs will have the dev node /dev/sr0, so you'll need to do mount /dev/sr0 /mnt etc...
Disabling tracker by adding /media/flash to tracker-cfg's non watch configuration is recomended, use tracker-cfg UI.

http://i51.tinypic.com/b4xl4z.jpg

http://i52.tinypic.com/2ze9zet.jpg

http://i51.tinypic.com/359lu87.jpg
(note, full speed devices are 1.1, the screenshot is old, fixed in release)

Demo of DVD player on N900:
http://www.youtube.com/watch?v=zDzUG-bno6Q

To install:
Install hostmode-gui from -devel, the package depends on kernel-feature-usbhost, so it should be compatible with any kernel that provides this (in debian/control), kernel-power provides this, and therefore, if no other kernel that does provide it is supported, it will be installed.

The GUI now checks for API version instead of kernel version, with the latest API being 20101110, also in kernel-power.

http://i52.tinypic.com/33e3hv9.jpg

Known problems/bugs:
lsusb sometimes needs to be executed to return statemachine to original state.
Battery meter is not updated, thanks for the closed bme Nokia :)
Bugs not related to host mode, but kernel-power (see relevant threads, we don't have to do with these issues):
fcam-drivers doesn't work on certain devices for some reason, please see kernel-power's thread, quick fix: uninstall fcam-drivers.

Support thread: http://talk.maemo.org/showthread.php?t=65570

https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=EKRAWAWF8A9D6)
Please note that donations go to the team, and not one specific person. Details here (http://talk.maemo.org/showpost.php?p=904555&postcount=587)

Hostmode development team:
Project Admins:
Joerg Reisenweber
Paul Fertser

Developers:
Chitrang Srivastava
Dave na
Hagen Meyer
Ian Stirling
Jacek Milewicz
Klaus Kurzmann
Mohammad Abu-Garbeyyeh
Mugur Enache
Sarah Newman
Sonny Jim
Tom Tanner

Reffyyyy
11-07-2010, 04:41 PM
Awesome work. I'm sure a LOT of people have desired this since the beginning.

CraigRobbo
11-07-2010, 04:43 PM
Wow good work, wiill the phone auto detect devices like USB storage devices or other things?

mrbiggzz79
11-07-2010, 04:45 PM
thank u guys for all your hard work

dwaradzyn
11-07-2010, 04:48 PM
One question: is h-e-n kernel based on power-kernel? I would love to have it installed but cannot live without overclocking :)

CraigRobbo
11-07-2010, 04:49 PM
Sorry for anther post, after reading, the kernel will be replaced, does this mean no overclocking?

RobbieThe1st
11-07-2010, 05:03 PM
Looks to me like we need a version of kernel_power+pr1.3 patches+usb-hostmode, but I'm not entirely sure how to make my own kernel version.

laasonen
11-07-2010, 05:05 PM
Sorry for anther post, after reading, the kernel will be replaced, does this mean no overclocking?
Unfortunately yes :(

joerg_rw
11-07-2010, 05:11 PM
HS=USB2.0, FS=USB1.1, LS=USB1.0
USB2.0/HS-peripherals will also work in USB1.1/FS mode, though much slower.

Switching speeds "on the fly" is not possible for now (to elaborate on Mohammad's introduction: We need VBUS to detect the speed of device attached, but we can't switch speed accordingly as long as VBUS applied - musb-core doesn't allow that). You have to stop hostmode and start over from beginning. Also the much requested hostmode while charging (N900 works as USB host but does not supply VBUS 5V - this will be done by a modified hub or a Y-cable: http://wiki.openmoko.org/wiki/Specialized_USB_cables#How_to_make_a_USB_cable_for _powering_attached_USB_devices_and_charging_the_Ne o_while_in_host_mode_.28aka_Y-Cable.29) is not yet supported (however see http://talk.maemo.org/showthread.php?p=921203#post921203 ). Well folks, this is a BETA :-), though Mohammad once again managed to pack a shiny package that looks better than some products tagged "final gold", thanks for that Mohammad :-)

Special thanks to Paul who did a brilliant job, like always. Also a special thanks to Sarah Newman without her patches we probably wouldn't be anywhere today. And a special thanks to all the people who shared their knowledge with me in endless private chats but preferred to stay in the background for different reasons.

Enjoy hostmode Beta, cheers
jOERG


ps.: As it seems it always somehow vanishes: N900 can deliver 200mA VBUS power (actually current, that's a hardware limitation of bq24150 chip), as compared to a standard 500mA of a PC host, this means power greedy peripherals like e.g HDD, UMTS sticks, mug warmers, etc, will cause hostmode to fail. An easy tested way to deal with this problem is to use a powered hub.
If you want to try with externally powered things, then you should plug in the peripheral same moment you push the VBUS button in hostmode GUI

ps2: Until Mohammad updates the info in #1: We are not shipping a dedicated hostmode kernel anymore with h-e-n GUI. You are supposed to install kernel-power v45 (or newer), which has hostmode patches integrated. Installing h-e-n won't do that for you. Please refer to kernel-power howto and readme and FAQ, for details on how to install and how to remove this non-stock kernel. There are known issues in multiboot with kernel-power, as well as in fcam drivers, which don't work for v45 kernel-power at date of this writing (unrelated to h-e-n!). Kernel-power v45 comes with uBoot, which should replace multiboot. It also should come with a fix (actually a revert of a patch) for the locked@500 bug Mohammad mentions in next post.
The 'mount' button and function of h-e-n is a beta-test convenience thing, and is known to not work under all arbitrary circumstances. It will vanish in final version of h-e-n anyway, and any problems are WONTFIX

As a rule of thumb, this thread is about problems (and unexpected success) to provide 5V VBUS and to enable hostmode. As soon as your device is showing up in dmesg as "usb 1-1: New USB device found, idVendor=xxxx, idProduct=yyyy...", h-e-n considers this as mission accomplished.
Everything beyond are derived issues not directly related to h-e-n, so please report them either in the problems-thread (http://talk.maemo.org/showthread.php?t=65570), or on the forum of the involved subsystems which actually throw the error. Esp mounting, though still supported by a button in h-e-n, is NO topic for this thread


recommended links: http://talk.maemo.org/showthread.php?p=875006&highlight=dmesg#post875006
http://talk.maemo.org/showthread.php?p=895032#post895032
http://www.youtube.com/watch?v=fkCDyUO0sKQ&NR=1

LATEST NEWS:
there are missing modules in powerkernel46. See http://talk.maemo.org/showthread.php?p=971219#post971219 - we're aware now and working on it. Shall be fixed in recent PK48 (which is said to work http://talk.maemo.org/showpost.php?p=1087326&postcount=861 ). For PK47 see http://talk.maemo.org/showthread.php?p=1116491#post1116491 - thanks blue_led :-)

see http://talk.maemo.org/showpost.php?p=1086598&postcount=857 for latest devel-version of parts of h-e-n, with augmented error-reporting (notifies on overload [huge HDD], runs a notification LED pattern to let you know your battery is draining) [edit 2012-02-27: fixed link]

cheers
jOERG

MohammadAG
11-07-2010, 05:14 PM
Well, most of you don't know this, but, PR1.3 introduced two things:
Backports of new kernel patches to musb, which really helped with hostmode.
And.. a new bug, if you connect the wall charger to the device, 100% of the time it will stay on 500 (sometimes 550?) MHz, we do not know the behavior of an overclocked device when this bug is triggered on it, if it stays clocked @ 900 (for example), then we're going to see some dead devices pretty soon.
Anyways, hostmode's patches require 1.3's patches to musb, so until titan updates his kernel, it's a no go, feel free to contact his email address (see http://maemo.org/packages/view/kernel-power-flasher and click his name) and request an update.

toxaris
11-07-2010, 05:32 PM
Yes Hostmode implemented in Power-Kernel that would nice.
Best of both worlds so to say.

James_Littler
11-07-2010, 05:37 PM
And.. a new bug, if you connect the wall charger to the device, 100% of the time it will stay on 500 (sometimes 550?) MHz, we do not know the behavior of an overclocked device when this bug is triggered on it, if it stays clocked @ 900 (for example), then we're going to see some dead devices pretty soon.

Will this bug be present before installing the new kernel, as currently using Titans advanced power, I'm on charge and cpu freq is fluctuating normally according to conky.

Megaltariak
11-07-2010, 05:38 PM
Wow, this is amazing, thanks for the great work, unfortunately, I don't have USB adapter so I can't test it for now.

We do not know the behavior of an overclocked device when this bug is triggered on it, if it stays clocked @ 900 (for example), then we're going to see some dead devices pretty soon.


But the current version of power-kernel (40) don't have this bug since it is based on PR1.2 kernel, right ?

MohammadAG
11-07-2010, 05:43 PM
It's not in kernel-power (the current one), no, but we need 1.3's patches for hostmode, so again, no kernel-power based kernel till titan updates it Ask him directly, any posts here about it are pointless (I'm not sure if he even checks tmo anymore).

Matan
11-07-2010, 05:43 PM
And.. a new bug, if you connect the wall charger to the device, 100% of the time it will stay on 500 (sometimes 550?) MHz, we do not know the behavior of an overclocked device when this bug is triggered on it, if it stays clocked @ 900 (for example), then we're going to see some dead devices pretty soon.

Power kernel + PR1.3 behaves in exactly the same as stock PR1.3: minimum freq is set to 500MHz, and ondemand governor changes between this frequency and maximum frequency as appropriate.

Even if it was locking the minimum frequency to 900 MHz, we were not going to see some dead devices pretty soon, so I will thank you if you stop spreading FUD, especially as the modifications you work on a, and announce proudly in this thread, are a lot more dangerous to people's devices.

Stupid Moderator EDIT: I was requested to state some facts on this topic. I did no further investigation as I trust my sources. PR1.2 Titan Kernel does not behave as the PR1.3 Kernel and does not make the CPU sticking at 500MHz while on wall-charger. PR1.3 hostmode Kernel has the same problem like stock Kernel as the patches have been applied to it as well. Hostmode modifications are not recognized to harm hardware yet (and I doubt there will be proof of the statement above).

(Side-note: some 1.2 stock hickup had the device stuck at 500MHz while connected to usb, but there you get a msg that your device wont charge at this port)

Dear stupid moderator: Why did you choose to edit my post in order to state this fact that "PR1.2 Titan Kernel does not behave as the PR1.3 Kernel ", what is the relevance of this?

What I wrote is that Power kernel + PR1.3 patches behaves exactly as PR1.3 kernel in this regard: When connected to USB (whether charger or host) - the minimum frequency is set to 500MHz. I write this in response to MohammadAG's (unbased) comment that it is possible that power kernel might set the minimum frequency to 900 MHz. I really don't see how you can misunderstand my statement.

As I like to edit your signature but should not do so...
Dear honest, super intelligent and delightful Member
Power kernel + PR1.3 patches != Power kernel + PR1.3 behaves
And I did not misunderstand it, but for average Joe this is misleading!
You write like you want to attack someone and you just did! Instead you could have edited your post and behave like a grown up, you want this in public... go ahead, you want this in private... don't call me edit insane!

joerg_rw
11-07-2010, 05:45 PM
please don't hijack this thread with OT pr1.3-bug and OC topics.
No, this kernel doesn't support any of the kernel-power features. And we need this patched kernel for working hostmode. This is a BETA!

bzbnd
11-07-2010, 05:48 PM
first of all thank you for your great job
ive just installed your app . I run it in high speed host mode but it doesnt recognize my flash memory -there is nothing in file manager - what should i do

blue_led
11-07-2010, 05:50 PM
Well, most of you don't know this, but, PR1.3 introduced two things:
...........
And.. a new bug, if you connect the wall charger to the device, 100% of the time it will stay on 500 (sometimes 550?)

i confirm this bug and thank you for changing my own discovery into a true fact

about 500 MHz overclock . remember old 500 MHz issue http://talk.maemo.org/showpost.php?p=668661&postcount=936
in PR1.3 maybe some smart a.. delete one IF

Later edit
sorry joerg . i will delete this post if there is any request

Bernard
11-07-2010, 05:50 PM
Can you also use the USB OTG cable used by the Nokia N8?
NOKIA USB OTG CA-157 cable (http://europe.nokia.com/find-products/accessories/all-accessories/memory-cards-and-cables/cables/nokia-adapter-cable-for-usb-otg-ca-157)
Or is this slightly different from a female to female adapter and USB to micro USB cable?

zikmir
11-07-2010, 06:08 PM
http://www.freeimagehosting.net/uploads/62a87ee8ef.jpg (http://www.freeimagehosting.net/)

man im a big noob. but i might be able to help.. iv read that all the problem lies in power right ? i have this cable. on one end it connets to the harddisk or any other mini usb device, one end it connets to the computer (in this case aur n900) and the other to a wall charger ! check the picture. if u cant see it, let me know give me ur emale. i will send u.
hope this helps man.

SavageD
11-07-2010, 06:18 PM
Hmmm might give this a shot tommorow. But is it possible revert back to default kernel if I run into problems, without needing a reflash. Or would a simple uninstall return things to normal?

IzzehO
11-07-2010, 06:22 PM
WARNING!===============WARNING!===============WARN ING!
dpkg: error processing /var/cache/apt/archives/i2c-tools_3.0.2-1maemo2_armel.deb (--unpack):
trying to overwrite `/usr/include/linux/i2c-dev.h', which is also in package linux-kernel-headers
Errors were encountered while processing:
/var/cache/apt/archives/i2c-tools_3.0.2-1maemo2_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Any ideas? Probably a result of all the garbage I've installed...

bzbnd
11-07-2010, 06:37 PM
could you tell me how to connect aflash memory to the device ( step by step)
thanks

laasonen
11-07-2010, 06:49 PM
could you tell me how to connect aflash memory to the device ( step by step)
thanks

It's pretty straightforward:
-Install hostmode-gui
-Reboot
-Connect your device
-Open h-e-n
-Click High Speed hostmode
-Set VBUS boost on
-Click enumerate
-Click mount

MastaG
11-07-2010, 06:53 PM
Does someone have a USB DVB-T stick laying around to test?
I bet they would require more power than 200mA.
It would require a kernel with the complete v4l stack and varioud dvb drivers.
But wouldnt it be awesome to install CCcam and share your local payTV card with your phone over 3G and watch tv anywhere:D

IzzehO
11-07-2010, 06:59 PM
Does someone have a USB DVB-T stick laying around to test?
I bet they would require more power than 200mA.
It would require a kernel with the complete v4l stack and varioud dvb drivers.
But wouldnt it be awesome to install CCcam and share your local payTV card with your phone over 3G and watch tv anywhere:D

I already stream it over ORB, but that would be pretty awesome :P

Alright solved my problem, was under the impression linux-kernel-headers was a needed package, but must be remnants of my SDK install.

Now to try out a USB or something...

Frappacino
11-07-2010, 07:08 PM
we are not worthy

any way to donate to this project ?

IzzehO
11-07-2010, 07:12 PM
Well no luck so far, tried two seperate USB sticks. /dev/sda1 is present for both, but nothing gets mounted and trying to mount from term just freezes the terminal...

Bernard
11-07-2010, 07:29 PM
Does someone have a USB DVB-T stick laying around to test?
I bet they would require more power than 200mA.
It would require a kernel with the complete v4l stack and varioud dvb drivers.
But wouldnt it be awesome to install CCcam and share your local payTV card with your phone over 3G and watch tv anywhere:D

yes I would like that also.
The first step would be to get a DVB-T stick working.
One of the smallest is also supposed to have "Very low power consumption" according to the site: the PCTV Picostick
Picostick (http://www.pctvsystems.com/Products/ProductsEuropeAsia/Digitalproducts/PCTVpicoStick/tabid/203/language/en-GB/Default.aspx)
Don't know if it is low enough to work with 200mA limitation.

I have one and it is working perfectly fine on Ubuntu using the driver and firmware found in this location:
Kernellabs Picostick V4L driver and firmware (http://www.kernellabs.com/blog/?cat=52)

I use the picostick with my netbook running linux Mint to watch Digitenne channels (a conax encrypted paid tv service in the Netherlands over DVB-T). I use my digitenne smartcard in a smargo smartreader+ using OScam (http://streamboard.gmc.to:8001/) as a key server, TVheadend (http://www.lonelycoder.com/hts/tvheadend_overview.html) as the decryption software and xbmc (http://xbmc.org/) as the player.
It works pretty well, but the reception of the picostick isn't great when inside buildings using the small antenna connected directly to the USB adapter. (the officially supported Anysee E30 plus dvbt receiver only support the cardreader in windows, this is my linux supported alternative )

I would love to get the picostick working on the N900! But getting the other software to run on the n900 in order to watch encrypted DVBT broadcasts would seem a long way off.

Crogge
11-07-2010, 07:41 PM
I kinda dreamed of a thread like this one, and now its there :)

I will get the adapter as soon as possible and give it a try with several different devices, looks promising so far. Though ARM compatible drivers will be an issue...

The idea with the DVB-T stick is nice, but I could imagine also a lot of other possible combinations. Are USB Hubs supported by the way (With active power)?

@MohammadAG: I noticied that my N900 doesn't goes below 500MHz anymore, though when I OC it to 900MHz it still goes down to 500MHz. So they basically avoid only the 250MHz frequency while it is charging.

IzzehO
11-07-2010, 07:48 PM
Alright still no luck with USB sticks, but managed to connect a keyboard. Unfortunately it stops working after about 30 seconds... any ideas for this?

joerg_rw
11-07-2010, 07:58 PM
Alright still no luck with USB sticks, but managed to connect a keyboard. Unfortunately it stops working after about 30 seconds... any ideas for this?
32s. Timeout of bq24150 VBUS boost. Somehow the vboost script (or whatever Mohammad is using for starting VBUS boost) doesn't work correctly.
As I don't see any "OFF" button in this GUI, I suspect closing it also stops vboost.
Ask Mohammad.

maxximuscool
11-07-2010, 08:01 PM
Well, most of you don't know this, but, PR1.3 introduced two things:
Backports of new kernel patches to musb, which really helped with hostmode.
And.. a new bug, if you connect the wall charger to the device, 100% of the time it will stay on 500 (sometimes 550?) MHz, we do not know the behavior of an overclocked device when this bug is triggered on it, if it stays clocked @ 900 (for example), then we're going to see some dead devices pretty soon.
Anyways, hostmode's patches require 1.3's patches to musb, so until titan updates his kernel, it's a no go, feel free to contact his email address (see http://maemo.org/packages/view/kernel-power-flasher and click his name) and request an update.

Happened to mine as well. Mine is stock kernal and it stay at 500Mhz when charging or cable plugged in. I have no idea how to return it back to normal.

IzzehO
11-07-2010, 08:05 PM
32s. Timeout of bq24150 VBUS boost. Somehow the vboost script (or whatever Mohammad is using for starting VBUS boost) doesn't work correctly.
As I don't see any "OFF" button in this GUI, I suspect closing it also stops vboost.
Ask Mohammad.

Sounds about right, and it consistently happens. So we wait for an update then?

Ps. There should be plenty of power to mount a basic USB stick, yes? So chances are its just a problem with the script.

*Sonic*
11-07-2010, 08:19 PM
According to the log files it sees my Wi-Spy DBX device ok, not sure if it will ever be able to do anything with it though, would be v cool if I could get it working though :)

It tried to read my USB pen drive but then said it failed to read dead device

Ill try again tomorrow night with a couple more usb sticks and post the logs up here if I can screen shot them or if they are written anywhere

myk
11-07-2010, 08:30 PM
USB host mode was nice on the N800 for attaching a hard drive and keyboard. The N900 does not need that so much, with 32GB flash, but it could really use a proper SD-card reader.

Does someone have a USB DVB-T stick laying around to test?
Yes, but I'd look really silly with a 1m VHF/UHF antenna hanging off my phone. (Do those ting antenna that come with the dongle really work anywhere?) So much easier to put the DVB dongle on a home server and stream the video over wifi or 3G (transcoded to mpeg4). A mythtv frontend for the n900 would be nice. Who wants live TV anyway? I hear it has adverts.

Crogge
11-07-2010, 08:53 PM
...

Yes, but I'd look really silly with a 1m VHF/UHF antenna hanging off my phone. (Do those ting antenna that come with the dongle really work anywhere?) So much easier to put the DVB dongle on a home server and stream the video over wifi or 3G (transcoded to mpeg4). A mythtv frontend for the n900 would be nice. Who wants live TV anyway? I hear it has adverts.

Well it would be for example in the car quite useful ;) In cities also the 7-8cm long antennas work quite fine.

jakiman
11-07-2010, 09:02 PM
I have latest multiboot installed with 3 choices:
1. omap (PR1.3 kernel)
2. power (titan's power kernel v40)
3. NITDroid

If I boot to #1 and install this USB host kernel, I'm assuming I can still boot to #2 power kernel when needed right? (and boot to #1 for USB host)

Also, what can we hook up? Is there a general compatibility list of some sort?

btw, AWESOME WORK GUYS (&GALS?).
This community just ROCKS. Thank you all.

sophocha
11-07-2010, 09:45 PM
I have latest multiboot installed with 3 choices:
1. omap (PR1.3 kernel)
2. power (titan's power kernel v40)
3. NITDroid

If I boot to #1 and install this USB host kernel, I'm assuming I can still boot to #2 power kernel when needed right? (and boot to #1 for USB host)

Also, what can we hook up? Is there a general compatibility list of some sort?

btw, AWESOME WORK GUYS (&GALS?).
This community just ROCKS. Thank you all.

That is the exact question I have!If I boot to the 1st kernel and install the USB host kernel, would that overwrite the power kernel in multiboot?

aligatro
11-07-2010, 10:40 PM
32s. Timeout of bq24150 VBUS boost. Somehow the vboost script (or whatever Mohammad is using for starting VBUS boost) doesn't work correctly.
As I don't see any "OFF" button in this GUI, I suspect closing it also stops vboost.
Ask Mohammad.

Microsoft mouse is working(a bit too sensitive, but working). Also disconnects after some time. Ooh and I can't make multi-devices(mouse + keyboard or card reader with multiple slots) works

IzzehO
11-07-2010, 10:46 PM
Hi, thanks for awesome work to all involved!
For me also VBUS boost on - working for about 32 seconds, during that time lsusb report device ID, but not appear in /dev/sd*.
Some readings form my multimeter:

http://dl.dropbox.com/u/12258575/U-redings-VBUS-boost-on.xls
http://dl.dropbox.com/u/12258575/U-redings-VBUS-boost-on.pdf

I'm interested to see what kind of current draw you can get, any chance you could measure that also? Granted they've stated it's about 200mA from the N900, but I'm curious of the variance. All my equipment is at work so I can't hook it up.

nerfiaux
11-07-2010, 11:09 PM
Dear Mohammad, Dear joerg_rw

Multiboot is ok, but it still flash a kernel each time we boot.
This means that it can affect NAND blocks and create bad blocks.
U-boot does not flash, it loads.

Is there be a way to have all needed for booting with uboot ? uboot kernel image and boot script ?
Or
I saw that Matans released a uboot kernel image with musb and kernel power, so what is the mimimun needed to have host-mode with uboot-kernel-power ?

In the following package list :
kernel-hostmode-modules-extra 2.6.28-hostmode2
kernel-hostmode-debug 2.6.28-hostmode2
kernel-hostmode-modules-debug 2.6.28-hostmode2
kernel-hostmode-modules 2.6.28-hostmode2
kernel-hostmode-headers 2.6.28-hostmode2
kernel-hostmode-flasher 2.6.28-hostmode2
kernel-hostmode 2.6.28-hostmode2
h-e-n (USB Hostmode GUI) 0.2-1

Can I download only :
kernel-hostmode-modules-extra 2.6.28-hostmode2
kernel-hostmode-debug 2.6.28-hostmode2
kernel-hostmode-modules-debug 2.6.28-hostmode2
kernel-hostmode-modules2.6.28-hostmode2
h-e-n (USB Hostmode GUI) 0.2-1

without :
kernel-hostmode-headers 2.6.28-hostmode2
kernel-hostmode-flasher 2.6.28-hostmode2
kernel-hostmode 2.6.28-hostmode2

and dpkg -i * the downloaded packages, as my kernel already has the musb ?

Thanks.

mrbiggzz79
11-07-2010, 11:26 PM
can this be uninstall safely with out any probs

ryanl33x1511
11-08-2010, 12:05 AM
so can this work for pr 1.3 with omap kernel ?

brad112358
11-08-2010, 01:33 AM
Thanks to all involved for the great progress. This is obviously very close to working now. I have not had time to investigate, but I thought I would report a couple of observations. After building and installing a set of kernel packages from the kernel-hostmode source with some additional USB serial modules enabled, I was able to get three different RS232 adapters to work for a brief time with no external hub or power. With both my kernel, and the original kernel-hostmode kernel, I noticed the loss of power after a few seconds which obviously causes the kernel to report many problems when trying to use the device.

I also noticed that both my build of the kernel and the distributed hostmode kernel don't shut down cleanly, rebooting rather than powering down when attempting to power the phone off. I assume the kernel crashes on it's way down and the watchdog reboots it.

But this progress is very promising! I'm sure these issues will be quickly resolved.

Thanks!

--Brad

bandora
11-08-2010, 01:55 AM
I tipped engadget on this, hopefully they will post it on their blog.. ;)

This is big news and diserves to be posted on big sites like engadget.. :D

brad112358
11-08-2010, 02:08 AM
looks like the power loss after booston is caused by a trivial bug possibly caused by a last minute change in /usr/sbin/booston:
/usr/sbin/booston: line 9: syntax error: Unterminated quoted string.

uncommenting the logger line at the top and change bash to sh seems to fix it.

--Brad

fw190
11-08-2010, 02:47 AM
I've tried to connect a USB stick via something like this: http://www.amazon.com/Type-Mini-5-Pin-Female-Adapter/dp/B002S7PS8M
the led on the USB was lightened but while going into file manager there was nothing except mmc and microsd.

bzbnd
11-08-2010, 02:48 AM
It's pretty straightforward:
-Install hostmode-gui
-Reboot
-Connect your device
-Open h-e-n
-Click High Speed hostmode
-Set VBUS boost on
-Click enumerate
-Click mount
i do these steps several times but it doesnt recognize my flash memory .
another stupid question : what does mice do in maemo5 . where can i use it?

slender
11-08-2010, 03:22 AM
@cocayden
So you chose to not to read first post :P

jinnn_1989
11-08-2010, 04:58 AM
i am not able to mount a single device. i tried to mount my usb flash device but cant. plz hlp me

CutterSlade
11-08-2010, 05:42 AM
Hi and thank's so much for developing this!
I use NitDroid with multiboot but after installing h-e-n twice, once booted with kernel power 40, once with stock 1.3 kernel I think I need your patched kernel to show up in that Multiboot list right?
I tried this "apt-get install multiboot multiboot-kernel-maemo" in a root shell because it fixed the list before I think. But that didn't helped.
Conky only shows omap1 and power 40 so it seams hostmode kernel was not installed properly where can I check all installed kernel versions?

Does someone know how to add the hostmode kernel to the Multiboot list?

nerfiaux
11-08-2010, 06:42 AM
@ CutterSlade

Please have a look here it may help. From PreAlpha tests (http://talk.maemo.org/showthread.php?p=825296#post825296)

I will pray for your Nand or MicroSD card ! I already crashed 1 µSD card after a NITDroid Shutdown, and I also had 3 kernels during the preAlpha test.

I would rather have different uboot boot.scr scripts for each Meego, NITDroid, Maemo PR13, MaemoPR13 Power Kernel, MaemoPR13 Hostmode,
or
Only 3 :
Meego, NITDroid and MaemoPR13 Kernel-Power Hostmode( AllInOne).

Then either you have 2 SD cards (Meego and NITDroid rootfs) or 1 with all mixed partitions

This means that e-yes may provide a uboot kernel image of nitdroid
and Titan/Matan/Mohammad/joerg_rw provide a uboot kernel AllInOne !

All those kernels must have a correct power-off process
I would donate for that Guys! Hope it does not sound like a Martin Luther King speech ! ;)

BR,

Nerfiaux

mveplus
11-08-2010, 07:30 AM
I'm interested to see what kind of current draw you can get, any chance you could measure that also? Granted they've stated it's about 200mA from the N900, but I'm curious of the variance. All my equipment is at work so I can't hook it up.

Some current readings:
1. USB Flash drive 2GB - Bamboo Transcend
2. USB 320GB 2.5" HDD - Transcend - not enought current for powering on
3.USB Card Reader + 256MB SD card
4.USB HUB + #1. USB Flash 2GB

http://dl.dropbox.com/u/12258575/I-readings-VBUS-test.xls
http://dl.dropbox.com/u/12258575/I-readings-VBUS-test.pdf

it was not possible to use it before doing this:
looks like the power loss after booston is caused by a trivial bug possibly caused by a last minute change in /usr/sbin/booston:
/usr/sbin/booston: line 9: syntax error: Unterminated quoted string.

uncommenting the logger line at the top and change bash to sh seems to fix it.

--Brad

Also my USB flash was not always successful enumerated, I needed to disconnect it physically and reconnect it again and pres enumerate and mount again. even then sometimes I needed to mount it from terminal:
#mount -t vfat /dev/sda1 /media/flash

http://dl.dropbox.com/u/12258575/Losgs/dmesg-fial-to-emum.log
http://dl.dropbox.com/u/12258575/Losgs/dmesg-fial-to-emum1.log
http://dl.dropbox.com/u/12258575/Losgs/dmesg-fial-to-emum2.log
http://dl.dropbox.com/u/12258575/Losgs/dmesg-succeed-to-emum3.log

Martin

IzzehO
11-08-2010, 08:22 AM
... definitely regretting flashing kernel 5 times in a day, knew it was coming... sigh guess I'll have to wait till I get home and unbrick the phone.

Ps. Anyone have a link to just the kernel so I can flash from Ubuntu?

Martin

Also thanks! Some pretty cool info there, can't believe I let those instructions slip passed.. will definitely give it a go. Does that fix the 32s countdown timer?

MohammadAG
11-08-2010, 08:38 AM
Terribly sorry about the 32s thing, I accidentally added a ' to the booston script and noticed it at school today.
I'll correct it asap!

IzzehO
11-08-2010, 08:43 AM
Terribly sorry about the 32s thing, I accidentally added a ' to the booston script and noticed it at school today.
I'll correct it asap!

Lol great! I'm just about to change it myself and try it. Found an ubuntu term at work I can flash with :P

... and unbricked! Huzzah!

WhiteWolf
11-08-2010, 08:45 AM
I have worked, but soon stops working.

Tested with USB-powered HDD SATA 80GB.

IzzehO
11-08-2010, 08:59 AM
Alright USB keyboard and mouse are working, fantastic... time to get some online Teeworlds going. Then maybe I'll reinstall windows 95 in DOSBOX and have some fun.

Ahhh the possible screw arounds for this...

Keneraali
11-08-2010, 09:05 AM
A bug with normal USB-behaviour: when I disconnect the phone from my PC the phone doesn't register this event and keeps believing that the USB-cable is still connected.

Oh, and I can't connect any USB mass memories to the phone.

Edit: seems that the USB-memory that I'm using lists to /dev/sda, not sda1. Got it working with removing the 1 from mveplus's code.

IzzehO
11-08-2010, 09:19 AM
#mount -t vfat /dev/sda1 /media/flash


Has definitely solved the issue of mounting. Managed to mount 4 seperate USB sticks. Perhaps this needs to be passed onto the scripts somehow if its not mounting properly?

Also failed to mount (or recognize) an external harddrive, that isn't a fair test, however, as its first partition is WBFS (for Wii) and not even sure it has an extX or fat partition on it.

Also could you add and option to disable portrait mode? (Or at least note it for much later releases) as I find it particularly annoying when I'm plugging and unplugging things constantly? :P

Veleno
11-08-2010, 09:37 AM
Hi guys,
whit this kernel, the camera don' t work. Is only my problem?

MohammadAG
11-08-2010, 09:51 AM
Hi guys,
whit this kernel, the camera don' t work. Is only my problem?

You have fcamera installed, the devs need to compile the modules against kernel-hostmode's headers.
Uninstalling fcam-drivers and rebooting should solve it.

slender
11-08-2010, 09:57 AM
@MohammadAG
Would it be good to add that info to known issues list?

thp
11-08-2010, 10:05 AM
Thanks. Working great for me. As already mentioned in the thread, it would be nice if the mount script would have some extra intelligence to determine if the USB disk is on /dev/sda or /dev/sda1 (if "/dev/sda1" is not contained in /proc/partitions, mount /dev/sda, else mount /dev/sda1).

One thing that does not work is gamepad/joystick devices, even after loading the "joydev" kernel module. Is this a known issue?

IzzehO
11-08-2010, 10:07 AM
Hmm what mouse drivers should I be using for this? USB mouse lights up on connect and what not, but doesn't appear to react in any applications I try?

Solved it: Qole's Bluetooth package seems to have done the job:
http://talk.maemo.org/showthread.php?t=58258

apt-get install bt-hid-scripts

Now just sync up and run showmouse in xterm. Gives you a nice little mouse cursor on the screen. Packages also map all the additional buttons for keyboard.

brad112358
11-08-2010, 10:41 AM
Terribly sorry about the 32s thing, I accidentally added a ' to the booston script and noticed it at school today.
I'll correct it asap!

Be sure and test it from the terminal so you can see errors. I initially tried just deleting the extra ' but that seemed to cause boostoff to try to kill the wrong process, leaving the loop in booston running.

Also, do you also see the crash/reboot on power-off? Or is it something I've done? I wish I had a serial console so I could see kernel messages as it shuts down.

Thanks for your work on this!

--Brad

WhiteWolf
11-08-2010, 10:43 AM
USB Keyboard test it. = OK

MohammadAG
11-08-2010, 10:47 AM
Be sure and test it from the terminal so you can see errors. I initially tried just deleting the extra ' but that seemed to cause boostoff to try to kill the wrong process, leaving the loop in booston running.

Also, do you also see the crash/reboot on power-off? Or is it something I've done? I wish I had a serial console so I could see kernel messages as it shuts down.

Thanks for your work on this!

--Brad

I tested it hours ago at school, and already pushed a new package to -devel.
Also, shutting down Skype solved stuttering in mplayer, watched a full episode of house without any problems :)
I'll look into kernel-power today, and maybe fcam-drivers

IzzehO
11-08-2010, 10:56 AM
I tested it hours ago at school, and already pushed a new package to -devel.
Also, shutting down Skype solved stuttering in mplayer, watched a full episode of house without any problems :)
I'll look into kernel-power today, and maybe fcam-drivers

If we had kernel-power you'd have had no stuttering as well :P

Also just managed to play a slideshow off my USB mounted camera (cheapy pen camera =s)

USB Keyboard test it. = OK

Have a look at the link I posted, as it'll enable all of the keys. Not being able to input forward slash (/) on a linux phone is just downright embarassing :P

brad112358
11-08-2010, 11:52 AM
I tested it hours ago at school, and already pushed a new package to -devel.
Also, shutting down Skype solved stuttering in mplayer, watched a full episode of house without any problems :)
I'll look into kernel-power today, and maybe fcam-drivers

But did you verify that boostoff actually kills booston? I just updated and with your new package, boostoff run from a root shell doesn't kill the booston loop running in the background for me.

Thanks!

--Brad

luketanti
11-08-2010, 12:17 PM
Whenever I try to copy something from the internal flash to the usb flaash drive it tells me location is read-only. But I can write from USB flash drive to internal flash. It is formatted fat32. Can some one tell me how to solve this.

luketanti
11-08-2010, 12:28 PM
Install FileBox ( in options enable root access) reload FileBox , then you will be able to write (there is another way but this is easiest one- and be careful to not wipe your root :)

Yes I have file box but I do not know how to change from root to usb drive.

Hmoobwarrior
11-08-2010, 12:31 PM
sorry stupid question but .. 3g dongle via usb will work? now with usb beta? stil on att unfortunately. need to know so i can purchase a dongle, I love n900 hate that att doesnt have the right freq.. stuck on plan for another year or so.

joerg_rw
11-08-2010, 02:31 PM
Power kernel + PR1.3 behaves in exactly the same as stock PR1.3
This never has been the topic though. What Mohammad quoted completely correctly, was a lock to 500MHz while on Nokia wallcharger which is new to all stock PR1.3 kernels

Even if it was locking the minimum frequency to 900 MHz, we were not going to see some dead devices pretty soon, so I will thank you if you stop spreading FUD, especially as the modifications you work on a, and announce proudly in this thread, are a lot more dangerous to people's devices.
Sorry I have to say you are totally wrong here, and it's actually YOU who is spreading FUD. It's commonly known and documented problem of overclocking that lifespan of the SoC will be drastically reduced, Nokia's Igor Stoppa (a guy not attributed to spread FUD regularly) claims you MUST NOT lock CPU at even 600MHz or device will take harm.
I leave it to you as an exercise to find all the citations, they are all here in this forum.
And, pretty please, would you elaborate on where you see any dangers in hostmode modifications! I can't find any, and I talked with other obviously more knowledgeable people that you are, and they neither can understand your concerns.
So please enlighten us, or stop this unjustified rant and offense.

Many thanks
jOERG

Zoin
11-08-2010, 02:43 PM
As for me - all the flash drives had worked well, card reader, all mouses (but Quake III somehow did not work as it was expected ;) ) had worked fine as well. But - no hard drives (despite the fact that I'm pretty sure they had enough power). And the most annoying part - not a single time had a flash disk been mounted automatically (but logs display everything correct - device is mounted to /dev/sda1 or /dev/sdc or something else. Only problem - it doesn't mounts to /media/flash), so hope developers will fix this small bug soon.

Anyway - well done! Tremendous work and amazing results! You made my day! :)

MohammadAG
11-08-2010, 02:46 PM
As for me - all the flash drives had worked well, card reader, all mouses (but Quake III somehow did not work as it was expected ;) ) had worked fine as well. But - no hard drives (despite the fact that I'm pretty sure they had enough power). And the most annoying part - not a single time had a flash disk been mounted automatically (but logs display everything correct - device is mounted to /dev/sda1 or /dev/sdc or something else. Only problem - it doesn't mounts to /media/flash), so hope developers will fix this small bug soon.

Anyway - well done! Tremendous work and amazing results! You made my day! :)

The mount button was a very quick botch up by me for quick mounting /dev/sda1.
Automounting should obviously work in future version, sadly, ke-recv doesn't mount them automatically for some reason, so either ke-recv has to be fixed or a workaround made in the GUI itself.

luketanti
11-08-2010, 03:16 PM
From 4 flash drives only one worked. A sony 1GB drive. What is the problem with the other 3??? One of the non-working one is a Sandisk U3 8GB

MohammadAG
11-08-2010, 03:20 PM
Did you reenumerate in between flash swaps?

luketanti
11-08-2010, 03:29 PM
Did you reenumerate in between flash swaps?

Yes. I did. And I even restarted the phone. I do not know why. I also tried an mp4 player and a microsd to usb card reader but nothing. In the kernel log it detects them but in file mangers I do not see anything.

anapospastos
11-08-2010, 03:41 PM
Ok, I ve got working that too. Two things I noticed as they mentioned also here:
1. It doesn't auto mount
2. it "sees" memory stick as read-only

Thanks for all your effort and keep doing great things for Maemo and N900.

Zoin
11-08-2010, 03:43 PM
Yes. I did. And I even restarted the phone. I do not know why. I also tried an mp4 player and a microsd to usb card reader but nothing. In the kernel log it detects them but in file mangers I do not see anything.

They are just not mounted properly - I'm pretty much sure. You can read log to confirm this

retsaw
11-08-2010, 03:58 PM
sorry stupid question but .. 3g dongle via usb will work? now with usb beta? stil on att unfortunately. need to know so i can purchase a dongle, I love n900 hate that att doesnt have the right freq.. stuck on plan for another year or so.Not likely. 3G dongles draw a LOT of power, whilst (for the moment at least) the N900 can only output 200mA of current, compared to a regular USB port which can output 500mA (and sometimes more). You could try it but I doubt you'd have much luck and I'm not sure the driver for it would be included in the kernel (though that could be easily fixed so long as there is a linux driver for it).

Maybe you should consider getting a MiFi instead, they are also more convenient than connecting a dongle and have their own battery,

thp
11-08-2010, 04:11 PM
Ok, I did not get my Logitech Rumblepad 2 to be detected, but I was able to get an older Sidewinder Gamepad (Freestyle Pro) to work in low speed mode and be available as normal joystick. Here's a small utility that will use SDL to read joystick input and convert it into keyboard events (the axes map to keyboard arrows, the buttons to different keys). Useful for playing emulator games with USB joysticks/gamepads:

http://thp.io/2010/maemo/jsthingie (Source: http://thp.io/2010/maemo/jsthingie.c)

For now, only digital pads are supported (no analog joysticks due to the primitive logic that is used to determine direction for arrow keys) and you have to have SDL installed, uinput loaded (modprobe uinput) and you either have to give correct permissions to /dev/input/uinput or make sure that you run jsthingie as root.

luketanti
11-08-2010, 04:14 PM
wlan0: roaming signal from driver, sending LOWSIGNAL
[16772.927581] wlan0: roaming signal from driver, sending HIGHSIGNAL
[16969.750946] wlan0: roaming signal from driver, sending LOWSIGNAL
[16979.785736] wlan0: roaming signal from driver, sending HIGHSIGNAL
[17082.705627] wlan0: roaming signal from driver, sending LOWSIGNAL
[17092.739532] wlan0: roaming signal from driver, sending HIGHSIGNAL
[17126.125213] wlan0: roaming signal from driver, sending LOWSIGNAL
[17133.891387] wlan0: roaming signal from driver, sending HIGHSIGNAL
[17234.571136] wlan0: roaming signal from driver, sending LOWSIGNAL
[17245.118652] wlan0: roaming signal from driver, sending HIGHSIGNAL
[17289.766784] wlan0: roaming signal from driver, sending LOWSIGNAL
[17294.990051] wlan0: roaming signal from driver, sending HIGHSIGNAL
[17436.821655] wlan0: roaming signal from driver, sending LOWSIGNAL
[17458.736267] wlan0: roaming signal from driver, sending HIGHSIGNAL
[17661.807128] wlan0: roaming signal from driver, sending LOWSIGNAL
[17676.859954] wlan0: roaming signal from driver, sending HIGHSIGNAL
[17720.266906] wlan0: roaming signal from driver, sending LOWSIGNAL
[17814.287078] wlan0: roaming signal from driver, sending HIGHSIGNAL
[17821.149108] wlan0: roaming signal from driver, sending LOWSIGNAL
[17856.888336] wlan0: roaming signal from driver, sending HIGHSIGNAL
[17967.047119] kb_lock (GPIO 113) is now closed
[17967.328094] kb_lock (GPIO 113) is now open
[17972.875122] kb_lock (GPIO 113) is now closed
[17973.335845] kb_lock (GPIO 113) is now open
[18113.418640] wlan0: driver reports beacon loss from AP cfff0ed4 - sending probe request
[18114.754486] wlan0: driver reports beacon loss from AP cfff0ed4 - sending probe request
[18116.766906] wlan0: no probe response from AP cfff0ed4 - disassociating
[18118.383483] wlan0: authenticate with AP 00:1d:0f:ee:61:8a
[18118.405426] wlan0: authenticated
[18118.405487] wlan0: associate with AP 00:1d:0f:ee:61:8a
[18118.413604] wlan0: RX AssocResp from 00:1d:0f:ee:61:8a (capab=0x431 status=0 aid=2)
[18118.413635] wlan0: associated
[18124.073181] wlan0: driver reports beacon loss from AP cfff0ed4 - sending probe request
[18159.095733] wlan0: driver reports beacon loss from AP cfff0ed4 - sending probe request
[18160.934936] wlan0: driver reports beacon loss from AP cfff0ed4 - sending probe request
[18163.601776] wlan0: driver reports beacon loss from AP cfff0ed4 - sending probe request
[18168.313507] wlan0: driver reports beacon loss from AP cfff0ed4 - sending probe request
[18175.686492] wlan0: driver reports beacon loss from AP cfff0ed4 - sending probe request
[18177.688751] wlan0: no probe response from AP cfff0ed4 - disassociating
[18178.501495] wlan0: direct probe to AP 00:1d:0f:ee:61:8a try 1
[18178.695373] wlan0: direct probe to AP 00:1d:0f:ee:61:8a try 2
[18178.749847] wlan0 direct probe responded
[18178.749908] wlan0: authenticate with AP 00:1d:0f:ee:61:8a
[18178.812530] wlan0: authenticated
[18178.812591] wlan0: associate with AP 00:1d:0f:ee:61:8a
[18178.864715] wlan0: RX AssocResp from 00:1d:0f:ee:61:8a (capab=0x431 status=0 aid=2)
[18178.864776] wlan0: associated
[18468.648284] kb_lock (GPIO 113) is now closed
[18468.812377] kb_lock (GPIO 113) is now open
[18500.489532] wlan0: roaming signal from driver, sending LOWSIGNAL
[18505.405334] wlan0: roaming signal from driver, sending HIGHSIGNAL
[18527.921875] usb 1-1: new high speed USB device using musb_hdrc and address 77
[18528.072204] usb 1-1: configuration #1 chosen from 1 choice
[18528.099334] scsi12 : SCSI emulation for USB Mass Storage devices
[18528.109649] drivers/usb/core/inode.c: creating file '077'
[18528.110595] usb 1-1: New USB device found, idVendor=0781, idProduct=5406
[18528.110656] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[18528.110717] usb 1-1: Product: U3 Cruzer Micro
[18528.110748] usb 1-1: Manufacturer: SanDisk
[18528.110778] usb 1-1: SerialNumber: 0877631412002F67
[18528.121612] usb-storage: device found at 77
[18528.121673] usb-storage: waiting for device to settle before scanning
[18533.118988] usb-storage: device scan complete
[18533.120727] scsi 12:0:0:0: Direct-Access SanDisk Cruzer 8.01 PQ: 0 ANSI: 0 CCS
[18533.143096] sd 12:0:0:0: [sda] 15731711 512-byte hardware sectors: (8.05 GB/7.50 GiB)
[18533.143676] sd 12:0:0:0: [sda] Write Protect is off
[18533.143737] sd 12:0:0:0: [sda] Mode Sense: 45 00 00 08
[18533.143768] sd 12:0:0:0: [sda] Assuming drive cache: write through
[18533.152313] sd 12:0:0:0: [sda] 15731711 512-byte hardware sectors: (8.05 GB/7.50 GiB)
[18533.152893] sd 12:0:0:0: [sda] Write Protect is off
[18533.152954] sd 12:0:0:0: [sda] Mode Sense: 45 00 00 08
[18533.152984] sd 12:0:0:0: [sda] Assuming drive cache: write through
[18533.153045] sda:
[18533.170257] sd 12:0:0:0: [sda] Attached SCSI removable disk
[18570.337066] wlan0: roaming signal from driver, sending LOWSIGNAL
[18576.383392] wl1251: ERROR Power save entry failed, giving up
[18581.288177] wlan0: roaming signal from driver, sending HIGHSIGNAL
[18588.558807] wlan0: roaming signal from driver, sending LOWSIGNAL
[18602.383422] wlan0: roaming signal from driver, sending HIGHSIGNAL

This is my log of the sandisk (I think). Can some one tell me what am I doing wrong then.

aligatro
11-08-2010, 04:19 PM
Noticed a wierd problem with fm-module. I tried to activate it but it says that fm failed to start or something like that. Also, bluetooth name change to "BCMXXX (some number) Initialization configuration"
had a powerkernel before flashing to hostmode.

PathFinder@9GS
11-08-2010, 04:50 PM
I've got a question.. So If I plug in something that is being powered externally.. mm say my dslr.. I power it up and connect it to my phone and follow the steps..

Would there be like a backup current flow from the camera to the phone? and if there would be.. would it harm my phone?

MohammadAG
11-08-2010, 05:16 PM
kernel-power with hostmode added into it.
http://mohammadag.xceleo.org/hostmode/Nov_08_2010/power40/
Download all packages there and dpkg -i them, no step by step tuts since it is after all... for power users.

WhiteWolf
11-08-2010, 05:24 PM
I've tried a 2Gb pendrive Toahiba and it has worked without external power and I played a movie.

"Gran Torino."

Link: video (http://www.phonesfera.com/posting.php)

aligatro
11-08-2010, 05:28 PM
Noticed a wierd problem with fm-module. I tried to activate it but it says that fm failed to start or something like that. Also, bluetooth name change to "BCMXXX (some number) Initialization configuration"
had a powerkernel before flashing to hostmode.

Don't tell me I am the only person with this problem. oO
Can someone with fm-app plz check if it's still working.

*Sonic*
11-08-2010, 05:28 PM
Just need someone to port this to ARM and hildonize now :D

http://www.kismetwireless.net/spectools/

cfh11
11-08-2010, 05:48 PM
1) Off Topic
2) Already available http://talk.maemo.org/showthread.php?p=653961#post653961

*Sonic*
11-08-2010, 06:01 PM
1) Off Topic
2) Already available http://talk.maemo.org/showthread.php?p=653961#post653961

Its not Kismet I'm after (I already have that) its the spectools from Kismet which needs the Wi-Spy DBX Spectrum Analyzer I have

hardkorek
11-08-2010, 07:03 PM
Don't tell me I am the only person with this problem. oO
Can someone with fm-app plz check if it's still working.


My bluetooth is working fine with new power kernel with usb patch.

I succesful connect kingstone traveler 1 GB pendrive.
I needed to mount manualy.

Great thanks for Developers, you are awesome guys.

aligatro
11-08-2010, 07:29 PM
My bluetooth is working fine with new power kernel with usb patch.

I succesful connect kingstone traveler 1 GB pendrive.
I needed to mount manualy.

Great thanks for Developers, you are awesome guys.

But what about fm-radio ?

[added] Damn, I can't compile a kernel module for my webcam. :( Are you guys compiling kernels and modules inside scratchbox or using something else?

Veleno
11-08-2010, 07:46 PM
But what about fm-radio ?

[added] Damn, I can't compile a kernel module for my webcam. :( Are you guys compiling kernels and modules inside scratchbox or using something else?

FM radio for me working fine, but the 3G connection don' t work :S
(power-kernel)

hardkorek
11-08-2010, 07:49 PM
But what about fm-radio ?

[added] Damn, I can't compile a kernel module for my webcam. :( Are you guys compiling kernels and modules inside scratchbox or using something else?

It's the same chip i think. Works fine.
I also had power kernel before. Try to install MohamadAG power kernel.

FM radio for me working fine, but the 3G connection don' t work :S
(power-kernel)

It is working fine for me. Maybe you make mess in system before.

aligatro
11-08-2010, 07:53 PM
It's the same chip i think. Works fine.
I also had power kernel before. Try to install MohamadAG power kernel.

It is thats why I mentioned bluetooth in my previous post.

pali
11-08-2010, 07:53 PM
Hello,

I successfull using Agaxo ADE X1 [1] USB<-->RJ45 adapter without usb hub. Only I needed compile usbnet drivers with .config


CONFIG_USB_USBNET=m
CONFIG_MII=m
CONFIG_USB_NET_MCS7830=m


wpa_supplicant in wired mode works fine too.

It is possible to include usbnet modules in next hostmode kernel release?

[1] - http://www.axago.cz/cz/produkty/usb-adaptery/ADE-X1.html

aligatro
11-08-2010, 07:55 PM
Hello,

I successfull using Agaxo ADE X1 [1] USB<-->RJ45 adapter without usb hub. Only I needed compile usbnet drivers with .config


CONFIG_USB_USBNET=m
CONFIG_MII=m
CONFIG_USB_NET_MCS7830=m


wpa_supplicant in wired mode works fine too.

It is possible to include usbnet modules in next hostmode kernel release?

[1] - http://www.axago.cz/cz/produkty/usb-adaptery/ADE-X1.html

Did you compile inside scratchbox ?

pali
11-08-2010, 07:56 PM
No. Using mad.

aligatro
11-08-2010, 07:58 PM
No. Using mad.

Can you give me a link to main website. Quick search in google only showed me links to mpeg decoder.

pali
11-08-2010, 07:59 PM
http://wiki.maemo.org/MADDE

jflatt
11-08-2010, 08:05 PM
I fully understand the awesomeness of this project, and this is not a dig, but are there any good USB devices that do something better than the N900 already does? External hard drives and CD drives, I'd rather have the data on a microSD. Bluetooth and FM radio no big deal, since the N900 already has the hardware. I think a TV tuner would be cool, but transcoded shows with the adverts cut out is better.

Okay, plugging in a touchscreen would be cool, I could make my own 'terminal mode' in my car. Also, an arduino would open the door to many other sensors and devices

hardkorek
11-08-2010, 08:23 PM
I was trying to copy 700Mb movie from internal flash to pendrive.
It's fast at begining but after few minuts transfer rate gets lower and lower.
it is 17 minuts now i copied 47% and current transfer is around 380Kbps.

slow...

AgogData
11-08-2010, 10:06 PM
any1 tried the camera ? after this application the camera does't work ((operation failed)) !!!!!!!!!!!!!

hardkorek
11-08-2010, 10:22 PM
It was mentioned somwhere that kernel wont work with fcam driver. Try kernel power, link is few pages back.

AgogData
11-08-2010, 11:02 PM
fcam and n900's camera are not working
and i just want the default kernal i dont wanna play with kernals !

cfh11
11-08-2010, 11:07 PM
fcam and n900's camera are not working
and i just want the default kernal i dont wanna play with kernals !

Errrr.... then what are you doing flashing beta versions of custom kernels?

aligatro
11-08-2010, 11:08 PM
can a setup like this work ? assuming the driver for the adapter is portable .

Planar PX2230MW 22" Class Widescreen Multi-Touch M
http://www.amazon.com/Planar-PX2230MW-Class-Widescreen-Multi-Touch/dp/B003B47BZO
+
USB To Dvi Graphics Adapter
http://www.amazon.com/USB-To-Dvi-Graphics-Adapter/dp/B0011VJRLU

1. I don't think our system will be able to make use of multi-touch.(even if you'll have proper drivers)
2. Usb is slow. check out this video http://www.youtube.com/watch?v=wmENjD6WilY
3. that adapter supports up to 1600X1200 (screen is 1920x1080)
It will probably lag even more on n900.
4. You need to configure Xorg to setup the second display. If you are gonna run at higher resolution then you will see programs take up only small part of the screen. In other words, they won't stretch.

AgogData
11-08-2010, 11:09 PM
Errrr.... then what are you doing flashing beta versions of custom kernels?

do you mean thats a custom kernal that was with usb hostmode beta ? what i wanna know is wheres the default kernal ? aren't we suppose to choose between kernals at startup ?

You have fcamera installed, the devs need to compile the modules against kernel-hostmode's headers.
Uninstalling fcam-drivers and rebooting should solve it.

i can do that but is there any other side effects rather than the camera ?

kolos
11-09-2010, 12:02 AM
kernel-power with hostmode added into it.
http://mohammadag.xceleo.org/hostmode/Nov_08_2010/power40/
Download all packages there and dpkg -i them, no step by step tuts since it is after all... for power users.

I don't know why I didn't have luck with default kernel, but with power one I was finally able to see plugged USB stick in file manager.

Another thing, every time when I close h-e-n it also turns off my phone. Is this normal behavior?

hardkorek
11-09-2010, 12:17 AM
do you mean thats a custom kernal that was with usb hostmode beta ? what i wanna know is wheres the default kernal ? aren't we suppose to choose between kernals at startup ?



i can do that but is there any other side effects rather than the camera ?

As I write you on PM. You don't have to worry, feel free to experiment. I think nobody brick n900 using software. You can allways reflash - it is easy. Check the wiki for it.

AgogData
11-09-2010, 12:27 AM
I don't know why I didn't have luck with default kernel, but with power one I was finally able to see plugged USB stick in file manager.

Another thing, every time when I close h-e-n it also turns off my phone. Is this normal behavior?

kolos, h-e-n closes everything you can't turn your phone off its auto-restart,,many games and applications crashes and theres a massive slowness and lagging,,,,i wish i had a time machine :rolleyes:

snakekontrol
11-09-2010, 12:31 AM
how do i make it work with multiboot? It seems I screwed it up, and it says "Error: Can't flash kernel, required files not found"

MohammadAG
11-09-2010, 01:32 AM
If your phone turns off after closing hen then the battery ran out, when you close hen, bme is started again, and if that finds the battery low it will shutdown the device, I'm assuming you didn't read the help screen, the battery meter is not updated when bme is off.

Also, don't blame hen for your slow device, we made a lot of tests on it and it does not increase load on the CPU at all, nor does it risk damaging your device, but I'd like to thank a certain member for spreading ******** (BS if it gets censored) about it.

Bratag
11-09-2010, 01:50 AM
kolos, h-e-n closes everything you can't turn your phone off its auto-restart,,many games and applications crashes and theres a massive slowness and lagging,,,,i wish i had a time machine :rolleyes:

You do - its called flasher. Feel free to go back in time to the distant age of 1.3

anapospastos
11-09-2010, 02:44 AM
I confirm that default camera doesnt work with hostmode kernel("operation failed") and also there is a little "break" when you scroll into the browser, it's not smooth as before.

edit: If you open camera app and it says "operation failed" just uninstall fcamera and reboot, as MohammadAG mentioned.

F2thaK
11-09-2010, 02:46 AM
camera works for me........... !!

IzzehO
11-09-2010, 02:57 AM
Camera works fine for me..... as does everything else on the phone. Been running power kernel with usb mods all day to no ill effect. Connected PS3 controller, took a photo, filmed a video, used flashlight app, called some people, texted some people, downloaded some things...

Farooq
11-09-2010, 02:59 AM
Will Nokia Cable CA-157 USB OTG for N8 work with this?

F2thaK
11-09-2010, 03:07 AM
Offtopic: In the latest episode of Dexter he has the N8

IzzehO
11-09-2010, 03:09 AM
Will Nokia Cable CA-157 USB OTG for N8 work with this?

No it will not. It's reported the connector won't fit in the N900.

Offtopic: In the latest episode of Dexter he has the N8

Yes.. that is, in fact, extremely off topic...

Farooq
11-09-2010, 03:13 AM
[QUOTE=IzzehO;867778]No it will not. It's reported the connector won't fit in the N900.

But its the same as N900

Farooq
11-09-2010, 03:23 AM
Can anyone confirm that internet usb dongles will work with this.
And one thing more if i have its software developed for Windows XP how can i port that for N900.
It will be great if i can use the internet USB dongle with N900.
The last thing is that will there b any possibility in the future that there will be 1 female to 2 female adapter cable(one micro and one standard) used with the N900. one for the charging and one for the USB OTG.

Regards

Farooq
11-09-2010, 03:27 AM
anyone tried USB hub with this and connected more than one device?

F2thaK
11-09-2010, 03:45 AM
Sure, my N900 can power my keyboard, mouse, cup warmer, reading light, my PS3 and my 48" LED TV.

True, it does go flat in a nano second though.

Farooq
11-09-2010, 03:48 AM
Can anyone confirm that internet usb dongles will work with this.
And one thing more if i have its software developed for Windows XP how can i port that for N900.
It will be great if i can use the internet USB dongle with N900.
The last thing is that will there b any possibility in the future that there will be 1 female to 2 female adapter cable(one micro and one standard) used with the N900. one for the charging and one for the USB OTG.

Regards

kolos
11-09-2010, 03:51 AM
If your phone turns off after closing hen then the battery ran out, when you close hen, bme is started again, and if that finds the battery low it will shutdown the device, I'm assuming you didn't read the help screen, the battery meter is not updated when bme is off.
(BS if it gets censored) about it.

It happans with full battery and no matter if I plug in any device or not. Just every closing of app ends with reboot. I will make some additional tests during the day.

kolos
11-09-2010, 04:14 AM
OK, I have additional info. Reboots happen only when I load any kernel's profile (kernel-config load ...). I'm using ulv profile, but it reboots even if I load default profile. Also some USB sticks need to be mounted manually (mount -t vfat /dev/sda1 /media/flash) and some are not recognizable.

Farooq
11-09-2010, 04:14 AM
Can anyone confirm that internet usb dongles will work with this.
And one thing more if i have its software developed for Windows XP how can i port that for N900.
It will be great if i can use the internet USB dongle with N900.
The last thing is that will there b any possibility in the future that there will be 1 female to 2 female adapter cable(one micro and one standard) used with the N900. one for the charging and one for the USB OTG.

Regards

will any one help please

F2thaK
11-09-2010, 04:16 AM
give it time mate

Surreptitious
11-09-2010, 04:17 AM
Brilliant work! Can't wait to try this on my phone, now I can finally use my usb stick with my n900.

thp
11-09-2010, 04:53 AM
I fully understand the awesomeness of this project, and this is not a dig, but are there any good USB devices that do something better than the N900 already does?

Input devices. Joysticks, Gamepads, Dance Mats. Of course also keyboards and mice which (in combination with TV-Out and Easy Debian) could make for a ultraultraportable Desktop experience. Another good use is when you need to collect data from different people (i.e. at the end of a holiday, you want to copy all photos directly via USB from the cameras / a card reader). I'd also like to find an ambient display kind of thing (something like the Ambient Orb) that can then be used (with some scripting on the N900 side) to subtly notify me about incoming mail, a broken service or something else that needs my attention.

Or use an USB sound card to give your N900 a line in for recording audio directly from an analog source.

There's a wide variety of USB crap gadgets (http://www.thinkgeek.com/brain/whereisit.cgi?t=usb) out there for you to choose from ;)

freemangordon
11-09-2010, 06:25 AM
kernel-power with hostmode added into it.
http://mohammadag.xceleo.org/hostmode/Nov_08_2010/power40/
Download all packages there and dpkg -i them, no step by step tuts since it is after all... for power users.

Can you please post or give a link to source or patches so one (me for example ;) ) to be able to implement PR 1.3 kernel patches (if not already included). I am asking because massive responsiveness improvement reported after PR1.3 upgrade seems to be because there are several fixes in stock kernel re swap management (among other things). Did not check in garage, so sorry if this kernel source is available there.

And thanks for your efforts on hostmode project

adhrie
11-09-2010, 06:43 AM
is this the link to the wiki page on this matter?
http://wiki.maemo.org/N900_Hardware_USB_Host

if it is, i hope it will be updated

and if possible, anyone who has compiled/mods drivers for a certain devices to work could share it with others in the wiki

SubCore
11-09-2010, 06:47 AM
Can anyone confirm that internet usb dongles will work with this.

this has already been answered (http://talk.maemo.org/showpost.php?p=867315&postcount=86) in this thread.

And one thing more if i have its software developed for Windows XP how can i port that for N900.

you probably can't.

Can you please post or give a link to source or patches so one (me for example ;) ) to be able to implement PR 1.3 kernel patches (if not already included).

this is a modified 1.3 kernel.
all the patches can be found here (https://garage.maemo.org/projects/h-e-n/)(as always).

AgogData
11-09-2010, 07:42 AM
If your phone turns off after closing hen then the battery ran out, when you close hen, bme is started again, and if that finds the battery low it will shutdown the device, I'm assuming you didn't read the help screen, the battery meter is not updated when bme is off.

Also, don't blame hen for your slow device, we made a lot of tests on it and it does not increase load on the CPU at all, nor does it risk damaging your device, but I'd like to thank a certain member for spreading ******** (BS if it gets censored) about it.

i hope you are not talking about me cuz there are many members who you just *@#!~ up their devices and we all read the warning and the wiki and we felt safe

Farooq
11-09-2010, 07:55 AM
If your phone turns off after closing hen then the battery ran out, when you close hen, bme is started again, and if that finds the battery low it will shutdown the device, I'm assuming you didn't read the help screen, the battery meter is not updated when bme is off.

Also, don't blame hen for your slow device, we made a lot of tests on it and it does not increase load on the CPU at all, nor does it risk damaging your device, but I'd like to thank a certain member for spreading ******** (BS if it gets censored) about it.

Hi can you please upload videos of using different usb devices with this Application.
Thanks for the work u did,

toxaris
11-09-2010, 08:10 AM
kernel-power with hostmode added into it.
http://mohammadag.xceleo.org/hostmode/Nov_08_2010/power40/
Download all packages there and dpkg -i them, no step by step tuts since it is after all... for power users.

For thoes who dont know.
Run this:
dpkg -i kernel-power_2.6.28-maemo40_armel.deb kernel-power-modules_2.6.28-maemo40_armel.deb kernel-power-flasher_2.6.28-maemo40_armel.deb hostmode-gui_0.2-2_armel.deb

You might get dependancy error on i2c-tools.
If so you can run:
apt-get install i2c-tools
And after that install hostmode-gui_0.2-2_armel.deb again:
dpkg -i hostmode-gui_0.2-2_armel.deb

Lets hope I got it right, it worked for me atleast.
Thx Kalos for the help before.

toxaris
11-09-2010, 08:16 AM
A question.
If I dont have write permissions on a FAT32 flashdrive.
Can I then run (as root):
chmod +rwx -R /dev/sda1

Or what might be the problem?

freemangordon
11-09-2010, 08:19 AM
this is a modified 1.3 kernel.
all the patches can be found here (https://garage.maemo.org/projects/h-e-n/)(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
11-09-2010, 08:20 AM
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
11-09-2010, 08:33 AM
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
11-09-2010, 08:39 AM
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
11-09-2010, 08:49 AM
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
11-09-2010, 08:54 AM
A question.
If I dont have write permissions on a FAT32 flashdrive.
Can I then run (as root):
chmod +rwx -R /dev/sda1

Or what might be the problem?

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

rash.m2k
11-09-2010, 09:01 AM
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
11-09-2010, 09:25 AM
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
11-09-2010, 09:40 AM
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.

Larswad
11-09-2010, 09:53 AM
pennywise: Try going back to stock kernel (or overclocked power kernel perhaps) and see what happens! Maybe the camera will work again.

Like they've stated here, it's a beta and probably you shouldn't expect too much support on this (yet).
About your package problems it does look like your kernal power package has been shot somehow. I would suggest you to uninstall that first using the kernel power deinstaller in the application menu.

Matan
11-09-2010, 10:04 AM
kernel-power with hostmode added into it.
http://mohammadag.xceleo.org/hostmode/Nov_08_2010/power40/
Download all packages there and dpkg -i them, no step by step tuts since it is after all... for power users.

I've asked you this a few times, yet I need to ask you again.

Please stop distributing GPLed binaries without corresponding source. How do you want to manage a whole distribution when you can't do this simple thing.

Again, so it will be clear:

Don't.

Distribute.

GPL.

binaries.

without.

source.

MohammadAG
11-09-2010, 10:57 AM
I've asked you this a few times, yet I need to ask you again.

Please stop distributing GPLed binaries without corresponding source. How do you want to manage a whole distribution when you can't do this simple thing.

Again, so it will be clear:

Don't.

Distribute.

GPL.

binaries.

without.

source.

Why the **** do you always point out faults in my threads? Yet you don't give a crap about others?
Take for example:
http://talk.maemo.org/showthread.php?t=65221

Anyways, I was two hours late for bed, you know... cause some people have a life/are students, I didn't even change debian/changelog or control, but I'm sure you don't care about anything except being an *******.

I'll make a new package today, take down the old one and upload sources.

pennywise
11-09-2010, 11:52 AM
pennywise: Try going back to stock kernel (or overclocked power kernel perhaps) and see what happens! Maybe the camera will work again.

Like they've stated here, it's a beta and probably you shouldn't expect too much support on this (yet).
.

trying to deinstalling kernel power from the application menu also gave an error:
"error during deinstallation. Could not install Nokia kernel"

Matan
11-09-2010, 12:18 PM
Why the **** do you always point out faults in my threads? Yet you don't give a crap about others?
Take for example:
http://talk.maemo.org/showthread.php?t=65221


Take that as a compliment. I was interested in your work (as I was interested in your previous work), I wanted to download the source, to see what you did. Surprisingly, there was no source.

I am not interested in the subject of the thread you linked to, therefore I don't know if the source is available.


I'll make a new package today, take down the old one and upload sources.


Great. Make that a habit - upload source and binary together.
I know you do not do this out of malice, but being sloppy is a bad habit for a programmer and even worse for an organiser.

MohammadAG
11-09-2010, 12:27 PM
Take that as a compliment. I was interested in your work (as I was interested in your previous work), I wanted to download the source, to see what you did. Surprisingly, there was no source.

I am not interested in the subject of the thread you linked to, therefore I don't know if the source is available.



Great. Make that a habit - upload source and binary together.
I know you do not do this out of malice, but being sloppy is a bad habit for a programmer and even worse for an organiser.

Sorry if I was an ******* then :)

I do this since uploading 70+MBs on a 5MB connection takes time, and it was midnight on a school night.
As for the SSU, it wasn't set up to build from sources so only binaries were built back then, anyways, that's off topic here.

aligatro
11-09-2010, 12:41 PM
Sorry if I was an ******* then :)

I do this since uploading 70+MBs on a 5MB connection takes time, and it was midnight on a school night.
As for the SSU, it wasn't set up to build from sources so only binaries were built back then, anyways, that's off topic here.

Why not upload it as a patch ?

roger_27
11-09-2010, 12:47 PM
I fully understand the awesomeness of this project, and this is not a dig, but are there any good USB devices that do something better than the N900 already does? External hard drives and CD drives, I'd rather have the data on a microSD. Bluetooth and FM radio no big deal, since the N900 already has the hardware. I think a TV tuner would be cool, but transcoded shows with the adverts cut out is better.

Okay, plugging in a touchscreen would be cool, I could make my own 'terminal mode' in my car. Also, an arduino would open the door to many other sensors and devices



Here's why I think it's cool:

You are somewhere not near a computer, some guy has something on a USB flash drive that you need/want. you keep your cables in the car (I do anyways). so now you can copy stuff over!

dirkb
11-09-2010, 01:00 PM
hello,
I have a problem. after installing the program I deleted it without rebooting the device first. I had the normal kerneversion pr 1.3 and now my n900 is in a reboot-loop. what can I do??

aligatro
11-09-2010, 01:03 PM
hello,
I have a problem. after installing the program I deleted it without rebooting the device first. I had the normal kerneversion pr 1.3 and now my n900 is in a reboot-loop. what can I do??

Reflash kernel.

[added]
Hold "u" on the phone and turn it on at the same time.

http://tablets-dev.nokia.com/nokia_N900.php?f=RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin

sudo ./flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin --flash-only=kernel -f -R

dirkb
11-09-2010, 01:05 PM
Reflash kernel.

I tried to reflash it, but it wont say "done". so after running flasher nothing happens..
i tried the file from nokia: RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin

ashwin
11-09-2010, 01:07 PM
hey guys i installed usb hostmode and then uninstalled it using applications menu...but after that my camera wasnt working and then when i switched off the fone ..the fone has gone into infinite reboot loop ...it just boots...shows nokia screen and then shuts down and then again reboots...i tried to remove battery for few mins but of no help...can someone help me wat to do....tthnxs a ton in advance

aligatro
11-09-2010, 01:08 PM
I tried to reflash it, but it wont say "done". so after running flasher nothing happens..
i tried the file from nokia: RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin

Try to hold "u" button on the phone.

hey guys i installed usb hostmode and then uninstalled it using applications menu...but after that my camera wasnt working and then when i switched off the fone ..the fone has gone into infinite reboot loop ...it just boots...shows nokia screen and then shuts down and then again reboots...i tried to remove battery for few mins but of no help...can someone help me wat to do....tthnxs a ton in advance


same thing.

ashwin
11-09-2010, 01:11 PM
Try to hold "u" button on the phone.




same thing.

doesnt work :(

aligatro
11-09-2010, 01:12 PM
doesnt work :(

And flash the kernel. http://talk.maemo.org/showpost.php?p=868239&postcount=164

anapospastos
11-09-2010, 01:24 PM
Same thing. I uninstalled hen rebooted and boom. I had to flash the kernel to ressurect it from the deads!

aligatro
11-09-2010, 01:26 PM
Same thing. I uninstalled hen rebooted and boom. I had to flash the kernel to ressurect it from the deads!

Looks like it's contagious.:P

dirkb
11-09-2010, 01:42 PM
Reflash kernel.

[added]
Hold "u" on the phone and turn it on at the same time.

http://tablets-dev.nokia.com/nokia_N900.php?f=RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin

sudo ./flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin --flash-only=kernel -f -R

this saved my day! THANKS ALOT!!!!
it worked and now you have 3 wishes free;-)

snakekontrol
11-09-2010, 02:01 PM
any ideas on how to patch the neopwn kernel in order to support this? I can't multiboot both kernels, it gives me an error, anyone succesful with this?

toxaris
11-09-2010, 02:03 PM
I guess you shouldnt update Enhanched Linux Kernel for Power Users and h-e-n (USB Host-mode GUI) with applicationmanager if you have installed the MohammadAG modified packages kernel-power and hostmode packages?

woody14619
11-09-2010, 03:34 PM
Please stop distributing GPLed binaries without corresponding source. How do you want to manage a whole distribution when you can't do this simple thing.

Not for nothing... Please stop being a prick to people that are devoting a lot of time and energy to important projects.

You could have simply reminded him (yes, again) that he should post sources along with the binaries. Having worked on GPLed source quite a bit, I know in fast paced projects like this sometimes even I've forgotten to release source when I meant to. It's not like he's intentionally not posting source. He's a busy guy, with lots of things on his plate, both here and in real life.

Everyone here is a volunteer. Nobody is being paid. And even if they were, that doesn't give you the right to lecture them or talk down to them. Or to put it in your terms:

Please

Stop

Throwing

Tantrums

Like

A Child.

mikecomputing
11-09-2010, 03:47 PM
Hmm just wonder if someone has tried a USBtoRS232(FT232) dongle on N900 would be great ithis is possible? to connect a serieport via USB. But I guess those FT232 chips eating power :-(

But it would be great to connect my n900 via serialline to a project at my work :-D

toxaris
11-09-2010, 03:54 PM
Hmm just wonder if someone has tried a USBtoRS232(FT232) dongle on N900 would be great ithis is possible? to connect a serieport via USB. But I guess those FT232 chips eating power :-(

But it would be great to connect my n900 via serialline to a project at my work :-D

Yea that way there might be chance to for example configure Cisco equipment :)

brad112358
11-09-2010, 04:29 PM
Hmm just wonder if someone has tried a USBtoRS232(FT232) dongle on N900 would be great ithis is possible? to connect a serieport via USB. But I guess those FT232 chips eating power :-(

But it would be great to connect my n900 via serialline to a project at my work :-D

Yes, I mentioned early in this thread that I had success (except for the 32 second thing which has been partially fixed) with USB RS232 adapters. I have three different adapters and they all work with the N900 providing the power via HEN. But I had to build my own kernel modules. I don't plan to distribute it or explain how to build and install kernel modules, but here is a kernel configuration change, in case you happen to know what to do with it. Perhaps one of the alternate kernels will pick up support for this...

--Brad


--- debian/.config.old 2010-11-06 10:57:38.000000000 -0500
+++ debian/.config 2010-11-07 20:14:34.000000000 -0600
@@ -1611,7 +1606,62 @@
#
# USB port drivers
#
-# CONFIG_USB_SERIAL is not set
+CONFIG_USB_SERIAL=m
+CONFIG_USB_EZUSB=y
+CONFIG_USB_SERIAL_GENERIC=y
+# CONFIG_USB_SERIAL_AIRCABLE is not set
+CONFIG_USB_SERIAL_ARK3116=m
+CONFIG_USB_SERIAL_BELKIN=m
+CONFIG_USB_SERIAL_CH341=m
+CONFIG_USB_SERIAL_WHITEHEAT=m
+CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m
+CONFIG_USB_SERIAL_CP2101=m
+CONFIG_USB_SERIAL_CYPRESS_M8=m
+CONFIG_USB_SERIAL_EMPEG=m
+CONFIG_USB_SERIAL_FTDI_SIO=m
+CONFIG_USB_SERIAL_FUNSOFT=m
+CONFIG_USB_SERIAL_VISOR=m
+CONFIG_USB_SERIAL_IPAQ=m
+CONFIG_USB_SERIAL_IR=m
+CONFIG_USB_SERIAL_EDGEPORT=m
+CONFIG_USB_SERIAL_EDGEPORT_TI=m
+CONFIG_USB_SERIAL_GARMIN=m
+CONFIG_USB_SERIAL_IPW=m
+CONFIG_USB_SERIAL_IUU=m
+CONFIG_USB_SERIAL_KEYSPAN_PDA=m
+CONFIG_USB_SERIAL_KEYSPAN=m
+CONFIG_USB_SERIAL_KEYSPAN_MPR=y
+CONFIG_USB_SERIAL_KEYSPAN_USA28=y
+CONFIG_USB_SERIAL_KEYSPAN_USA28X=y
+CONFIG_USB_SERIAL_KEYSPAN_USA28XA=y
+CONFIG_USB_SERIAL_KEYSPAN_USA28XB=y
+CONFIG_USB_SERIAL_KEYSPAN_USA19=y
+CONFIG_USB_SERIAL_KEYSPAN_USA18X=y
+CONFIG_USB_SERIAL_KEYSPAN_USA19W=y
+CONFIG_USB_SERIAL_KEYSPAN_USA19QW=y
+CONFIG_USB_SERIAL_KEYSPAN_USA19QI=y
+CONFIG_USB_SERIAL_KEYSPAN_USA49W=y
+CONFIG_USB_SERIAL_KEYSPAN_USA49WLC=y
+CONFIG_USB_SERIAL_KLSI=m
+CONFIG_USB_SERIAL_KOBIL_SCT=m
+CONFIG_USB_SERIAL_MCT_U232=m
+CONFIG_USB_SERIAL_MOS7720=m
+CONFIG_USB_SERIAL_MOS7840=m
+CONFIG_USB_SERIAL_MOTOROLA=m
+CONFIG_USB_SERIAL_NAVMAN=m
+CONFIG_USB_SERIAL_PL2303=m
+CONFIG_USB_SERIAL_OTI6858=m
+CONFIG_USB_SERIAL_SPCP8X5=m
+CONFIG_USB_SERIAL_HP4X=m
+CONFIG_USB_SERIAL_SAFE=m
+CONFIG_USB_SERIAL_SAFE_PADDED=y
+CONFIG_USB_SERIAL_SIERRAWIRELESS=m
+CONFIG_USB_SERIAL_TI=m
+CONFIG_USB_SERIAL_CYBERJACK=m
+CONFIG_USB_SERIAL_XIRCOM=m
+CONFIG_USB_SERIAL_OPTION=m
+CONFIG_USB_SERIAL_OMNINET=m
+CONFIG_USB_SERIAL_DEBUG=m

#
# USB Miscellaneous drivers

aureonfirewire
11-09-2010, 04:30 PM
is there a way to download files ,fom web
because i dont have internet on my n900

laasonen
11-09-2010, 05:27 PM
is there a way to download files ,fom web
because i dont have internet on my n900

http://maemo.org/packages/

CormacB
11-09-2010, 05:37 PM
Now I just need a hostmode + power + 1.3 + u-boot kernel :)

cfh11
11-09-2010, 05:58 PM
titan just uploaded power kernel v41 to devel with 1.3 patches intact

USB hostmode patches are planned for one of the next releases.
First I need to find their latest patches and make sure they don't interfere with normal operation.

ashwin
11-09-2010, 06:12 PM
Reflash kernel.

[added]
Hold "u" on the phone and turn it on at the same time.

http://tablets-dev.nokia.com/nokia_N900.php?f=RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin

sudo ./flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin --flash-only=kernel -f -R


thnxs a ton buddy

IzzehO
11-09-2010, 08:25 PM
Now that titan appears to be on top of the kernel patches, could you remove the depends on kernel-hostmode? So we can easily update without forcing etc etc?

5spdvl
11-09-2010, 08:31 PM
Updated to Titan 41 (without USB hostmode) via the auto updater. No problems so far. Used CPU Frequency to set it back to 1.15GHz. :)

naturegodtm
11-09-2010, 09:25 PM
i love u guyes

mveplus
11-09-2010, 09:42 PM
Hmm just wonder if someone has tried a USBtoRS232(FT232) dongle on N900 would be great if this is possible? to connect a serial port via USB. But I guess those FT232 chips eating power :-(

But it would be great to connect my n900 via serialline to a project at my work :-D

Hi, I do not see any problems with that, just the right drivers compiled in the kernel will do the job.
Here are some tests:
1. FT232BL
Consummation - 26.57mA
2. AU9720
Consummation - 19.54mA
h-e-n - Full Speed hostmode ( Low Speed hostmode -same consummation)
3.Compared to my USB 2GB Bamboo Flash - Hi Speed hostmode
Consummation - 81mA (Read), and up to 127mA (Write) more (http://dl.dropbox.com/u/12258575/I-readings-VBUS-test.xls)

[ 8824.617065] usb 1-1: new low speed USB device using musb_hdrc and address 21
<br>[ 8825.038848] usb 1-1: device not accepting address 21, error -71
<br>[ 8825.038970] hub 1-0:1.0: unable to enumerate USB device on port 1
<br>[ 8825.406036] usb 1-1: new full speed USB device using musb_hdrc and address 22
<br>[ 8825.557556] usb 1-1: configuration #1 chosen from 1 choice
<br>[ 8825.563629] drivers/usb/core/inode.c: creating file '022'
<br>[ 8825.564117] usb 1-1: New USB device found, idVendor=0403, idProduct=6001
<br>[ 8825.564147] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
<br>[ 8825.564178] usb 1-1: Product: USB &lt;-&gt; Serial
<br>[ 8825.564208] usb 1-1: Manufacturer: FTDI
<br>................
<br>[ 9672.883758] wlan0: roaming signal from driver, sending HIGHSIGNAL
<br>[ 9679.007720] usb 1-1: device descriptor read/64, error -110
<br>[ 9694.241973] usb 1-1: device descriptor read/64, error -110
<br>[ 9694.476379] usb 1-1: new full speed USB device using musb_hdrc and address 28
<br>[ 9699.627746] usb 1-1: configuration #1 chosen from 1 choice
<br>[ 9699.630310] drivers/usb/core/inode.c: creating file '028'
<br>[ 9699.630798] usb 1-1: New USB device found, idVendor=058f, idProduct=9720
<br>[ 9699.630828] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
<br>[ 9700.670013] usb 1-1: USB disconnect, address 28
<br>[ 9700.952880] usb 1-1: new full speed USB device using musb_hdrc and address 29
<br>[ 9701.103973] usb 1-1: configuration #1 chosen from 1 choice
<br>[ 9701.108154] drivers/usb/core/inode.c: creating file '029'
<br>[ 9701.109069] usb 1-1: New USB device found, idVendor=058f, idProduct=9720
<br>[ 9701.109100] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
<br>[ 9704.837463] wlan0: roaming signal from driver, sending LOWSIGNAL
<br>[ 9705.861694] wlan0: roaming signal from driver, sending HIGHSIGNAL
<br>Nokia-N900:~#

Using stock kernel not power one.
http://dl.dropbox.com/u/12258575/N900/USB2RS232.jpg

maluka
11-10-2010, 08:39 AM
Has anyone gotten a USB game controller working yet?

SubCore
11-10-2010, 09:11 AM
Has anyone gotten a USB game controller working yet?

yes. (http://talk.maemo.org/showpost.php?p=867326&postcount=87)

(searching is fun!)

WhiteWolf
11-10-2010, 10:20 AM
I really detects and lists a lot riding forever but the devices failed. Assembling partitions by hand does not fail.

If you have more than one partition not mounted. I recommend to modify script to list the partitions and create directories in "/ media" based on the volume label.

I get to read pen drives without external power supply but after a few minutes and I fail to detect and mount again.

Thanks for the great work.

lifenexus
11-10-2010, 11:40 AM
Microsoft mouse is working(a bit too sensitive, but working). Also disconnects after some time. Ooh and I can't make multi-devices(mouse + keyboard or card reader with multiple slots) works

how did u get the mouse working?

louispires
11-10-2010, 11:40 AM
I have i tiny problem..

I installed h-e-n and it was working and booting into the host-mode kernel perfectly, but then i went to install NITdroid and of course multi boot with that.
Now it doesn't boot into hostmode kernel but into omap1 and the option 0 and option 1 in multi boot boots into omap1

I can boot into hostmode with the flasher on my pc but then if i do a restart, it boots into omap again!

I created a multiboot .item that looks similar to the omap1.item

But not sure where to put the kernel for the .item to work.
In /boot/multiboot/ I found the omap1 and Nitdroid kernels, so then i also put the hostmode kernel in there and renamed it to: "vmlinuz-2.6.28-hostmode2"


Does all of this sound right or am i completely wrong lol??

Keneraali
11-10-2010, 12:21 PM
how did u get the mouse working?

Install Bluetooth HID scripts. Run app MouseCursor. Connect mouse with low speed hostmode and mount.

MohammadAG
11-10-2010, 12:37 PM
Install Bluetooth HID scripts. Run app MouseCursor. Connect mouse with low speed hostmode and mount.

Err, the mount button is for mass storage devices, /dev/sda1 only for now (working on it!), a mouse can't be "mounted"

Larswad
11-10-2010, 12:50 PM
Here's how I installed titans power kernel v44 with usb host mode beta,
http://talk.maemo.org/showpost.php?p=869360&postcount=61

Maybe it should be checked by MohammadAG or someone that it's the preferred way (for the moment that is).

lifenexus
11-10-2010, 12:53 PM
Err, the mount button is for mass storage devices, /dev/sda1 only for now (working on it!), a mouse can't be "mounted"

so all i have to do is install the bluetooth hid scrips and select low speed and then enumerate? thats it?

Keneraali
11-10-2010, 01:17 PM
Err, the mount button is for mass storage devices, /dev/sda1 only for now (working on it!), a mouse can't be "mounted"

Umm, sorry for that typo, by mounting I meant enumerating the mouse.

lifenexus
11-10-2010, 01:26 PM
Umm, sorry for that typo, by mounting I meant enumerating the mouse.

i got it working thanks :)

joerg_rw
11-10-2010, 03:12 PM
latest update:
Mohammad and titan are working to get hostmode integrated into power kernel
h-e-n will recommend to use power kernel (>=v44, v45?), we're abandoning any dedicated hostmode kernel
I suggested to have a proper version for detection hostmode API semantics, so any GUI etc won't be tied to a particular kernel flavour anymore ( https://garage.maemo.org/plugins/ggit/browse.php/?p=h-e-n;a=commitdiff;h=96cce5908449ed593753a6c3264973808 e83668f )
Paul implemented some feedback so userland can know about speed mismatch (LS/FS/HS) [1]
Mohammad is working on an improved version of h-e-n GUI which will exploit at least the version sensing (http://i53.tinypic.com/n4iq7t.jpg), so the GUI should work with different hostmode enabled kernels and we don't need a special hostmode version of each existing flavour anymore - power kernel is aimed to integrate all


[1] [2010-11-10 15:14:22] <PaulFertser> Hi there. Pushed https://garage.maemo.org/plugins/ggit/browse.php/?p=h-e-n;a=commitdiff;h=e76da6b011b4112a9755593efdcdd57b3 27492f0 which should output an error to dmesg if the wrong speed is selected, can anybody comment/try it please?

kolos
11-10-2010, 04:13 PM
Another feedback from me, I installed power kernel 44 & h-e-n 0.2-3 and I still have reboots after I close h-e-n. As I mentioned before I don't have reboots if I don't load kernel's configuration (kernel-config load ...) after turning on the phone.

I hope that upcoming version of hostmode will solve my issue, which is obviously unique. :confused:

Thanks guys for all your hard work!

MohammadAG
11-10-2010, 04:23 PM
We can't solve an issue without reproducing it, none of have had experience with such an issue, feel free to post syslogs and output of hostmode in terminal.

divan
11-10-2010, 04:23 PM
MohhamadAG, you're just genius! Huge thanks to all involved in making this possible!! Any way to donate you?

Here is the video on how 8Gb Flash drive works and battery usage after copying 1.46GB movie to the phone;
http://www.youtube.com/watch?v=6ED92orZLMM

kolos
11-10-2010, 04:39 PM
We can't solve an issue without reproducing it, none of have had experience with such an issue, feel free to post syslogs and output of hostmode in terminal.

I need little help with this. Which command should I execute in x-terminal for outputs.

*Sonic*
11-10-2010, 04:46 PM
a mouse can't be "mounted"

Try telling that to another mouse :D

bzbnd
11-10-2010, 05:01 PM
hasnt anyone solved the problem of multiboot yet?

kolos
11-10-2010, 05:02 PM
Another feedback, I was able to connect memory card reader (Apacer) with 4 slots, where I inserted 3 memory cards at the same time. H-e-n couldn't mount them, but I do it through x-terminal. Only one card was able to be mounted at the time. I used this commands:

#mount -t vfat /dev/sda1 /media/flash
#mount -t vfat /dev/sdb1 /media/flash
#mount -t vfat /dev/sdc1 /media/flash
#mount -t vfat /dev/sdd1 /media/flash

Awesome guys!

MohammadAG
11-10-2010, 05:10 PM
MohhamadAG, you're just genius! Huge thanks to all involved in making this possible!! Any way to donate you?

Here is the video on how 8Gb Flash drive works and battery usage after copying 1.46GB movie to the phone;
http://www.youtube.com/watch?v=6ED92orZLMM

I only made the UI and packaged it nicely with a kernel mate (as well as testing with the team), I don't deserve a donation for hostmode, feel free to ask Paul though :)

clovis86
11-10-2010, 05:23 PM
hey Mo which based kernel is used for host mode ? default one ? or titans or whatever other kernel ?

kolos
11-10-2010, 06:26 PM
I don't know how to get logs, but I discovered without that what is causing reboots. It happens when I load battery module. :D
I'm using Queen BeeCon widget and I load kernel profile and battery module at the same time. I have this line in widget:

echo "modprobe bq27x00_battery" | sudo gainroot

MohammadAG, I get a clue about it, because you mention that reboot can happen if battery is low.

Is it possible to have hostmode without loosing temperature (battery) monitoring? :confused:

joerg_rw
11-10-2010, 07:09 PM
I don't know how to get logs, but I discovered without that what is causing reboots. It happens when I load battery module. :D
I'm using Queen BeeCon widget and I load kernel profile and battery module at the same time. I have this line in widget:

echo "modprobe bq27x00_battery" | sudo gainroot

MohammadAG, I get a clue about it, because you mention that reboot can happen if battery is low.

Is it possible to have hostmode without loosing temperature (battery) monitoring? :confused:

*yawn* (sorry)
That's an age old known issue - bq27x00_battery.ko breaks bme, so dsme on finding bme dead meat decides to reboot.
Anyway thanks for reporting.
Maybe you want to vote for https://bugs.maemo.org/show_bug.cgi?id=9314, or hope for jrbme which will come in a few days with a first pre-alpha for hostmode (mentioned in a prev post)

[edit] oops, I missed your questions. For now there's nothing monitoring battery and even less temperature during hostmode. Temperature shouldn't usually become a big issue though (no charging). Jrbme has battery voltage monitoring and over-temperature shutdown on its requirement specs list. Not sure how far we'll get for temperature without any little hint from Nokia though.
cheers
jOERG

Psycho
11-10-2010, 07:22 PM
guys is this the one i need ??

http://www.allekabels.nl/USB-Adapter-Omvormer/177/1054648/USB-FEMALE-A---USB-MICRO-B-ADAPTER.html

"female to micro usb B "

joerg_rw
11-10-2010, 07:32 PM
guys is this the one i need ??

http://www.allekabels.nl/USB-Adapter-Omvormer/177/1054648/USB-FEMALE-A---USB-MICRO-B-ADAPTER.html

"female to micro usb B "

looks nifty, looks good. Please get one for me as well ;-D

DO NOT buy this one: http://www.allekabels.nl/USB-Adapter-Omvormer/177/1054647/USB-FEMALE-A---USB-MICRO-A-ADAPTER.html !
it's a ``correct'' one, like the OTG adapter for N8. They don't fit to N900.

titan
11-10-2010, 07:34 PM
latest update:
I suggested to have a proper version for detection hostmode API semantics, so any GUI etc won't be tied to a particular kernel flavour anymore

kernel-power specifies Provides: kernel-feature-usbhost
I suggest to add this to your hostmode kernel and let hostmode-gui depend on it this feature.

I'll integrate Paul's patch in the next upload.

Psycho
11-10-2010, 07:36 PM
looks nifty, looks good. Get one for me as well ;-D

yeh, its better then female to female dont you think ?
they have 1236 pieces. But they only deliver in the netherlands and belgium.

so i can buy for you 2 but how can i send it 2 you xd

altough;
they say, E-mail us for shipping to foreign countries. You can email us at this adress for more information. Please not that we can not do intracommunity deliveries for new customers anymore. You will have to pay VAT with our orders.

joerg_rw
11-10-2010, 07:44 PM
kernel-power specifies Provides: kernel-feature-usbhost
I suggest to add this to your hostmode kernel and let hostmode-gui depend on it this feature.

I'll integrate Paul's patch in the next upload.

Very nice. Thanks a lot! Looks like a proper solution for pkg installation time.
For runtime, and to tell apart different versions of hostmode API, the hostmode-version= patch is still recommended. Mohammad's GUI will test for that (at least I hope I talked him into doing so :-D)

cheers
jOERG

Matan
11-10-2010, 07:58 PM
Also see this:

http://cgi.ebay.com/Micro-USB-Host-OTG-Cable-Palm-Treo-800W-data-sync-/250721447618?pt=LH_DefaultDomain_0&hash=item3a6029aec2

I think it should exert less stress on the flakey USB port.

aligatro
11-10-2010, 08:13 PM
pfff, who needs those adapters from the store. When you can get this beauty. </sarcasm>
I had an old motherboard lying around, so I just un-soldered the double-connector and joined parallel connections.

woody14619
11-10-2010, 09:33 PM
guys is this the one i need ??

I picked up this one (http://www.meritline.com/usb-female-to-micro-usb-male-adapter---p-51507.aspx)a while ago, hoping this project would be fruitful some time. :) I can tell you with great certainty that it works, as I've used it already to connect up a thumb drive. It doesn't stress the connector much with light-weight things like thumb drives. Not bad for under $2 shipped (though it will take a couple weeks, unless you happen to live in/near China. :) )

Great job on this to everyone that's worked on this, both directly and indirectly! This was in the top 5 for things I really wanted the N900 to do, and the last one to show up. But it was so worth the wait!

aligatro
11-10-2010, 10:04 PM
Question to the creators of this mod: Is it possible to turn on host-mode, but without 5V, so, for example, to be able to inject power from wallcharger?

joshv06
11-10-2010, 10:23 PM
Hello, I have a question, I have Titan's version 44 power kernel installed. How would I go about getting the hostmode-gui running? When I try to install it from terminal, it has other custom kernel and kernel-flasher dependencies. Would this mess up my already installed Titan's kernel?

Thanks

IzzehO
11-10-2010, 10:31 PM
It would. You'll need to wait till they remove the dependency (or get the hostmode-gui.deb on its own, which he posted a few pages back).

joerg_rw
11-10-2010, 10:56 PM
Question to the creators of this mod: Is it possible to turn on host-mode, but without 5V, so, for example, to be able to inject power from wallcharger?
Please see http://talk.maemo.org/showpost.php?p=866309&postcount=9 the postscriptum

I have the annoying habit to frequently edit forum posts to add new facts and details, rather than quoting the whole original post starting the topic, just to add a few words. So an occasional re-read of the whole thread might be worth it. This also holds true for drive-by askers who think it's easier to push out their question rather than going through the whole thread to see if it's maybe got answered previously. Those random duplicate questions just add to the length of the thread for nothing, thus making it even more annoying for others to read up from beginning.

/j

IzzehO
11-10-2010, 11:16 PM
Please see http://talk.maemo.org/showpost.php?p=866309&postcount=9 the postscriptum

/j

I've had some mild success with Y cables for external power, but the thought of leakage into the N900 while at 5V doesn't sound like it'll end well. Just how easily could we burn out the chip on the N900 driving in current while VBUS is at 5V (and BME is disabled)?

I've found the phone WILL die if you still have a powered peripheral connected after turning off VBUS, which is not a pleasant sign in itself.

joerg_rw
11-10-2010, 11:23 PM
I've had some mild success with Y cables for external power, but the thought of leakage into the N900 while at 5V doesn't sound like it'll end well. Just how easily could we burn out the chip on the N900 driving in current while VBUS is at 5V (and BME is disabled)?

I've found the phone WILL die if you still have a powered peripheral connected after turning off VBUS, which is not a pleasant sign in itself.

hostmode is *safe* from a hw point of view. This includes applying 5V externally at any random point in time, as well as overloading or even shortcircuit of internal 5V supply aka vboost.
It's just the whole musb-core gets confused with vbus applied when it shouldn't, so we have some issues with switching speeds, entering/leaving hostmode, *not* entering peripheral mode, etc. Also, as we need to stop bme, there's not charging during hostmode for now. All this doesn't mean you could break anything - you CAN NOT, as long as you're not using overvoltaged external PSU or other obviously rogue evil crap

I said "enjoy hostmode" - I meant it like that :-) Don't worry!
/j

nerfiaux
11-10-2010, 11:23 PM
There is a new fcam-drivers package, but when I do :
apt-get install fcam-drivers

I have error due to the fact that i have hostmode-gui 0.2.3 installed and that it has dependencies with kernel-hostmode
kernel-hostmode-modules kernel-hosmode-flasher

so I did :
for x in kernel-hostmode kernel-hostmode-flasher kernel-hostmode-modules
do echo -e "Package: $x
Pin: release a=unstable
Pin-Priority: 1001\n" >> /etc/apt/preferences
done

But it does nothing !
does /etc/apt/preferences have changed on PR1.3
any help ?

BR

Nerfiaux

aligatro
11-10-2010, 11:35 PM
There is a new fcam-drivers package, but when I do :
apt-get install fcam-drivers

I have error due to the fact that i have hostmode-gui 0.2.3 installed and that it has dependencies with kernel-hostmode
kernel-hostmode-modules kernel-hosmode-flasher

so I did :
for x in kernel-hostmode kernel-hostmode-flasher kernel-hostmode-modules
do echo -e "Package: $x
Pin: release a=unstable
Pin-Priority: 1001\n" >> /etc/apt/preferences
done

But it does nothing !
does /etc/apt/preferences have changed on PR1.3
any help ?

BR

Nerfiaux

You can try to force-install it using dpkg.

wget http://repository.maemo.org/extras-testing/pool/fremantle/free/f/fcam-drivers/fcam-drivers_1.0.7-1_armel.deb
from extras-testing or

wget http://repository.maemo.org/extras/pool/fremantle/free/f/fcam-drivers/fcam-drivers_1.0.6-1_armel.deb
from extras

dpkg -i <name.deb>

[Added]
But it probably are not gonna work with host-mode kernel.

IzzehO
11-11-2010, 01:10 AM
hostmode is *safe* from a hw point of view. This includes applying 5V externally at any random point in time, as well as overloading or even shortcircuit of internal 5V supply aka vboost.
It's just the whole musb-core gets confused with vbus applied when it shouldn't, so we have some issues with switching speeds, entering/leaving hostmode, *not* entering peripheral mode, etc. Also, as we need to stop bme, there's not charging during hostmode for now. All this doesn't mean you could break anything - you CAN NOT, as long as you're not using overvoltaged external PSU or other obviously rogue evil crap

I said "enjoy hostmode" - I meant it like that :-) Don't worry!
/j

Oh I didn't really mean to sound worried. Worst come to worse I buy a new N900 (tired of the crack in my touch screen anyway :P). More so its a worrying affair when the phone simply shuts off and screen fades out.

<Just some suggestions for an FAQ type thing:>
Also, suppose I grab a powered USB host, the current GUI will NOT allow a USB mouse and a USB HDD at the same time.. yes? Due to having to choose a set speed? Will this be resolveable, your post says a 'might' in regards to speed detection, but will that mean multiple device support? also what is the probability of automatic detection? And as an end target, a simple auto-recognize like the N800 has (plug in charger -> charges, plug in usb stick -> mounts, plug in mouse -> sets up mouse) will ever be possible?

Hmm... I need to find a Y cable with mini + regular out to female regular. Then just need a 5v battery pack and anything would be possible with the one cable.

mini ----------------------
|--------- Female USB
5v battery pack -----------

debernardis
11-11-2010, 01:53 AM
While MohammadAG perfects his hostmode gui, the command fdisk might be useful to see the available devices to mount (at present, only /dev/sda1 gets mounted by the gui). Since fdisk is not part of any maemo5 package, I copied the easy debian one from /sbin/fdisk of the debian partition to /sbin/fdisk of the maemo rootfs. It seems to work as expected:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo fdisk -l

Disk /dev/mmcblk1: 16.0 GB, 16039018496 bytes
255 heads, 63 sectors/track, 1949 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000b276e

Device Boot Start End Blocks Id System
/dev/mmcblk1p1 1 1950 15663072+ c W95 FAT32 (LBA)

Disk /dev/mmcblk0: 32.0 GB, 32015122432 bytes
4 heads, 16 sectors/track, 977024 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 2 884865 28315648 c W95 FAT32 (LBA)
/dev/mmcblk0p2 884866 950401 2097152 83 Linux
/dev/mmcblk0p3 950402 974977 786432 82 Linux swap / Solaris

Seems I were wrong?? Is fdisk already part of maemo?

bzbnd
11-11-2010, 03:45 AM
How can i have host mode & nitdroid together ? PLZ help

anapospastos
11-11-2010, 04:04 AM
While MohammadAG perfects his hostmode gui, the command fdisk might be useful to see the available devices to mount (at present, only /dev/sda1 gets mounted by the gui). Since fdisk is not part of any maemo5 package, I copied the easy debian one from /sbin/fdisk of the debian partition to /sbin/fdisk of the maemo rootfs. It seems to work as expected:
......

I tried the same command after I took root rights and I ve got the same output. I didn't copied something from easy debian or whatever like you. It seems that sfdisk is part of maemo.

joerg_rw
11-11-2010, 04:45 AM
wizard-mounter
Description: A simple gui for mounting remote shared partition
like samba and nfs, and have it browsable under
the standard file manager.

maybe worth a look at? If it can't do what hostmode needs out of the box, then for sure it should be easy to mod it.


@izzehO: A hub does auto-speed-convert. You can plug everything same time to a single hub in single HS - so multi-device support is already there. Plug'nPlay though is highly questionable, as we got no proper OTG hardware to autodetect plug in of micro-A, and there's no other way than that to detect plug in of a memstick or any peripheral on that behalf.


/j

mveplus
11-11-2010, 05:44 AM
Hi again,
I was abble to reproduse the reboot/shutdown when I close h-e-n, BUT only when I'm overclocked above 600MHz ( Tried with different frequencies alway the result is the same - shutdown or reboot when I close h-e-n)
How to reprodusce the issue:
(Have installed klogd and sysklogd before - rebooted N900)

1.Installed kernel - 2.6.28.10.power44
2.Installed QCPUFreq v. 0.4.0, from settings enable overclocking - change frequency to more than 600MHz close.
3.Check with Conky actual max frequency
4.Start h-e-n (v. last one - mount/unmout implented) :
-close h-e-n - resul reboot
-pres High Speed hostmode, VBUS boost on Enumerate - successful enumeration, VBUS noost off, close h-e-n - result shutdown.
tried 5 time always have shutdown/reboot when OC, when I'm not over 600MHz no problem with shutdown/reboot after close h-e-n

this is only report (unconfirmed - if someone willing to try and report). I usually do not do overclock and is not issue for me.

attaching my logfile in case you want to have a look.

AI also have e question ( not retailed to the writings up) - When I connect USB flash drive sometimes it gets enumerated right away, but sometimes it took a while to enumerate? Is this known issue with the beta driver or something else? Does someone else experience the same 'x' wait time until Flash drive (or device connected) get enumerated? Am I alone?
Tried with different devices it is the same with stock and power kernel.

IzzehO
11-11-2010, 05:56 AM
wizard-mounter
Description: A simple gui for mounting remote shared partition
like samba and nfs, and have it browsable under
the standard file manager.

maybe worth a look at? If it can't do what hostmode needs out of the box, then for sure it should be easy to mod it.

I tried using it in the passed for some things and had absolutely no success with it, can't recall even what it was (probably mounting my samba server). I can't work out how this helps the hostmode project?


@izzehO: A hub does auto-speed-convert. You can plug everything same time to a single hub in single HS - so multi-device support is already there.

Ah ok. I'll probably pick up a powered hub next week some time (been meaning to get one for my desktop for ages).

Plug'nPlay though is highly questionable, as we got no proper OTG hardware to autodetect plug in of micro-A, and there's no other way than that to detect plug in of a memstick or any peripheral on that behalf.

So there wouldn't be a simply way of "Is peripheral supplying power? No -> try enumerate"?

On another note, upset that my Microsoft Wireless Optical Desktop 2.10 doesn't appear to work with this (or the HID scripts). It appears to recognize it fine, connect it fine and register it fine, but it doesn't do anything. F lock light is toggleable (however num lock and caps lock aren't: as they are system sided I assume). Relevant log (assuming this isn't just an issue with this particular desktop.. which wouldn't surprise me given its an MS one) is below:

[ 1255.652404] usbhid 1-1:1.1: usb_probe_interface - got id
[ 1255.652862] /home/builder3/maemo-fremantle-armel-extras-devel/work/kernel-power-2.6.28/drivers/usb/core/inode.c: creating file '004'
[ 1255.653198] usb 1-1: New USB device found, idVendor=045e, idProduct=009d
[ 1255.653228] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1255.653259] usb 1-1: Product: Microsoft Wireless Optical Desktop® 2.10
[ 1255.653259] usb 1-1: Manufacturer: Microsoft
[ 1255.653289] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
[ 1255.653320] hub 1-0:1.0: port 1 enable change, status 00000303

blue_led
11-11-2010, 07:01 AM
........ Plug'nPlay though is highly questionable, as we got no proper OTG hardware to autodetect plug in of micro-A, and there's no other way than that to detect plug in of a memstick or any peripheral on that behalf./j

joerg, remember the ID pin IS hardwired to twl4030 and it can be sensed. a piece of code ( hostmode daemon ) can be written to sense this id pin and switch automatically to host. even now n900 switch to a_idle when ID pin go ground so what must be put into the code ?
because some peripheral need external power it is possible to make a custom y cable like this

uB female ---o---------> uB male (with id grounded )
A female -----|

it is not standard compliant but who care
this cable can be used with or without external power provided from standard n900 charger
i will hardmod my n900 with uAB receptacle as soon i will get one for ( stylish ? ) CA-157.

( ot - please respond to my last PM it is @bme )

James_Littler
11-11-2010, 08:13 AM
Could anyone advise me as the whether this adapter will work.

http://www.overstock.com/Electronics/Eforcity-USB-2.0-A-to-Micro-B-Female-Male-Adaptor/4488837/product.html?cid=133635 (http://www.overstock.com/Electronics/Eforcity-USB-2.0-A-to-Micro-B-Female-Male-Adaptor/4488837/product.html?cid=133635)

Thanks

MohammadAG
11-11-2010, 08:37 AM
Probably, though I really advise you to use an adapter and find a shorter microUSB cable, I wouldn't trust adapters like the one you posted with a USB port like the N900's (with ports falling out and all)

samipower
11-11-2010, 09:31 AM
hello i have and i use a nokia n900 usb cable and adapter female-female usb

i have pr 1.3 maemo and nitdroid 0.0.8 and ps3 sixaxis driver,preenv , and maemo40 installed , (kernel things)

i tried and tried and nothing , for example i use a mouse and mouse have energy but not mount , not run ,

i look http://www.youtube.com/watch?v=HGRE5g-aIsw but nothing

why?

steps exacts???

i only installed h-e-n app beta extras-devel repo... i forgot any step??

is neccesary other step?

thanks

augustthe
11-11-2010, 11:00 AM
it seem i have a problem mounting my kingston flash drive it keep tell me unable to connect can any one help me

Larswad
11-11-2010, 11:09 AM
MohammadAG: It didn't really seem like pinning the power kernel packages was the right way to get rid of aptitude complaining about the dependencies that hostmode-gui has to that hostmode kernel. I didn't try it but that's what I read from others. I know its a beta and all but it felt right to use the power kernel 44 instead. What do you think would be best, wait for a new package from you that has deps to power kernel or if you have an idea on something else I can do in the meantime (just to get rid of the aptitude dependency nag).

James_Littler
11-11-2010, 11:16 AM
hello i have and i use a nokia n900 usb cable and adapter female-female usb

i have pr 1.3 maemo and nitdroid 0.0.8 and ps3 sixaxis driver,preenv , and maemo40 installed , (kernel things)

i tried and tried and nothing , for example i use a mouse and mouse have energy but not mount , not run ,

i look http://www.youtube.com/watch?v=HGRE5g-aIsw but nothing

why?

steps exacts???

i only installed h-e-n app beta extras-devel repo... i forgot any step??

is neccesary other step?

thanks
Try updating to v44 of power kernel.
You may need to install the new fcam drivers afterwards.

Cybergr
11-11-2010, 11:31 AM
Guys i need your knowledge-advise here..

I had set up my N900 with Multiboot-00 Maemo omap1 kernel and 01-Power-kernel44 fixed all camera issues etc. and all seems to working perfect.

From inside Power-kernel44 i downloaded the H-e-n (USB Hostmode GUI) from application manager after restarting and booted up again normally without any issues in Power-Kernel44, i caught my AF to AF usb adapter and tried to connect to my usb stick (Sandisk SDCZ6 4gb) using the following steps:
1.High Speed Hostmode
2.Turned on 5v VBUS
3.Enumerate the Device
4.Mount it

The result i got was nothing...I can`t see my pen drive into the File Manager at all...Can someone help me on this to get it work please??!!

Thanks in advise.

PS:If i type sudo fdisk -l in the xterm ask me for a password...?!! ;-?

gabby131
11-11-2010, 12:00 PM
i got "unable to connect, no file system detected" error, i will try changing the connectors i am using

MohammadAG
11-11-2010, 12:36 PM
MohammadAG: It didn't really seem like pinning the power kernel packages was the right way to get rid of aptitude complaining about the dependencies that hostmode-gui has to that hostmode kernel. I didn't try it but that's what I read from others. I know its a beta and all but it felt right to use the power kernel 44 instead. What do you think would be best, wait for a new package from you that has deps to power kernel or if you have an idea on something else I can do in the meantime (just to get rid of the aptitude dependency nag).

As I've discussed it with joerg_rw, we came to a conclusion that we could depend on either one of the kernels (dpkg supports multiple depends with a |), then just read /proc/driver/musb_hdrc and check if that has the compatible string, that way, you can use any kernel you want.

nerfiaux
11-11-2010, 01:02 PM
As I've discussed it with joerg_rw, we came to a conclusion that we could depend on either one of the kernels (dpkg supports multiple depends with a |), then just read /proc/driver/musb_hdrc and check if that has the compatible string, that way, you can use any kernel you want.

Hello Mohammad,

as you are uploading hostmode-gui 0.2.4., could you please clarify your answer : What do we have to do ?

Wait for the packages files on the repo to be updated,
Or
keep downloanding packages one by one and do a dpkg --ignore,
Or
any other proposal of yours... ?

joshv06
11-11-2010, 01:10 PM
Guys i need your knowledge-advise here..

I had set up my N900 with Multiboot-00 Maemo omap1 kernel and 01-Power-kernel44 fixed all camera issues etc. and all seems to working perfect.

From inside Power-kernel44 i downloaded the H-e-n (USB Hostmode GUI) from application manager after restarting and booted up again normally without any issues in Power-Kernel44, i caught my AF to AF usb adapter and tried to connect to my usb stick (Sandisk SDCZ6 4gb) using the following steps:
1.High Speed Hostmode
2.Turned on 5v VBUS
3.Enumerate the Device
4.Mount it

The result i got was nothing...I can`t see my pen drive into the File Manager at all...Can someone help me on this to get it work please??!!

Thanks in advise.

PS:If i type sudo fdisk -l in the xterm ask me for a password...?!! ;-?

Exact same problem here..

Cybergr
11-11-2010, 01:24 PM
Guys i need your knowledge-advise here..

I had set up my N900 with Multiboot-00 Maemo omap1 kernel and 01-Power-kernel44 fixed all camera issues etc. and all seems to working perfect.

From inside Power-kernel44 i downloaded the H-e-n (USB Hostmode GUI) from application manager after restarting and booted up again normally without any issues in Power-Kernel44, i caught my AF to AF usb adapter and tried to connect to my usb stick (Sandisk SDCZ6 4gb) using the following steps:
1.High Speed Hostmode
2.Turned on 5v VBUS
3.Enumerate the Device
4.Mount it

The result i got was nothing...I can`t see my pen drive into the File Manager at all...Can someone help me on this to get it work please??!!

Thanks in advise.

PS:If i type sudo fdisk -l in the xterm ask me for a password...?!! ;-?


Updated to latest kernel-power45 still same results as before..everything seems working ok!!
But still same luck with File Mananger can`t recognise my Pen Drive as described before..!!Some help please!?

sophocha
11-11-2010, 01:42 PM
Guys i need your knowledge-advise here..

I had set up my N900 with Multiboot-00 Maemo omap1 kernel and 01-Power-kernel44 fixed all camera issues etc. and all seems to working perfect.

From inside Power-kernel44 i downloaded the H-e-n (USB Hostmode GUI) from application manager after restarting and booted up again normally without any issues in Power-Kernel44, i caught my AF to AF usb adapter and tried to connect to my usb stick (Sandisk SDCZ6 4gb) using the following steps:
1.High Speed Hostmode
2.Turned on 5v VBUS
3.Enumerate the Device
4.Mount it

The result i got was nothing...I can`t see my pen drive into the File Manager at all...Can someone help me on this to get it work please??!!

Thanks in advise.

PS:If i type sudo fdisk -l in the xterm ask me for a password...?!! ;-?

yep, same thing.Power kernel 44, connect my usb flash pen, nothing happens.Is there a way to troubleshoot this?Any commands we can run in terminal to see where the problem is?

Thanks

augustthe
11-11-2010, 01:45 PM
im having the same problem cant not see my flash drive in file manager my led is blinking but nothing show up ,i update to latest titan power kernel and host gui 2.0.4 sometimes i get "unable to connect'' can anyone help me

anapospastos
11-11-2010, 02:02 PM
@augustthe @sophocha @Cybergr @joshv06

Did you try to mount manually from xterm? Make the procedure normally(follow the steps into hen hostmode gui) press enumerate and open your xterm. Take root rights and run
sfdisk -l
to see the name of your device. If it is for example sda run mount /dev/sda /media/flash
and you ll see it in your file manager. If you want to unmount it run
umount /dev/sda

sophocha
11-11-2010, 02:10 PM
@augustthe @sophocha @Cybergr @joshv06

Did you try to mount manually from xterm? Make the procedure normally(follow the steps into hen hostmode gui) press enumerate and open your xterm. Take root rights and run
sfdisk -l
to see the name of your device. If it is for example sda run mount /dev/sda /media/flash
and you ll see it in your file manager. If you want to unmount it run
umount /dev/sda

Thanks for this.Although my usb stick doesn`t even light up, so it must be a dodgy adapter or something.I need to get another one and try one more time and see if I`m lucky.

evan
11-11-2010, 02:42 PM
@augustthe @sophocha @Cybergr @joshv06

Did you try to mount manually from xterm? Make the procedure normally(follow the steps into hen hostmode gui) press enumerate and open your xterm. Take root rights and run
sfdisk -l
to see the name of your device. If it is for example sda run mount /dev/sda /media/flash
and you ll see it in your file manager. If you want to unmount it run
umount /dev/sda


I finally read my usb stick in the file manager, although I had to first manually do
mkdir /media/flash
before I do
mount /dev/sda1 /media/flash
I thought the mount button in the GUI would take care of these.

joshv06
11-11-2010, 02:52 PM
I finally read my usb stick in the file manager, although I had to first manually do
mkdir /media/flash
before I do
mount /dev/sda1 /media/flash
I thought the mount button in the GUI would take care of these.

Confirmed, same thing works for me. Bug in H-E-N?

Thanks

augustthe
11-11-2010, 03:02 PM
I finally read my usb stick in the file manager, although I had to first manually do
mkdir /media/flash
before I do
mount /dev/sda1 /media/flash
I thought the mount button in the GUI would take care of these.

thanks it works :D

MohammadAG
11-11-2010, 03:25 PM
Can anyone confirm the newest version's mount button correctly handles multiple devices?
I hope dh_* chmod +x'd the script... if not, try chmod +x /opt/h-e-n/mount.sh in a root shell.