LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-08-2014, 07:34 PM   #1
larioxem
LQ Newbie
 
Registered: Apr 2014
Distribution: Slackware i686/x86_64
Posts: 11

Rep: Reputation: Disabled
Is it possible to build ppscsi + onscsi kernel modules into 3.10.17?


Hi guys.

Recently I acquired an old Scanner Microtek Slimscan C3 parport version, and happen to have an low-end mobo with a working port: F1A55-M LX Plus, I've been digging info on the web and I think it could work but I need your advise on how to proceed, should I try downgrading to an earlier distro with the supported 2.6.x kernel or is there a way to make it work with my current kernel distro?: Slackware64 14.1 default kernel.

I haven't found any info about it since I'm guessing this port is dropped on most modern PCs

man page info: sane-microtek2
and the sites linked as reference http://cyberelk.net/tim/parport/ppscsi.html and http://penguin-breeder.org/kernel/download/

Thanks in advance for any suggestion.
 
Old 04-08-2014, 09:04 PM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
SANE and the Kernel should support your device by default, but the backend port is unmaintained.

You might want to check the kernel configuration for the Parallel port driver modules and enable them if necessary, if they are disabled.
 
1 members found this post helpful.
Old 04-08-2014, 11:16 PM   #3
larioxem
LQ Newbie
 
Registered: Apr 2014
Distribution: Slackware i686/x86_64
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks for your prompt reply ReaperX7, I think the problem lies on my end. After modifying BIOS settings, It seems that my mobo won't change parport modes effectively into EPP, EPP or ECP+EPP and since the EPP is required in order to work with this scanner then I'll need to try It on an older mobo.

After checking with a script from: http://umax1220p.sourceforge.net/trouble.html

Code:
# /home/bert/Downloads/parport/ppdiag2

S01: parport built as module
 
S02: parport0:
S02:	modes:PCSPP,TRISTATE
S02:	ADDR :0x378
S02:	IRQ  :5
S02:	DMA  :1
 
S03: parport parameters are: /sbin/modprobe -q parport_pc 2> /dev/null
 
S10: ppdev built as module
 
S12: /dev/parport0 exists ...
S12: /dev/parport0 is readable ...
S12: /dev/parport0 is writable ...
S12: do you want to allow any user to access ppdev ? (yes/no)
yes
S12: mode changed ...
 
successfull end ....


#rmmod parport_pc

#modprobe parport_pc io=0x378 irq=5 io_hi=0x400 dma=none

#dmesg

[ 2402.208168] parport 0x378 (WARNING): CTR: wrote 0x0c, read 0xff
[ 2402.208177] parport 0x378 (WARNING): DATA: wrote 0xaa, read 0xff
[ 2402.208178] parport 0x378: You gave this address, but there is probably no parallel port there!
[ 2402.208196] parport0: PC-style at 0x378, irq 5 [PCSPP,TRISTATE]
[ 2402.210651] ppdev: user-space parallel port driver
The available options on the BIOS setup are Default,EPP,ECP, EPP+ECP, and won't let change them from IO=378h, IRQ=5, DMA=1
 
Old 06-05-2014, 07:34 AM   #4
larioxem
LQ Newbie
 
Registered: Apr 2014
Distribution: Slackware i686/x86_64
Posts: 11

Original Poster
Rep: Reputation: Disabled
I don't know if this count as a solution, but since I lack the skill to hack the code to update the backend, I reused some old PCs one with Win95 Pentium MMX, and other with WinXP Pentium 4, the won't work flawlessly but they are up, they still need software to scan the images but at least the scanner is online.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
select which kernel modules to build HarryBoy Linux - Kernel 3 11-20-2013 03:54 AM
Unable to build kernel modules outside the kernel tree Rovalk Programming 2 01-19-2008 01:18 AM
2.6: Build Large Kernel or Many Modules Sum1 Linux - Kernel 6 08-01-2007 06:40 PM
Can't build any modules for custom kernel jittys Linux - General 1 02-16-2007 01:53 PM
How to build usb modules into kernel?? coolguy_2005 SUSE / openSUSE 2 08-21-2006 05:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration