Re: [Ftdi-usb-sio-devel] howto: setting up driver to ftdi usb (fwd)
Brought to you by:
bryder
From: Mike R. <er...@es...> - 2002-11-15 14:26:14
|
I was just going to sleep when the below output came back to me: >Nov 14 21:23:07 localhost kernel: usbserial.c: FTDI 8U232AM converter now >attached to ttyUSB0 (or usb/tts/0 for devfs) > >and dmesg returns: > >usbserial.c: FTDI 8U232AM converter now attached to ttyUSB0 (or usb/tts/0 >for devfs) > >So I'm doing something stupid in my calls to the driver. Here's what I >do: > portname == "/dev/usb/ttyUSB0" > > serial = open( portname, O_RDWR | O_NOCTTY | O_NONBLOCK); The attachment may not be quite right. usbserial wants the device to be in a sub-directory of /dev, but the actuall serial driver does not. I'll try moving my device files up one directory and see if that helps. Otherwise, I get to learn about usb calls directly (I did a "man devfs" and "man -K devfs" and got nothing on my machine, so it's gonna take a while :-) Patience, persistence, truth, Dr. mike |