![]() ![]() Jul 6 21:56:03 raspberrypi kernel: usb 1-1.3.2: new low speed USB device number 53 using dwc_otg =50&t=8842Ĭode: Select all Jul 6 21:56:03 raspberrypi kernel: usb 1-1.3.2: USB disconnect, device number 52 It's all built into the kernel, you've just got to add the appropriate structs and pin definitions into mach-bcm2708/bcm2708.c. Arduino and the ps2 lib = no need for usb for keyboard on the pi, pi + gpio-mouse driver + joystick (or arduino + mouse + ps2lib + gpio-mouse) = no need for usb for mouse either It's very doable, it would take you 9 pins (tx/rx + 7 gpio for the mouse driver). In fact I think the use of commercially available peripherals (mouse, keyboard) makes implementing USB almost unavoidable if you are designing a "little computer", I'm not sure this is a blessing! I remember having searched for some kind of small microcontroller that would take care of this task, but these seem to be non existant, you quickly end up with some kind of a SoC if you want to use USB peripherals. Mahjongg wrote:I'm probably in danger of sounding "blasphemous", but what about a hack that would allow the connection and use of a serial mouse and a PS/2 keyboard? ![]() For me the "hard part" would be the software. I'm only kidding! Although I definitely would try to add such interfaces if I had a PI, shouldn't be too difficult to design a 2 x 3 cm PCB with these interfaces and a RTC to top it off. Would probably piss off the Risc OS people because they worked very hard to add a USB stack, but a 20% speed gain may make this a worthwhile effort. Mouse on the UART port, and keyboard on a "bitbanged" GPIO port (with interrupts for "key events"). I'm probably in danger of sounding "blasphemous", but what about a hack that would allow the connection and use of a serial mouse and a PS/2 keyboard?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |