Author Topic: C3000 Usb Serial  (Read 20775 times)

Raybot

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
C3000 Usb Serial
« Reply #30 on: October 13, 2005, 07:12:49 am »
Quote
Nope, the pl2303 drivers work for pl2303 (and pl2303x) devices only. 

But I did compile all the other serial drivers in the kernel source at the same time and they should be included in this file:
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77042\"][{POST_SNAPBACK}][/a][/div]

I can quite happily confirm that the driver works beautifully with the FTDI FT232BL chip :-)

Thanks heaps Jonathan!


- Raymond

P.S. I assume you had to fight your way through the "configure" process somehow (and if so, how did you do it in the crosscompile environment)? Or was there an easier way for you to get all this working?

Jonathan

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • http://
C3000 Usb Serial
« Reply #31 on: October 14, 2005, 02:47:46 am »
Quote
P.S. I assume you had to fight your way through the "configure" process somehow (and if so, how did you do it in the crosscompile environment)? Or was there an easier way for you to get all this working?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

As I recall I just did the usual "make config" (or maybe it "make menuconfig") but made sure I used the correct example config file (for the Spitz I think.)  That was, of course after a successful run of "./configure".

That way you set the options for video4linux (which I see you also need...) and everything else before the final make.

Best of luck with your robot project - keep us posted.  I got my C3000  to compile [a href=\"http://www.voti.nl/jal]JAL[/url] programs and then program the Microchip PIC series of microprocessors in my robot cars through a USB<>serial cable.  It then interacts with the operating robot cars through the same interface - no vision though  

Jonathan

Raybot

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
C3000 Usb Serial
« Reply #32 on: October 14, 2005, 08:52:42 am »
Quote
Quote
P.S. I assume you had to fight your way through the "configure" process somehow (and if so, how did you do it in the crosscompile environment)? Or was there an easier way for you to get all this working?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

As I recall I just did the usual "make config" (or maybe it "make menuconfig") but made sure I used the correct example config file (for the Spitz I think.)  That was, of course after a successful run of "./configure".
[div align=\"right\"][a href=\"index.php?act=findpost&pid=99292\"][{POST_SNAPBACK}][/a][/div]

Did you run that on your desktop (in a crosscompile environment) or was this all working off the Zaurus? I guess the problem is I'm not familiar with crosscompilation, I'm not sure where one would start setting this up so obvious things, like configure configuring for the desktop (and not the Zaurus) won't be a problem (let alone less obvious things like making sure the Zaurus versions of all the relevant files are used and not the desktop's) ... maybe I'm looking in the wrong place but there doesn't seem to be much docs that I can find on setting up a desktop crosscompile environment for "systems'y" stuff (rather than console/QT/X11 applications).

Quote
That way you set the options for video4linux (which I see you also need...) and everything else before the final make.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=99292\"][{POST_SNAPBACK}][/a][/div]

Of course, my other hope was to be able to do this all with the Sharp ROM (and load what I need as modules) ... not possible seems to be the consensus?

Quote
Best of luck with your robot project - keep us posted.  I got my C3000  to compile [a href=\"http://www.voti.nl/jal]JAL[/url] programs and then program the Microchip PIC series of microprocessors in my robot cars through a USB<>serial cable.  It then interacts with the operating robot cars through the same interface - no vision though  

Jonathan
[div align=\"right\"][a href=\"index.php?act=findpost&pid=99292\"][{POST_SNAPBACK}][/a][/div]

I'm using a prototyping board with an AVR AtMEGA32 and an FT232BM serial-USB converter chip hooked up to its USART (and running a bootloader so I dump programs to it via the USB cable). It's nice - I press a button on the board to put it in bootloader mode, copy the program down, press the reset button and it runs

I'll put more stuff about the robot up if people are interested once I've got time to do up a proper webpage but it's got some pretty nice stuff on it ... omnidirectional camera (hopefully a webcam hooked up to the Zaurus but I'll fall back onto a wireless camera pointed up at a parabolic mirror), Hokuyo URG scanning laser rangefinder and a 2 axis accelerometer to measure tilt ... all on a platform that can climb stairs and do other nice things and with the Zaurus (with wireless LAN) acting as the communications and control hub

- Raymond

RGRICH

  • Newbie
  • *
  • Posts: 16
    • View Profile
C3000 Usb Serial
« Reply #33 on: November 05, 2005, 06:35:18 am »
Quote
Quote
P.S. I assume you had to fight your way through the "configure" process somehow (and if so, how did you do it in the crosscompile environment)? Or was there an easier way for you to get all this working?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

As I recall I just did the usual "make config" (or maybe it "make menuconfig") but made sure I used the correct example config file (for the Spitz I think.)  That was, of course after a successful run of "./configure".

That way you set the options for video4linux (which I see you also need...) and everything else before the final make.

Best of luck with your robot project - keep us posted.  I got my C3000  to compile [a href=\"http://www.voti.nl/jal]JAL[/url] programs and then program the Microchip PIC series of microprocessors in my robot cars through a USB<>serial cable.  It then interacts with the operating robot cars through the same interface - no vision though  

Jonathan
[div align=\"right\"][a href=\"index.php?act=findpost&pid=99292\"][{POST_SNAPBACK}][/a][/div]

I'm trying to get a garmin gps unit working with my C3000 but I'm running the Cacko ROM and not the Sharp Rom. I have a U232-P9 USB - Serial converter to connect the C3000 to the Garmin. It seems that the hotplug scripts detect the USB-serial device but can't find a driver to load. According to the usb.distmap file matching vendor/product codes from the lsusb -v it should be loading mct_u232.o.
I tried copying this driver from Jonathan's usb_serial package but depmod -a gives unresolved symbols in module mct-u232.o. How do I go about getting this to work with the Cacko Rom?
Thanks

rmako

  • Newbie
  • *
  • Posts: 14
    • View Profile
C3000 Usb Serial
« Reply #34 on: November 19, 2005, 08:29:28 pm »
Gents,

Any idea if this will work with the 6000?  I am trying to read a GPS through the USB port.

I get the following in dmesg

usb.c: USB decive 29 (vend/prod 0x67b/0xaaa0) is not claimed by any driver.

Thanks,

rmako

javahack

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://
C3000 Usb Serial
« Reply #35 on: January 20, 2006, 10:35:32 pm »
Quote
Maybe this will help some people who want a quick fix for USB<>SERIAL adaptor cables (and other USB serial devices) on the C3000.

Yesterday I set up the cross compiler on my x86 linux box and compiled the USB serial modules for SL-C3000 from the kernel source on Sharp's website.

I've posted the compiled drivers in the following directory with some rough instructions on installing them:

   http://www.enm.bris.ac.uk/teaching/enjmr/Zaurus_SL-C3000/

I needed to do this to use some Prolific PL2303 and PL2303x based USB<>RS232 converter cables.  After installing these drivers all adaptors work well.  Note that I needed to find a replacement for pl2303.c to add support for the PL2303X chip, but the standard PL2303 driver is also there in the source (that particular problem was a pain in the ****).

I also had some problem with hotplugging and had to add a line to /etc/hotplug/usb.rc to remove the pl2303 module from memory when the machine goes into standby.  On looking at this file again I see that the line was already there, so I don't know if it was just the updated pl2303x driver that solved that problem.  I don't think anyone will have this problem with these drivers.  Mind you, I'm no expert  

Oh yes, and I use minicom pointing to /dev/ttyUSB0.  To make minicom start quickly it helps to disable the modem init string (use 'minicom -o') and hangup strings (delete strings in minicom modem setup screen.)

Hope this helps someone.

Jonathan

[these files may move some time in the future (months rather than days)]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=62274\"][{POST_SNAPBACK}][/a][/div]


i can't get the DT version of the file, could you re-post it or zip it somewhere, I just bought and MSFT GPS-360 and need it working on sl-c3100 and pl2303.o from the tgz does not work..

Thanks,
Code Happy and Free
SL-C3100 Cacko 1.23
Linksys WLAN WCF-12 / BELKIN Bluetooth F8T020 ver.2
1GB SD / 512 CF
Code Happy and Free :)

javahack

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://
C3000 Usb Serial
« Reply #36 on: January 20, 2006, 10:49:05 pm »
Quote
Gents,

Any idea if this will work with the 6000?  I am trying to read a GPS through the USB port.

I get the following in dmesg

usb.c: USB decive 29 (vend/prod 0x67b/0xaaa0) is not claimed by any driver.

Thanks,

rmako
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104304\"][{POST_SNAPBACK}][/a][/div]


if i can get it to compile i will post it
SL-C3100 Cacko 1.23
Linksys WLAN WCF-12 / BELKIN Bluetooth F8T020 ver.2
1GB SD / 512 CF
Code Happy and Free :)

javahack

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://
C3000 Usb Serial
« Reply #37 on: January 21, 2006, 11:41:42 pm »
Quote
Quote
Maybe this will help some people who want a quick fix for USB<>SERIAL adaptor cables (and other USB serial devices) on the C3000.

Yesterday I set up the cross compiler on my x86 linux box and compiled the USB serial modules for SL-C3000 from the kernel source on Sharp's website.

I've posted the compiled drivers in the following directory with some rough instructions on installing them:

   http://www.enm.bris.ac.uk/teaching/enjmr/Zaurus_SL-C3000/

I needed to do this to use some Prolific PL2303 and PL2303x based USB<>RS232 converter cables.  After installing these drivers all adaptors work well.  Note that I needed to find a replacement for pl2303.c to add support for the PL2303X chip, but the standard PL2303 driver is also there in the source (that particular problem was a pain in the ****).

I also had some problem with hotplugging and had to add a line to /etc/hotplug/usb.rc to remove the pl2303 module from memory when the machine goes into standby.  On looking at this file again I see that the line was already there, so I don't know if it was just the updated pl2303x driver that solved that problem.  I don't think anyone will have this problem with these drivers.  Mind you, I'm no expert  

Oh yes, and I use minicom pointing to /dev/ttyUSB0.  To make minicom start quickly it helps to disable the modem init string (use 'minicom -o') and hangup strings (delete strings in minicom modem setup screen.)

Hope this helps someone.

Jonathan

[these files may move some time in the future (months rather than days)]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=62274\"][{POST_SNAPBACK}][/a][/div]


i can't get the DT version of the file, could you re-post it or zip it somewhere, I just bought and MSFT GPS-360 and need it working on sl-c3100 and pl2303.o from the tgz does not work..

Thanks,
Code Happy and Free
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111772\"][{POST_SNAPBACK}][/a][/div]


navermind i got it working

thanks
SL-C3100 Cacko 1.23
Linksys WLAN WCF-12 / BELKIN Bluetooth F8T020 ver.2
1GB SD / 512 CF
Code Happy and Free :)

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
C3000 Usb Serial
« Reply #38 on: February 25, 2006, 04:07:40 am »
Quote
Gents,

Any idea if this will work with the 6000?  I am trying to read a GPS through the USB port.

I get the following in dmesg

usb.c: USB decive 29 (vend/prod 0x67b/0xaaa0) is not claimed by any driver.

Thanks,

rmako
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104304\"][{POST_SNAPBACK}][/a][/div]

same problem here, anybody care to compile for 6K user?
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

BarryW

  • Hero Member
  • *****
  • Posts: 690
    • View Profile
    • http://
C3000 Usb Serial
« Reply #39 on: April 02, 2006, 11:47:10 pm »
Anybody have the dt version??  I could really use it.
What's this button do??

C3100
Distro changes almost weekly...

C3200
Distro also changes almost weekly...  :)

