Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 517284 - digitemp_DS2490 does not work with DS9490R using USB
Summary: digitemp_DS2490 does not work with DS9490R using USB
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: digitemp
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-13 11:34 UTC by Lars E. Pettersson
Modified: 2009-09-02 20:55 UTC (History)
1 user (show)

Fixed In Version: 3.6.0-4.el4
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-13 21:48:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lars E. Pettersson 2009-08-13 11:34:43 UTC
Description of problem:

digitemp_DS2490 does not work with DS9490R using USB

Version-Release number of selected component (if applicable):

digitemp-3.6.0-2.fc11.x86_64

How reproducible:

Always

Steps to Reproduce:
1. run 'digitemp_DS2490 -w -sUSB' with a DS9490R connected to the USB bus
2.
3.
  
Actual results:

"Error, serial port 'USB' does not exists!"

Expected results:

"Found DS2490 device #1 at 004/004
Turning off all DS2409 Couplers
...
Devices on the Main LAN
10091238000000C6 : DS1820/DS18S20/DS1920 Temperature Sensor
1087CC3501080083 : DS1820/DS18S20/DS1920 Temperature Sensor
81575F2C00000099 : Unknown Family Code
"

Additional info:

I downloaded the digitemp package from the digitemp webpage, and compiled it. This version did work (see expected results)

This could perhaps have something to do with "-DOWUSB", see http://lists.brianlane.com/pipermail/dt-general/2009-July/000690.html

Comment 1 Lars E. Pettersson 2009-08-13 12:08:32 UTC
It seems as if changing, in digitemp.spec,

%if %{with_libusb}
make ds2490 %{?_smp_mflags}
%endif

into

%if %{with_libusb}
make clean && make ds2490 %{?_smp_mflags}
%endif

solves the problem. Apparently some of the files compiled earlier needs to be recompiled with the -DOWUSB flag.

Comment 2 Robert Scheck 2009-08-13 12:17:07 UTC
Yes, it looks like that it's a good idea to fire a "make clean" after each
of the makes. Will correct this this evening or so and push builds for the
active Fedora and EPEL branches. Thanks for your report and the fix :)

Comment 3 Fedora Update System 2009-08-13 21:28:16 UTC
digitemp-3.6.0-4.el4 has been submitted as an update for Fedora EPEL 4.
http://admin.fedoraproject.org/updates/digitemp-3.6.0-4.el4

Comment 4 Fedora Update System 2009-08-13 21:28:29 UTC
digitemp-3.6.0-4.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/digitemp-3.6.0-4.fc11

Comment 5 Fedora Update System 2009-08-13 21:45:31 UTC
digitemp-3.6.0-4.el5 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/digitemp-3.6.0-4.el5

Comment 6 Fedora Update System 2009-08-13 21:45:42 UTC
digitemp-3.6.0-4.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/digitemp-3.6.0-4.fc10

Comment 7 Fedora Update System 2009-08-15 08:15:49 UTC
digitemp-3.6.0-4.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2009-08-15 08:24:11 UTC
digitemp-3.6.0-4.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2009-09-02 20:54:26 UTC
digitemp-3.6.0-4.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2009-09-02 20:55:42 UTC
digitemp-3.6.0-4.el4 has been pushed to the Fedora EPEL 4 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.