| PLEX86 | ||
|
Reading from USBweird packet sends to various services I'm trying to find out why every morning from 2am to 3:45am some machine on our LAN is sending consistant data to... Hi ... I have a question. Reading from USB 2432 On Wed, 6 Sep 2006 07:56:49 +0200, Hx staggered into the Black Sun and said: Hm. The max length of USB cables isn't insanely long. "What... I have a device (Airmar WeatherStation PB100). This Device can be connected to pc only via usb. All drivers and softvare are for Windows. This weather station sends continuesly data to the usb port, an software is reading and displaying data on the screen. Now.I would like to connect this device to pc with linux os, and than write my own program in c that reads data from usb. Could this be done ? ... I tried to find some examples written in c that reads data from usb port, but i've found none. So if anyone have time to explain me, give me advice, or link where i can learn how to do this i would appreciate that. One more thing. When i connect this device to usb port in log i get new line: 23:01:40 axis-00408c6e12c2 kernel: usb 1-2: new full speed USB device using ETRAX 100LX and address 6 when i type command catproc-bus-usb-devices i get output: (my weatherstation is last on the list) T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0-900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB ETRAX 100LX Root Hub S: SerialNumber=ff C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 P: Vendor=0bda ProdID=8150 Rev= 1.00 S: Manufacturer=REALTEK S: Product=USB 10-100 LAN S: SerialNumber=2816 C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=120mA I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=rtl8150 E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=1ms T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 6 Spd=12 MxCh= 0 P: Vendor=0403 ProdID=cc60 Rev= 4.00 S: Manufacturer=FTDI S: SerialNumber=FT3P1079 C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms Note that weatherstation has no drivers ... So i'm wondering can i read data from weatherstation regardless that there are no drivers for it..
|
||||
Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||