![]() ![]() |
Jan 15 2007, 05:54 PM
Post
#46
|
|
|
Group: Members Posts: 2 Joined: 15-January 07 Member No.: 13,979 |
Hi all, I know this thread is old but i am desperate. I have a gumstix from www.gumstix.com, linux 2.6 ARM etc.
I have put an Audiovox RT-8000 in it but it is not going to work without a fight so I need your help. I will not bore you with too much gorry detail which is not required because I have just found the serial_cs.o module here, the problem is I try to load the module and it says "insmod: error inserting './serial_cs.o': -1 Invalid module format" The irq allocation for the card is totally messed up so I really need this patch. cat /proc/tty/driver/serial serinfo:1.0 driver revision: 0: uart:16C950/954 port:C4860400 irq:49 tx:169 rx:0 CTS 1: uart:unknown port:00000000 irq:0 2: uart:unknown port:00000000 irq:0 3: uart:unknown port:00000000 irq:0 # cat /proc/tty/drivers /dev/tty /dev/tty 5 0 system:/dev/tty /dev/console /dev/console 5 1 system:console /dev/ptmx /dev/ptmx 5 2 system serial /dev/ttyS 4 64-67 serial PXA serial /dev/ttySA 4 68-71 serial pty_slave /dev/pts 136 0-1048575 pty:slave pty_master /dev/ptm 128 0-1048575 pty:master No 49 irq is used by the serial :-( seems like 8250.ko should be patched :-( # cat /proc/interrupts CPU0 0: 44 SC HWUART 4: 0 SC pxa2xx_udc 18: 0 SC DMA 19: 68485 SC PXA Timer Tick 27: 0 GPIO CF0 nSTSCHG 34: 0 GPIO CF0 nCD 58: 0 GPIO pxa2xx_udc 59: 1778 GPIO eth0 Err: 0 I am a noob having a love/hate relationship with linux at the moment, can someone guide me to the light? Thanks Chris |
|
|
|
Jan 15 2007, 06:26 PM
Post
#47
|
|
|
Group: Members Posts: 385 Joined: 3-December 03 Member No.: 1,038 |
I think that the seerial_cs.o module you got from somewhere is for kernel 2.4, thus completely unusable under 2.6.
maybe if using 2.6, the serial_cs.ko (the module naming in 2.6 is .ko) that is already with the distribution you are using could work. 1) Do you have a serial_cs module from the same place you got 2.6 kernel? Can you modprobe that module ? If so, I'd suggest to go ahead and after, send the setserial command. HTH |
|
|
|
Jan 16 2007, 03:41 AM
Post
#48
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
yeah, I would agree that it sounds like a module mismatch. Be sure to use the same kernel source throughout and also to make sure the kernel versioning is correct in the main Makefile.
|
|
|
|
Jan 16 2007, 05:49 AM
Post
#49
|
|
|
Group: Members Posts: 2 Joined: 15-January 07 Member No.: 13,979 |
ok so it is all down to 8250.ko module, it needs to be modified. oh my god this is hard work for me, I am dumbass!
it needs support for irq49 or something like that, how does a module get compiled? Where is the source |
|
|
|
Jan 16 2007, 07:34 AM
Post
#50
|
|
|
Group: Members Posts: 385 Joined: 3-December 03 Member No.: 1,038 |
Hi,
I'd suggest 1) ask someone in a gumstix forum o mailing list to have it compiled for you 2) install a virtual machine with all the gumstix development tools installed, and go compile yourself ... The source is probably somewhere the linux 2.6 modules sources. |
|
|
|
Feb 8 2009, 02:01 PM
Post
#51
|
|
|
Group: Members Posts: 1 Joined: 2-May 08 Member No.: 21,719 |
This doesnt work for me, but I found this article useful:
http://tuxmobil.org/pcmcia_cf_anycom_gprs.html ... and now I am connected I dont know what change take effect, but this: CODE noauth connect "/usr/sbin/chat -v -f /etc/chatscripts/provider" defaultroute /dev/ttyS0 115200 nocrtscts lock noipdefault debug user fasel and this: CODE ABORT BUSY ABORT "NO CARRIER" ABORT VOICE ABORT "NO DIALTONE" "" ATZ OK AT+CPIN="<PIN>" OK AT+CGDCONT=1,"IP","<APN>" OK ATDT*99***1# 'CONNECT' '\c' 'TIMEOUT' '5' are WORKING on SL-C1000 (pdaXii13 build5.4.9 "Sally" with kkazakov13 libraries and some from pdaXii13v2) But thanx anyway, because this post inspired me and was the first thing when I was looking where to start. Hope my post help anybody with same trouble ;-) |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 09:23 AM |