Advice on writing kernel module for old pen device (ISA)
I have not really a programming question, I need an advice.
I have an old mobile computer for which no driver exists for the pen pointing device yet. Although it has USB so I can use a mice, it would be very nice if I could use the pen under linux. It came to my mind that this could be a good start to get into kernel programming since I have a problem to solve. It functions well under Windows NT and I know the address range it uses from driver.
So, I have no imagination how hard it can be to program a device driver without any documentation. I need basically an advice on what the possible caveats may be and if I should start the project at all.
stb wrote:So, I have no imagination how hard it can be to program a device driver without any documentation. I need basically an advice on what the possible caveats may be and if I should start the project at all.
well, there's documentation
Kernelnewbies.org is a good place to start. Heaps of documentation, and importantly, help for when you get stuck.
Firstly, if you want a good introduction the kernel, there's Robert Love's Linux Kernel Development.
I bought this one myself, it's a really good read, well written, and covers lots of interesting things.
http://www.amazon.com/Linux-Kernel-Deve … 0672327201
Then, there's Linux Device Drivers, 3rd Ed. Edition is important, Ed3 is 2.6.x, Ed2 is 2.4.x. Big difference.
http://www.amazon.co.uk/Linux-Device-Dr … 874&sr=8-1
This is available for free in PDF:
http://lwn.net/Kernel/LDD3/
Hope that helps,
James
Similar Messages
-
Trouble building kernel module for sensor support
Hi, I'm new here but have been using Arch for a while. Recently, I decided to install Arch on an old laptop (Toshiba A70) and have managed to work out most of the kinks to where it runs nicely. Unfortunately, ACPI support is spotty and the /sys/class/thermal directory gives me only cooling_device0. I installed the lm-sensors package and ran sensors-detect, which yielded no results. Although the laptop runs smoothly otherwise, I would like to know the CPU's temp so that I would be able to set up a fan control scheme and CPU scaling (so far it's stuck at the lowest frequency, and that's kind of a big deal for me since the laptop runs on an archaic mobile P4 chip).
Sorry for the story but I felt some context was necessary. I did manage to find a kernel module that would connect those sensors to ACPI for me (http://sourceforge.net/projects/omnibook/), however I'm having trouble building it on the latest kernel. Here is the output from running make:
make -C /lib/modules/3.16.1-1-ARCH/build SUBDIRS=/root/omnibook-2.20070211 modules
make[1]: Entering directory '/usr/lib/modules/3.16.1-1-ARCH/build'
CC [M] /root/omnibook-2.20070211/init.o
In file included from /root/omnibook-2.20070211/init.c:26:0:
/root/omnibook-2.20070211/laptop.h:25:3: warning: initialization from incompatible pointer type
.callback = dmi_matched,
^
/root/omnibook-2.20070211/laptop.h:25:3: warning: (near initialization for ‘omnibook_ids[0].callback’)
/root/omnibook-2.20070211/laptop.h:34:3: warning: initialization from incompatible pointer type
.callback = dmi_matched,
^
/root/omnibook-2.20070211/laptop.h:34:3: warning: (near initialization for ‘omnibook_ids[1].callback’)
/root/omnibook-2.20070211/laptop.h:43:3: warning: initialization from incompatible pointer type
.callback = dmi_matched,
^
// I left out most of the 'incompatible pointer type' warnings since they repeat for a while.
^
/root/omnibook-2.20070211/laptop.h:1001:3: warning: (near initialization for ‘omnibook_ids[108].callback’)
/root/omnibook-2.20070211/init.c: In function ‘dmi_matched’:
/root/omnibook-2.20070211/init.c:141:16: warning: assignment discards ‘const’ qualifier from pointer target type
laptop_model = dmi_get_system_info(DMI_PRODUCT_VERSION);
^
/root/omnibook-2.20070211/init.c: In function ‘omnibook_init’:
/root/omnibook-2.20070211/init.c:281:3: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
proc_entry = create_proc_entry(feature->name, pmode, omnibook_proc_root);
^
/root/omnibook-2.20070211/init.c:281:14: warning: assignment makes pointer from integer without a cast
proc_entry = create_proc_entry(feature->name, pmode, omnibook_proc_root);
^
/root/omnibook-2.20070211/init.c:290:13: error: dereferencing pointer to incomplete type
proc_entry->data = feature;
^
/root/omnibook-2.20070211/init.c:291:13: error: dereferencing pointer to incomplete type
proc_entry->read_proc = &procfile_read_dispatch;
^
/root/omnibook-2.20070211/init.c:293:14: error: dereferencing pointer to incomplete type
proc_entry->write_proc = &procfile_write_dispatch;
^
/root/omnibook-2.20070211/init.c:294:13: error: dereferencing pointer to incomplete type
proc_entry->owner = THIS_MODULE;
^
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/root/omnibook-2.20070211/init.o' failed
make[2]: *** [/root/omnibook-2.20070211/init.o] Error 1
Makefile:1333: recipe for target '_module_/root/omnibook-2.20070211' failed
make[1]: *** [_module_/root/omnibook-2.20070211] Error 2
make[1]: Leaving directory '/usr/lib/modules/3.16.1-1-ARCH/build'
Makefile:88: recipe for target 'omnibook.ko' failed
make: *** [omnibook.ko] Error 2
I have honestly no idea what to make of any of this and would really appreciate any help towards a solution. Thanks for readingWelcome to Arch Linux
That looks like it is a 2.6 kernel module
http://sourceforge.net/p/omnibook/bugs/58/
Did you try either of these AUR offerings?
ewaller$@$odin ~ 1001 %packer -Ss omnibook
aur/omnibook-git 20110911-9 (7)
Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops
aur/omnibook-svn-zen 268-1 (1)
Kernel module for HP OmniBook, Pavilion, Toshiba and Compal ACL00 laptops
ewaller$@$odin ~ 1002 %
Last edited by ewaller (2014-08-23 23:33:53) -
How to write a kernel module for Solaris
Hi
I would like to know where I can find information about writing a kernel module for Solaris. Is there a pdf developers reference?http://docs.sun.com
Search "writing device drivers".Even if I don't intend writing a device driver? -
Need Help with Oracleasm - a kernel module for the ASM library
I am a beginner, trying to install Oracle RAC. I have a system with SuSE Linx 11 (64 bit) loaded. I need to get the correct ASMLib packages needed for installing ASM. I think I got the following packages that are needed for installing ASM
1) oracleasmlib- the ASM libraries (oracleasmlib-2.0.4-1.SLE11.x86_64.rpm)
2) oracleasm-support- utilities needed to administer ASMLib (oracleasm-support-2.1.3-1.SLE11.x86_64.rpm)
I am unable to find the third package.
3) Oracleasm - a kernel module for the ASM library
I looked at my kernel version it says "2.6.27.19-5-default". I am not sure where I can get the above third package. If you have an answer/know ase share your thoughts.
Thank YouHi!
Don't use ASMLib, it will be no longer available, it will only came in Oracle Unbreakable Kernel for Linux 6.
The easly way to set the permissions on your devices is with a /etc/init.d script that do the job.
Here is an example:
#! /bin/bash
# chkconfig: 2345 25 19
# description: Set ASM Permissions on to devices at boot.
case "$1" in
start)
/bin/chown oracle:oinstall /dev/sdb1
/bin/chmod 0660 /dev/sdb1
stop)
#do nothing
status)
ls -l /dev/sdb1
echo "Usage: $0 {start|stop|status}"
exit 1
esac
exit o
You need to replace the /dev/sdb1 for your acctual partitions.
Please check the Docs to be sure that you meet all pre-reqs.
http://docs.oracle.com/cd/E11882_01/relnotes.112/e23558/toc.htm
http://docs.oracle.com/cd/E11882_01/install.112/e22489/toc.htm
http://docs.oracle.com/cd/E11882_01/install.112/e24321/toc.htm
Hope it's helps.
Best Regards,
Julio -
Future updates for old s60v5 devices
Will further updates for old s60v5 devices like nokia 5233, 5230 5228 be available? It has been long since I received the last update for my nokia 5233.
maazbgm wrote:
please new version for nokia c505.. Current version is v23.5.015
V23.5.015 is the latest available version for your S60v5 C5-05. And as has already been stated, is most likely the last firmware release your phone will see.
Ray. -
Kernel module for D30 TPM Chip Linux?
Seems that Linux does not recognize the TPM chip. Could it be that there is no module for it in Linux Kernel? I Thought D30 supports RHEL6?
Manufacturer: LENOVO
Product Name: 422916G
Version: ThinkStation D30
BIOS Revision: 0.37
Solved!
Go to Solution.Sorry for the noise. Issue is fixed. Needed to install kernel-modules-extras package for tpm_tis kernel module
-
Which kernel module for Intel PRO/100 S Desktop Adapt
Which kernel module I should load for support LAN Card "Intel® PRO/100 S Desktop Adapter" Board ID "751767-004" , Based on Controller 82550
Finded in /usr/src/linux-2.6.5/drivers/net/Kconfig
config E100
tristate "Intel(R) PRO/100+ support"
depends on NET_PCI && PCI
select MII
---help---
This driver supports Intel(R) PRO/100 family of adapters, which
includes:
Controller Adapter Name Board IDs
82558 PRO/100+ PCI Adapter 668081-xxx,
689661-xxx
82558 PRO/100+ Management Adapter 691334-xxx,
701738-xxx,
721383-xxx
82558 PRO/100+ Dual Port Server Adapter 714303-xxx,
711269-xxx,
A28276-xxx
82558 PRO/100+ PCI Server Adapter 710550-xxx
82550 PRO/100 S Server Adapter 752438-xxx
82559 A56831-xxx,
A10563-xxx,
A12171-xxx,
A12321-xxx,
A12320-xxx,
A12170-xxx
748568-xxx
748565-xxx
82550 PRO/100 S Desktop Adapter 751767-xxx
82559 748592-xxx,
A12167-xxx,
A12318-xxx,
A12317-xxx,
A12165-xxx,
748569-xxx
82559 PRO/100+ Server Adapter 729757-xxx
82559 PRO/100 S Management Adapter 748566-xxx,
748564-xxx
82550 PRO/100 S Dual Port Server Adapter A56831-xxx
82551 PRO/100 M Desktop Adapter A80897-xxx
PRO/100 S Advanced Management Adapter
747842-xxx,
745171-xxx
CNR PRO/100 VE Desktop Adapter A10386-xxx,
A10725-xxx,
A23801-xxx,
A19716-xxx
PRO/100 VM Desktop Adapter A14323-xxx,
A19725-xxx,
A23801-xxx,
A22220-xxx,
A23796-xxx
To verify that your adapter is supported, find the board ID number
on the adapter. Look for a label that has a barcode and a number
in the format 123456-001 (six digits hyphen three digits). Match
this to the list of numbers above.
For more information on how to identify your adapter, go to the
Adapter & Driver ID Guide at:
http://support.intel.com/support/networ … /21397.htm
For the latest Intel PRO/100 network driver for Linux, see:
http://appsr.intel.com/scripts-df/support_intel.asp
More specific information on configuring the driver is in
<file:Documentation/networking/e100.txt>.
To compile this driver as a module, choose M here and read
<file:Documentation/networking/net-modules.txt>. The module
will be called e100. -
CIFS Kernel module for Ideatab S6000L
I just bought an Ideatab S6000L and I tried to mount my share as a local folder using CIFS. After some research it seems some modules are missing. I tried with modules from other version (for example in this topic http://forums.lenovo.com/t5/Idea-Android-based-Tablets/CIFS-Kernel-Module-can-t-mount-CIFS-share-on-...
It didn't work and I don't know how to build thoses modules for this specific version, could someone provide me thoses modules or help me to build them please?Thank you for your response
I'm thinking of returning my tablet, this is something I really needed.
So in summary, all of the lenovo tablet have this problem and the module can't be built on some of them? -
Hp win7 driver for Old Pen Plotters
Wouldn't it be nice if some smart person at hp spent 10 minutes of his time at lunch and made a driver for old hp pen plotters? (DraftMaster I & II). I know there are thousands of them still out there. These plotters worked perfectly with windows xp. I also know there are a couple of companies that have made a driver for them, one is Winline however I think the cost is over $200 just for a driver.
Please disregard.
I see you started a new thread and I was unable to help with the BT on your other post. -
Loading modules for old kernel during boot up
Hello
After a kernel update I noticed this message during boot
Usage: modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...]
modprobe -r [-n] [-i] [-v] <modulename> ...
modprobe -l -t <dirname> [ -a <modulename> ...]
And taking a look at everything.log this came out
May 24 13:57:54 localhost kernel: Pid: 1772, comm: modprobe Tainted: G C 2.6.37-ARCH #1
May 24 14:31:25 localhost kernel: Pid: 1952, comm: modprobe Tainted: G C 2.6.37-ARCH #1
May 24 14:34:45 localhost kernel: Pid: 1872, comm: modprobe Tainted: G C 2.6.37-ARCH #1
May 24 14:54:53 localhost kernel: Pid: 1966, comm: modprobe Tainted: G C 2.6.37-ARCH #1
May 24 15:14:03 localhost modprobe: FATAL: Could not load /lib/modules/2.6.37-ARCH/modules.dep: No such file or directory
Jun 13 13:34:20 localhost modprobe: FATAL: Could not load /lib/modules/2.6.38-ARCH/modules.dep: No such file or directory
I am using 2.6.39 kernel.
Could anybody help me solve this??slytux wrote:
Samana, what does your error message say? Do you have anything in /lib/modules/2.6.39-ARCH/misc/ ?
You can also try rebuilding the initrd image as jni suggested.
mkinitcpio -p kernel26
I have no "misc" folder in 2.6.39-ARCH
The error is like a resonse from bad syntax when running a modprobe command
Usage: modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i] [-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...]
modprobe -r [-n] [-i] [-v] <modulename> ...
modprobe -l -t <dirname> [ -a <modulename> ...]
I rebuilt the image and got a few errors in autodetect that might be a clue.
# mkinitcpio -p kernel26
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.39-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]
WARNING: All config files need .conf: /etc/modprobe.d/oldusbload, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/oldusbload, it will be ignored in a future release.
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26.img'
:: Image generation successful
==> SUCCESS
==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.39-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26-fallback.img'
:: Image generation successful
==> SUCCESS
Note that the error does not show up when I boot in fallback mode. So it looks like the error has something to do with autodetect. But I have no idea what it is. I am going to try to get rid of the oldusbload and see what happens. [NOTE: Getting rid of oldusbload did n
ot fix the error]
Last edited by Samana (2011-07-09 17:46:02) -
Kernel Upgrade for old SAP Ides system
HI,
How I need to install 4.6c Kernel 4.6d patch level 948 on the following system
SAP Ides - R/3 4.C
SAP Package level 534
Support Package Manager version 4.6c/0028
Oracle 8.1.7.0.0
ABAB Load 1258
Kernel 46D
Could someone please tell me what I need to download and the steps
THanks in advanced.Hi Tin,
FYI, per SAP marketplace support site information:
"Mainstream maintenance for SAP R/3 4.6C ended on December 31, 2006.
From January 01, 2007 to December 31, 2009, SAP offers extended maintenance for this release."
To download the support packages for your R/3 4.6C release:
1- Got the area <a href="http://service.sap.com/patches">SAP marketplace Patches download area</a>
2- In the left side navigation, select '<i>Archive for Support Packages and Patches</i>', then '<i>Entry by Application Group</i>'
3- In the component list, select '<i>SAP Application Components --> SAP R/3 -> SAP R/3 4.6C'</i>
4- You should then see the list of patch components for 4.6C and add them to your download basket
Hope this helps.
Regards,
Joseph -
Need advice in writing forum component for a GUI application
Hello,
I need to write a forum component for a GUI application, that is a visual component that would have all the usual forum functionality - creating threads, posting replies, editing, logging in, etc. I'm planning to use some existing forum engine on a JBoss/Tomcat server. So I do not need a web-interface for a forum, but I need find some engine written in java with a clear interface that I could use in my app. I tried JForum (http://www.jforum.net) first, but it seems it doesn't have open API I could utilize.
Could anyone please suggest appropriate engine, possibly anyone knows of open-source forum GUI apps I can look at?Google? You've never heard of Google? Seriously? Did you just get Internet access yesterday?
http://www.google.com -
Writing a kernel module?
I'm looking for an article to learn writing kernel modules for Solaris OS. Where do I have to look for it?
Hi, look I don't have an answer for you but, I wanted to know tha same. I'm trying to reach some privileged registers so I need to get to execute some privileged code. If you finded out some other way than here, please, please let me know... (I'll do tha same)
Nep -
Proper method for building kernel modules? [solved]
I am attempting to build a custom kernel module for a PCI express interface to an FPGA. However, I seem to be running into some issues with getting the standard kernel module makefile to work correctly. Here is my makefile:
# object files to build
obj-m += nnic.o
nic-objs += nnic_driver.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(pwd) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(pwd) clean
However, the first time I ran 'make', I got this output:
make -C /lib/modules/3.14.1-1-ARCH/build M= modules
make[1]: Entering directory '/usr/lib/modules/3.14.1-1-ARCH/build'
Makefile:608: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
scripts/kconfig/conf --silentoldconfig Kconfig
*** Error during update of the configuration.
/usr/lib/modules/3.14.1-1-ARCH/build/scripts/kconfig/Makefile:36: recipe for target 'silentoldconfig' failed
make[3]: *** [silentoldconfig] Error 1
/usr/lib/modules/3.14.1-1-ARCH/build/Makefile:512: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 2
scripts/Makefile.build:44: /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile: No such file or directory
make[2]: *** No rule to make target '/usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile'. Stop.
/usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/Makefile:183: recipe for target 'archheaders' failed
make[1]: *** [archheaders] Error 2
make[1]: Leaving directory '/usr/lib/modules/3.14.1-1-ARCH/build'
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 2
After poking around online, I decided to try running make as root. I got the following output:
make -C /lib/modules/3.14.1-1-ARCH/build M= modules
make[1]: Entering directory '/usr/lib/modules/3.14.1-1-ARCH/build'
scripts/kconfig/conf --silentoldconfig Kconfig
scripts/Makefile.build:44: /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile: No such file or directory
make[2]: *** No rule to make target '/usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile'. Stop.
/usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/Makefile:183: recipe for target 'archheaders' failed
make[1]: *** [archheaders] Error 2
make[1]: Leaving directory '/usr/lib/modules/3.14.1-1-ARCH/build'
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 2
Now, when runing 'make' as a normal user, I get:
make -C /lib/modules/3.14.1-1-ARCH/build M= modules
make[1]: Entering directory '/usr/lib/modules/3.14.1-1-ARCH/build'
Makefile:608: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
scripts/Makefile.build:44: /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile: No such file or directory
make[2]: *** No rule to make target '/usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile'. Stop.
/usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/Makefile:183: recipe for target 'archheaders' failed
make[1]: *** [archheaders] Error 2
make[1]: Leaving directory '/usr/lib/modules/3.14.1-1-ARCH/build'
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 2
I have the linux-headers package installed. I do not need to build the whole kernel, only this small module. What am I missing here? What is the correct procedure for this?
Last edited by alex.forencich (2014-04-25 08:16:31)Sigh, found the problem. Should be $(PWD) and not $(pwd) in my makefile.
-
Unable to compile module for Intel VTUNE with 3.16.4-1 kernel
I am currently running 3.16.4-1-ARCH #1 and I tried to compile the kernel module for Intel Vtune XE 2013 (r17).
Unluckily, GCC stops reporting the following errors:
/opt/intel/vtune_amplifier_xe_2013/sepdk/src/vtsspp/collector.c: In function ‘vtss_target_new’:
/opt/intel/vtune_amplifier_xe_2013/sepdk/src/vtsspp/collector.c:985:35: error: ‘VSYSCALL_START’ undeclared (first use in this function)
addr = (unsigned long)VSYSCALL_START;
^
/opt/intel/vtune_amplifier_xe_2013/sepdk/src/vtsspp/collector.c:985:35: note: each undeclared identifier is reported only once for each function it appears in
/opt/intel/vtune_amplifier_xe_2013/sepdk/src/vtsspp/collector.c:986:36: error: ‘VSYSCALL_MAPPED_PAGES’ undeclared (first use in this function)
size = (unsigned long)(VSYSCALL_MAPPED_PAGES * PAGE_SIZE)
As the source code points out:
#include <asm/fixmap.h> /* VSYSCALL_START */
The missing symbols are expected to be found under /usr/lib/modules/3.16.4-1-ARCH/build/arch/x86/include/asm/fixmap.h, but it seems that they are not present anymore.
Grepping the headers could not help at all.
What am I missing here ?It looks like the macros:
VSYSCALL_START
VSYSCALL_SIZE
VSYSCALL_END
VSYSCALL_MAPPED_PAGES
got dropped after v3.15
I wonder if I need to downgrade.
Maybe you are looking for
-
How does the JboExceptionHandler work
I don't understand how the JboExceptionHandler work. I created a class that implements JboExceptionHandler and I used the method setExceptionHandler to bind it to my ApplicationModule. But the exceptions that occur in the BC4J are never caught by the
-
Enterprise Compensation Management - Pay Scale and Pay grade
Hi Gurus, I would like to like to know my understanding is correct. 1) ECM supports only Pay Grade (T710) and not Pay scale (T510). If so, company using pay scale will not be able to implement ECM? If not please provide the solution (h
-
WebDynpro Abap test failed (System admin/suport)
Hello, I'm using EP 7.0 and I'm trying to test travel&expenses (Ehp3) WD for Abap from System Admin/Support Desk: Integration of SAP Applications/WebDynpro and we get the following error: Exception in SAP Application Integrator occured: Unable to par
-
US7ASCII Characterset - Need to support Special Characters & Symbols
Dear All, My database characterset is 'US7ASCII' Some of Special Characters / Symbols are not supported by 'US7ASCII'. But those symbols need to be supported by 'US7ASCII'. Do we have any option to make 'US7ASCII' Characterset to support such Symbols
-
User erxit error in quality server bt working proper in development
Hi , i enhanced user-exit in EXIT_SAPLEINR_002 for pass batch number in migo it is working in development correct and when i transport it to quality its not working . bt i check this function and execute it sepretely its working bt not working in mig