Go to advanced search

by scruss
Tue Nov 26, 2019 1:40 pm
Forum: Advanced users
Topic: Raspberry Pi 3B FTDI FT232R USB UART adapter
Replies: 19
Views: 1976

Re: Raspberry Pi 3B FTDI FT232R USB UART adapter

The difference between the OP's and hippy's dmesg output is that the OP isn't getting the ftdi_sio kernel module loaded. So as a temporary measure, before you plug the device in, try:

Code: Select all

sudo modprobe ftdi_sio
then plug it in.
by hippy
Tue Nov 26, 2019 11:19 am
Forum: Advanced users
Topic: Raspberry Pi 3B FTDI FT232R USB UART adapter
Replies: 19
Views: 1976

Re: Raspberry Pi 3B+ FTDI FT232R USB UART adapter

... device strings: Mfr=1, Product=2, SerialNumber=3 [562637.047716] usb 1-1.2: Product: USB to Serial Cable [562637.047725] usb 1-1.2: Manufacturer: FTDI [562637.047737] usb 1-1.2: SerialNumber: FTBT0L0C [562637.370640] usbcore: registered new interface driver usbserial_generic [562637.370685] usbserial: ...
by jasper97
Tue Nov 26, 2019 9:17 am
Forum: Advanced users
Topic: Raspberry Pi 3B FTDI FT232R USB UART adapter
Replies: 19
Views: 1976

Re: Raspberry Pi 3B+ FTDI FT232R USB UART adapter

Raspberry Pi 3B+ FTDI FT232R USB UART adapter ... I'm running a Pi 3 Model B Rev 1.2 Not sure which you have but plugging an FTDI adapter into my Pi 3B (non-plus) Rev 1.2 works just fine, /dev/ttyUSB0 appears as expected. That's great, ...
by hippy
Tue Nov 26, 2019 2:25 am
Forum: Advanced users
Topic: Raspberry Pi 3B FTDI FT232R USB UART adapter
Replies: 19
Views: 1976

Re: Raspberry Pi 3B+ FTDI FT232R USB UART adapter

jasper97 wrote:
Sun Nov 24, 2019 4:48 pm
Raspberry Pi 3B+ FTDI FT232R USB UART adapter ... I'm running a Pi 3 Model B Rev 1.2
Not sure which you have but plugging an FTDI adapter into my Pi 3B (non-plus) Rev 1.2 works just fine, /dev/ttyUSB0 appears as expected.
by jasper97
Mon Nov 25, 2019 6:29 pm
Forum: Advanced users
Topic: Raspberry Pi 3B FTDI FT232R USB UART adapter
Replies: 19
Views: 1976

Re: Raspberry Pi 3B+ FTDI FT232R USB UART adapter

Is this a stock Raspbian install? The ftdi_sio driver should support this out of the box as it is using the FTDI VID and a generic PID for a FT232. Run ls -al /lib/modules/`uname -r`/kernel/drivers/usb/serial and paste the results. Yes, it's a clean install of the latest version. ...
by trejan
Mon Nov 25, 2019 5:59 pm
Forum: Advanced users
Topic: Raspberry Pi 3B FTDI FT232R USB UART adapter
Replies: 19
Views: 1976

Re: Raspberry Pi 3B+ FTDI FT232R USB UART adapter

Is this a stock Raspbian install? The ftdi_sio driver should support this out of the box as it is using the FTDI VID and a generic PID for a FT232.

Run

Code: Select all

ls -al /lib/modules/`uname -r`/kernel/drivers/usb/serial
and paste the results.
by jasper97
Mon Nov 25, 2019 5:27 pm
Forum: Advanced users
Topic: Raspberry Pi 3B FTDI FT232R USB UART adapter
Replies: 19
Views: 1976

Re: Raspberry Pi 3B+ FTDI FT232R USB UART adapter

neilgl wrote:
Mon Nov 25, 2019 2:29 pm
What happens if you do:

Code: Select all

python -m serial.tools.list_ports

Code: Select all

pi@raspberrypi:~ $ python3 -m serial.tools.list_ports
/dev/ttyAMA0
1 ports found
by neilgl
Mon Nov 25, 2019 2:29 pm
Forum: Advanced users
Topic: Raspberry Pi 3B FTDI FT232R USB UART adapter
Replies: 19
Views: 1976

Re: Raspberry Pi 3B+ FTDI FT232R USB UART adapter

