Hi Paul and Hi All,

I switch back to the list because this could be interesting things to
satellite 1800-400 owners.

> > Paul Hampson wrote:
> 
> > > Oh, and what exactly is BIOSDUMP.EXE? Is that giving PnP data or
> > > what?
> 
> > http://www.smsc.com/ftppub/chips/appsoftware/ir_utils.zip
> 
> Ahh, good. I've grabbed it, and it seems to be a windows version of
> pnpdump. Did you try pnpdump under Linux?

I've tried pnpdump, but it seems to be not so much verbose. The
resulting output is below:

# $Id: pnpdump_main.c,v 1.23 2000/04/19 22:49:44 fox Exp $
# Release isapnptools-1.22
# 
# This is free software, see the sources for details.
# This software has NO WARRANTY, use at your OWN RISK
# 
# For details of the output file format, see isapnp.conf(5)
# 
# For latest information and FAQ on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
# 
# Compiler flags:  -DREALTIME -DNEEDSETSCHEDULER -DABORT_ONRESERR
# 
# Trying port address 0273
# Trying port address 027b
# Trying port address 0283
# Trying port address 028b
# Trying port address 0293
# Trying port address 029b
# Trying port address 02a3
# Trying port address 02ab
# Trying port address 02b3
# Trying port address 02bb
# Trying port address 02c3
# Trying port address 02cb
# Trying port address 02d3
# Trying port address 02db
# Trying port address 02e3
# Trying port address 02eb
# Trying port address 02f3
# Trying port address 02fb
# Trying port address 0313
# Trying port address 031b
# Trying port address 0323
# Trying port address 032b
# Trying port address 0333
# Trying port address 033b
# Trying port address 0343
# Trying port address 034b
# Trying port address 0353
# Trying port address 035b
# Trying port address 0363
# Trying port address 036b
# Trying port address 0373
# Trying port address 037b
# Trying port address 0383
# Trying port address 038b
# Trying port address 0393
# Trying port address 039b
# Trying port address 03a3
# Trying port address 03ab
# Trying port address 03b3
# Trying port address 03bb
# Trying port address 03e3
# Trying port address 03eb
# Trying port address 03f3
# No boards found


> > > Daniele, can you grab the testport (I think....) program I
> > > posted to the list, and try it? If you need to, I can send
> > > it to you off-list (I'm sure these guys don't want to see
> > > it again....)
> >
> > uva Paul 46 > ./testport
> > Segmentation fault
> >
> > (gdb) run
> > Starting program: /home/dan/toshiba/irda/paul/testport
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x080484a6 in main () at /usr/include/asm/io.h:94
> > 94      __OUT(b,"b",char)
> >
> > Any hint?
> 
> Urgh. If you've compiled with '-g' on the command line, type
> bt
> at that point, and it'll tell you where in my code it died.
> (I think. It's doing funky things with macros here...)
> This might be caused by not being root, also.

SHAME ON ME! My excuse is: it was Friday evening :)
I've run it as root. Here is the output:

CR00: 28
CR01: 94
CR02: 08
CR03: 70
CR04: 02
CR05: 11
CR06: ff
CR07: 50
CR08: 00
CR09: 00
CR0a: 00
CR0b: 00
CR0c: 02
CR0d: 5a
CR0e: 00
CR0f: 00
CR10: 00
CR11: 00
CR12: 2e
CR13: 00
CR14: 03
CR15: 00
CR16: 00
CR17: 02
CR18: 00
CR19: 00
CR1a: 00
CR1b: 00
CR1c: 00
CR1d: 00
CR1e: 00
CR1f: 00
CR20: fc
CR21: 00
CR22: 0b
CR23: de
CR24: fe
CR25: 00
CR26: 23
CR27: 67
CR28: 40
CR29: 80
CR2a: 00
CR2b: 00
CR2c: 0f
CR2d: 03
CR2e: 00
CR2f: 00
CR30: 6c
CR31: 00
CR32: 00
CR33: 00
CR34: 00
CR35: 00
CR36: 00
CR37: 40
CR38: 00
CR39: b0
FIR Base port: 0000

 
> > > Your config register looks to be 0x2e so it should work fine
> > > out of the package. But I'd like to know if the SMSC LPC47n227
> > > is already configured or not...
> 
> > setsmc.c contains a lot of numbers: I hope you will help me in changing
> > the right ones...
> 
> Of course. But if we're lucky, we might be able to make PnP do it for
> us... I have a suspicion about that.... After all, the chip supports
> PnP, and obviously _windows_ manages to do it. So it's just a case of
> making it work for Linux. That's got to be the best solution.

I'll wait for your instructions...

Regards
Daniele
_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to