Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Parallel Port Scanner
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Mon Oct 24, 2005 7:57 am    Post subject: Reply with quote

Hello,

If you have a new enough kernel, you no longer have to patch -- just compile the modules seperately. See the top post, which I have edited again.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
Alexandr
n00b
n00b


Joined: 06 Sep 2005
Posts: 11
Location: Ukraine

PostPosted: Mon Oct 24, 2005 5:37 pm    Post subject: Reply with quote

About ppscsi-beta2.tar.gz ...
Code:
# make install
make: *** No rule to make target `install'.  Stop.

Well, i'm extracted all files to /ppscsi-beta2 dir... but if i just "# make" and then insmod <2 modules>.ko - it's work...

P.S. System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm)
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Mon Oct 24, 2005 5:43 pm    Post subject: Reply with quote

Alexandr wrote:
About ppscsi-beta2.tar.gz ...
Code:
# make install
make: *** No rule to make target `install'.  Stop.


Well, i'm extracted all files to /ppscsi-beta2 dir... but if i just "# make" and then insmod <2 modules>.ko - it's work...

You are correct -- I was confusing with my other kernel module sets :) Fixed.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
svenk
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 97
Location: Germany

PostPosted: Mon Oct 31, 2005 11:44 pm    Post subject: mustek_pp Reply with quote

Hello

yesi wrote:
here, this is mustek_pp for my model


I also got a parallel port scanner, working with sane, mustek_pp.
But my problem is: It's extremly slow!
Compared to other scanners, that's not normal.

Example: Another mustek scanner (but a little more old) scanns a page with 300dpi color on win95 in 2mins.
My scanner needs about 30mins (at gentoo linux)

Has anybody here got the same problems?

Sven
_________________
people said there would be nothing else other than gentoo. I agreed, looking through my window. For many years, I've seen nothing. After smashing the window, my brain got free. Yeah, nowadays I live windowless.
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Tue Nov 01, 2005 12:46 am    Post subject: Reply with quote

svenk,

I'm having a similar problem when trying to scan in color. Lineart and grayscale are quite fast (~ 10 seconds).

No answers yet ...

One thing that happens on parallel port-SCSI translation is that the whole computer slows down -- something about the interrupts being hogged.

UPDATE: No, it only takes ~3 minutes for me; the computer does grind to a halt while it's scanning, though.

If you have a native parallel port scanner, make sure that ECP mode is enabled in your BIOS and in your kernel.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
sludink
n00b
n00b


Joined: 14 Feb 2005
Posts: 16
Location: The Netherlands

PostPosted: Wed Nov 23, 2005 10:59 am    Post subject: Adding a bit Reply with quote

Very much thanks for this Howto! Have bought the same HP 5100C yesterday.

Quote:
My rule file in "/etc/udev/rules.d":
Code:

BUS="scsi",SYSFS{vendor}="HP      ",SYSFS{model}="C5190A          ", SYMLINK="scanner", NAME="%k", GROUP="scanner", MODE="0660"


May I add some stuff for clarity and scanner/udev newbies like me:

The code can be put in a new file, which I call /etc/udev/rules.d/20-scanner.rules

After that, make udev reread its config rules:
Code:

# udevstart


After that, run as root:
Code:

# sudo scanimage -L

to test. My answer is

