Author Topic: Pl2303 Support?  (Read 6845 times)

jbruno

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • http://
Pl2303 Support?
« on: February 21, 2006, 03:43:57 pm »
Does anyone have any source for pl2303 support for pdaXrom?

I looked on the pdaXrom feeds, but didn't find source or binaries for these, which are needed by usb-serial dongle thingies.

I use an SL6000, if that matters, and I have rc12 running.  

I could compile it, but have been unable to locate source and can't seem to google it.

Thanks!
-jb
-----
SL6000L
ATP 512MB SD

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Pl2303 Support?
« Reply #1 on: February 22, 2006, 12:34:46 am »
Quote
Does anyone have any source for pl2303 support for pdaXrom?

I looked on the pdaXrom feeds, but didn't find source or binaries for these, which are needed by usb-serial dongle thingies.

I use an SL6000, if that matters, and I have rc12 running. 

I could compile it, but have been unable to locate source and can't seem to google it.

Thanks!
-jb
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115631\"][{POST_SNAPBACK}][/a][/div]

isn't it in the kernel source under usb?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Pl2303 Support?
« Reply #2 on: February 22, 2006, 05:48:18 am »
Quote
Quote
Does anyone have any source for pl2303 support for pdaXrom?

I looked on the pdaXrom feeds, but didn't find source or binaries for these, which are needed by usb-serial dongle thingies.

I use an SL6000, if that matters, and I have rc12 running. 

I could compile it, but have been unable to locate source and can't seem to google it.

Thanks!
-jb
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

isn't it in the kernel source under usb?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115665\"][{POST_SNAPBACK}][/a][/div]

This may be a starting point if it isn't in there..

