Results 1 to 10 of 10
Hi,
I am trying to configure kernel with USB host with FTDI USB serial driver.
It seems that I am not doing it well since when I am connecting the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-29-2012 #1Just Joined!
- Join Date
- Jul 2012
- Posts
- 8
MPC8308RDB kernel: support USB serial
Hi,
I am trying to configure kernel with USB host with FTDI USB serial driver.
It seems that I am not doing it well since when I am connecting the device nothing is hapenning.
I am using kernel version 3.5
Please advise
Thanks
Avner
- 10-29-2012 #2Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,746
Hi,
What do you expect to be happening? I.e., have you looked in the output of dmesg for kernel activity, when connecting a device?
Also, look for these devices:
Code:ls -l /dev/ttyUSB*
- 10-29-2012 #3Just Joined!
- Join Date
- Jul 2012
- Posts
- 8
This id the problem - nothing is happening
I am expecting for some indication when I am connecting my USB device (FTDI)
I added manually ttyUSB devices - but it doesn't work.
Is there anywhere kernel config file for configuring USB Host with serial for MPC8308?
I also need an example of the .dts file for such configuration (for MPC8308_RDB)
Thanks
- 10-29-2012 #4Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,746
Just trying to be clear: there is no indication in dmesg?
How did you add these devices, using mknod?I added manually ttyUSB devices - but it doesn't work.
Can you show the command(s) you used to create the devices?
In kernel 3.4.4-5, I see the FTDI support here:Is there anywhere kernel config file for configuring USB Host with serial for MPC8308?
Of course, you'll also need basic serial device support:Code:Device Drivers ---> USB Support ---> USB Serial Converter Support ---> USB FTDI Single Port Serial Driver
Code:Device Drivers ---> Character Devices ---> Serial Drivers --->Sorry, don't know what you mean here.I also need an example of the .dts file for such configuration (for MPC8308_RDB)
- 10-29-2012 #5Just Joined!
- Join Date
- Jul 2012
- Posts
- 8
NoJust trying to be clear: there is no indication in dmesg?
How did you add these devices, using mknod?
Can you show the command(s) you used to create the devices?Code:mknod /dev/ttyUSB0 c 188 0
I checked them both - and more: USB Host, EHCI modesIn kernel 3.4.4-5, I see the FTDI support here:
...
Of course, you'll also need basic serial device support:
But I guess I did something wrong
.dts file is data tree - it represent the busses and periphrials - Freescale PQ kerenel support it
Let ask this way - Afetr I am booting with kernel tht was built with the correct USB Host - serial configuration should it identify my USB device? should I do something in the userspace?
Is there a way to debug it?
Thanks
Avner
- 10-29-2012 #6Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,746
That looks right.
Did u build them as modules are built-ins?I checked them both - and more: USB Host, EHCI modes
But I guess I did something wrong
I can't speak to that at all....dts file is data tree - it represent the busses and periphrials - Freescale PQ kerenel support it
I would boot up with the USB device not plugged in. then once it is up, plug in the USB device, and then you should see activity in dmesg. Clearly you are not, though. If you've built the driver as a module, try inserting it manually:Let ask this way - Afetr I am booting with kernel tht was built with the correct USB Host - serial configuration should it identify my USB device? should I do something in the userspace?
I'm not sure if that is the right driver name, though. Look for it inCode:modprobe ftdi_sio
Code:/lib/modules/$(uname -r)/
according to the modinfo of that driver, you can pass to it a debug parameter:Is there a way to debug it?
Code:modinfo /lib/modules/3.3.7-1.fc17.i686.PAE/kernel/drivers/usb/serial/ftdi_sio.ko|grep parm
- 10-30-2012 #7Just Joined!
- Join Date
- Jul 2012
- Posts
- 8
It is built-in? Shoul I build it as a modules?Did u build them as modules are built-ins?
- 10-30-2012 #8Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,746
- 11-13-2012 #9Just Joined!
- Join Date
- Jul 2012
- Posts
- 8
I managed to solve this issue: I wrote a post on this on my Blog (google blogs)
But I still not allowed to insert links
Thanks
- 11-15-2012 #10Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,746
URL with solution posted on behalf of aflesch:
http://avnerf.blogspot.co.il/
Locking thread.