What happens if you do:

Code: Select all

python -m serial.tools.list_ports
by jasper97
Sun Nov 24, 2019 4:48 pm
Forum: Advanced users
Topic: Raspberry Pi 3B FTDI FT232R USB UART adapter
Replies: 19
Views: 1976

Raspberry Pi 3B FTDI FT232R USB UART adapter

... New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 635.254326] usb 1-1.3: Product: FT232R USB UART [ 635.254335] usb 1-1.3: Manufacturer: FTDI [ 635.254344] usb 1-1.3: SerialNumber: AI1H36PD However, it doesn't seem to want to attach it. There are no /dev/ttyUSBx available to talk to: ...
by trejan
Sat Nov 23, 2019 10:42 pm
Forum: Troubleshooting
Topic: How to debug unstable USB connection?
Replies: 8
Views: 592

Re: How to debug unstable USB connection?

Can you try a different USB serial adapter or cable? You've swapped out everything else now so there isn't much else it could be. I don't expect it to be a bug in the kernel as the FTDI driver is widely used and should be stable.
by sjjh
Sat Nov 23, 2019 10:06 pm
Forum: Troubleshooting
Topic: How to debug unstable USB connection?
Replies: 8
Views: 592

Re: How to debug unstable USB connection?

I once again exchanged the Raspberry Pi back to model 3 B+ as well as the USB hub to another powered one to rule out faults there as well. But with the new hub the problem persists: Nov 23 16:56:18 hostname kernel: [ 5125.017260] ftdi_sio ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped:...
by Usha
Thu Nov 14, 2019 6:57 am
Forum: Raspberry Pi OS
Topic: WARNING: CPU: 0 PID: 0 at kernel / time / hrtimer.c: 1246 __hrtimer_run_queues + 0x2ec / 0x2f0
Replies: 2
Views: 222

WARNING: CPU: 0 PID: 0 at kernel / time / hrtimer.c: 1246 __hrtimer_run_queues + 0x2ec / 0x2f0

Hi, I am getting Below log,can anybody help me to resolve this. i attached the log kindly check it. Nov 8 10:54:56 raspberrypi kernel: [16600.091391] ------------ [cut here] ------------ Nov 8 10:54: 56 raspberrypi kernel: [16600.091413] WARNING: CPU: 0 PID: 0 at kernel / time / hrtimer.c: 1246 __hr...
by usagi
Wed Nov 13, 2019 10:52 pm
Forum: Troubleshooting
Topic: Screen flicker using gsm module
Replies: 0
Views: 95

Screen flicker using gsm module

Hey, When communicating with a sim800 gsm module via ftdi cable the screen begins to flicker. Using a raspberry pi zero w with a hyperpixel 3.5" screen. I was wondering is the gsm module feeding too much power to the pi through the ftdi cable. Module ...
by sjjh
Sun Nov 10, 2019 10:53 pm
Forum: Troubleshooting
Topic: How to debug unstable USB connection?
Replies: 8
Views: 592

Re: How to debug unstable USB connection?

... hostname kernel: [120161.039369] usb 1-1.3.3: USB disconnect, device number 11 Nov 10 20:43:35 hostname kernel: [120161.052812] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 Nov 10 20:43:35 hostname kernel: [120161.053084] ftdi_sio 1-1.3.3:1.0: device disconnected ...
by scruss
Tue Nov 05, 2019 2:08 am
Forum: Python
Topic: Permanent Arduino usb address on RPi!
Replies: 3
Views: 767

Re: Permanent Arduino usb address on RPi!

... some USB serial devices don't provide enough information to the system for it to generate a unique entry. I'm thinking particularly of knockoff FTDI devices that all have a serial number of 00000000.
by gooligumelec
Sun Nov 03, 2019 8:15 am
Forum: For sale
Topic: Wombat prototyping board going, going...
Replies: 9
Views: 3139

Wombat prototyping board going, going...

... And you can feed that power back to the Pi, as well, if you like. * The USB port also acts as a serial console connection, through an on-board FTDI chip. Really handy for debugging! * There's also an analog to digital converter chip (the well-supported MCP3008), to make up for the Pi not having ...
by devlex
Sat Nov 02, 2019 3:11 am
Forum: Automation, sensing and robotics
Topic: RPi-ESP32 Books
Replies: 13
Views: 1894

Re: RPi-ESP32 Books

