Forum Topic - How to start io-usb with devu-uhci driver only ?:
   
How to start io-usb with devu-uhci driver only ?  
Hi,

In my buildfile I'm using diskboot.
How should I call it in order to start io-usb with UHCI stack only?

Is it possible ?

Regards,
Jacek
Re: How to start io-usb with devu-uhci driver only ?  
By default diskboot starts io-usb manager with all USB stacks (UHCI, OHCI and EHCI).

Unfortunately, in our system we must use diskboot and run UHCI stack only.

If I remove devu-ohci.so and devu-ehci.so from O/S image then during boot-up some error messages appears on the screen.

How can I solve this problem ?
Is it possible to tell diskboot to start particular USB stack ?

Jacek
Re: How to start io-usb with devu-uhci driver only ?  
Hi Jacek,

since it it possible that usb must be available at a very early stage in the boot process (e.g. to allow using usb 
keyboards), io-usb is started a bit differently than the other drivers -- and its command-line options are hard-wired to
 "-duhci -dohci -dehci".

But I just finished an experimental patch of "diskboot" (attached) for another customer with exactly the same problem. 
It has an extra '-u' option to allow specifying the io-usb command-line options explicitly; if you specify that option, 
the default options are discarded entirely.

Please be aware that this is *experimental* and intended for testing purposes only. It is well possible that this 
version exhibits problems to recognize valid licenses present on the system. 

If the new option should prove useful, I'll see to get it into the product. Until then, any feedback will be much 
appreciated.

Kind regards,
- Thomas Haupt
Attachment: Text diskboot.tgz 52.68 KB
Re: How to start io-usb with devu-uhci driver only ?  
Hi Thomas,

Until now diskboot was tested on three different machines.
The -u option works fine :-)).

I call diskboot as follows:
  diskboot -u"-duhci" ...

Good job !!

Thank you,
Jacek
AW: How to start io-usb with devu-uhci driver only ?  
Hi Jacek,

sounds good...

I'll see what we can do to get an official patch.

Thanks,
- Thomas

> -----Ursprüngliche Nachricht-----
> Von: Jacek Rudnicki [mailto:jacek.rudnicki@quantum.com.pl]
> Gesendet: 19 February 2008 08:27
> An: ostech-core_os
> Betreff: Re: How to start io-usb with devu-uhci driver only ?
> 
> 
> Hi Thomas,
> 
> Until now diskboot was tested on three different machines.
> The -u option works fine :-)).
> 
> I call diskboot as follows:
>   diskboot -u"-duhci" ...
> 
> Good job !!
> 
> Thank you,
> Jacek
> 
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post5103
> 
Re: AW: How to start io-usb with devu-uhci driver only ?  
Hi Jacek and Thomas

I am also trying to start io-usb with only -d uhci and -d ehci options. 

In qnxbasedma.build, I modified diskboot -u "-d uhci -d ehci" as Jacek suggested. And I dowloaded the code for diskboot.
tz file from previous reply and tried to replace it with existing diskboot in /proc/boot/ but I cannot replace it 
successfully with removing or copying. 

Do you have any idea what the problem is ? And I wonder if diskboot patch with -u option is officially available in 
current QNX Neutrino Runtime Kit SP3. 

Thanks in advance
Lin