Jump to content

FTDI FT232 on Cubietruck


stepman

Recommended Posts

I am running my Cubietruck with Debian and want to connect my JeeLink USB Adapter for home automation with OpenHAB.

 

It is recognized by the system (lsusb):

Bus 003 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
 
The driver module seems missing, as no /dev/ttyUSB0 is created. dmesg | grep usb states:
[    1.525290] usb 3-1: new full-speed USB device number 2 using sw-ohci
 
Is the driver included in the image? If not, how can I install it?
 
Thanks for your help!
 
Stepman

 

Link to comment
Share on other sites

I was on a trip this week so I could only test it today.

 

I installed all .deb packages you packed in 4.0.5-lamobo-r1-next.tar but afer rebooting the kernel is still 3.4.104

 

uname -a:

Linux cubietruck 3.4.104-sunxi #1 SMP PREEMPT Fri Oct 17 16:13:30 CEST 2014 armv7l GNU/Linux
 
How do I activate the new kernel?
 
Sorry, I am not very experienced with linux kernel...
Link to comment
Share on other sites

I upgraded from your distro.

 

I tried to upgrade from Wheezy to Jessie, but now my installation is broken.

 

I will reinstall...

 

Tried Jessie with Kernel 4, but booting stopped with 

Welcome to Debian GNU/LINUX 8 (jessie)!

[TIME] Timed out waiting for device dev-ttyS0.device.

[DEPEND] Dependency failed for Serial Getty on ttyS0.

 

So I will install your Wheezy with Kernel 4.0.5 and then try again...

 

Thanks for your help

Link to comment
Share on other sites

Jessie with 4.0.4 / v3.8, v3.9 is reported to have problems but works for me. Odd. I just installed Jessie with 4.0.5 on Orange Pi and started with long term stress test. It's re-booting fine, hard drive is working, CPU freq scaling, battery charge / discharge, ... running some stress test periodically and running some services.

 

Current uptime is only few days so it's a bit too soon to make conclusions but it looks it's stable.

 

BTW. Distribution upgrades should work but they are not bullet proof.

Link to comment
Share on other sites

 

 

Jessie  is proven only rock solid with kernel 3.16.x and up.

 

Yes and no. I do many compilation and sometimes it does not build up, than in few days - when things are fixed - everything is fine. Is this a problem of debootstrap, packets, ... I don't explore. Jessie is the problem winner, than Trusty and Wheezy which is somehow logical.

 

I am among those few % who notice such things. Yes, Jessie become stable. With minor, probably irrelevant, glitches.

 

But if you can't boot the system due to bug which is most likely from os ? :)

Link to comment
Share on other sites

Finally I got it working again. 

 

Cubietruck_Debian_3.8_wheezy_4.0.4 and Cubietruck_Debian_3.9_wheezy_4.0.5 both did not work, during first boot it said: 

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3

Unable to set up timer: unexpected error

Failed to bring up eth0.

 

After this the cubie did not reboot.

 

Cubietruck_Debian_3.8_wheezy_3.4.107 finally worked. And my usb-to-serial is also working again!  :)  ;)  :)  ;)

 

Thanks for your help!

Link to comment
Share on other sites

Cubietruck_Debian_3.8_wheezy_4.0.4 and Cubietruck_Debian_3.9_wheezy_4.0.5 both did not work, during first boot 

 

Can you describe the exact scenario. Have you power off your board in between? 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines