OK, Paul, as I told Christian before:
This is precisely how my devices are connected: PC's DB9M (PC's standard 9-pin male) <---> DB9F-to-DB25M (a standard 9-pin to 25-pin converter) <---> DS9097E (Maxim's 25 pin Serial Adapter with a RJ11 port) <---> RJ11 cable <---> DS2781K (Maxim's voltage sensor). Here are other things you asked: 1. Wrong device name: Nope ... /dev/ttyS0 is the only serial file descriptor that works for me ... I tested with my own serial communication codes for grabbing and transferring some data over it .... also owfs only recognizes /dev/ttyS0 ... otherwise it gave an error: "Could not detect DS9097 (passive) ...." 2. Wrong device permission: # id uid=0(root) gid=0(root) groups=0(root) # ls -al /dev/ttyS0 crw-rw---- 1 root dialout 4, 64 2007-09-15 21:17 /dev/ttyS0 3. Wiring/voltage problem # I can sense 7.2 battery voltage through Windows (which works on Maxim's USB chip with its Windows driver). 4. My PC's serial port config: /dev/ttyS0, Line 0, UART: 16650, Port: 0x03f8, IRQ: 4 Baud_base: 9600, close_delay: 50, divisor: 0 closing_wait: 3000 Flags: spd_normal skip_test 5. When I can with debug level, it shows this: > owfs --error_level=9 --foreground -d /dev/ttyS0 /mnt/1wire CONNECT: fuse mount point: /mnt/1wire/ CALL: PARSENAME path=[] CONNECT: Cannot detect DS2480 or LINK interface on /dev/ttyS0. DEBUG: COM_close: flush DEBUG: COM_close: restore DEBUG: COM_close: close CALL: PARSENAME path=[] DEBUG: fuse_mnt_opt=[(null)] DEBUG: fuse_open_opt=[(null)] unique: 1, opcode: INIT (26), nodeid: 0, insize: 56 INIT: 7.7 flags=0x00000003 max_readahead=0x00020000 INIT: 7.8 flags=0x00000001 max_readahead=0x00020000 max_write=0x00020000 unique: 1, error: 0 (Success), outsize: 40 Don't know why "CONNECT: Cannot detect DS2480 or LINK interface on /dev/ttyS0" is appearing. Now, inside /mnt/1wire, although I can see the owfs file system being mounted, NO temp/voltage/current info is pulled out from /dev/ttyS0 (as I said, even cat /dev/ttyS0 is not showing any info). Any suggestion? ---- Paul Alfille-2 wrote: > >> >> Lets be systematic. >> DS9097 or DS9097U >> Any problems with permissions? (root?) >> Try running with --error_level=9 --foreground and look at the starting >> messages. >> >> On 15 Sep 2007 01:05:34 -0000, *suman sarkar* <[EMAIL PROTECTED]> >> wrote: >> >> >> I tried some voltage sensing with DS2781K Maxim chip, which is connected >> to a DS9097 serial adapter through RJ11. >> > > Ok, so the passive adapter. > > I've installed all necessary software, but not been able to pull out any >> information from the mounted directory (/mnt/1wire). My laptop's serial >> port >> is set to baud rate 9600. >> >> Here is what I did: >> >> owfs -d /dev/ttyS0 /mnt/1wire. >> >> This command does not give any error, and only creates a 1wire >> directory, >> where I can see subdirectories: bus.0, settings, structure, statistics, >> system, and uncached. >> > > Ok, so owfs and fuse works. The problem is purely with reading the serial > device. > Possible reasons are: > 1. Wrong device name > 2. Wrong device permissions > 3. Wiring/voltage problem > > Even "cat /dev/ttyS0" does not show any information on ttyS0 port. >> > Not surprising. You could try "ls -al /dev/ttyS0" to see if it is a > correct > character device. Since all 1-wire devices are passive, the bus master > 9097, > generates all the traffic. > > > So, I am at a loss ... Is DS2781K a owfs supported device ... or am I >> missing something? .... Any help will be helpful. >> > > Yes the DS2781 is supported. > > Again, the "owfs --error_level=9 --foreground -d /dev/ttyS0 /mnt/1wire" > would give more information > > Paul Alfille > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > -- View this message in context: http://www.nabble.com/Re%3A-MIPS-vs-MIPSEL-in-OWFS-tf4446090.html#a12696716 Sent from the OWFS - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers