Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lib-gpib on gentoo linux
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
jabidof
n00b
n00b


Joined: 09 Mar 2005
Posts: 22

PostPosted: Fri Oct 28, 2005 3:56 pm    Post subject: lib-gpib on gentoo linux Reply with quote

Hello everybody,

I'm trying to make my PCI-GPIB card from NI work using the linux-gpib-3.2.05 drivers (kernelé 2.6). I can't get it work. Anybody has some experience on this topic?

Here is the output from a modprobe tnt4882:
Code:
WARNING: Error inserting gpib_common (/lib/modules/2.6.13-gentoo-r3/gpib/gpib_common.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting nec7210 (/lib/modules/2.6.13-gentoo-r3/gpib/nec7210.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting tnt4882 (/lib/modules/2.6.13-gentoo-r3/gpib/tnt4882.ko): Unknown symbol in module, or unknown parameter (see dmesg)


and my /etc/gpib.conf
Code:
/***********************************************************************
                 GPIB.CONF IEEE488 library config file
                             -------------------

   copyright            : (C) 2002 by Frank Mori Hess
                          (C) 1994 by C.Schroeter
   email                : fmhess@users.sourceforge.net
 ***************************************************************************/
/***************************************************************************
 *   
 *   Syntax:
 *
 *         interface { ... } starts new interface board section
 *         device {...} device configuration
 *
 ***************************************************************************/

/* This section configures the configurable driver characteristics
 * for an interface board, such as board address, and interrupt level.
 * minor = 0 configures /dev/gpib0, minor = 1 configures /dev/gpib1, etc.
 */

interface {
        minor = 0       /* board index, minor = 0 uses /dev/gpib0, minor = 1 uses /dev/gpib1, etc. */
        board_type = "ni_pci"   /* type of interface board being used */
        name = "sokygpib"       /* optional name, allows you to get a board descriptor using ibfind() */
        pad = 0 /* primary address of interface             */
        sad = 0 /* secondary address of interface           */
        timeout = T3s   /* timeout for commands */

        eos = 0x0a      /* EOS Byte, 0xa is newline and 0xd is carriage return */
        set-reos = yes  /* Terminate read if EOS */
        set-bin = no    /* Compare EOS 8-bit */
        set-xeos = no   /* Assert EOI whenever EOS byte is sent */
        set-eot = yes   /* Assert EOI with last byte on writes */

/* settings for boards that lack plug-n-play capability */
        base = 0        /* Base io ADDRESS                  */
        irq  = 0        /* Interrupt request level */
        dma  = 0        /* DMA channel (zero disables)      */

/* pci_bus and pci_slot can be used to distinguish two pci boards supported by $
        pci_bus = 0
        pci_slot = 7


        master = yes    /* interface board is system controller */
}

and finally the dmesg output
Code:
gpib_common: Unknown symbol class_simple_device_add
gpib_common: Unknown symbol class_simple_destroy
gpib_common: Unknown symbol class_simple_device_remove
gpib_common: Unknown symbol class_simple_create
nec7210: Unknown symbol push_gpib_event
tnt4882: Unknown symbol inb_wrapper
tnt4882: Unknown symbol nec7210_read
tnt4882: Unknown symbol inw_wrapper
tnt4882: Unknown symbol nec7210_locking_ioport_write_byte
tnt4882: Unknown symbol nec7210_parallel_poll_response
tnt4882: Unknown symbol nec7210_t1_delay
tnt4882: Unknown symbol nec7210_locking_iomem_write_byte
tnt4882: Unknown symbol writew_wrapper
tnt4882: Unknown symbol readw_wrapper
tnt4882: Unknown symbol nec7210_locking_iomem_read_byte
tnt4882: Unknown symbol nec7210_primary_address
tnt4882: Unknown symbol nec7210_request_system_control
tnt4882: Unknown symbol nec7210_board_reset
tnt4882: Unknown symbol gpib_register_driver
tnt4882: Unknown symbol nec7210_write
tnt4882: Unknown symbol nec7210_disable_eos
tnt4882: Unknown symbol nec7210_secondary_address
tnt4882: Unknown symbol nec7210_take_control
tnt4882: Unknown symbol nec7210_interrupt
tnt4882: Unknown symbol nec7210_board_online
tnt4882: Unknown symbol nec7210_read_data_in
tnt4882: Unknown symbol nec7210_locking_ioport_read_byte
tnt4882: Unknown symbol nec7210_go_to_standby
tnt4882: Unknown symbol nec7210_interface_clear
tnt4882: Unknown symbol nec7210_parallel_poll
tnt4882: Unknown symbol outb_wrapper
tnt4882: Unknown symbol push_gpib_event
tnt4882: Unknown symbol nec7210_parallel_poll_configure
tnt4882: Unknown symbol outw_wrapper
tnt4882: Unknown symbol nec7210_return_to_local
tnt4882: Unknown symbol gpib_unregister_driver
tnt4882: Unknown symbol readb_wrapper
tnt4882: Unknown symbol nec7210_update_status
tnt4882: Unknown symbol nec7210_enable_eos
tnt4882: Unknown symbol nec7210_serial_poll_status
tnt4882: Unknown symbol nec7210_set_handshake_mode
tnt4882: Unknown symbol nec7210_set_reg_bits
tnt4882: Unknown symbol nec7210_remote_enable
tnt4882: Unknown symbol nec7210_command
tnt4882: Unknown symbol nec7210_serial_poll_response
tnt4882: Unknown symbol writeb_wrapper
Back to top
View user's profile Send private message
bunsen
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2003
Posts: 105

PostPosted: Wed Nov 02, 2005 8:10 am    Post subject: Reply with quote

Are you still stuck?

If so, I'll see if I can help once I'm back at work tomorrow, where I have a 2.6 kernel and the linux-gpib drivers with same module.
Back to top
View user's profile Send private message
jabidof
n00b
n00b


Joined: 09 Mar 2005
Posts: 22

PostPosted: Wed Nov 02, 2005 12:43 pm    Post subject: Reply with quote

Hi Bunsen,
I've just seen a message in the Linux-gpib-general digest, Vol 1 #442 concerning a bug of the 2.6.13 kernel that should be solved with released 3.2.06. I compile, try and let you know.
Keep in touch
Back to top
View user's profile Send private message
jabidof
n00b
n00b


Joined: 09 Mar 2005
Posts: 22

PostPosted: Wed Nov 02, 2005 12:52 pm    Post subject: Linux-gpib (SOLVED) Reply with quote

linux-gpib-3.2.06 succesfully compiled and run on kernel 2.6.13 :D

what about putting it in portage?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum