On Saturday 15 May 2004 05:04, Developpement USB wrote:
>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.
>
>And to test this idea and start the development of the UI part, I
> had the idea to use a mouse.
>
>As a mouse just send data on the usb port, I don't understand why
> the usbserial driver cannot be used to drive those data on a file
> system device.
>
>Thanks a lot,
>Philippe

Generally speaking, if you are to use the "mouse" as a data source, 
the mouse driver will need the data in a certain number of bytes per 
packet format. ATM I'm not sure how many bytes at a time that is, but 
a 3 button'er will usually use a 5 byte packet.  Also, the mice I 
have are slow, using a 1.2 megabaud speed.
>
>
>-------------------------------------------------------
>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

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.22% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.


-------------------------------------------------------
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