... joystick emulation. The ATMega32U4 (Arduino Leonardo, Arduino Micro) and many ARM (inc SAMD51 "M0" and STM32F1) µcs can. USB UARTs like those from FTDI can't emulate USB input devices. Sir. Impossible is not a concept that my mind can comprehend. USB-HID-readers I am sure it goes something like ...
by scruss
Fri Nov 01, 2019 9:34 pm
Forum: Automation, sensing and robotics
Topic: RPi-ESP32 Books
Replies: 13
Views: 1894

Re: RPi-ESP32 Books

The ESP chips can't do USB HID — that is, keyboard, mouse or joystick emulation. The ATMega32U4 (Arduino Leonardo, Arduino Micro) and many ARM (inc SAMD51 "M0" and STM32F1) µcs can. USB UARTs like those from FTDI can't emulate USB input devices.
by fmf
Wed Oct 30, 2019 12:15 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: cypress dual channel USB serial adapter problem
Replies: 1
Views: 562

cypress dual channel USB serial adapter problem

... ttyUSB in /dev). i found a solution with below procedure including creating the rule: 1. Add the following single line to /etc/udev/rules.d/99-ftdi.rules ACTION=="add", ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="000a", RUN+="/sbin/modprobe ftdi_sio" RUN+="/bin/sh -c 'echo 04b4 000a > /sys/bus/usb-serial/drivers/ftdi_sio/new_id'" ...
by subIT
Mon Oct 14, 2019 6:11 pm
Forum: Troubleshooting
Topic: USB-Serial reading of PI
Replies: 13
Views: 1062

Re: USB-Serial reading of PI

... the device Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port . Yours may be different: typical manufacturers include FTDI, QinHeng, Prolific and Silicon Laboratories/SiLabs, but the important bit is the USB ID (067b:2303 for me, likely different for you) that uniquely ...
by scruss
Mon Oct 14, 2019 3:01 pm
Forum: Troubleshooting
Topic: USB-Serial reading of PI
Replies: 13
Views: 1062

Re: USB-Serial reading of PI

... the device Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port . Yours may be different: typical manufacturers include FTDI, QinHeng, Prolific and Silicon Laboratories/SiLabs, but the important bit is the USB ID (067b:2303 for me, likely different for you) that uniquely ...
by ^rooker
Mon Oct 14, 2019 1:04 pm
Forum: Other programming languages
Topic: FTDI adapter & PHP: CLI works, but not in Apache
Replies: 4
Views: 1864

Re: FTDI adapter & PHP: CLI works, but not in Apache

... PC (same versions, but non-ARM architecture): Everything works! Could it be that the *just the Apache* PHP module that is used to talk to the FTDI device has "ARM issues"? (Not blaming, just pondering how to narrow down the reason for this odd behavior...)
by kramer65
Mon Oct 14, 2019 6:51 am
Forum: General discussion
Topic: How to use nRF24 via CH340T serial-to-USB converter?
Replies: 14
Views: 1457

Re: How to use nRF24 via CH340T serial-to-USB converter?

... usb to serial adapter does not provide an spi port. Use an arduino as a usb to spi adapter, you can write code for that. Note that there are some ftdi usb to spi adapters. Are you suggesting that even though they sell the nrf24 together with the CH340T adapter (they even arrive in the mail attached ...
by mikronauts
Sun Oct 13, 2019 1:22 pm
Forum: General discussion
Topic: How to use nRF24 via CH340T serial-to-USB converter?
Replies: 14
Views: 1457

Re: How to use nRF24 via CH340T serial-to-USB converter?

... usb to serial adapter does not provide an spi port. Use an arduino as a usb to spi adapter, you can write code for that. Note that there are some ftdi usb to spi adapters. @clicky Thanks for your response, and I understand that it works through GPIO. The thing is that I want to use nrf24 to communicate ...
by ^rooker
Fri Oct 11, 2019 9:17 am
Forum: Other programming languages
Topic: FTDI adapter & PHP: CLI works, but not in Apache
Replies: 4
Views: 1864

Re: FTDI adapter & PHP: CLI works, but not in Apache

Thanks for your replies! I've already checked both: Running as www-data (=apache's user) and the groups, but I'll check again. I'd assume a more persistent error behavior if it was a permission issue. It "feels" like the code in Apache isn't waiting long enough to properly finish the call to the ser...

Go to advanced search