# owserver --error_level 9 -d /dev/ttyS0 -p3002                      
DEFAULT: Not a "character" device /dev/ttyS0
  DEBUG: ow_exit 0


Gerrit.

Paul Alfille-2 wrote:
> 
> Still, that error message is misleading.
> 
> What is the exact text of the error message? (It'll help me check the
> code).
> 
> Paul Alfille
> 
> On 7/17/07, Christian Magnusson <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> /dev/ttyS0 is probably used as console-port for the kernel. I guess you
>> have
>> to use /dev/ttyS1 instead.
>> Look in dmesg right after rebooting the router.
>>
>> [EMAIL PROTECTED]:~# dmesg | egrep -i "seri|tty"
>> Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2
>> init=/etc/preinit noinitrd console=ttyS0,115200
>> Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ
>> SERIAL_PCI enabled
>> ttyS00 at 0xb8000300 (irq = 3) is a 16550A
>> ttyS01 at 0xb8000400 (irq = 3) is a 16550A
>>
>> As you see in my case, it's used as kernel-console in the WRT54G router.
>>
>> /Christian
>>
>>
>> > -----Original Message-----
>> > From: [EMAIL PROTECTED] [mailto:owfs-
>> > [EMAIL PROTECTED] On Behalf Of Gerritp
>> > Sent: den 17 juli 2007 14:00
>> > To: [email protected]
>> > Subject: [Owfs-developers] owserver fails opening tty device on openwrt
>> >
>> >
>> > I'm trying to use owfs on an edimax br6104kp router, running openwrt
>> > kamikaze.
>> > An DS9097U is connected to /dev/ttyS0.
>> >
>> > when I try to start owserver with:
>> > owserver -d /dev/ttyS0 ...........
>> >
>> > I get an error message telling me that /dev/ttyS0 is not a character
>> > device.
>> >
>> > how can I fix this problem?
>> >
>> > thanks,
>> > Gerrit
>> > --
>> > View this message in context: http://www.nabble.com/owserver-fails-
>> > opening-tty-device-on-openwrt-tf4096132.html#a11647082
>> > Sent from the OWFS - Dev mailing list archive at Nabble.com.
>> >
>> >
>> > -----------------------------------------------------------------------
>> > --
>> > This SF.net email is sponsored by DB2 Express
>> > Download DB2 Express C - the FREE version of DB2 express and take
>> > control of your XML. No limits. Just data. Click to get it now.
>> > http://sourceforge.net/powerbar/db2/
>> > _______________________________________________
>> > Owfs-developers mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Owfs-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
> 
> 

-- 
View this message in context: 
http://www.nabble.com/owserver-fails-opening-tty-device-on-openwrt-tf4096132.html#a11663629
Sent from the OWFS - Dev mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to