Re: please can you add my device ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 15, 2015 at 11:10:05AM +0100, faivre.laurent@xxxxxxxxxxx wrote:
> Thanks for your reply.
> 
> If I use directly the ftdi_sio driver, I can't read anything.
> some details :
> $ dmesg
>     usb 1-1.3: new full-speed USB device number 4 using dwc_otg
>     usb 1-1.3: New USB device found, idVendor=0403, idProduct=6001
>     usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>     usb 1-1.3: Product: FT232R USB UART
>     usb 1-1.3: Manufacturer: FTDI
>     usb 1-1.3: SerialNumber: AD02DY77
>     usbcore: registered new interface driver usbserial
>     usbcore: registered new interface driver usbserial_generic
>     usbserial: USB Serial support registered for generic
>     usbcore: registered new interface driver ftdi_sio
>     usbserial: USB Serial support registered for FTDI USB Serial Device
>     ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected
>     usb 1-1.3: Detected FT232RL
>     usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB0
> 
> 
> $stty -F /dev/ttyUSB0 ispeed 1200 ospeed 1200 cs7 -cstopb clocal cread
> parenb -parodd inpck istrip -crtscts -icanon -echo -echoe -isig -ixon -ixoff
> -ixany -icrnl -opost
> 
> $stty -F /dev/ttyUSB0 -a
> speed 1200 baud; rows 0; columns 0; line = 0;
> intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 =
> <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
> werase = ^W; lnext = ^V; flush = ^O;
> min = 1; time = 0;
> parenb -parodd cs7 hupcl -cstopb cread clocal -crtscts
> -ignbrk -brkint -ignpar -parmrk inpck istrip -inlcr -igncr -icrnl -ixon
> -ixoff -iuclc -ixany -imaxbel -iutf8
> -opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
> ff0
> -isig -icanon iexten -echo -echoe echok -echonl -noflsh -xcase -tostop
> -echoprt echoctl echoke
> 
> >Settings are OK
> 
> $ cat /dev/ttyUSB0
> Nothing appears !

Don't use 'cat' for a serial device, use something like minicom that
knows how to directly talk to a serial port properly.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux