![]() |
usbserial on N8X0!
1 Attachment(s)
pl2303.ko and usbserial.ko are needed to connect any gadget through USB with a cable "USB to serial".
With this you can programme for your gadgets, transfer data, and control a lot of things. The only you have to do is download usbserial.ko and pl2303.ko and type into n8X0 terminal (root): insmod usbserial.ko insmod pl2303.ko and fun! for more information visit http://www.behindmaemolines.blogspot.com/ here I put the files: |
Re: usbserial on N8X0!
Thanks ! Maybe I could try this with my Psion Series5... :-)
|
Re: usbserial on N8X0!
Are you saying that a N800 can be a USB host controller? Can it supply power out the USB port?
[QUOTE=litus;125761]pl2303.ko and usbserial.ko are needed to connect any gadget through USB with a cable "USB to serial". With this you can programme for your gadgets, transfer data, and control a lot of things. |
Re: usbserial on N8X0!
Doug, this has been mentioned many times already, but to summarize: OS2008, which runs on both the N800 and the N810, has built-in USB host functionality. Basically, all is needed is a USB cable with a male end that fits into the N8X0, with pins 4 and 5 soldered together, and a female end to which you can connect any other device. In the N800's case, all you need is a Mini-AB (M) to Type A (F) cable, then cut (some of the) shielding from the Mini-AB end so that it fits into the connector on the tablet. Then just connect your USB keyboard or pendrive and the tablet will recognise it. If you connect a pendrive, it will even open the file manager to show you the files on it!
HTH. EDIT: Yes, it _will_ supply power, but is limited to a maximum current of about 125 mA IIRC. |
Re: usbserial on N8X0!
Quote:
- this was the 'missing link' for me! - now i'll be able to use my n800 to remotely control my high-frequency receiver (Ten-Tec RX-320) - tks! p.s. too bad we don't have 'line-in,' else we'd have gMFSK up and running for PSK31 ops! |
Re: usbserial on N8X0!
Quote:
|
Re: usbserial on N8X0!
Quote:
|
Re: usbserial on N8X0!
Quote:
I wish they had simply put a switch so we could toggle between line or mic level. Maybe it is connected and there's some magical way to switch in software, but no one's confirmed or denied. It really bugs me to have hardware that I can't use (IVR, PowerVR(?), and line-input, at least) |
Re: usbserial on N8X0!
- just verified that these modules appear (in the system at least) to work on my os2008 n800:
dmesg upon insmod'ing: [ 472.390625] usbcore: registered new interface driver usbserial [ 472.390625] drivers/usb/serial/usb-serial.c: USB Serial Driver core [ 485.992187] drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303 [ 486.000000] usbcore: registered new interface driver pl2303 [ 486.000000] drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver and upon attachment of my no-name USB-serial adapter after putting the n800 into host mode: [ 817.343750] usb 1-1: new full speed USB device using musb_hdrc and address 2 [ 817.476562] usb 1-1: default language 0x0409 [ 817.476562] usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0 [ 817.476562] usb 1-1: Product: USB-Serial Controller [ 817.476562] usb 1-1: Manufacturer: Prolific Technology Inc. [ 817.476562] usb 1-1: device v0557 p2008 is not supported [ 817.476562] usb 1-1: uevent [ 817.476562] usb 1-1: usb_probe_device [ 817.476562] usb 1-1: configuration #1 chosen from 1 choice [ 817.476562] usb 1-1: adding 1-1:1.0 (config #1, interface 0) [ 817.476562] usb 1-1:1.0: uevent [ 817.476562] usbtest 1-1:1.0: usb_probe_interface [ 817.476562] usbtest 1-1:1.0: usb_probe_interface - got id [ 817.476562] pl2303 1-1:1.0: usb_probe_interface [ 817.476562] pl2303 1-1:1.0: usb_probe_interface - got id [ 817.476562] pl2303 1-1:1.0: pl2303 converter detected [ 817.476562] usb 1-1: pl2303 converter now attached to ttyUSB0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ YAHOO! [ 817.484375] drivers/usb/core/inode.c: creating file '002' [ 817.484375] hub 1-0:1.0: 100mA power budget left [ 817.484375] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 [ 817.484375] hub 1-0:1.0: port 1 enable change, status 00000103 .... - next step is to build and test a command-line version of the Debian RX320 command-line client! - tks to the OP! |
Re: usbserial on N8X0!
Gave this a try with my Keyspan USA-19Qi USB-serial adapter, but it didn't seem to like it.
[ 4852.453125] usb 1-1: new full speed USB device using musb_hdrc and address 5 [ 4852.585937] usb 1-1: new device strings: Mfr=0, Product=0, SerialNumber=0 [ 4852.585937] usb 1-1: hub v06cd p010b is not supported [ 4852.585937] usb 1-1: uevent [ 4852.585937] usb 1-1: usb_probe_device [ 4852.585937] usb 1-1: configuration #1 chosen from 1 choice [ 4852.585937] usb 1-1: adding 1-1:1.0 (config #1, interface 0) [ 4852.585937] usb 1-1:1.0: uevent [ 4852.585937] usbtest 1-1:1.0: usb_probe_interface [ 4852.585937] usbtest 1-1:1.0: usb_probe_interface - got id [ 4852.585937] drivers/usb/core/inode.c: creating file '005' [ 4852.585937] hub 1-0:1.0: 100mA power budget left [ 4852.585937] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002 [ 4852.585937] hub 1-0:1.0: port 1 enable change, status 00000103 [ 4854.585937] usb 1-1: usb auto-suspend [ 4856.625000] hub 1-0:1.0: hub_suspend [ 4856.625000] usb usb1: usb auto-suspend Took it apart. Inside was a Cypress AN2131SC chip. |
Re: usbserial on N8X0!
Quote:
Is there any chance that you could compile the keyspan module? It's available from http://www.keyspan.com/downloads-files/developer/linux/ Thanks for providing the kind of support that Nokia should be supplying! |
Re: usbserial on N8X0!
Quote:
It's better that they should fix some of the things they do advertise the tablet for, which are now broken, inconsistent, or otherwise suboptimal. |
Re: usbserial on N8X0!
Quote:
You don't need a line in for this purpose, just place the tablet's mic close to the radios speaker.... or connect audio out from the radio to the mic-in line of a headset connected to the N8x0. Going somewhat back to the original topic.... anyone know if there is a way to get 4800 baud NMEA GPS serial output from the N810? |
Re: usbserial on N8X0!
Quote:
Quote:
|
Re: usbserial on N8X0!
Quote:
|
Re: usbserial on N8X0!
Benso, yes level conversion can be a simple resistor in the line/connector.
I just found this link: http://www.eham.net/articles/18197 I like how the guy modified a cheap blue tooth ear piece for line in/line out. I think these are minor problems though, the big hurdle is someone finding the time to port/develop a PSK app for the device. Regarding 4800 baud NMEA GPS, I'm new to tablets, so can you tell me what is cgps from gpsd? I was more concerned about what kind of hardware would be required to pull spit serial out from the device. So far I've only found overpriced ~$100 blue tooth serial dongles for this purpose. scumgrief, I understand there is a Palm OS emulator for the N800. I wonder if any of these programs will run under emulation: http://www.dxzone.com/catalog/Software/PalmOS/ |
Re: usbserial on N8X0!
Quote:
Either the wired or BT (cool project, BTW) analog link should be pretty straightforward. Software is probably even less trouble, though: http://packages.debian.org/sid/psk31lx Already a deb for armel; it's likely that it can be installed. And Linux Author mentioned gMFSK, which is gnome, hence should be a pretty simple port. Quote:
For the serial data, BT-RS232 is nice because of no wires, but expensive. This whole thread is about USB-RS232 adapters, which are typically much cheaper; if you get one of the ones mentioned, it should work. |
Re: usbserial on N8X0!
Quote:
The audio chip is a T.I. TSC2303. It is apparently a custom chip derived from the TSC2301 or TSC2302. The whole series of chips have 2 (i.e. stereo) line-in inputs with gain control, but it is not clear that the custom chip used in the N800 actually routes the inputs outside of the package. We don't have the pinout. The datasheet of the TSC2301 is here |
Re: usbserial on N8X0!
Quote:
|
Re: usbserial on N8X0!
Quote:
|
Re: usbserial on N8X0!
I love this community. :D
|
Re: usbserial on N8X0!
Quote:
http://www.dealextreme.com/details.dx/sku.2646 I have shorter one from local shop but this one works too. They also sell microUSB cable for N810 http://www.dealextreme.com/details.dx/sku.6764 |
Re: usbserial on N8X0!
I've just managed to connect my Garmin eTrex GPS to my N810 using a USBSerial Garmin cable and the USB Host mode stuff. After recompiling GPSBabel for my N810 I was able to extract the tracklog from the gps :)
|
Re: usbserial on N8X0!
Nice, do you mind posting GPSBabel?
|
Re: usbserial on N8X0!
Quote:
http://www.piku.org.uk/drupal/project/GPSBabel-maemo All this is, is a straight compilation of the current GPSBabel source under the latest Maemo scratchbox. It didn't require any configuring, so the original coders get my respect :) |
Re: usbserial on N8X0!
im guessing this module also allows one to connect a 3G usb dongle if its controllable via a serial interface?
|
Re: usbserial on N8X0!
As soon as I can find my OTG adapter again [cry] I'm going to test these out with a USB EVDO card. Had good luck up to the point where I didn't have a usbserial module to speak of. Thanks a ton for putting these up.
|
Re: usbserial on N8X0!
EVDO devices (and cellular modems) generally require more power or at least will request it so I'd try first with a powered hub. They also might not work because the driver or hardware isn't quite up to it (I have a Pantech which is cdc_acm and I can do a terminal style connection, but ppp starts up and the usb gives some nasty error messages). /dev/ttyUSBx based EVDO modems may work.
|
Re: usbserial on N8X0!
I'm tyring to use this on my 810 and keep getting this error:
Quote:
|
Re: usbserial on N8X0!
the order of insmod ... .ko files is important also the chip inside converter . it must be pl2303.
|
Re: usbserial on N8X0!
@blue_led by converter do you mean usb hub?
i'm trying to get an merlin ex720 cdma expresscard working. so i have an express card to usb from siig hooked up to my n810. thanks much for the reply. |
Re: usbserial on N8X0!
pl2303.ko is driver for Prolific pl2303 usb to serial converter and serial mean as serial can be like com1 on PC.
this chip is for ex. inside nokia ca42 cable. your setup non't work because you don't have driver for usb to expresscard adapter and even for merlin card |
Re: usbserial on N8X0!
hmmm ok thanks for the reply
|
Re: usbserial on N8X0!
quick update:
so its seems that if i load usbserial.ko and option.ko the ex720 shows up as /dev/ttyUSB0 and i was actually able to connect to sprint and get an IP address but I have not been able to surf the internet yet, it keeps wanting to connect to a wifi account. |
Re: usbserial on N8X0!
appears as a link between merlin card and nit is through an usb hub inside adapter, and merlin card acts as a regular modem so this explained no need of drivers. my bad. expersscard have inside usb link.
how many usb hubs nit reported? offtopic: I must try usb 3g modem offered by my cable company, for free with umlimited internet traffic, if iy work on my n810 |
Re: usbserial on N8X0!
Quote:
ttyUSB0 through ttyUSB3 in /dev/ |
Re: usbserial on N8X0!
please use "lsusb" command and paste here the result
|
Re: usbserial on N8X0!
Quote:
|
Re: usbserial on N8X0!
@blue_led
lsusb result: Quote:
@Matan thanks yeah i've been messing around with dummy mode this morning. it proved a little difficult with diablo but I just got it working! so I can now use my 3g card for webbrowsing, voip and what ever else!! dummy mode was the key thanks for the feedback! |
All times are GMT. The time now is 11:10. |
vBulletin® Version 3.8.8