Hi list,
I'm new to usb and for a project I have I want to try receiving a data
flow on the usb port.
In the future, the data flow will be generated by a self-made embedded
device. But by now I just want to receive some data for test
To achieve this I want to use a usb mouse and the usbserial driver.
I plugged the mouse on the port to get its vendor/product ID from the
kernel log to load the usbserial module in the proper way.
lsmod show me the following modules loaded :
usbserial 18176 0 (unused)
usbkbd 2912 0 (unused)
usb-ohci 18656 0 (unused)
usbcore 51680 0 [usbserial usbkbd usb-ohci]
# insmod usbserial vendor=0x46d product=0xc016
When I plug the mouse, I have the following messages in the kernel logs
May 14 23:54:14 SchneePutzII kernel: hub.c: USB new device connect on
bus1/1, as signed device number 2
May 14 23:54:14 SchneePutzII kernel: usb.c: USB device 2 (vend/prod
0x46d/0xc016 ) is not claimed by any active driver.
But those information seems to be generated by the usb-ohci module
as when I rmmod it, they doesn't appear.
The mouse is never connected to the /dev/usb/ttyUSB0 device I mknod-ed
(# mknod /dev/usb/ttyUSB0 c 188 0)
cat: /dev/usb/ttyUSB0: No such device
Then my questions are the following :
* Is it possible to use a mouse with the usbserial module ?
* If yes, I certainly do things in a wrong way... but what ?
What I guess is that the usbcore lowlevel module detect the connection
and know that it is a mouse and whant to use the apropriate highlevel
module, the usb-ohci one. And as it doesn't find it nothing happen.
Thanks for any help,
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