Hi Greg,

> > > > I have no problem exporting a simple sysfs attribute showing if the
> > > > device is either CDMA or GSDM.  I would think with that, HAL would not
> > > > need to keep any kind of tables at all, and then the device info only
> > > > has to stay in one place.
> > > 
> > > This would be ideal. IIRC the only reason for keeping the tables was
> > > that there was no such attribute. Sounds about right Dan? 
> > 
> > Yes, that was correct.
> 
> <side rant>
> 
> It's not like the kernel is immutable people.  If you need to work
> around something you find strange in the kernel, or the kernel is not
> exporting something that you need for userspace to work easier, please
> ask the kernel developers!  Otherwise we don't know there's an issue at
> all.  It's not like it is hard to find and get ahold of us...
> 
> > However, we should keep the current HAL
> > specification addition for a few reasons:
> > 
> > 1) devices that are only supported by usb-serial; which includes things
> > that are not CDMA/GSM modems
> 
> Like what?  NO DEVICES THAT ARE MODEMS SHOULD BE USING THE GENERIC
> USB-SERIAL DRIVER!!!  Do I need to say this again somewhere else?  They
> should ALL have a "real" usb-serial child driver to allow for proper
> flow control, auto-loading of drivers, and the ability to actually send
> data at a speed that isn't comparible to RFC 1149.
> 
> > 2) devices that are PCMCIA serial cards (which are matched only on
> > class, not the manf IDs necessarily)
> 
> These devices are no longer being manufactured from what I can tell.  So
> that list should be fixed.
> 
> > 3) previous kernel versions that wouldn't have the magic sysfs attribute
> 
> Sure, but don't go adding new devices to the table, as that would be
> wrong.
> 
> > It would be worth exploring how to do this; but the problem is that
> > since there are devices that support both GSM and CDMA, we'd need to
> > figure out how to deal with that vs. sysfs-one-value-per-file.  We
> > shouldn't really call them "GSM" and "CDMA" but use the standards names
> > as Marcel correctly pointed out on the HAL list.
> 
> Why not have two files, one that shows up if GSM is supported, one if
> CDMA is.  Modems that support both would export both.  It's up to
> userspace to pick which to use, the kernel sure doesn't care.

please see Dan's and my comments. We are not interested in the radio
technology. We care about the "command set". If we wanna do it inside
the kernel, then I would simply export a bitmap and then let HAL map
this properly into HAL properties/lists.

Regards

Marcel


-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to