使用Windows驱动程序进行空气质量USB设备 -- usb 领域 和 windows 领域 和 usb-drivers 领域 android 相关 的问题

Using windows drivers for an air quality USB device


简体版||繁體版
1
vote

问题

中文

我有一个问题似乎没有被解决 - 也许是因为它是不可能的,但也许不是。我最近收到了一个USB供电的空气质量监测设备,作为一个好奇的毕业生,能够从智能手机监控空气质量是更有用的。 Afaik没有任何好处的等效物。如果您想要粗略数据并且不想带来昂贵的监控设备,这具有相当重大的含义 - 例如,我是没有边界的工程师的一部分,并且大致量化烟雾和VOC吸入我们的厄瓜多尔伙伴社区每餐(在开放的生物量火灾中完成,当然)非常酷,让我们更好地了解我们所能期望的健康问题。

所以有一定程度的帮助世界,这里是整洁的。

问题是,即使USB - > MicrousB转换器非常便宜,只需将所有内容塞在一起(显示器,转换器,手机)不起作用。当然,这太容易了。在常规计算机上安装后,监控软件提供以下消息:

  Installation ------------ This program is depending on the following files, which are NOT distributed in this installation:  hh.exe         CHM help system (Windows XP) hhctrl.ocx     CHM help system (Windows XP) itircl.dll     CHM help system (Windows XP) itss.dll       CHM help system (Windows XP)  SHLWAPI.DLL    Registry key operations, a component of                 IE and is also used by Windows Explorer.                 Shipped with Internet Explorer 4.0  setupapi.dll   Device enumeration hid.dll        Device i/o  The files above should already be in your computer's system directory. If they are not, try running  Windows Update.   

我不希望我的htc令人难以置信的2来拥有这些东西,但我也只用fortran和matlab为我的研究,所以我不知道是否有可能运行等效的程序来获得这个管道梦想系统跑步。任何建议都非常感谢!

谢谢, Melissa

english

I have a question that doesn't appear to have already been addressed - perhaps because it is impossible, but perhaps not. I recently received a USB-powered air quality monitoring device and, as an inquisitive grad student, think it would be far more useful to be able to monitor air quality from my smartphone instead. There isn't any good equivalent for this, afaik. This has fairly significant implications if you want just rough data and don't want to bring expensive monitoring equipment - for example, I'm part of Engineers Without Borders, and roughly quantifying the amount of smoke and VOC inhalation our Ecuadorean partner community takes in at each meal (done over an open biomass fire, naturally) would be REALLY cool, and give us a better idea of the degree of health issues we can expect.

So there's a degree of helping the world, here, which is neat.

The problem is that even though USB -> microUSB converters are pretty cheap, just plugging everything together (monitor, converter, phone) doesn't work. That's too easy, of course. Upon installation on a regular computer, the monitoring software gives the following message:

Installation ------------ This program is depending on the following files, which are NOT distributed in this installation:  hh.exe         CHM help system (Windows XP) hhctrl.ocx     CHM help system (Windows XP) itircl.dll     CHM help system (Windows XP) itss.dll       CHM help system (Windows XP)  SHLWAPI.DLL    Registry key operations, a component of                 IE and is also used by Windows Explorer.                 Shipped with Internet Explorer 4.0  setupapi.dll   Device enumeration hid.dll        Device i/o  The files above should already be in your computer's system directory. If they are not, try running  Windows Update. 

I don't expect my HTC Incredible 2 to have these things, but I also only use FORTRAN and MATLAB for my research, so am not aware if it is possible to run equivalent programs to get this pipe-dream system up and running. Any suggestions would be very appreciated!

Thanks, Melissa

        

回答列表

1
 
vote

这里有很多问题:

  1. 令人难以置信的2的软件不支持USB主机模式,因此您需要root设备并替换内核。
  2. 即使存在依赖项,
  3. Windows软件也不会在Android上运行。您需要完全替换软件。
  4. Android应用程序无法写入Fortran或Matlab,没有Fortran编译器为Android,而且没有用于Android的Matlab版本。
所以你需要在这里进行大量工作,包括逆向工程,因为我怀疑它是开源的。我建议你只是使用笔记本电脑:p
 

There are a lot of problems here:

  1. The Incredible 2's software doesn't support USB Host Mode, so you'd need to root your device and replace the kernel.
  2. Windows software won't run on Android even if the dependencies are present. You would need to entirely replace the software.
  3. Android apps can't be written in Fortran or Matlab, there is no Fortran compiler for Android, and no version of Matlab for Android.

So you'd need to put in a massive amount of work here, including reverse engineering the device commands since I doubt it's open source. I'd advise you to just use a laptop :P

 
 
 
 
0
 
vote

作为以前的答案状态,Android是一个Linux设备,所以您需要为此硬件提供Linux驱动程序,我怀疑存在。总而言之,您需要:

  • Linux驱动程序
  • 框架支持和apis(即,您需要实际修改Android框架,并创建自己的ROM)。
  • 一个应用程序,用java编写(可能是c ++)。

这是一项大量的工作,无论你用什么结果都是特定的手机创造它。

