I am trying to get a ConnectTech WhiteHeat 4 port USB to serial converter to work properly on an embedded PPC platform running ppclinux 2.4.19-pre7.
I compiled USB support, USB Serial Converter support, and USB ConnectTech WhiteHEAT Serial Driver support into the kernel.
Upon rebooting, the kernel log showed that the USB device was not claimed by any active driver. I then compiled "Support for hot-pluggable drivers" into the kernel (hotplug), and it appeared as though the usbserial and whiteheat drivers were loading correctly. This leads me to my first question: I am not using hotplug support (I do not have any hotplug scripts loaded) in my configuration. Does the usb or usbserial driver require hotplug support to work?
With hotplug support on, I get the following log entries:
Apr 8 02:37:08 (none) kernel: usbserial.c: Connect Tech - WhiteHEAT converter d
etected
Apr 8 02:37:08 (none) kernel: usbserial.c: Connect Tech - WhiteHEAT converter n
ow attached to ttyUSB0 (or usb/tts/0 for devfs)
Apr 8 02:37:08 (none) kernel: usbserial.c: Connect Tech - WhiteHEAT converter n
ow attached to ttyUSB1 (or usb/tts/1 for devfs)
Apr 8 02:37:08 (none) kernel: usbserial.c: Connect Tech - WhiteHEAT converter n
ow attached to ttyUSB2 (or usb/tts/2 for devfs)
Apr 8 02:37:08 (none) kernel: usbserial.c: Connect Tech - WhiteHEAT converter n
ow attached to ttyUSB3 (or usb/tts/3 for devfs)
prior to plugging in the WhiteHeat, I had previously created 4 new dev nodes using:
mknod /dev/ttyUSB0 c 188 0
mknod /dev/ttyUSB0 c 188 1
...
chown root /dev/ttyUSB*
chmod 660 /dev/ttyUSB*
Everything looks OK at this point, but when I try to open the port with either minicom or microcom or just echo anything to it, I get the following error:
# /share/bin/minicom
minicom: cannot open /dev/ttyUSB0: No such file or directory
# /share/bin/microcom -D/dev/ttyUSB0
Exitcode 2 - cannot open device /dev/ttyUSB0
# echo "test" > /dev/ttyUSB0
cannot create /dev/ttyUSB0: Connection timed out
here are the pertinent listings from my /dev directory
crw-rw---- 1 root root 188, 0 Apr 8 01:30 ttyUSB0
crw-rw---- 1 root tty 188, 1 Aug 6 2002 ttyUSB1
crw-rw---- 1 root tty 188, 2 Aug 6 2002 ttyUSB2
crw-rw---- 1 root tty 188, 3 Aug 6 2002 ttyUSB3
Any thoughts on why minicom, microcom, and even redirect can't seem to even "see" the ttyUSBx nodes in my /dev directory?
Thanks for any and all help!
Tyrone Bekiares
Senior Software Engineer
Motorola, Inc.
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