[a href=\"http://gimel.esc.cam.ac.uk/james/pl2303/]http://gimel.esc.cam.ac.uk/james/pl2303/[/url]
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

jbruno

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • http://
Pl2303 Support?
« Reply #3 on: February 22, 2006, 08:48:52 am »
Quote
Quote
Does anyone have any source for pl2303 support for pdaXrom?

Thanks!
-jb
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

isn't it in the kernel source under usb?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115665\"][{POST_SNAPBACK}][/a][/div]

Well, is it one of these?

[a href=\"http://mail.pdaxrom.org/rc12/src/libusb-0.1.10a.tar.gz]http://mail.pdaxrom.org/rc12/src/libusb-0.1.10a.tar.gz[/url]
http://mail.pdaxrom.org/rc12/src/qc-usb-0.6.3.tar.gz
http://mail.pdaxrom.org/rc12/src/usbdconfig-1.0.2.tar.bz2
http://mail.pdaxrom.org/rc12/src/usbutils-0.11.tar.gz

Or is it somewhere else?

I'm not sure what you mean by 'under usb'...?
-----
SL6000L
ATP 512MB SD

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
Pl2303 Support?
« Reply #4 on: February 22, 2006, 02:36:55 pm »
Quote
Quote
Quote
Does anyone have any source for pl2303 support for pdaXrom?

Thanks!
-jb
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115631\"][{POST_SNAPBACK}][/a][/div]

isn't it in the kernel source under usb?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115665\"][{POST_SNAPBACK}][/a][/div]

I'm not sure what you mean by 'under usb'...?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115709\"][{POST_SNAPBACK}][/a][/div]

The drivers are part of the kernel - as far as I can see, there are a number of options under 'USB Support => USB Serial Converter Support =>' in the kernel config. None appear to be enabled by default though, so it looks like you will need to recompile a kernel to get this support...
SL6000-L, RC12

jbruno

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • http://
Pl2303 Support?
« Reply #5 on: February 22, 2006, 02:49:12 pm »
Quote
The drivers are part of the kernel - as far as I can see, there are a number of options under 'USB Support => USB Serial Converter Support =>' in the kernel config. None appear to be enabled by default though, so it looks like you will need to recompile a kernel to get this support...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115772\"][{POST_SNAPBACK}][/a][/div]


Ok, where can I get the kernel source?
-----
SL6000L
ATP 512MB SD

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Pl2303 Support?
« Reply #6 on: February 22, 2006, 04:05:56 pm »
go to pdaxrom from the pinned link to beta1 on zug. under x86? or one of the subdirs,..source?.... you will find various versions of linux.blah.blah.tar.gz grab the one for your 6k.

crosscompiling works on the pdaxrom cd... I haven't tried the vmware image.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

jbruno

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • http://
Pl2303 Support?
« Reply #7 on: February 23, 2006, 11:32:25 am »
Quote
go to pdaxrom from the pinned link to beta1 on zug. under x86? or one of the subdirs,..source?.... you will find various versions of linux.blah.blah.tar.gz grab the one for your 6k.

crosscompiling works on the pdaxrom cd... I haven't tried the vmware image.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115787\"][{POST_SNAPBACK}][/a][/div]


Could somebody help me out here? I still can't find the file, and I just spent quite a bit of time downloading the wrong one.

Does anyone have a link the the kernel source for pdaXrom?
-----
SL6000L
ATP 512MB SD

w14

  • Full Member
  • ***
  • Posts: 180
    • View Profile
    • http://
Pl2303 Support?
« Reply #8 on: February 23, 2006, 12:58:33 pm »
See here:

http://mail.pdaxrom.org/contrib/docs/kerne...mpile-3100.html

The source package mentioned in the howto is for the 3100. All the source packages are here:

http://mail.pdaxrom.org/1.1.0beta1/src/

Mike.
« Last Edit: February 23, 2006, 01:00:06 pm by w14 »
sl-c3100
pdaxrom 1.1.0 beta1

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Pl2303 Support?
« Reply #9 on: February 23, 2006, 02:27:51 pm »
vmware image works for me

more info on the builder:
http://www.pdaxrom.org/index.php?showid=2&menuid=1
SLC-860 cacko / senao wifi

jbruno

  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • http://
Pl2303 Support?
« Reply #10 on: February 23, 2006, 03:46:56 pm »
Quote
vmware image works for me

more info on the builder:
http://www.pdaxrom.org/index.php?showid=2&menuid=1
[div align=\"right\"][a href=\"index.php?act=findpost&pid=115903\"][{POST_SNAPBACK}][/a][/div]

Thanks for the links!
I'll give this a shot later on.
I'm hoping I just compile what I need and not rebuild the whole kernel.
-----
SL6000L
ATP 512MB SD

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Pl2303 Support?
« Reply #11 on: February 23, 2006, 08:08:00 pm »
deleted
« Last Edit: February 23, 2006, 08:08:55 pm by adf »
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
Pl2303 Support?
« Reply #12 on: August 17, 2006, 03:15:10 am »
any kind soul has a working pl2303.o for Tosa. I tested the one adf made for the fast kernel just for grins. But when I insmod, it complained about:

pl2303.o: pl2303.o: unresolved symbol preempt_schedule
pl2303.o: pl2303.o: unresolved symbol usb_serial_deregister
pl2303.o: pl2303.o: unresolved symbol usb_serial_register

I guess I need to learn the kernel thing. But don't have time now.
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

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
Pl2303 Support?
« Reply #13 on: August 17, 2006, 03:51:05 pm »
Hi xjqian

I think you are missing the usbserial.o module that goes with it. I have attached both pl2303.o and usbserial.o that insert cleanly on my tosa. I don't have anything to test them with though...

I also found recently that the 2.4.18 kernel is several versions too early for a lot of USB stuff; it only has basic support in a number of areas - I had a look at backporting some stuff but I don't have that sort of time.

Hopefully this works for you - they should go in a 'serial' directory under the 'drivers/usb' directory (don't forget to rename the files back to '.o').

Karl
SL6000-L, RC12

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
Pl2303 Support?
« Reply #14 on: August 17, 2006, 10:24:47 pm »
Thanks karl for the drivers. Now dmesg tells me the modules are loaded correctly when I plut in my USB GPS
Code: [Select]
hub.c: USB new device connect on bus1/1, assigned device number 19
usbserial.c:PL-2303 converter detected
usbserial.c: PL-2303 converter now attached to ttyUSB0 (or usb/tts/0 for devfs)

Since there is no ttyUSB0 in /dev. I did the following:
mknod -m 660 ttyUSB0 c 188 0     or    ln -s /dev/usb/tts/0 /dev/ttyUSB0

neither way can I get the GPS to talk by:
cat /dev/ttyUSB0  or  cat /dev/usb/tts/0


My CF GPS (recognized correctly by serial_cs @ ttyS3) doesn't want to talk either. I think this is the last mile to get my GPS working. Is this a kernel problem in 1.1.0beta1
« Last Edit: August 17, 2006, 10:32:48 pm by xjqian »
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