> > Hi Greg,
> > 
> > > > To achieve this I want to use a usb mouse and the usbserial
> > > > driver.
> > > 
> > > Um, why the usbserial driver?  It's for usb to serial devices, not
> > > USB mice.  It will not work with USB mice, as you have found out.
> > > 
> > > What's wrong with the usb mice drivers in the kernel?
> > > 
> > > greg k-h
> > 
> > Nothing is wrong with the usb mice driver.
> > 
> > For the project, I will use python/wxWidget and the data will come
> > from a not yet constructed self-made embedded system using an A/D
> > converter, a PIC and a USB chip.
> > 
> > The idea is then to send data in the usb channel and receiving them in
> > the pc using the usbserial driver because I think by now it's the more
> > simple way to do it. And python doesn't yet contain classes to access
> > the usb port. And I'm new to usb but have already play with serial
> > port.
> 
> I do not think you understand how the USB system works.  There is no
> "usb channel" or direct access to the USB port, sorry.
> 
> You can not mix and match drivers, as it just will not work due to the
> way USB describes devices and data.  Please read up on how USB works by
> reading the specs and information at www.usb.org.
> 
> Good luck,
> 
> greg k-h

Yes, I'm not really aware how the USB works.
What I know (or guess to know...) is :

  * USB is a bus
  * USB devices have vendor/product ID to identify itself on the bus.
  * A USB driver register itself with vendor/product ID and will process
    only data that match the IDs

The error I have done is to think that the usbserial driver convert any
USB data to a serial stream. But in fact, this driver is dedicated to USB
devices that use a serial-like protocol to send data on the bus. And then
could only be used with such devices...

Then I cannot use the mouse to make my test but have to find another
device like a Visor.

Is this right ?

Thanks,
Philippe


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to