Code:
device `hp:/dev/sg0' is a Hewlett-Packard C5190A flatbed scanner


Now, xsane mustn't be run as root. To allow normal users to run xsane, they should be in the scanner group.
For user foo, this means editing the groups file /etc/group to contain:

Code:
scanner:x:407:foo


After this, log out of ALL sessions (including the one X is started from if that one exists)

Log in again as normal user, and all should work.
_________________
Registered Linux user #368987
Back to top
View user's profile Send private message
Kess
n00b
n00b


Joined: 10 Aug 2005
Posts: 36

PostPosted: Wed Jan 11, 2006 10:15 pm    Post subject: Reply with quote

I couldn't find any ebuild for the ppscsi suite, so I created one. It is avaible at http://storage.perlig.de/misc/ppscsi-0.0_beta2.ebuild
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Wed Jan 11, 2006 10:26 pm    Post subject: Reply with quote

Kess wrote:
I couldn't find any ebuild for the ppscsi suite, so I created one. It is avaible at http://storage.perlig.de/misc/ppscsi-0.0_beta2.ebuild

Looks good -- consider submitting it to bugs.gentoo.org
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
yesi
Guru
Guru


Joined: 25 Oct 2004
Posts: 331

PostPosted: Tue Mar 28, 2006 6:07 pm    Post subject: Reply with quote

my scanner is a Medion MD 9890

Quote:
# scanner <name> <port> <type>
scanner Mustek-1200CP 0x378 cis1200


my problem of permission for lambda user is still here.
at the beginning, i've dropped it because it was not important because I was the only user of my gentoo...
but now, it's different.

my scanner works fine with root.
so i 've searched about udev to let the simple user to use it but i 've found nothing...

i've got the scanner connected to my printer (the printer is an usb-->/dev/usb/lp0) and connected to my parallel port but i don't have any /dev/lp0

here is my /dev/
Quote:
adsp cdroms dvd graveur hdc loop0 mem port ram12 ram7 stderr tty12 tty20 tty29 tty37 tty45 tty53 tty61 ttyS3 vcs4 vcsa4
adsp2 cdrw fb hda hdd loop1 misc ppp ram13 ram8 stdin tty13 tty21 tty3 tty38 tty46 tty54 tty62 urandom vcs5 vcsa5
agpgart console fb0 hda1 hdd1 loop2 mixer psaux ram14 ram9 stdout tty14 tty22 tty30 tty39 tty47 tty55 tty63 v4l vcs6 vcsa6
audio core fbsplash hda2 initctl loop3 mixer1 ptmx ram15 random tts tty15 tty23 tty31 tty4 tty48 tty56 tty7 vbi0 vcs7 vcsa7
audio1 disk fd hda3 input loop4 mixer2 pts ram2 rd tty tty16 tty24 tty32 tty40 tty49 tty57 tty8 vcs vcsa video0
audio2 disks fd0 hda4 kmem loop5 null ram0 ram3 rtc tty0 tty17 tty25 tty33 tty41 tty5 tty58 tty9 vcs1 vcsa1 video1
bus dsp floppy hda5 kmsg loop6 nvidia0 ram1 ram4 shm tty1 tty18 tty26 tty34 tty42 tty50 tty59 ttyS0 vcs12 vcsa12 zero
cdrom dsp1 full hda6 log loop7 nvidiactl ram10 ram5 snd tty10 tty19 tty27 tty35 tty43 tty51 tty6 ttyS1 vcs2 vcsa2
cdrom1 dsp2 gpmctl hdb loop mapper nvram ram11 ram6 sound tty11 tty2 tty28 tty36 tty44 tty52 tty60 ttyS2 vcs3 vcsa3


so how could i define an udev rule ?
udevinfo -a -p $(udevinfo -q path -n /dev/????????????????????????)

thank in advance.
Back to top
View user's profile Send private message
svenk
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 97
Location: Germany

PostPosted: Tue Mar 28, 2006 7:52 pm    Post subject: Reply with quote

yesi wrote:
so how could i define an udev rule ?


Like sludink has already written, set up a rule in /etc/rules.d/udev. Other solution: Set up xinetd. Works nicely but of course udev is cooler ;-)

Greetings,
Sven
_________________
people said there would be nothing else other than gentoo. I agreed, looking through my window. For many years, I've seen nothing. After smashing the window, my brain got free. Yeah, nowadays I live windowless.
Back to top
View user's profile Send private message
RuiP
l33t
l33t


Joined: 15 Jan 2005
Posts: 643

PostPosted: Tue Mar 28, 2006 8:05 pm    Post subject: Reply with quote

yesi wrote:
my scanner is a Medion MD 9890

Quote:
# scanner <name> <port> <type>
scanner Mustek-1200CP 0x378 cis1200


my problem of permission for lambda user is still here.
at the beginning, i've dropped it because it was not important because I was the only user of my gentoo...
but now, it's different.

my scanner works fine with root.
so i 've searched about udev to let the simple user to use it but i 've found nothing...

...

so how could i define an udev rule ?
udevinfo -a -p $(udevinfo -q path -n /dev/????????????????????????)


hi,
check
http://gentoo-wiki.com/HOWTO_Install_a_USB_scanner#UDEV
and http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html#udevrules
it explains udev rules and permition setting for normal user.
Good luck
_________________
ESTRAGON: We've lost our rights?
VLADIMIR: (distinctly) We got rid of them.
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Tue Mar 28, 2006 10:30 pm    Post subject: Reply with quote

I have updated my udev rule for the newer udev versions -- the top post is edited to reflect this new udev rule.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
yesi
Guru
Guru


Joined: 25 Oct 2004
Posts: 331

PostPosted: Wed Mar 29, 2006 2:39 am    Post subject: Reply with quote

hi!

i bad at explaining...:)
sur, i've had a look at the udev rules already:
Quote:
cat /etc/udev/rules.d/50-udev.rules |grep scanner
the output have nothing.

with the udevread.py from http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html#udevrules i've got some troubles to have the end of output:
Quote:
-----------------------------
---> Character Device # 4
-----------------------------
/dev/console
no record for 'console' in database
Traceback (most recent call last):
File "udevread.py", line 199, in ?
nlist = getall()
File "udevread.py", line 169, in getall
devnode = infonode[0]
IndexError: list index out of range


and the problem that i don't know which device in /dev is connected to my scanner...if i've known , it'd be easy to make an udev rule...

@sven : i'll be interested with xineted but i don't know the rule
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Wed Mar 29, 2006 2:50 am    Post subject: Reply with quote

You have to add your own rule file in /etc/udev/rules.d -- there is no default scanner rule.

If it's a ppSCSI scanner, the device is usually /dev/sg0 -- use this with the tool 'udevinfo'
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
yesi
Guru
Guru


Joined: 25 Oct 2004
Posts: 331

PostPosted: Wed Mar 29, 2006 5:01 pm    Post subject: Reply with quote

hi,

:)
yes, i know that i must add myself the rule for my scanner but the probleme that i don't know which device is connected to my scanner...i mean that /dev/sg* doen't existe in my /dev (it's why i put the out of my /dev in my last post)
the scrip udevread.py would be helped me to find the good device but there was some errors...

so how could i know about the good device of my scanner?

thanks in advance.
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Wed Mar 29, 2006 10:22 pm    Post subject: Reply with quote

If you have a USB scanner, plugging/unplugging should reveal the device in dmes (run "dmesg")

If you have a parallel port-to-SCSI scanner, the device is shown in dmesg when you load the driver module.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
yesi
Guru
Guru


Joined: 25 Oct 2004
Posts: 331

PostPosted: Wed Mar 29, 2006 10:48 pm    Post subject: Reply with quote

i've got "harded modules " compiled in the kernel so i can't unload/load the module...

it's a strange probleme for me since i use the printer parrallel port to connect my scanner...
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Wed Mar 29, 2006 10:49 pm    Post subject: Reply with quote

yesi wrote:
i've got "harded modules " compiled in the kernel so i can't unload/load the module...

it's a strange probleme for me since i use the printer parrallel port to connect my scanner...

Then it should still be in dmesg, on bootup.

I have my scanner connected through my printer as well.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
yesi
Guru
Guru


Joined: 25 Oct 2004
Posts: 331

PostPosted: Thu Mar 30, 2006 12:15 am    Post subject: Reply with quote

here's my /dev
Quote:
adsp cdroms dvd graveur hdc loop0 mem port ram12 ram7 stderr tty12
adsp2 cdrw fb hda hdd loop1 misc ppp ram13 ram8 stdin tty13
agpgart console fb0 hda1 hdd1 loop2 mixer psaux ram14 ram9 stdout tty14
audio core fbsplash hda2 initctl loop3 mixer1 ptmx ram15 random tts tty15
audio1 disk fd hda3 input loop4 mixer2 pts ram2 rd tty tty16
audio2 disks fd0 hda4 kmem loop5 null ram0 ram3 rtc tty0 tty17
bus dsp floppy hda5 kmsg loop6 nvidia0 ram1 ram4 shm tty1 tty18
cdrom dsp1 full hda6 log loop7 nvidiactl ram10 ram5 snd tty10 tty19
cdrom1 dsp2 gpmctl hdb loop mapper nvram ram11 ram6 sound tty11 tty2


and my dmesg:

Quote:
e, yres_virtual=3750
Console: switching to colour frame buffer device 128x48
fbsplash: console 0 using theme 'emergence'
fbsplash: switched splash state to 'on' on console 0
vesafb: framebuffer at 0xd0000000, mapped to 0xf0c00000, using 7500k, total 131072k
fb0: VESA VGA frame buffer device
Using specific hotkey driver
Real Time Clock Driver v1.12
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
[drm] Initialized drm 1.0.0 20040925
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:01: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:02: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
mice: PS/2 mouse device common for all mice
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:11.1
ACPI: PCI Interrupt 0000:00:11.1[A]: no GSI
PCI: Calling quirk c02f82c0 for 0000:00:11.1
PCI: Via IRQ fixup for 0000:00:11.1, from 255 to 15
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8233a (rev 00) IDE UDMA133 controller on pci0000:00:11.1
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
input: AT Translated Set 2 keyboard as /class/input/input0
input: ImPS/2 Generic Wheel Mouse as /class/input/input1
hda: Maxtor 6Y080P0, ATA DISK drive
hdb: LITE-ON LTR-12101B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: HITACHI DVD-ROM GD-7500, ATAPI CD/DVD-ROM drive
hdd: WDC WD200AB-00CMB0, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 160086528 sectors (81964 MB) w/7936KiB Cache, CHS=65535/16/63, UDMA(133)
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
hdd: max request size: 128KiB
hdd: 39102336 sectors (20020 MB) w/2048KiB Cache, CHS=38792/16/63, UDMA(100)
hdd: cache flushes not supported
hdd: hdd1
hdb: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
hdc: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33)
Adaptec aacraid driver (1.1-4 Mar 24 2006 14:33:52)
st: Version 20050830, fixed bufsize 32768, s/g segs 256
USB Universal Host Controller Interface driver v2.3
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:11.2[D] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ 10
PCI: Calling quirk c02f82c0 for 0000:00:11.2
uhci_hcd 0000:00:11.2: UHCI Host Controller
uhci_hcd 0000:00:11.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:11.2: irq 10, io base 0x0000dc00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:11.3[D] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ 10
PCI: Calling quirk c02f82c0 for 0000:00:11.3
uhci_hcd 0000:00:11.3: UHCI Host Controller
uhci_hcd 0000:00:11.3: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:11.3: irq 10, io base 0x0000e000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usb 2-2: new full speed USB device using uhci_hcd and address 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel at redhat dot com
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
ip_conntrack version 2.4 (6143 buckets, 49144 max) - 228 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
ACPI wakeup devices:
PCI0 UAR1 USB USB1 AC9 MC9 SLPB
ACPI: (supports S0 S1 S4 S5)
ReiserFS: hda3: found reiserfs format "3.6" with standard journal
ReiserFS: hda3: using ordered data mode
ReiserFS: hda3: journal params: device hda3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda3: checking transaction log (hda3)
ReiserFS: hda3: journal-1153: found in header: first_unflushed_offset 901, last_flushed_trans_id 789778
ReiserFS: hda3: journal-1206: Starting replay from offset 3392074976068485, trans_id 0
ReiserFS: hda3: journal-1299: Setting newest_mount_id to 220
ReiserFS: hda3: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 204k freed
Failed to execute /linuxrc. Attempting defaults...
Adding 500464k swap on /dev/hda2. Priority:-1 extents:1 across:500464k
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
eth0: RealTek RTL8139 at 0xf0bc8f00, 00:08:a1:26:10:02, IRQ 5
eth0: Identified 8139 chip type 'RTL-8139C'
Linux video capture interface: v1.00
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
ACPI: PCI Interrupt 0000:00:06.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
bttv0: Bt878 (rev 17) at 0000:00:06.0, irq: 10, latency: 32, mmio: 0xdddfe000
bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
bttv0: using: Hauppauge (bt878) [card=10,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00fffffb [init]
bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
tveeprom 0-0050: Hauppauge model 38106, rev B409, serial# 6008521
tveeprom 0-0050: tuner model is Philips FI1216MF MK2 (idx 9, type 3)
tveeprom 0-0050: TV standards PAL(B/G) SECAM(L/L') (eeprom 0x24)
tveeprom 0-0050: audio processor is None (idx 0)
tveeprom 0-0050: has no radio
bttv0: using tuner=3
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: i2c: checking for TDA9887 @ 0x86... not found
tuner 0-0061: chip found @ 0xc2 (bt878 #0 [sw])
tuner 0-0061: type set to 3 (Philips (SECAM+PAL_BG) (FI1216MF, FM1216MF, FR1216MF))
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
PCI: Calling quirk c02f82c0 for 0000:00:11.5
PCI: Enabling bus mastering for device 0000:00:11.5
PCI: Setting latency timer of device 0000:00:11.5 to 64
usbcore: registered new driver snd-usb-audio
pwc Philips webcam module version 10.0.7-unofficial loaded.
pwc Supports Philips PCA645/646, PCVC675/680/690, PCVC720[40]/730/740/750 & PCVC830/840.
pwc Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
pwc the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
pwc Default framerate set to 5.
pwc Default image size set to vga [640x480].
pwc Number of frame buffers set to 2.
pwc Trace options: 0x00a1
pwc Preferred compression set to 2.
pwc Enabling power save on open/close.
pwc Logitech QuickCam 4000 Pro USB webcam detected.
pwc Registered as /dev/video1.
usbcore: registered new driver Philips webcam
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module 1.0-8178 Wed Dec 14 16:22:51 PST 2005
acx: this driver is still EXPERIMENTAL
acx: reading README file and/or Craig's HOWTO is recommended, visit http://acx100.sf.net in case of further questions/discussion
acx: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
running on a little-endian CPU
PCI module v0.3.35 initialized, waiting for cards to probe...
ACPI: PCI Interrupt 0000:00:08.0[A] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ 10
acx: found ACX100-based wireless network card at 0000:00:08.0, irq:10, phymem1:0xDFFFE000, phymem2:0xDFFE0000, mem1:0xf1646000, mem1_size:4096, mem2:0xf1720000, mem2_size:65536
initial debug setting is 0x000A
using IRQ 10
requesting firmware image 'tiacx100c0D'
acx: firmware image 'tiacx100c0D' was not provided. Check your hotplug scripts
requesting firmware image 'tiacx100'
acx_write_fw (main/combined):0
acx_validate_fw (main/combined):0
requesting firmware image 'tiacx100r0D'
acx_write_fw (radio): 0
acx_validate_fw (radio): 0
acx100_s_init_wep: writing WEP options
initializing max packet templates
NVS_vendor_offs:0000 probe_delay:500 eof_memory:65536
CCAModes:04 Diversity:01 ShortPreOpt:01 PBCC:01 ChanAgil:00 PHY:05 Temp:01
AntennaID:00 Len:02 Data:01 02
PowerLevelID:01 Len:02 Data:001E 000A
DataRatesID:02 Len:05 Data:02 04 11 22 44
DomainID:03 Len:06 Data:30 20 30 31 32 41
ProductID:04 Len:09 Data:TI ACX100
ManufacturerID:05 Len:07 Data:TI Test
get_mask 0x00004D82, set_mask 0x00000000
got sensitivity value 176
got antenna value 0x8D
got Energy Detect (ED) threshold 112
got Channel Clear Assessment (CCA) value 13
got regulatory domain 0x30
get_mask 0x00000000, set_mask 0x00000000 - after update
new ratevector: 82 84 0B 16 2C
setting RXconfig to 2010:0FDD
acx: form factor 0x01 ((mini-)PCI / CardBus), radio type 0x0D (Maxim), EEPROM version 0x05, uploaded firmware 'Rev 1.9.8.b' (0x01030505)
creating /proc entry driver/acx_wlan0
creating /proc entry driver/acx_wlan0_diag
creating /proc entry driver/acx_wlan0_eeprom
creating /proc entry driver/acx_wlan0_phy
acx v0.3.35: net device wlan0, driver compiled against wireless extensions 19 and Linux 2.6.15-gentoo-r1
USB module v0.3.35 initialized, probing for devices...
usbcore: registered new driver acx_usb
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ReiserFS: hda6: found reiserfs format "3.6" with standard journal
ReiserFS: hda6: warning: CONFIG_REISERFS_CHECK is set ON
ReiserFS: hda6: warning: - it is slow mode for debugging.
ReiserFS: hda6: using ordered data mode
ReiserFS: hda6: journal params: device hda6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda6: checking transaction log (hda6)
ReiserFS: hda6: journal-1153: found in header: first_unflushed_offset 701, last_flushed_trans_id 9021468
ReiserFS: hda6: journal-1206: Starting replay from offset 38746914316878525, trans_id 0
ReiserFS: hda6: journal-1299: Setting newest_mount_id to 216
ReiserFS: hda6: Using r5 hash to sort names
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on hdd1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
agpgart: Detected VIA KT266/KY266x/KT333 chipset
agpgart: AGP aperture is 128M @ 0xe0000000
ACPI: PCI Interrupt 0000:00:06.1[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
eth0: link down
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 0
Buffer I/O error on device hdc, logical block 0
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 8
Buffer I/O error on device hdc, logical block 1
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 16
Buffer I/O error on device hdc, logical block 2
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 24
Buffer I/O error on device hdc, logical block 3
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 32
Buffer I/O error on device hdc, logical block 4
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 40
Buffer I/O error on device hdc, logical block 5
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 48
Buffer I/O error on device hdc, logical block 6
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 56
Buffer I/O error on device hdc, logical block 7
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdc, sector 0
Buffer I/O error on device hdc, logical block 0
fbsplash: console 1 using theme 'banja'
fbsplash: switched splash state to 'on' on console 1
fbsplash: console 2 using theme 'banja'
fbsplash: switched splash state to 'on' on console 2
fbsplash: console 3 using theme 'banja'
fbsplash: switched splash state to 'on' on console 3
fbsplash: console 4 using theme 'banja'
fbsplash: switched splash state to 'on' on console 4
fbsplash: console 5 using theme 'banja'
fbsplash: switched splash state to 'on' on console 5
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode


there's for my parallel port in dmesg:
Quote:
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]


but no lp0 neither sg0...
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Thu Mar 30, 2006 2:27 am    Post subject: Reply with quote

Do you have lp support in the kernel? Then the printer should appear (at least be detected); my dmesg output when I load the module 'lp':

Code:
lp0: using parport0 (interrupt-driven).


The device appears as /dev/lp0.

What is the name of the driver for your scanner? Is that in the kernel? The dmesg output when my driver module ('epst') is loaded, and sees the scanner:

Code:
epst.0: epst 0.92 (0.92), Shuttle EPST at 0x378 mode 2 (PS/2) dly 1 nice 0 sg 16scsi2 : epst
  Vendor: HP        Model: C5190A            Rev: 3740
  Type:   Processor                          ANSI SCSI revision: 02
Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0,  type 3


The device appears as /dev/sg0
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
yesi
Guru
Guru


Joined: 25 Oct 2004
Posts: 331

PostPosted: Thu Mar 30, 2006 12:56 pm    Post subject: Reply with quote

ok it seems that my lp was not loaded. :p
and the output in dmesg
Quote:
lp0: using parport0 (interrupt-driven)


but for the module of the scanner, i think it is built "hard" in the kernel...
i'm not sur about the driver perhaps cis1200

perhaps, i'll try xinet.d méthode...i'm going to have a look...
Back to top
View user's profile Send private message
Ocelot
n00b
n00b


Joined: 30 Mar 2006
Posts: 1

PostPosted: Thu Mar 30, 2006 2:09 pm    Post subject: Reply with quote

Curious.
_________________
[img]http://img.photobucket.com/albums/v708/jHOcelot/ocelot.gif[/img]
Back to top
View user's profile Send private message
yesi
Guru
Guru


Joined: 25 Oct 2004
Posts: 331

PostPosted: Fri Mar 31, 2006 10:30 am    Post subject: Reply with quote

my solution:

i set in the kernel
Quote:
CONFIG_PPDEV=y

to have /dev/parport0

i changed the group
Code:
chown root:saned /dev/parport0

Quote:

crw-rw---- 1 root root 99, 0 mar 31 11:30 /dev/parport0

to
Quote:
crw-rw---- 1 root saned 99, 0 mar 31 11:30 /dev/parport0


and since after rebooting, the group saned become again root
i put in my /etc/conf.d/local.start

Code:
chown root:saned /dev/parport0


if there's an another solution for group, i'll be happy.

and in /etc/xinetd.d/saned
Quote:

service sane-port
{
socket_type = stream
server = /usr/sbin/saned
protocol = tcp
port = 6566
user = root -->because of the parallel port
group = saned
# log_on_success += USERID EXIT DURATION
# log_on_failure += USERID RECORD
wait = no
disable = no
}


Code:

gpasswd saned
gpasswd -a root saned
gpasswd -a your_user saned
Back to top
View user's profile Send private message
yesi
Guru
Guru


Joined: 25 Oct 2004
Posts: 331

PostPosted: Fri Mar 31, 2006 12:48 pm    Post subject: Reply with quote

ok there's an another methode simpler:

Quote:
CONFIG_PPDEV=y
is important
and
add in a file named /etc/udev/rules.d/10-parport.rules
Quote:

KERNEL="parport0", GROUP="scanner"


to have
Quote:
crw-rw---- 1 root scanner 99, 0 mar 31 2006 /dev/parport0

and
Code:

gpasswd -a root saned
gpasswd -a your_user saned


at the end, i'm satisfied. :)

thanks a lot, guys!

ps: saned does not need anymore...
Back to top
View user's profile Send private message
wipp
n00b
n00b


Joined: 27 Mar 2004
Posts: 33
Location: Zurich, Switzerland

PostPosted: Tue May 16, 2006 1:18 pm    Post subject: Reply with quote

Hi guys
My scanner stopped working after switching from 2.6.15-r1 to 2.6.16-r* gentoo-sources (same .config file).
In xsane I get a segmentation fault right after clicking "scan preview".
Restarting xsane results in a message "No devices found" (even after rebooting the scanner).
Code:
modprobe -rf ppscsi

complains about ppscsi beeing in use.
Code:
FATAL: Module ppscsi is in use.

The same happens for onscsi.

Are there new drivers in process or can this be fixed?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
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