The packages at  <http://owfs.sourceforge.net/openwrt/packages>
http://owfs.sourceforge.net/openwrt/packages are compiled for the
distribution openwrt whiterussian rc5 or 0.9.

They both use kernel 2.4.30 and uClibc 0.9.27, and I would be surprised if
you can use those packages without any problems.

 

Is there any SDK-kit which could be downloaded to your router?  I only see
pre-compiled flash-images. and nothing else.

To make sure it works for you, we have to find the sdk-source and build owfs
against that source-tree.

 

/Christian

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Alfille
Sent: den 26 augusti 2007 12:56
To: [email protected]
Subject: [Owfs-developers] Fwd: Problem with BR6104KP and OWFS

 



---------- Forwarded message ----------
From: Vladimir Loula ml.
Date: Aug 26, 2007 2:07 AM
Subject: Re: Problem with BR6104KP and OWFS

Hi Paul,
1; yes in edimax 6104KP is two serial port. I build two PCB .
First PCB with max3232 for two interface ttyS0 and ttyS1. Next i test
in linux connections to hyperterminal in XP. Work this :
for testing TX from edimax to receive XP hyperterminal i use this cmd 
"cat index.htm > /dev/ttyS0' and 'cat index.htm > /dev/ttyS1'. All test
is sucesfull. For testing TX from XP hyperterminal and RX to edimax i
use this cmd 'cat /dev/ttyS0' and 'cat/dev/ttyS1'. Work fine. 

Second PCB with max3232 for first serial port (ttyS0) and in second
serial port (ttyS1) is part DS2480B. POL pin is connect to Vcc (5V).

Both of them PCB have supply 5V.
2; i have this circuit for 1wire : http://owfs.sourceforge.net/WRT54G.html
3; yes work ttyS0 and ttyS1
4; i begginer with linux. My process :
4a; upload firmware to edimax from this site :
http://www.sunspot.co.uk/Projects/SWEEX/latest_distro.html
4b; create EXT2 in USB stick and extract file from site
http://www.sunspot.co.uk/Projects/SWEEX/latest_distro.html 
4c; connect edimax and all work (test serials ports and other) next i
run this ipkg update and ipkg upgrade
4d; change PCB first to second PCB with ds2480b
4e; in etc/ipkg.conf i add this :  src owfs
http://owfs.sourceforge.net/openwrt/packages
4f; next i write this CMD
    ipkg update
    ipkg install ntpclient
    ipkg install owfs
  all done.
4g; i wirte this cmd owfs --error_level 9 -d /dev/ttyS1 
and receive this : DEFAULT : Not a "character" device /dev/ttyS1
DEBUG: owfs: ow_exit(0)
i test with ttyS0 and same problem
4h; i look to dev "ls -la tty*"
this is list :
crw-rw-rw-    1 root     root       5,   0 Jan  1  1970 tty 
crw-------    1 root     root       4,  64 Jan  1  1970 ttyS
crw-r--r--    1 root     root       4,  64 Aug 26 06:45 ttyS0
crw-r--r--    1 root     root       4,  65 Jan  1  2000 ttyS1

4i; i test next cmd 
# dmesg | egrep -i "serial|tty"
Kernel command line: console=/dev/ttyS0 panic=30
root=/dev/scsi/host0/bus0/targe
t0/lun0/part1 rw
devfs_register(ttyS): could not append to parent, err: -17
rs_open ttyS0, count = 1 
starting up ttyS0 (irq 1) 115200bps ...rs_open ttyS0
successful...rs_open ttyS0,
count = 2
rs_open ttyS0 successful...rs_close ttyS0, count = 2
rs_close ttyS0, count = 1
rs_open ttyS0, count = 1
rs_open ttyS0 successful...rs_close ttyS0, count = 1 
rs_open ttyS0, count = 1
rs_open ttyS0 successful...rs_close ttyS0, count = 1
rs_open ttyS0, count = 1
rs_open ttyS0 successful...Algorithmics/MIPS FPU Emulator v1.5
rs_open ttyS1, count = 1
starting up ttyS1 (irq 2) 9600bps ...rs_open ttyS1 successful...change 
speed tty
  cflag :CBD  base port adress:0xB2800000 divisor:0x195 bits:0x60
stops:0x0 pars
:0x0
rs_close ttyS1, count = 1


Greets Vlada

Paul Alfille napsal(a):

> Hello Vladamir,
>
> Let me understand your setup better:
> 1. You have 2 serial ports, each with 5V operation.
> 2. You have a DS2480B adapter -- it's unclear whether you've wired it
> yourself or are using the DS9097U externally. 
> 3. Your serial port works with other tests (was it a client with
> hyperterminal?)
> 4. You have been unsuccessful with OWFS -- was the problem the "Not a
> character device?"
>
> Paul Alfille

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to