Author Topic: 1-wire Autodetection  (Read 9504 times)

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
1-wire Autodetection
« on: December 20, 2012, 07:45:29 pm »
Over the last 6 months I have reinstalled a number of time for various reasons and everytime my 1-Wire USB device was autodetected, installed and then the connected sensors were found and installed.  This sometime took days, one time was really quick (L3mce said it was because of changes to the detection radar).  My latest install has been up for 3 months now and is yet to detect and install the device.

Any ideas if this is working right now?

DragonK

  • Guru
  • ****
  • Posts: 446
    • View Profile
Re: 1-wire Autodetection
« Reply #1 on: December 27, 2012, 06:50:36 am »
Morning Techstyle,

I have the similar experience with 1-wire. Mine is normally detected after I add a MD or a Device. So have gotten into the habbit of installing my 1-wire before installing everything else.

Karel

wooly

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
Re: 1-wire Autodetection
« Reply #2 on: January 27, 2013, 12:16:42 am »
Just got a DS9490R usb 1-wire this week, but no way can I get it to autodetect? :(
So I forced child on core as per wiki, but can only get it to look on usb0....When dmesg says it is on usb3, how do I get it to use that port? Can I force auto detection?
Not tried MD install trick yet as no MD available at this time.
1004 dvd install from snapshot (regular update/upgrade)
Core/Hybrid:
P4
ATI
DS9490R 1wire (1off DS18B20 working)

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Re: 1-wire Autodetection
« Reply #3 on: January 27, 2013, 12:18:24 am »
I cannot get mine to work

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Re: 1-wire Autodetection
« Reply #4 on: January 27, 2013, 12:27:03 am »
although, having just checked on it, now it says it is registered

wooly

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
Re: 1-wire Autodetection
« Reply #5 on: January 27, 2013, 12:36:18 am »
Thanks Techstyle........glad yours is working!
When did you last do 'update / upgrade'?
Any idea what you did?
1004 dvd install from snapshot (regular update/upgrade)
Core/Hybrid:
P4
ATI
DS9490R 1wire (1off DS18B20 working)

wooly

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
Re: 1-wire Autodetection
« Reply #6 on: January 28, 2013, 01:15:16 am »
I get this from dmesg when pluging in 1-wire usb:
Quote
5075.476028] usb 3-1: new full speed USB device using uhci_hcd and address 5
[ 5075.638960] usb 3-1: configuration #1 chosen from 1 choice
[ 5077.191787] w1_master_driver w1 bus master: Family 81 for 81.0000003130d7.a8 is not registered.
Is this look correct?
1004 dvd install from snapshot (regular update/upgrade)
Core/Hybrid:
P4
ATI
DS9490R 1wire (1off DS18B20 working)

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Re: 1-wire Autodetection
« Reply #7 on: January 28, 2013, 08:10:15 pm »
Not sure it is working, right now I dont have a temp sensor plugged in.  I took my test one to work to graph how cold it is in my office - LOL

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Re: 1-wire Autodetection
« Reply #8 on: January 28, 2013, 08:11:22 pm »
I dont know what I did but my last update was less than a week ago

wooly

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
Re: 1-wire Autodetection
« Reply #9 on: January 28, 2013, 08:23:03 pm »
I'm getting this error from the 1wire device log:
Code: [Select]
01 01/28/13 10:43:45.141 Opening port: /dev/ttyUSB3 <0xb776e6d0>
01 01/28/13 10:43:45.143 OW_init error: 22, Invalid argument <0xb776e6d0>
01 01/28/13 10:43:45.143 Connect() Failed <0xb776e6d0>
I did change the template to USB3, but don't know if I should have?
Is /dev/ttyS0 for the serial port 1wire adapter?
Can anyone help?
1004 dvd install from snapshot (regular update/upgrade)
Core/Hybrid:
P4
ATI
DS9490R 1wire (1off DS18B20 working)

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Re: 1-wire Autodetection
« Reply #10 on: January 28, 2013, 08:48:26 pm »
I think there may be a problem with the DS9490R with LMCE.  Take a look at:

http://forum.linuxmce.org/index.php/topic,11328.150.html

page 11 you will see I had the same issue with the DS9490R which I then replaced with the http://www.ibuttonlink.com/linkusb.aspx


wooly

  • Regular Poster
  • **
  • Posts: 16
    • View Profile
Re: 1-wire Autodetection
« Reply #11 on: January 28, 2013, 11:16:09 pm »
Thanks Techstyle...why did I not find that post ??? could have saved myself £24 >:( with self.
Am going to start new post to see if any magic figured person wants to get it working!
1004 dvd install from snapshot (regular update/upgrade)
Core/Hybrid:
P4
ATI
DS9490R 1wire (1off DS18B20 working)

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Re: 1-wire Autodetection
« Reply #12 on: January 29, 2013, 12:07:10 am »
It would be nice to get that one to work but I have struggled.  Probably get some of that back if you throw it on Ebay