Nokia 6210

Ondrej Filip feela na ipex.cz
Středa Červen 13 15:05:28 CEST 2001


On Wed, 13 Jun 2001, Daniel Smolik wrote:

> Ondrej Filip wrote:
> >
> > On Wed, 13 Jun 2001, Petr Stanek wrote:
> >
> > > Preji prijemny den.
> > >
> > > V archivu konference jsem nenasel uspokojivou odpoved na otazku
> > >
> > > Lze pripojit Nokii 6210 k Linuxu pres kabel a nebo IRDA. Pak ji
> > > pouzivat jako hardwarovy modem 9600kb?
> >
> > Ja to tak delam a protoze mam EuroTel, pripojuju se 43,2 a docela to
> > funguje. Kabel nemam, gnokii nepouzivam,
> >
> > > Nebo je zapotrebi aplikace typu gnokii, ktera ji ovsem nepodporuje?
> >
> >                                 Feela
> >
> Muzes o tom napsat vic potreboval bych to vyresit. Optimalni by byl
> priklad cfg souboru od IRDA a ppp.
> Dik moc.

modules.conf
# IrDA over a normal serial port, or a serial port compatible IrDA port
alias tty-ldisc-11 irtty

# IrCOMM (for printing, PPP, Minicom etc)
alias char-major-161 ircomm-tty     # if you want IrCOMM support

# IRLAN
alias irlan0 irlan

# To use the FIR driver, e.g. the NSC driver on a Thinkpad laptop
options nsc-ircc dongle_id=0x09
alias irda0 nsc-ircc

# IrNET module...
alias char-major-10-187 irnet       # Official allocation of IrNET


Tohle mam RedHati IRDA drivers. Pak uz normalne pristupuju na /dev/ircomm0

#! /bin/sh
#
# drivers
#
# Initialize and shutdown IrDA device drivers.
#
# This script should be invoked with two arguments.  The first is the
# action to be taken, either "start", "stop", or "restart".
#

action=$1
device=$2

case "${action:?}" in
'start')
	#irattach /dev/ttyS2          # The third serial port is an IrDA port
	#irattach /dev/ttyS0 -d esi   # Attach a ESI dongle to the first serial port
	#irattach /dev/ttyS0 -d tekram
	#irattach /dev/ttyS1
	modprobe nsc-ircc
	ifconfig irda0 up
	# insmod pc87108             # If your machine as a pc87108 FIR chipset
	# modprobe uircc             # Sharp UIRCC chipset
    ;;
'stop')
	killall irattach             # ... or something. Currently not used
    ;;
'restart')
	/sbin/ifconfig ${device:?} down up
    ;;
esac

					Feela


Uff, dneska mam nejaky linuxove mailovaci den. :-)

-- 
Ondrej Feela Filip
E-mail: feela na network.cz
WWW: http://www.gin.cz
WWW: http://feela.network.cz



Další informace o konferenci Linux