msgbartop
I will happily conduct a FREE basic web security scan for any genuine organization interested in my services to point out whether or not I can find vulnerabilities in your application. Just contact me.
Need a PHP Programmer, PHP staff or project manager? Contact me now.
msgbarbottom

20 Nov 08 Linux: AVIT Research USB to TTL Cable

I ordered a USB to TTL Cable to control two Sabertooth 2×25 motor controllers as part of the Robot project.

I plugged it into a Windows PC, and used ‘RoboRealm’ to control the motors via the COM port that appeared. Worked perfectly. Motors, controller, USB to TTL and virtual COM port – excellent.

I then plug the cable into my Linux board and guess what, no driver claims it and I have every standard USB Serial module compiled. AVIT Research’s website also gives no help on Linux support.

The device shows up under lsusb as:
Bus 002 Device 002: ID 10c4:818b Cygnal Integrated Products, Inc.

The solution was luckily simple. After prising open the cable and doing some research, the ‘cp2101′ driver is the one that we want. I’m using 2.6.27.6 but this should work for any cp2101 version.

(more…)

Tags: , , , , , , , , , , , , , , , ,

15 Sep 08 Using picolcd on linux, lcdproc, routerboard, liblcdusb

I’ve posted previously about my embedded device and picolcd. I wanted to put some thoughts down about using picolcd.

The easiest way to drive your picolcd is with lcdproc I’ve found. The device doesn’t require any special drivers which is great, as long as you have USB support working you’re fine. Make sure uhci-hcd and usbcore are loaded, you should be able to use ehci-hcd as well as it supports USB 1.1 and 2.0 but I haven’t tested that.

Use lsusb to make sure that the device is shown and recognised. If you see:

    Bus 002 Device 003: ID 04d8:0002 Microchip Technology, Inc.

then great. Your device is connected, working and your machine supports USB.
(more…)

Tags: , , , , , , , , , , , , , ,