Hardware hacks and stuff.

javahack

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://
C3000 Usb Serial
« Reply #40 on: April 03, 2006, 08:06:40 am »
Quote
Anybody have the dt version??  I could really use it.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121547\"][{POST_SNAPBACK}][/a][/div]


I compiled the driver (pl2303.o) with added support for GPS360 and works fine, but I compiled it from the Cacko 1.23 kernel.

 What Rom do you run, and what kernel ver? (2.4.20/????)

Thanks
SL-C3100 Cacko 1.23
Linksys WLAN WCF-12 / BELKIN Bluetooth F8T020 ver.2
1GB SD / 512 CF
Code Happy and Free :)

javahack

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • http://
C3000 Usb Serial
« Reply #41 on: April 03, 2006, 08:08:16 am »
Quote
Quote
Gents,

Any idea if this will work with the 6000?  I am trying to read a GPS through the USB port.

I get the following in dmesg

usb.c: USB decive 29 (vend/prod 0x67b/0xaaa0) is not claimed by any driver.

Thanks,

rmako
[div align=\"right\"][a href=\"index.php?act=findpost&pid=104304\"][{POST_SNAPBACK}][/a][/div]

same problem here, anybody care to compile for 6K user?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116048\"][{POST_SNAPBACK}][/a][/div]

see my post below , btw what kernel do you use on what rom for sl-6000
SL-C3100 Cacko 1.23
Linksys WLAN WCF-12 / BELKIN Bluetooth F8T020 ver.2
1GB SD / 512 CF
Code Happy and Free :)

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
C3000 Usb Serial
« Reply #42 on: January 23, 2007, 10:34:13 am »
I just tried an FTDI usb serial adaptor on my C3100 to use as a serial console for a disk array at work... no problem at all, dmesg proclaimed
Code: [Select]
hub.c: new USB device -2, assigned address 2
usb.c: USB device 2 (vend/prod 0x403/0x6001) is not claimed by any active driver.
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
usbserial.c: USB Serial support registered for FTDI SIO
usbserial.c: USB Serial support registered for FTDI 8U232AM Compatible
usbserial.c: USB Serial support registered for FTDI FT232BM Compatible
usbserial.c: FTDI FT232BM Compatible converter detected
usbserial.c: FTDI FT232BM Compatible converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: USB Serial support registered for USB-UIRT Infrared Tranceiver
usbserial.c: USB Serial support registered for Home-Electronics TIRA-1 IR Transceiver
ftdi_sio.c: v1.3.5:USB FTDI Serial Converters Driver

using cacko 1.23, I installed minicom "ipkg install minicom", having previously installed ncurses (kismet command line needs that).

started up minicom with "minicom -s" (having had to add a softlink in /usr/lib/ncurses.so.4 to the .so.4.2 file), set serial port to ttyUSB0, and voila!

the only snag was that none of the installed fonts showed up like either a PC or VT100 character set, so the on-screen boxes came up as various odd blobs.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.