|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Sending this again as it did not seem to get to the list when I first
sent it this morning. I am need of some with a USB device under Debian; trying last night multiple times to no avail. I have a Dallas Semiconductor Thermochron temperature data logger that I am trying to set. The data logger (DS1921G-F5) is attached to a USB bridge (DS1921G-F5). I downloaded their linux utilities which consist of two simple C programs: One to set a "mission" and the other to download the datat logged: thermo21.c thermo21.h thermodl.c thermoms.c The readme states: /These utilities are used to download (thermodl) and mission (thermoms) a DS1921G Thermochron iButton. The DS1921Z/DS1921H are not supported with this application. THERMODL: usage: thermodl 1wire_net_name <output_filename> </Fahrenheit> - Thermochron download on the 1-Wire Net port - 1-wire_net_port required port name example: "COM1" (Win32 DS2480B),"/dev/cua0" (Linux DS2480B),"1" (Win32 TMEX) - <output_filename> optional output filename - </Fahrenheit> optional Fahrenheit mode (default Celsius) - version 1.03 Required on the command line is the 1-Wire port name: example: "COM1" (Win32 DS2480B) "/dev/cua0" (Linux DS2480B) "1" (Win32 TMEX) "\\.\DS2490-1" (Win32 USB DS2490) "{1,5}" (Win32 DS2480B multi build) "{1,6}" (Win32 USB DS2490 multi build) "{1,2}" (Win32 DS1410E multi build) /When the device is plugged in dmesg shows: usb 1-10: new full speed USB device using ohci_hcd and address 6 PM: Adding info for usb:1-10 PM: Adding info for No Bus:usbdev1.6_ep00 usb 1-10: configuration #1 chosen from 1 choice PM: Adding info for usb:1-10:1.0 PM: Adding info for No Bus:usbdev1.6_ep81 PM: Adding info for No Bus:usbdev1.6_ep02 PM: Adding info for No Bus:usbdev1.6_ep83 In /dev I have: usbdev1.1_ep81 usbdev1.6_ep83 usbdev1.6_ep02 Trying something like: /sh thermodl /dev/usbdev1.1_ep81 t.txt /results in an error. /thermodl.c: line 1: //------------------------------------------------------------------: No such file or directory thermodl.c: line 2: syntax error near unexpected token `(' thermodl.c: line 2: `// Copyright (C) 2000 Dallas Semiconductor Corporation, All Rights 'eserved. /Any hints on how to call the device? -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
27-09-2007, Nick Lidakis:
> Sending this again as it did not seem to get to the list when I first > sent it this morning. Oh, man, are you serious? First. No one interested in you prev. email sending failures, right. Because this is a noise, not information. > I am need of some with a USB device under Debian; trying last night > multiple times to no avail. Second. Debian is a software distribution. What system are using is possible to see, after `uname -a`: #v+ olecom@flower:/tmp$ uname -a Linux flower 2.6.18-4-amd64 #1 SMP Fri May 4 00:37:33 UTC 2007 x86_64 GNU/Linux olecom@flower:/tmp$ #v- See Linux? That means, that a guy, talking to your hardware is Linux, not Hurd or FreeBSD, alright. > I have a Dallas Semiconductor Thermochron temperature data logger that I > am trying to set. The data logger (DS1921G-F5) is attached to a USB > bridge (DS1921G-F5). I downloaded their linux utilities which consist of > two simple C programs: One to set a "mission" and the other to download > the datat logged: > > thermo21.c thermo21.h thermodl.c thermoms.c > > The readme states: Stop. If this info is available on-line, please give an URL. If this is closed NDA stuff, and you are newbie driver programmer, then you'd better keep it away. ![]() > /These utilities are used to download (thermodl) and > mission (thermoms) a DS1921G Thermochron iButton. The > DS1921Z/DS1921H are not supported with this application. > > THERMODL: > > usage: thermodl 1wire_net_name <output_filename> </Fahrenheit> > - Thermochron download on the 1-Wire Net port > - 1-wire_net_port required port name > example: "COM1" (Win32 DS2480B),"/dev/cua0" > (Linux DS2480B),"1" (Win32 TMEX) Seem, like very old doc. I've just prepared a snip from current doc, which, you can find in the upload directory of my server: #v+ olecom@flower:/tmp$ grep -m7 -B7 -A12 cua <linux-2.6.22-rc4/Documentation/devices.txt | tail -n20 >serial-devices.txt olecom@flower:/tmp$ chmod o+r serial-devices.txt #v- > - <output_filename> optional output filename > - </Fahrenheit> optional Fahrenheit mode (default Celsius) > - version 1.03 > > Required on the command line is the 1-Wire port name: > > example: "COM1" (Win32 DS2480B) > "/dev/cua0" (Linux DS2480B) OK. The main idea, that they are using standard serial port (rs232) interface for communication here. > "1" (Win32 TMEX) > "\\.\DS2490-1" (Win32 USB DS2490) > "{1,5}" (Win32 DS2480B multi build) > "{1,6}" (Win32 USB DS2490 multi build) > "{1,2}" (Win32 DS1410E multi build) And unknown Windows magic here. > /When the device is plugged in dmesg shows: > > usb 1-10: new full speed USB device using ohci_hcd and address 6 > PM: Adding info for usb:1-10 > PM: Adding info for No Bus:usbdev1.6_ep00 > usb 1-10: configuration #1 chosen from 1 choice > PM: Adding info for usb:1-10:1.0 > PM: Adding info for No Bus:usbdev1.6_ep81 > PM: Adding info for No Bus:usbdev1.6_ep02 > PM: Adding info for No Bus:usbdev1.6_ep83 Is that all? His *is* the actual information. But there's no hint, that you've cut it too late or too early. So, more output is needed. > In /dev I have: > > usbdev1.1_ep81 > usbdev1.6_ep83 > usbdev1.6_ep02 One usb device with two endpoints(dmesg shows three). One with one (i guess). Doc might say about what to use and how to use (but not that you've quoted here). Try to look at sources. They provide sources for Linux most of the time. Because Linux have stable API nonsense feature. And those dude on Linux like to read sources. > Trying something like: /sh thermodl /dev/usbdev1.1_ep81 t.txt /results > in an error. Are you fan of the slash (i.e. `/')? Slash in UNIX-like OSes is directory separator. It is *not* an option separator, like in the DOS. `/sh' means loading for execution file `/sh', i.e. root directory, file `sh'. But somehow shell got loaded and took the input, let's see. > /thermodl.c: line 1: Hgm. C file. Sources of the C language file. This must be almost all you need! > //------------------------------------------------------------------: No > such file or directory > thermodl.c: line 2: syntax error near unexpected token `(' > thermodl.c: line 2: `// Copyright (C) 2000 Dallas Semiconductor > Corporation, All Rights 'eserved. The shell does not like text of the sources of the C langage from that file. :-\ > /Any hints on how to call the device? ``The data logger (DS1921G-F5)''? _____ ![]() -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Oleg Verych wrote:
> 27-09-2007, Nick Lidakis: > >> Sending this again as it did not seem to get to the list when I first >> sent it this morning. >> > > Oh, man, are you serious? > > First. No one interested in you prev. email sending failures, right. > Because this is a noise, not information. > No one /is /interested in your /previous /email sending failures, right. I just thought I would fix that for you since you seem to be a graduate of the Sum Dum Dik school of English. I'm truly sorry. That was a bit harsh. Perhaps some mothers can not afford a proper tutor of English Perhaps she was working long hours for low wage, doing her best I am sure, at some Czechoslovakian sailor wanna hump-hump bar? No worries. You are forgiven. >> I am need of some with a USB device under Debian; trying last night >> multiple times to no avail. >> > > Second. Debian is a software distribution. What system are using is > possible to see, after `uname -a`: > > #v+ > olecom@flower:/tmp$ uname -a > Linux flower 2.6.18-4-amd64 #1 SMP Fri May 4 00:37:33 UTC 2007 x86_64 GNU/Linux > olecom@flower:/tmp$ > #v- > > See Linux? That means, that a guy, talking to your hardware is Linux, not > Hurd or FreeBSD, alright. > You think I would take advice from someone who named their Debian box /flower/? Pffft... > >> I have a Dallas Semiconductor Thermochron temperature data logger that I >> am trying to set. The data logger (DS1921G-F5) is attached to a USB >> bridge (DS1921G-F5). I downloaded their linux utilities which consist of >> two simple C programs: One to set a "mission" and the other to download >> the datat logged: >> >> thermo21.c thermo21.h thermodl.c thermoms.c >> >> The readme states: >> > > Stop. If this info is available on-line, please give an URL. If this is > closed NDA stuff, and you are newbie driver programmer, then you'd better > I said it was a readme that was enclosed with the simple C programs enclosed. And your sentence should have been /a URL. / Here's a little guide for you sweet cheeks: "Remember, using a or an depends on the sound that begins the next word. So... * a + singular noun beginning with a consonant: /a boy; a car; a bike; a zoo; a dog/ * an + singular noun beginning with a vowel: /an elephant; an egg; an apple; an idiot; an orphan/ * a + singular noun beginning with a consonant sound: a user (sounds like 'yoo-zer,' i.e. begins with a consonant 'y' sound, so 'a' is used); a university; a unicycle If the noun is modified by an adjective, the choice between a and an depends on the initial sound of the adjective that immediately follows the article: * a broken egg * an unusual problem * a European country (sounds like 'yer-o-pi-an,' i.e. begins with consonant 'y' sound)" > keep it away. ![]() > I'll just keep you away? > >> /These utilities are used to download (thermodl) and >> mission (thermoms) a DS1921G Thermochron iButton. The >> DS1921Z/DS1921H are not supported with this application. >> >> THERMODL: >> >> usage: thermodl 1wire_net_name <output_filename> </Fahrenheit> >> - Thermochron download on the 1-Wire Net port >> - 1-wire_net_port required port name >> example: "COM1" (Win32 DS2480B),"/dev/cua0" >> (Linux DS2480B),"1" (Win32 TMEX) >> > > Seem, like very old doc. I've just prepared a snip from current doc, > which, you can find in the upload directory of my server: > /Seems like a very old doc. /There is no comma required. > #v+ > olecom@flower:/tmp$ grep -m7 -B7 -A12 cua <linux-2.6.22-rc4/Documentation/devices.txt > | tail -n20 >serial-devices.txt > olecom@flower:/tmp$ chmod o+r serial-devices.txt > #v- > > Again, that flower thing just makes me laugh. Are /you/ serious? Why not just be more descriptive and call the box pansy? Perhaps change your user name to fancy pants? >> - <output_filename> optional output filename >> - </Fahrenheit> optional Fahrenheit mode (default Celsius) >> - version 1.03 >> >> Required on the command line is the 1-Wire port name: >> >> example: "COM1" (Win32 DS2480B) >> "/dev/cua0" (Linux DS2480B) >> > > OK. The main idea, that they are using standard serial port (rs232) > interface for communication here. > > >> "1" (Win32 TMEX) >> "\\.\DS2490-1" (Win32 USB DS2490) >> "{1,5}" (Win32 DS2480B multi build) >> "{1,6}" (Win32 USB DS2490 multi build) >> "{1,2}" (Win32 DS1410E multi build) >> > > And unknown Windows magic here. > > >> /When the device is plugged in dmesg shows: >> >> usb 1-10: new full speed USB device using ohci_hcd and address 6 >> PM: Adding info for usb:1-10 >> PM: Adding info for No Bus:usbdev1.6_ep00 >> usb 1-10: configuration #1 chosen from 1 choice >> PM: Adding info for usb:1-10:1.0 >> PM: Adding info for No Bus:usbdev1.6_ep81 >> PM: Adding info for No Bus:usbdev1.6_ep02 >> PM: Adding info for No Bus:usbdev1.6_ep83 >> > > Is that all? His *is* the actual information. But there's no hint, that > you've cut it too late or too early. So, more output is needed. > Still trying to decipher that... Whatever that is. > >> In /dev I have: >> >> usbdev1.1_ep81 >> usbdev1.6_ep83 >> usbdev1.6_ep02 >> > > One usb device with two endpoints(dmesg shows three). One with one (i > guess). Doc might say about what to use and how to use (but not that > you've quoted here). Try to look at sources. They provide sources for > Linux most of the time. Because Linux have stable API nonsense feature. > And those dude on Linux like to read sources. > > >> Trying something like: /sh thermodl /dev/usbdev1.1_ep81 t.txt /results >> in an error. >> > > Are you fan of the slash (i.e. `/')? Slash in UNIX-like OSes is > directory separator. It is *not* an option separator, like in the DOS. > > `/sh' means loading for execution file `/sh', i.e. root directory, file > `sh'. But somehow shell got loaded and took the input, let's see. > > >> /thermodl.c: line 1: >> > > Hgm. C file. Sources of the C language file. > This must be almost all you need! > > >> //------------------------------------------------------------------: No >> such file or directory >> thermodl.c: line 2: syntax error near unexpected token `(' >> thermodl.c: line 2: `// Copyright (C) 2000 Dallas Semiconductor >> Corporation, All Rights 'eserved. >> > > The shell does not like text of the sources of the C langage from that > file. :-\ > > >> /Any hints on how to call the device? >> > > ``The data logger (DS1921G-F5)''? > > _____ ![]() > > How did you manage to type that reply... That is, with your head so far up your butt? No worries. I received a reply off list that is pushing me in the right direction; just enough hints to make me work for the prize. Sincerely, Nick -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Thu, Sep 27, 2007 at 12:11:54AM -0400, Nick Lidakis wrote:
> Oleg Verych wrote: >> 27-09-2007, Nick Lidakis: >> >>> Sending this again as it did not seem to get to the list when I first >>> sent it this morning. >>> >> >> Oh, man, are you serious? >> >> First. No one interested in you prev. email sending failures, right. >> Because this is a noise, not information. >> > No one /is /interested in your /previous /email sending failures, right. > > I just thought I would fix that for you since you seem to be a graduate of > the Sum Dum Dik school of English. > > I'm truly sorry. That was a bit harsh. Perhaps some mothers can not afford > a proper tutor of English Perhaps she was working long hours for low wage, > doing her best I am sure, at some Czechoslovakian sailor wanna hump-hump > bar? > Please refrain from your attacks. 'Be nice to folks' is a general rule. Insulting folks about background, sexual orientation, or language IN ONE POST is beyond the pale. While folks here ocasssionaly make slight taunts or comments at one another, it is expected that newcomers refrain from this behavior for a while until you become familar with the norms on this list. Also, if you want volunteers , especially on an (off-topic) OT issue like getting a c program to compile on Debian, you should be sugar sweet, not nitric acid. ´on-topic' would normally be 'installing debian packages','upgrading distros', 'apt/dpkg/aptitude problems','video card or network issue'. Someone compiling a usb datalogging device program is usually someone who knows something about Gnu/Linux, software compiling and hardware hacking. If you do not, then you need someones , that would be the nice volunteers here. we get zero dollars for ing you, the least we expect is kindness. cheers, Kev -- | .''`. == Debian GNU/Linux == | my web site: | | : :' : The Universal |mysite.verizon.net/kevin.mark/| | `. `' Operating System | go to counter.li.org and | | `- http://www.debian.org/ | be counted! #238656 | | my keyserver: subkeys.pgp.net | my NPO: cfsg.org | |join the new debian-community.org to Debian! | |_______ Unless I ask to be CCd, assume I am subscribed _______| |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
27-09-2007, Nick Lidakis:
> Oleg Verych wrote: >> 27-09-2007, Nick Lidakis: >> >>> Sending this again as it did not seem to get to the list when I first >>> sent it this morning. >>> >> >> Oh, man, are you serious? >> >> First. No one interested in you prev. email sending failures, right. >> Because this is a noise, not information. >> > No one /is /interested in your /previous /email sending failures, right. > > I just thought I would fix that for you since you seem to be a graduate > of the Sum Dum Dik school of English. I didn't run `ispell`, maybe for purpose. I didn't reread e-mail twice, as i usually do. Think about such behavior as about mirror. Thanks for small article about articles. But i didn't care much up till now, and i won't after, sorry. As for "flower" think of it, as synonym to "develop". Thanks. ____ -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 On 09/27/07 00:07, Oleg Verych wrote: [snip] > > As for "flower" think of it, as synonym to "develop". Flower, bloom, mature, grow, develop. That makes sense, I guess. I'm sure that flower/develop is a perfectly understood metaphor in Cz, but it just doesn't work in the US and probably Britain. Of course, you're in Cz, so it doesn't really matter what we think. - -- Ron Johnson, Jr. Jefferson LA USA Give a man a fish, and he eats for a day. Hit him with a fish, and he goes away for good! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG+z2/S9HxQb37XmcRAkA1AKDLfA3boB8OUMcScEs1Pl/62Il5CwCeIGTI CU72BRHXjYorX/3RnHJCV/4= =LPT2 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
Kevin Mark wrote:
> > Please refrain from your attacks. 'Be nice to folks' is a general rule. > Insulting folks about background, sexual orientation, or language IN ONE > POST is beyond the pale. While folks here ocasssionaly make slight > taunts or comments at one another, it is expected that newcomers refrain > from this behavior for a while until you become familar with the norms > on this list. Also, if you want volunteers , especially on an > (off-topic) OT issue like getting a c program to compile on Debian, you > should be sugar sweet, not nitric acid. ´on-topic' would normally be > 'installing debian packages','upgrading distros', 'apt/dpkg/aptitude > problems','video card or network issue'. Someone compiling a usb > datalogging device program is usually someone who knows something about > Gnu/Linux, software compiling and hardware hacking. If you do not, then > you need someones , that would be the nice volunteers here. we get > zero dollars for ing you, the least we expect is kindness. > cheers, > Kev > Your right. My apologies to Oleg and the list. Sincerely, Nick -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
Nick Lidakis <nlidakis@verizon.net>:
> Kevin Mark wrote: > > > > Please refrain from your attacks. 'Be nice to folks' is a general rule. > > Your right. My apologies to Oleg and the list. Quite right, and thanks. Done it before myself and hope to minimize its ocurrence in the future. !@#$ happens. -- Any technology distinguishable from magic is insufficiently advanced. (*) http://blinkynet.net/comp/uip5.html Linux Counter #80292 - - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
Nick Lidakis <nlidakis@verizon.net>:
> Kevin Mark wrote: > > > > Please refrain from your attacks. 'Be nice to folks' is a general rule. > > Your right. My apologies to Oleg and the list. Quite right, and thanks. Done it before myself and hope to minimize its ocurrence in the future. !@#$ happens. -- Any technology distinguishable from magic is insufficiently advanced. (*) http://blinkynet.net/comp/uip5.html Linux Counter #80292 - - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org .. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#10 |
|
Messages: n/a
Hébergeur: |
Nick Lidakis <nlidakis@verizon.net>:
> Kevin Mark wrote: > > > > Please refrain from your attacks. 'Be nice to folks' is a general rule. > > Your right. My apologies to Oleg and the list. Quite right, and thanks. Done it before myself and hope to minimize its ocurrence in the future. !@#$ happens. -- Any technology distinguishable from magic is insufficiently advanced. (*) http://blinkynet.net/comp/uip5.html Linux Counter #80292 - - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org ... -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org .. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|