OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: jbruno on February 21, 2006, 03:43:57 pm

Title: Pl2303 Support?
Post by: jbruno 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
Title: Pl2303 Support?
Post by: adf 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?
Title: Pl2303 Support?
Post by: iamasmith 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] (http://index.php?act=findpost&pid=115631\")

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]
Title: Pl2303 Support?
Post by: jbruno 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] (http://index.php?act=findpost&pid=115631\")

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/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/usbdconfig-1.0.2.tar.bz2)
http://mail.pdaxrom.org/rc12/src/usbutils-0.11.tar.gz (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'...?
Title: Pl2303 Support?
Post by: karlto 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...
Title: Pl2303 Support?
Post by: jbruno 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?
Title: Pl2303 Support?
Post by: adf 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.
Title: Pl2303 Support?
Post by: jbruno 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?
Title: Pl2303 Support?
Post by: w14 on February 23, 2006, 12:58:33 pm
See here:

http://mail.pdaxrom.org/contrib/docs/kerne...mpile-3100.html (http://mail.pdaxrom.org/contrib/docs/kernel-compile-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/ (http://mail.pdaxrom.org/1.1.0beta1/src/)

Mike.
Title: Pl2303 Support?
Post by: pgas 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 (http://www.pdaxrom.org/index.php?showid=2&menuid=1)
Title: Pl2303 Support?
Post by: jbruno 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 (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.
Title: Pl2303 Support?
Post by: adf on February 23, 2006, 08:08:00 pm
deleted
Title: Pl2303 Support?
Post by: xjqian 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.
Title: Pl2303 Support?
Post by: karlto 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
Title: Pl2303 Support?
Post by: xjqian 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
Title: Pl2303 Support?
Post by: xjqian on August 18, 2006, 07:23:58 am
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!!!