我个人不认为这是非常可行的,虽然蜂窝/ icic可能会在一定程度上减少框架改变。

 

As the previous answer states, Android is a Linux device, and so you would need Linux drivers for this hardware, which I doubt exist. All in all, you would need:

  • Linux drivers
  • Framework support, and APIs (ie, you'd need to actually modify the Android framework, and create your own ROM).
  • An APP, written in JAVA (and possibly C++).

This is a huge amount of work, and whatever results you come out with are going to be specific to the phone create it for.

I personally don't think this is very feasible, though Honeycomb/ICS might reduce, to some extent, the need to make framework changes.

 
 

相关问题

1  如何将SuperPad II P041连接到PC  ( How to connect superpad ii p041 to pc ) 
我是一个superpad II P041,我想将它连接到我的电脑。我想使用logcat来检查我的应用程序抛出的异常。 问题是,当我将其与USB电缆连接时,PC无法识别平板电脑。我已经启用了调试USB。 我可以试图让PC与平板电脑通信吗?也许我需要司机? 谢谢你的帮助。 ...

3  Aoson M19 - 需要设备驱动程序  ( Aoson m19 need device drivers ) 
我自己和其他一些人手头有额外的Aoson M19 Android平板电脑,但似乎无法找到任何USB设备驱动程序。我认为这是因为它不是一个过于流行的平板电脑。 有谁知道可以找到一些驱动程序的位置吗?也许有人写过自己的? ...

1  OEM USB Drivers Lenovo [已关闭]  ( Oem usb drivers lenovo ) 
关闭。这个问题是 off-topic 。它目前不接受答案。 想要改进这个问题?更新这个问题,所以它是关于android爱好者堆栈交换的主题。 关闭 ...

5  如何在Windows / Ubuntu上获取adb以正确识别Alcatel One Touch 995设备?  ( How can i get adb to properly recognize an alcatel one touch 995 device on windo ) 
问题 我正在尝试将自定义应用程序部署到Alcatel One Touch 995运行Android 2.3.6。我使用Eclipse来编译源代码并将其推到手机上。 Eclipse中的Android设备选择器启动并列出设备,但它无法识别制作者或模型。设备显示为问号为序列号(见屏幕截图)。 我能够将应用程序安装到三...

0  使用WiFi加密狗监控网络  ( Using a wifi dongle to monitor network ) 
我有一个带内置WiFi的Android智能盒,我想向盒子添加一个加密狗,以便我可以监控网络。我找到了类似的问题,有点模糊答案(至少对我); Android作为WiFi桥与AP 我此刻我有3个wifi congles。设备可以检测其中2(使用DMESG从shell运行,也是获取连接的USB设备的VendorID和...

2  如何在OTG上对Android进行以太网工作?  ( How to make ethernet work on android over otg ) 
我正在尝试在OTG电缆上使用连接到Android 7设备的LTE调制解调器。内核识别设备并使用 cdc_ether 注册它,但我无法使用设备的连接。这是因为它随后安装为USB存储? 设备在Android UI /状态栏中显示为设备。 如果我禁用MTP支持,那么设备不会寄存 cdc_ether 。 dmesg : ...

-2  制造商是否为其新的Android Runned设备编写驱动程序?  ( Do manufacturers write the drivers for their new android runned devices ) 
您注意三星Galaxy S4与MetroPCS Z500不同。 制造商根据调整的硬件更新驱动程序。 for,i.e.,不同的支持驱动程序。这个问题并不关心政策,但软件Android在具有不同硬件的不同运行平台上运行。 例如,必须映射额外的硬件,以便访问,因此必须写入新的Linix驱动程序? ...

1  索尼xperia u与我的Windows XP笔记本电脑  ( Sony xperia u with my windows xp laptop ) 
我有Windows XP,每次我连接我的xperia u时,电脑都认为它是一个相机。我认为这是一个司机问题,所以我在索尼网站上找到了司机,但我不确定如何安装它们吗? 我安装了驱动程序,但我的电脑仍然认为这是一台相机。任何帮助? ...

1  尽管安装了LG Universal Mobile Drivers,但仍未检测到LG Nexus 5  ( Lg nexus 5 is not detected despite having installed lg universal mobile drivers ) 
我使用Windows 8,adb似乎无法找到我的LG Nexus 5(D821),尽管已经安装了LG Universal Mobile驱动程序(LgunitedMobileDriver_S498MA22_WHQL_ML_VER_2.2)。 adb reboot bootloader 无法找到设备。 我已在USB调试...

-1  如何将摩托罗拉Xoom 2 ME(MZ607)连接到PC的FastBoot模式?  ( How to connect a motorola xoom 2 me mz607 on fastboot mode to a pc ) 
我正在尝试将FastBoot模式的摩托罗拉Xoom 2 Me(MZ607)连接到我的笔记本电脑运行Windows 10,如下所述: https://goo.gl/ln57px 当系统加载时,Windows识别设备。不过,不在Fastboot上。安装和更新摩托罗拉USB驱动程序和Android SDK。 是正常...




© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有