public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Lewin A.R.W. Edwards" <larwe@larwe.com>
To: tim@cygnetinc.com (Tim Michals), <ecos-discuss@sources.redhat.com>
Subject: RE: [ECOS] USB host mode support?
Date: Tue, 20 Feb 2001 07:41:00 -0000	[thread overview]
Message-ID: <4.3.2.7.2.20010220103520.00b4e470@larwe.com> (raw)
In-Reply-To: <NEBBKDICKKKKBCIKLHHKIELECJAA.tim@cygnetinc.com>

Hi Tim,

 >>I'm curious to know what kind of USB peripherals you think will be

 >Mostly wireless USB devices, the idea is still to keep the OS very small and
 >able to do some type of plugNPlay.  ie download a new OS if required.
 >Dynamic loading would be nice.

Hmm, I see. FWIW, the way we solved the need for wireless networking is to 
put Ethernet on the appliance and tell users to buy an 
Ethernet-to-wireless-flavor-of-the-month adapter. My experience as a 
consumer of a couple of appliances with host-side USB is that the 
instruction manual says "You can use the USB ports to plug in a mouse or 
external keyboard. At some stage, a future civilization with may develop a 
semi-working driver for one printer that will be obsolete by the time the 
driver for our proprietary OS becomes available", and in V1.001 of the 
device the port is left unpopulated due to lack of interest.

As Bart said, if you can specify exactly what people are going to plug in 
there, it's a bit different because you can build in your own drivers. 
(You're at the mercy of those other companies though - every time they 
update their product, you need new drivers). But you're probably not going 
to get Red Hat to write those drivers for you and put them into eCos - at 
least, not for free :)

 >I agree to some of the ideas of Linux, but the issue is we have a size 
issue.

What's your flash/ROM budget (actually, is it flash or ROM?) Can you store 
the OS compressed in flash/ROM and decompress it all to RAM? Can you get 
really funky and implement a compressed overlay type system where a small 
overlay manager is always in RAM, and the required code for whatever the 
user is doing is decompressed on-the-fly out of flash? (Works quite well 
with highly modal systems).

 >Yes, USB is a pain to support on the host side.  But as devices
 >become more internet and device aware this will become a requirement.

Your devices or devices in general? I don't think host-side USB is 
applicable to the vast majority of systems, simply because most embedded 
systems are either standalone appliances or peripherals, hence either no 
USB or slave-side USB.

Until a decent completely vendor-independent standard is evolved for the 
common case devices (serial, LAN, storage, &c) it simply won't be possible 
to implement true "plug and play" USB without proprietary drivers. To my 
knowledge, the only class of devices that can be implemented generically 
right now is the HID class, which means basically keyboards, mice and 
joysticks.

 From our understanding, Internet connectivity for an embedded appliance 
means Ethernet for the office environment, or one of a number of competing 
wireless protocols in the home environment.

 >Also, it is still me understanding most of the USB device support under
 >Linux must be compiled, therefore, as you add a new device you must 
recompile >the OS?

Much like the other poster, I haven't actually tried it as yet but in Linux 
many items can either be compiled into the kernel or dynamically loaded. 
You could keep your kernel size as small as possible and dyna-load the 
module for whatever pludule the user has poked at you.


I'm very interested in your comments because they touch on issues that we 
have discussed internally at my company in the past. I formed certain 
opinions, and it would be useful to compare these with the opinions of others.
=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

"Und setzet ihr nicht das Leben ein,
Nie wird euch das Leben gewonnen sein."

  parent reply	other threads:[~2001-02-20  7:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-17 21:54 [ECOS] new ecosconfig tool di yan
2001-02-18  6:06 ` Lewin A.R.W. Edwards
2001-02-19  6:29 ` Bart Veer
2001-02-19  6:33   ` Lewin A.R.W. Edwards
2001-02-19  6:53     ` [ECOS] Still having problems getting networking up Bart Veer
2001-02-19 22:13     ` [ECOS] new ecosconfig tool di yan
2001-02-23  9:47       ` Jonathan Larmour
2001-02-19 13:32   ` [ECOS] USB host mode support? Tim Michals
2001-02-20  5:26     ` Bart Veer
2001-02-20  5:32       ` Tim Michals
2001-02-20  5:54         ` Lewin A.R.W. Edwards
2001-02-20  6:17           ` Tim Michals
2001-02-20  7:10             ` Andrew Lunn
2001-02-20  7:41             ` Lewin A.R.W. Edwards [this message]
2001-02-20  9:50               ` Tim Michals
2001-02-20 10:11                 ` Lewin A.R.W. Edwards
2001-02-21  6:42         ` Bart Veer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4.3.2.7.2.20010220103520.00b4e470@larwe.com \
    --to=larwe@larwe.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=tim@cygnetinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).