From: Doddridge, L. S C. N. C. M. <lan...@na...> - 2008-05-12 18:00:12
|
BUMPED FROM LAST WEEK, ON FRIDAY... Hello all, I am using the 24-pin connector on my verdex board for GPIO. I only need to set a few lines high or low to activate/deactivate some fiber optic switches. After my verdex boots up (OE build), and I run my application, I send a command to the GPIO to set the switches low: I write to /proc/gpio/GPIO88 and send "GPIO out clear". The problem arises the first time the app tries to set the line high ("GPIO out set") - the output flickers, or quickly toggles, and my fiber optic switches don't like that. I hooked up the serial port ttyS0 on the verdex to hyperterminal on another laptop, and it get's the following messages while the GPIO line is flickering: usb 1-1: device descriptor read/64, error -62 usb 1-1: device descriptor read/64, error -62 usb 1-1: new low speed USB device using pxa27x-ohci and address 4 usb 1-1: device descriptor read/64, error -62 usb 1-1: device descriptor read/64, error -62 usb 1-1: new low speed USB device using pxa27x-ohci and address 5 usb 1-1: device not accepting address 5, error -62 usb 1-1: new low speed USB device using pxa27x-ohci and address 6 usb 1-1: device not accepting address 6, error -62 After this initial reaction, the GPIO line can be set and cleared without any further trouble. The GPIO line I am using is GPIO88, which is incidentally the USBH_PWR1 signal on the 24-pin connector. Is there anyway to disable the verdex from wanting to look for a usb device on the 24-pin connector? I am using the other USB connector for a keypad matrix, so I don't want to disable USB altogether, just for the 24-pin connector. Any ideas? ALSO... (maybe this should be another topic) I am using all three serial ports available on my consoleLCD-vx board to communicate with three fiber optic attenuators. The attenuator connected to ttyS0 is always being sent useless information (such as the above usb messages), and bootup and reboot messages. Is there a way to stop the messages from being sent over ttyS0? I think the verdex thinks a terminal window or console is hooked up to ttyS0, but it's not the case. I have the Samsung LCS hooked up, so there is no need to have the ttyS0 connected to anything other than my attenuators. Any ideas? Thanks for your suggestions in advance, Lance Naval Surface Warfare Center Corona Division |