- From: Chuck Haines <chaines_at_ece.wpi.edu>
- Date: Mon, 5 Jan 2004 09:37:32 -0500 (EST)
I'm trying to get comedi and comedilib working on linux on a iPAQ 3955 (running familiar 7.3). I've got the comedi kernel module cross compiled and installed on the ipaq. When insert the card it tells me the card name (which previous it did not know), however doesn load the modules at all. So I knew the ni_mio_cs module was the one I wanted. I loaded it manually via modprode ni_mio_cs and it loaded. An lsmod outputed the following (breviated) Module Size Used by ni_mio_cs 28024 0 (unused) comedi_fc 988 0 [ni_mio_cs] comedi 20416 0 [ni_mio_cs comedi_fc] af_packet 14088 2 (autoclean) pcnet_cs 11108 1 8390 5824 0 [pcnet_cs] sd_mod 11308 0 (unused) usb-storage 22192 0 (unused) scsi_mod 54128 1 [sd_mod usb-storage] mousedev 4380 0 (unused) keybdev 1908 0 (unused) hid 13040 0 (unused) input 3672 0 [mousedev keybdev hid] pxa-i2s 1136 0 i2c-core 13752 0 pxa-audio 7736 0 ds 7476 2 [ni_mio_cs pcnet_cs] h3600_generic_sleeve 6504 0 (unused) pxa_cs 12584 2 [h3600_generic_sleeve] pcmcia_core 35416 0 [ni_mio_cs pcnet_cs ds pxa_cs] The module appears to be working fine. However when I try and run a test program to connect to the device, I get an error opening /dev/comedi0 (which exists, I checked). So I'm assuming it has something to do with the driver. I also noticed that the driver says unused above. When I put the card in my laptop running slackware 9.0, I get the following from lsmod Module Size Used by Tainted: P ni_mio_cs 26412 0 8255 2464 0 [ni_mio_cs] comedi 19988 0 [ni_mio_cs 8255] Now I noticed the difference in what is loaded between the two, but I assuming that's because of the pxa vs. the x86 architechure. Does anyone have and clue as to what I might be doing wrong? I get no errors when compiling either the comedi or comedilib. I'm using comedi-0.7.67 and comedilib-0.7.21. If anyone has and experience in this, I'd be much obliged. Thanks, Chuck Haines -- ================================ Charles A. Haines chaines_at_wpi.edu http://www.maxslack.com ================================ Tau Kappa Epsilon Fraternity ECE System's Administrator WPILA Lab Manager ================================ AIM: CyberGrex Yahoo: CyberGrex_27 ICQ: 3707881 ================================
Received on 2004-01-05Z14:37:32