Help - Search - Members - Calendar
Full Version: Pl2303 Support?
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
jbruno
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
adf
QUOTE(jbruno @ Feb 21 2006, 08:43 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
*


isn't it in the kernel source under usb?
iamasmith
QUOTE(adf @ Feb 22 2006, 05:34 AM)
QUOTE(jbruno @ Feb 21 2006, 08:43 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
*


isn't it in the kernel source under usb?
*



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

http://gimel.esc.cam.ac.uk/james/pl2303/
jbruno
QUOTE(adf @ Feb 21 2006, 09:34 PM)
QUOTE(jbruno @ Feb 21 2006, 08:43 PM)
Does anyone have any source for pl2303 support for pdaXrom?

Thanks!
-jb
*


isn't it in the kernel source under usb?
*



Well, is it one of these?

http://mail.pdaxrom.org/rc12/src/libusb-0.1.10a.tar.gz
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'...?
karlto
QUOTE(jbruno @ Feb 23 2006, 02:48 AM)
QUOTE(adf @ Feb 21 2006, 09:34 PM)
QUOTE(jbruno @ Feb 21 2006, 08:43 PM)
Does anyone have any source for pl2303 support for pdaXrom?

Thanks!
-jb
*


isn't it in the kernel source under usb?
*



I'm not sure what you mean by 'under usb'...?
*



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...
jbruno
QUOTE(karlto @ Feb 22 2006, 11:36 AM)
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...
*



Ok, where can I get the kernel source?
adf
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.
jbruno
QUOTE(adf @ Feb 22 2006, 01:05 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.
*



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?
w14
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.
pgas
vmware image works for me

more info on the builder:
http://www.pdaxrom.org/index.php?showid=2&menuid=1
jbruno
QUOTE(pgas @ Feb 23 2006, 11:27 AM)
vmware image works for me

more info on the builder:
http://www.pdaxrom.org/index.php?showid=2&menuid=1
*


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.
adf
deleted
xjqian
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.
karlto
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
xjqian
Thanks karl for the drivers. Now dmesg tells me the modules are loaded correctly when I plut in my USB GPS
CODE
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
xjqian
ln -s /dev/usb/tts/0 /dev/ttyUSB0 workes for me

now, I'm able to use my USB with roadmap and gpsdrive (I was not patient enough to let the gps warm up). Excellent, see ya in Chicago!!!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.