[maemo-developers] USB host mode on N800

From: Sebastian Mancke asteban at gmx.de
Date: Fri Nov 23 22:33:09 EET 2007
Oh,
I forgot to mention:
The USB-Host is not enabled at startup automaticly.
I have configured the following as init script.

Regards,
  Sebastan

#!/bin/sh
#
# This Script loads an usb file storage driver, which has the side
# affect to correctly initialize the usb driver to listen for
# connectoin of usb client or host devices
#
# by Sebastian Mancke, Tarent GmbH

/usr/sbin/osso-usb-mass-storage-enable.sh

if /usr/sbin/chroot /mnt/initfs cal-tool --get-rd-flags | grep -q
master; then
  echo "host" > /sys/devices/platform/musb_hdrc/mode
fi



Sebastian Mancke schrieb:
> Hi Dave,
> 
> Dave Sullivan schrieb:
>> On Friday 23 November 2007 4:20:00 am Sebastian Mancke wrote:
>>> Hi.
>>>
>>> Kees Jongenburger schrieb:
>>>> On Nov 22, 2007 5:58 PM, Dave Sullivan <dave at dave-sullivan.com> wrote:
>>>>> Hey All,
>>>>>
>>>>> I've got the modified kernel image for usb host mode, but before I go
>>>>> ahead and try it, what kind of cable hacking is sufficient? I'd assume I
>>>>> could just purchase a USB extension cord (A-type to A-type recepticle),
>>>>> hack off the A-type and stick on a micro-USB connector.. but doesn't it
>>>>> require external power?
>>>> Hi
>>>>
>>>> I have measured the vbus voltage and it was only  about 3 volt a
>>>> opposed to what would be required (5 volt) (there is no active voltage
>>>> pump).
>>>> I guess you will often need an external power(if possible just buy
>>>> yourself a usb gender changer
>>>> and plug the tablet into a powerd hub).
>>>>
>>>> While the patches are available is have not hear of anybody getting
>>>> the n800 to work in usb-host mode.
>>>> can somebody confirm a working usb-host on n800 or n810 perhaps?
>>> We are using the n800 usb-host mode in a productive project.
>>> It works absolutely reliable. Smaller devices like an USB Keyboard or
>>> the Silabs USB Serial converter (CP2102) can be used without additional
>>> power supply. For bigger devices (external hard disc, USB-Network
>>> adapter) you have to use a powered USB hub, of course.
>>>
>>> Regards,
>>>   Sebastian
>>>
>>>> greetings
>>>> _______________________________________________
>>>> maemo-developers mailing list
>>>> maemo-developers at maemo.org
>>>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>> I have a Nokia cell phone without bluetooth, but I also have a USB cable for 
>> it. When plugged into a Linux box, it can work as a modem. I was hoping to 
>> try and get this functionality working on the n800... I'd assume it'll take 
>> some hacking. So to confirm.. 
> Should work.
> Maybe you have to enable the specific kernel modules needed for you
> modem in the kernel configuration.
> 
>> I can use the cable that comes with the n800 
>> (USB-A to USB mini-A) and attach a USB-A gender changer to it?
> Yes. But these USB gender changer are somewhat rare.
> 
>> One more question... where/how would I get the stock kernel so that I can 
>> re-flash it if the usbhost kernel messes anything up?
> The original fiasco image contains the kernel. You can unpack it and
> flash the kernel.
> 
> Regards,
>   Sebastian
> 
>> Thanks!
>>
> 
> 


-- 
tarent Gesellschaft für Softwareentwicklung und IT-Beratung mbH

Heilsbachstr. 24, 53123 Bonn    | Poststr. 4-5, 10178 Berlin
fon: +49(228) / 52675-0         | fon: +49(30) / 27594853
fax: +49(228) / 52675-25        | fax: +49(30) / 78709617
durchwahl: +49(228) / 52675-17  | mobil: +49(171) / 7673249

Geschäftsführer:
Boris Esser, Elmar Geese, Thomas Müller-Ackermann
HRB AG Bonn 5168
Ust-ID: DE122264941



More information about the maemo-developers mailing list