Hid interface to Pelouse scale
I've got a client who would like to read weigts from a Pelouze USB scale into LabVIEW. The scale comes with a driver that is based on the HID interface. There are several threads on the forums about talking to USB devices using USB RAW through VISA and on talking to HID devices, but I couldn't find any thread that claimed that the HID idea had been done successfully from LabVIEW.
Although it appears that one can disassociate the device from the HID driver and access it through USB RAW, we have decided not to go that route. (There are too many steps required to set up the scale in this manner. It wouldn't be appropriate for the eventual customer.) So calling HID.dll seems to be the only option. However, my reading of the threads seems to indicate that this is pretty complicated. Even if we understood the hid.dll interface, we still don't have any specs on how the scale uses the hid interface.
Has anyone succeeded in talking to a Pelouze scale from LabVIEW? Or any of the other numerous USB scales that use an HID interface?
Thanks,
DaveT
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
There are 10 kinds of people: those who understand binary, and those who don't.
Dave Thomson wrote:
I've got a client who would like to read weigts from a Pelouze USB scale into LabVIEW. The scale comes with a driver that is based on the HID interface. There are several threads on the forums about talking to USB devices using USB RAW through VISA and on talking to HID devices, but I couldn't find any thread that claimed that the HID idea had been done successfully from LabVIEW.
Although it appears that one can disassociate the device from the HID driver and access it through USB RAW, we have decided not to go that route. (There are too many steps required to set up the scale in this manner. It wouldn't be appropriate for the eventual customer.) So calling HID.dll seems to be the only option. However, my reading of the threads seems to indicate that this is pretty complicated. Even if we understood the hid.dll interface, we still don't have any specs on how the scale uses the hid interface.
Has anyone succeeded in talking to a Pelouze scale from LabVIEW? Or any of the other numerous USB scales that use an HID interface?
Thanks,
DaveT
What do you mean when you say the scale comes with a driver that is based on the HID interface. Is that a DLL? Why would you then want to access HID.DLL instead of this specific driver DLL?
HID.DLL is the generic HID Windows API to all HID devices (that are not captured by the Windows kernel for user events, such as the mice and keyboards). So your scale implements a HID USB class and Windows recognizes that and makes it available as such through HID.DLL. However accessing a HID device through HID.DLL is still pretty low level as you simply get a data stream and need to decode and encode the device specific information from and to that stream. Not to speak of the various hoops you have to jump through to localize and open the device through setupAPI.dll and HID.dll, before you can talk to it. Another problem is that the data stream protocol of proprietary HID devices is seldom documented.
So if your scale comes with a DLL driver to access it, go with that driver. Of course you will need some documentation of the API of that driver and then using the Call Library Node to call into it. Going the direct HID path is really not a good solution unless you know the HID data stream protocol of the device AND you have no other way to do it (for instance if you need to interface to your own HID device design).
Rolf Kalbermatter
Message Edited by rolfk on 08-25-2009 08:48 AM
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions
Similar Messages
-
Photoshop interface won't scale back to macbook screen size after screen change (27")
I have a macbook pro and use a larger 27" screen for working in Photoshop for example. So when i close Photoshop whilst using the large screen, it wouldnt scale when I go back to laptop screen mode. So if i forget to resize the window, it will appear as too large on the screen, wich makes it impossible to work! This happend to me once when I had to work on the road, so I wasn't able to reconnect to the larger screen to resize the window so I can actually work. Very frustrating, is there really no solution but just to resize manually?
If your using the Application Frame in photoshop, does clicking on the Green Maximize button fit the the photoshop application to your macbook pro screen?
Upper left corner of the photoshop application window. -
Interfacing with weighment scale
Has anyone done an interface between ORACLE EBS R12 standard form or developed Customized form within OAFramework and integrate it with Weighment Devices ? Any suggestions and guidance would be highly appreciated.
R12.1.2
Linux x86
RDBMS 11.0.1.7
-- GTAPost your VI that you have tried.
-
HID interface misses reports if mouse is connected on the same hub
Hello all,
I have designed a usb based oscilloscope for my device (HID Full Speed). It works fine. But when i connect the mouse to the same hub as the device, my device starts missing reports frequently. I have verified it both through my own software and a third party
software (USBLyzer) which shows that the PC doesn't poll my device every millisecond, which it should.
I have searched thouroughly but didn't find anyone facing the same problem. It would be very nice of you if you could help me identify and correct the problem. I have tested it on different PC also
Thanks
Regards Waqas Ehsan ButtYour hub is probably running out of "juice". If you power the hub via the USB cable connected to your PC then it can draw a maximum of 500 mA which it must distribute between its own electronics, the CRO and the mouse. To solve the problem you must use an
external power supply for the hub (if it has a suitable socket) or purchase a different hub that comes with its own power pack. -
Is there a way to scale the Creative Cloud interface to be more legible on HiDPI displays?
I'm using Creative Cloud on a 4K display, and the interface does not scale up, making the text almost illegible. Is there a way to set Creative Cloud to work better on HiDPI displays?
If you are referring Apps like Photoshop
You may refer below link :
https://helpx.adobe.com/photoshop/kb/photoshop-cs6-hidpi-retina-display.html -
XSI (Express Shipping Interface)
I've heard and read many different things about XSI - the express shipping interface - and I have some questions.
1. Do we need a carrier manifesting system to use XSI with SAP? (For example, if we use carrier UPS, do we need a Worldship system? If we use carrier Fedex, do we need a Fedex server? )
2. XSI is an Interface, it's in the name - what does XSI interface <u><b>with</b></u>?
3. Is Fedex really available through XSI? Fedex doesn't promote XSI like UPS does. Is other middleware required to ship Fedex parcels through XSI? (I've read several different answers on this, on these forums.)
4. How big a role do IDOCs play in XSI ? (Can a tracking number be assigned real-time, or is IDOC-time as fast as it gets? Does any printing happen through IDOCs? Does all printing happen through SAP handling-unit outputs?)
5. What is SAP's future direction on express shipping? (Will XSI be continued or expanded? Will express shipping be handled through xCarrier in the future?)
6. Could someone walk me through the process? 1. create a HU, 2. pack the HU, then what? How does the XSI interface assign the tracking number? How does the label print? When/how is the tracking number updated in the SAP delivery/parcel tracking? When/how are electronic/end-of-day transactions sent to the carrier?
7. Is there any way when using XSI to enable an interface to a scale, to automatically receive the package weight from the device?
8. Printing and barcodes - what are XSI restrictions? Are SSCC-18 barcodes supported? What about RFID ?
Thanks much for your help,
Maureen Farrell (<i>I do have XSI technical documentation.zip</i>)Visited another pharma company and heard these answers -
XSI has no functionality without a parcel application to interface <u>with</u> . XSI doesn't assign tracking numbers or service levels.
Through use of the XSI interface, tracking numbers and package status can be made visible in the SAP delivery.
If you use only one carrier, or an XSI-enabled multi-carrier system, you'll need one XSI interface. More than one carrier, more than one interface.
Next year SAP may possibly introduce xCarrier, but schedule/features/relationship to XSI) are not clear to me.
If anyone has heard differently, I would appreciate hearing about it. -
I have made an LV in 6.0. It has a multi scale graph. it is attached. As you see there are three types of plots on this graph. How do I show only one scale and hide the other two scales? I want to avoid editing everytime I want to use a particular plot or scale.
Attachments:
forum.doc 31 KBI hope I understood you well. There is a property node that changes the scale labels.
Just associate the scale names with the graph type selector, as shown in the picture below
Message Edité par chilly charly le 10-22-2005 03:25 AM
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left...
Attachments:
Example_BD.png 4 KB -
Barcode / Weight from RS232 Cable interface
We are in the process of developing a solution in WDA which is very tightly integrated with standard SAP.
For most of the inputs, my client uses barcode readers attached to the PC and also for some of the operations we are suppose to get the weights from Weigh Scales directly without human intervention except for click of a button.
My queries, will WDA support these features, as it does it in standard Dynpro, Is there any specific coding beside the interface for weigh scale is required.
Regards
Rohit ChowdharyHi Rohit,
as far as i know,but i'm really not sure in this case,there are only WD BarCode Reader API's available for Web Dynpro Java.
http://help.sap.com/saphelp_nw04/helpdata/de/6b/cdf740c42f8566e10000000a1550b0/frameset.htm
These and also the RFID API's are part or the mobile Add on libary and WDA isn't supported fr mobile devices up to now.
But you have a possiblility to use a virtual keystroke(simulating a keyboaurd during the scan) if your barcode vendor shippes a PC software for that. The value is then transfered into the focused WDA Input Field as if it is typed manually. For that have a look into this thread:
https://forums.sdn.sap.com/click.jspa?searchID=2078804&messageID=2963928
Regards
Frank -
How to obtain weight reading from PS311 USB postal scale
Hi,
I just purchased a PS311 USB postal scale According to the minimal documentation that came with it, it says "...Connect the flat plug of the cable to an available USB port. Windows/Mac will automatically recognize the scale and install the appropriate driver for weight display only. It then goes on to say that in order to calculate and print postage, I can set up an account with stamps.com, etc., where software can be downloaded to interface with the scale, so apparently it's possible to access the numeric data from the scale over the USB connection.
At this point, I don't plan to use the scale for postage purposes, but I'd like to be able to sample the current weight text to enter into documents, database fields, etc. I'm a software engineer, so I'm not afraid of coding, but I don't really know where to start. I expected this to work like a barcode scanner, where the values come into the system as if they were typed from a keyboard. Has anyone had any success interfacing with a device like this?
Thanks,
KenHi Templeton,
Thanks for the information. I was kind of afraid of that. Apparently, it doesn't seem to work automatically for Windows, either, as I finally tracked down the manufacturer's website. http://www.elane.net/index.php?go=USB_pcsoftware has a list of Windows DLLs for interfacing with their scales, and based on the the dates listed for their Windows DLL (Revision 1.0 is April 9, 2010, and Revision 1.1 is April 12, 2010), interface software for these scales hasn't been around too long. I'll see if anyone else has a workable solution over the next few days, and after that, I might try posting this in the tech forum.
Thanks again,
Ken -
Hi,
I’m experiencing some troubles with one of your products, the MSI PC2PC Bluetooth USB. I’ve bought a cordless mouse that uses Bluetooth and would like to use it with the USB key. Unfortunately, to work with the mouse the Bluetooth stack has to have the HID interface. I downloaded the latest driver for my Bluetooth key and I don’t have the HID support.
Can you tell me how I can have that HID service?What OS are you using?!?! if you're using Windows XP pro... it should be able to install it automatically especially if its plug into the USB port... just bought a generic USB gamepad (playstation type) and HID service was automatically switched on by XP...
-
Microchip (TM) PICKit 2 USB Driver, HID attachment?
Hunting for resources to program PIC embedded microcontrollers on macs, ran into microchip's way cheap PICKit 2 USB programmer:
http://microchip.com/stellent/idcplg?IdcService=SSGETPAGE&nodeId=1406&dDocName=en023805
They publish the source and Xcode project for an unsupported Mac tool that drives the PICkit 1 usb programmer from userland
http://www.aeria.net/pub/PICkit2dev.zip
however, after building it, changing the usbProduct #define to reflect the new device and tracing the output I'm finding that all writes to the device fail becuase something else claimed the programmer endpoints in exclusive mode usb
usb io trace follows (can provide buckets of debugging on request):
Timestamp Lvl Message
3.822 [1] [0x2e15c00]::start - USB HID Interface #0 of device PICkit 2 Microcontroller Programmer @ 2 (0x19100000)
3.837 [1] IOUSBInterface[0x1a25100]::handleOpen failing because super::handleOpen failed (someone already has it open)
3.837 [1] IOUSBInterface[0x1a25100]::open super::open failed (0x0)
The Questions:
Has someone allready done this? For this device? Which device does it work on?
Why did microchip call a chip programmer a HID device?
Why did the apple HID framework attach the device when it has no HID compliant controls?
Can I get the Apple HID controls to release the programmer or not to attach at all?
(or) I have to write a kext/driver stack to match the vendor/product/model exactly to force the point?
Background:
This project would enable high visibility robotics and educational applications that permit interfacing robotics and telematics with high level programming. (RE: build your own robot to enter a contest or collect your socks). The programmer downloads machine code to little embedded computers (PIC chips) that you can then instruct it to perform neat things that may earn you sex appeal or peer acclaim in the correct circles.
Many Macs Mac OS X (10.4.3)The Questions:
Has someone allready done this? For this device? Which device does it work on?
I don't know.
Why did microchip call a chip programmer a HID device?
It is one of the easiest ways to implement a simple USB device. Whether it has buttons, wheels or indicators on it is irrelevant. It can be something other than a mouse or keyboard.
Why did the apple HID framework attach the device when it has no HID compliant controls?
The device presumably declares itself to be a HID class device. Therefore it gets the HID driver.
Can I get the Apple HID controls to release the programmer or not to attach at all?
(or) I have to write a kext/driver stack to match the vendor/product/model exactly to force the point?
Yes. You need a "codeless kext" to match vid/pid of the device. The basic idea is to make a "driver" with no executable, so the system's kernel HID driver doesn't match against the device. This gives your userland driver a chance.
See lists.apple.com and search the USB development list for more.
hope this helps, Stuart -
I have a mid-2010 polycarbonate/white MacBook (model A1342) running OS X 10.6.8. My machine has been having issues with the internal Bluetooth and keyboard/trackpad randomly ceasing to function.
Bluetooth issue
As of recently (the past month or two), the Bluetooth adapter will completely disappear and eventually reappear on a random basis. It won't appear at all in System Profiler, and the BT menu says "not available". Also, I have had a few kernel panics recently, all of which were apparently thrown by a Bluetooth process/daemon/driver (unfortunately I forgot which one, and also lost the logs from the panics.)
My system has a Broadcom Bluetooth chip that's part of the AirPort card, but is basically just an internal USB device. The adapter has some sort of integrated USB hub ("BRCM2070 Hub"), which the "Bluetooth Module" device itself is connected to.
Nonetheless, this seems to be some sort of problem on the USB bus. Whenever there is a failure, I will almost always see output in Console showing USB errors (ie errors about "enumerating a USB device", "clearing port power", "setting port power", "getting port status", etc). It will either be on any of the ports of the hub at 0x6600000 (the "BRCM2070 Hub" that "Bluetooth Module" is connected to), or port 6 of the hub at 0x6000000 (BRCM2070's port on the internal bus, which the keyboard/trackpad is also connected to on port 3).
I can post more/longer ones, but here's a somewhat short example of the error messages I might receive:
11/18/12 3:18:36 PM kernel USBF: 7351.492 [0xcf9b300] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 6 of Hub at 0x6000000)
11/18/12 3:18:38 PM kernel USBF: 7353.987 AppleUSBHubPort[0xcf9b300]::FatalError - Port 6 of Hub at 0x6000000 reported error 0xe00002c7 while doing clearing port power feature
11/18/12 3:18:38 PM kernel USBF: 7353.987 [0xcf9b300] The IOUSBFamily was not able to enumerate a device.
11/18/12 3:20:20 PM blued[448] Apple Bluetooth daemon started
11/18/12 3:20:20 PM kernel USBF: 7456.186 [0x11fb1300] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 2 of Hub at 0x6600000)
11/18/12 3:20:20 PM kernel USBF: 7456.188 [0x11fb1300] The IOUSBFamily was not able to enumerate a device.
Keyboard/trackpad issue
There's also an issue where the internal keyboard/trackpad will randomly cease functioning (until I restart), often a couple of times a day as of recently. I've had this issue on rare occasion for a while now, but it's gotten more frequent. And more recently, the caps lock light on the keyboard occasionally turns itself on when I'm away.
Both the internal keyboard/trackpad as well as the Bluetooth "hub"/device are connected to the same USB bus/hub. When the keyboard/trackpad die, I've noticed that there will be very similar messages in Console to those above and usually a Bluetooth failure at the same time. (In some cases, it seems to notice that the keyboard/trackpad isn't responding, then attempts to reset/reinitialize it...ie log below.) What could the root cause be...could it be the USB "root" hub/bus causing one or both of these to fail, or possibly a problematic device causing the other to lose connection? I haven't had issues with USB devices on other buses failing, though (ie no problems with external devices.)
Maybe more out of curiosity than anything else, but I've been poking around for info on what might be going on with the USB (aside from the 0x66 hub repeatedly dropping/reconnecting and etc), but can't find much. There seems to be no documentation about the error codes (ie 0xe00002c7) that the hardware/OS are relaying. I even poked through the source for some of the relevant kexts and some reading on OS X driver/kernel programming too...might as well learn more about the inner workings of OS X
Here's an example of some of the messages that I get about the Keyboard/Trackpad:
11/21/12 2:57:22 AM kernel USBF: 1439.228 IOUSBHIDDriver(AppleUSBMultitouchDriver)[0xd1ff000]: Detected an kIONotResponding error but still connected. Resetting port
11/21/12 2:57:22 AM kernel USBF: 1439.234 AppleUSBHubPort[0xd040600]::Resetting device Apple Internal Keyboard / Trackpad: port 3 of Hub at 0x6000000
11/21/12 2:57:22 AM kernel USBF: 1439.319 [0x14452600] USB HID Interface #0 of device CompositeDevice @ 5 (0x6610000)
11/21/12 2:57:22 AM kernel AppleUSBMultitouchDriver::message - kIOUSBMessagePortHasBeenReset.
11/21/12 2:57:23 AM blued[248] Apple Bluetooth daemon started
11/21/12 2:57:23 AM kernel AppleUSBMultitouchDriver::checkStatus - received Status Packet, Payload 2: device was reinitialized
Attempted fixes
Unfortunately, my Macbook isn't under warranty so I'm mostly on my own. First I zapped PRAM, reset SMC, ensured OS updates are installed (still on 10.6.8), and threw out a few drivers/software that were possible troublemakers. Next, I tried running another OS/install to rule out software issues. Accordingly, I found that the BT adapter sometimes disappears on Windows 7 as well (just did a clean install). And finally, I bought a new AirPort/BT card and installed it the other day. That seemed better at first, but I still have the problem of intermittent Bluetooth and keyboard/trackpad.
Problems/solutions?
What might the issue be, or is there anything that may be worth trying? As I mentioned, I've reset PRAM and SMC, made sure it's not an OS/driver issue (it happens on Win7 too), and replaced the Airport card. The machine does have aftermarket RAM (from OWC, ~2 years old) and SSD (Crucial M4, installed September)...but it seems unlikely that either of these would cause the problem. There haven't been any accidents that would have caused physical or (to my knowledge) electrical damage to it.
I also searched for any occurrences of similar problems, but could not find any that were applicable to the Macbook revision in question. There was a similar keyboard/trackpad issue on older Macbook Pros that was caused by stress on a ribbon cable...but that seems unlikely given the concurrent issues with Bluetooth as well as the different design.
The only thing I can think of next is to possibly replace the cable connecting the Airport card to the logic board, and possibly look at replacing the keyboard/trackpad (topcase). Anyway, I'm worried that it might be a hardware issue with the internal USB controller/hub, which would probably mean that it's unfixable unless I replace the logic board.
Any advice as to which of these might be a potential solution or cause of the problem? Or might I just as well sell it off in its current condition and replace it?
Thanks all!Has anyone find a fix for this? I've been using my Dragon Dictate headset on my MacBook Pro for about a year, and then today, when I plugged it in, I got this:
4/16/14 10:01:04.000 AM kernel[0]: USBF: 47.766 The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 1 of Hub at 0x4000000)
4/16/14 10:01:07.000 AM kernel[0]: USBF: 50.269 AppleUSBHubPort::FatalError - Port 1 of Hub at 0x4000000 reported error 0xe00002c7 while doing clearing port power feature
4/16/14 10:01:07.000 AM kernel[0]: USBF: 50.269 The IOUSBFamily was not able to enumerate a device.
Here is what I have tried so far:
Reset the PRAM
Reset SMC
Verify disk (there were no problems)
Repair permissions
Boot with an external USB hard drive (which works fine on the "problem" computer) that contained an old SuperDuper clone of my hard drive from several months ago. I received the same "The IOUSBFamily was not able to enumerate a device" error when I plug in the headset.
Tried to headset on another computer, and it worked fine.
Plug in an external USB keyboard into the problem computer, and it works fine.
All of this would lead me to conclude that it is a hardware problem. But it seems that if it were a hardware problem, the external USB keyboard and external USB hard drive would not work (which they do). If the problem were with the headset, it wouldn't work on another computer, but it does. So I'm wondering if it's some sort of firmware issue…??????? URG!!!!!! -
USB doesn't recognized by System Profiler
Hello,
I'm a MacOSX newbie and I'm trying to discover an error.
I've got a problem with USB Controller device(i think the problem is in EFI partition) because when I insert different USB flash disks, no one appears in System Profiler. I'm using MacOSX 10.5.8, and a Macbook Air (adquired at August, 2009-MacBookAir2,1).
I'm gonna put some info:
System profiler don't recognizes anything:
Bus USB de alta velocidad:(High speed USB)
Ubicación del controlador de servidor: USB incorporado(USB incorporated)
Driver del controlador de servidor: AppleUSBEHCI
ID del dispositivo PCI: 0x0aa9
ID de la revisión de PCI: 0x00b1
ID del fabricante de PCI: 0x10de
Número de bus: 0x26
I have other three USB Bus (iSigth, Apple Internal Keyboard/Trackpad-IR, Bluetooth)
Obviously, when I do diskutil list, it didn't appear.
DMESG Before plug some USB Device:
DeVir-2:~ devir$ sudo dmesg | grep USB
USBF: 0.533 AppleUSBHub[0x4450e00]::ConfigureHubDriver - USB Generic Hub @ 1 (0x4000000)
USBF: 0.599 EHCI Root Hub Simulation[0x43c9b00]::InitializeExtraPower - we have a kAppleCurrentAvailable with 500, but maxPortCurrent is 1500, setting it to that
USBF: 0.600 AppleUSBHub[0x4450800]::ConfigureHubDriver - USB Generic Hub @ 1 (0x24000000)
USBF: 0.613 AppleUSBHub[0x4450200]::ConfigureHubDriver - USB Generic Hub @ 1 (0x26000000)
USBF: 2.368 [0x4492400] USB HID Interface #0 of device Apple Internal Keyboard / Trackpad @ 3 (0x4600000)
USBF: 3.191 [0x4572000] USB HID Interface #1 of device Apple Internal Keyboard / Trackpad @ 3 (0x4600000)
USBF: 3.234 [0x45fae00] USB HID Interface #2 of device Apple Internal Keyboard / Trackpad @ 3 (0x4600000)
USBF: 5.574 AppleUSBHub[0x4677e00]::ConfigureHubDriver - USB Generic Hub @ 1 (0x6000000)
USBF: 5.843 AppleUSBHub[0x4677600]::ConfigureHubDriver - USB Generic Hub @ 2 (0x6100000)
USBF: 15.729 [0x4c3be00] USB HID Interface #0 of device IR Receiver @ 2 (0x4500000)
DMESG after plug it: EQUAL
USB Prober (before input device log)
10.739 [3] IOUSBHIDDriver(AppleUSBMultitouchDriver)[0x4572000]::InterruptReadHandler error kIOReturnAborted. Try again.
10.745 [3] AppleUSBHub[0x4450e00]::message(0xe0004002)(kIOUSBMessageHubSuspendPort) - isInactive(false) _myPowerState(4) _powerStateChangingTo(-1)
10.745 [3] AppleUSBHub[0x4450e00]::ChangeRaisedPowerState(+) now (1)
10.745 [2] AppleUSBHub[0x4450e00]::TakeDoPortActionLock - calling through to ChangeDoPortActionLock
10.745 [2] AppleUSBHub[0x4450e00]::ChangeDoPortActionLock - setting _doPortActionLock to true
10.745 [2] AppleUSBHub[0x4450e00]::ReleaseDoPortActionLock - calling through to ChangeDoPortActionLock
10.745 [2] AppleUSBHub[0x4450e00]::ChangeDoPortActionLock - setting _doPortActionLock to false and calling commandWakeup
10.745 [3] AppleUSBHub[0x4450e00]::ChangeRaisedPowerState(-) now (0)
10.745 [3] IOUSBHIDDriver(AppleUSBTCKeyboard)[0x4492400]: received kIOUSBMessagePortHasBeenSuspended
10.745 [3] IOUSBHIDDriver(AppleUSBMultitouchDriver)[0x4572000]: received kIOUSBMessagePortHasBeenSuspended
10.745 [3] IOUSBHIDDriver(AppleUSBTCButtons)[0x45fae00]: received kIOUSBMessagePortHasBeenSuspended
USB Prober (after output device log)
24.229 [3] AppleUSBOHCI[0x43d5800]::PollInterrupts - ResumeDetected Interrupt on bus 4 - ensuring usability
24.230 [2] AppleUSBOHCI[0x43d5800]::ResumeUSBBus - Delaying 20 milliseconds in resume state
24.250 [2] AppleUSBOHCI[0x43d5800]::ResumeUSBBus - Changing bus to operational
24.285 [3] AppleUSBHub[0x4450e00]::ChangeRaisedPowerState(+) now (1)
24.296 [3] IOUSBHIDDriver(AppleUSBTCKeyboard)[0x4492400]: received message kIOUSBMessagePortHasBeenResumed (0xe000400b), rearming interrupt read
24.296 [3] IOUSBHIDDriver(AppleUSBMultitouchDriver)[0x4572000]: received message kIOUSBMessagePortHasBeenResumed (0xe000400b), rearming interrupt read
24.296 [3] IOUSBHIDDriver(AppleUSBTCButtons)[0x45fae00]: received message kIOUSBMessagePortHasBeenResumed (0xe000400b), rearming interrupt read
24.296 [3] AppleUSBHub[0x4450e00]::ChangeRaisedPowerState(-) now (0)
24.296 [3] AppleUSBHub[0x4450e00]::DecrementOutstandingIO(260), outstandingIO(0), _interruptReadPending(false) - rearming read
24.296 [3] AppleUSBOHCI[0x43d5800]::UIMCreateInterruptTransfer - root hub interrupt transfer - clearing unneeded memDesc (0x444f600) from dmaCommand (0x440c100)
24.296 [2] IOUSBHIDDriver(AppleUSBMultitouchDriver)[0x4572000]::RearmInterruptRead - already had outstanding read pending - just ignoring
24.296 [2] IOUSBHIDDriver(AppleUSBMultitouchDriver)[0x4572000]::RearmInterruptRead - already had outstanding read pending - just ignoring
24.296 [2] IOUSBHIDDriver(AppleUSBTCKeyboard)[0x4492400]::RearmInterruptRead - already had outstanding read pending - just ignoring
24.296 [2] IOUSBHIDDriver(AppleUSBTCButtons)[0x45fae00]::RearmInterruptRead - already had outstanding read pending - just ignoring
This kind of line occurs when I press some key too, reason why I think isn't very important. Althougth, I put everything I see related.
([0x45fae00]::RearmInterruptRead - already had outstanding read pending - just ignoring)
With TestDisk over EFI partition:
check_FAT: Unusual media descriptor (0xf0!=0xf8)
Warning: Incorrect number of heads/cylinder 16 (FAT) != 1 (HD)
Warning: Incorrect number of sectors per track 32 (FAT) != 1 (HD)
EFI System 40 409639 409600 [EFI]
check_FAT: Unusual media descriptor (0xf0!=0xf8)
Warning: Incorrect number of heads/cylinder 16 (FAT) != 1 (HD)
Warning: Incorrect number of sectors per track 32 (FAT) != 1 (HD)
EFI System 46 409645 409600 [EFI]
Before the problem, I did some things:
- I installed rEFTit
- I investigate how to boot from HD a Ubuntu LiveCD. I successfully boot from one partition created with Disk Utility but ubiquity has a bug error and can't umount /cdrom when it is going to change the partition table. I don't think Linux changed my partition table at all, neither GPT either EFI partition. But I don't know how to probe it.
- I had done a boot from pendrive with a really extrage crash that advertises Macintosh doesn't well prepared for USB flash booting from rEFIt.
- Something I found that I think isn't normal is a second option that appears with rEFIt when I only have a HFS+ partition and an EFI partition. Seems like the GPT/EFI partition didn't well update when I changed my partitions (and no USB HD device was input).
Notes:
- My USB device/controller/software was fine until (I think) booted from a FAT partition with an Ubuntu ISO image and I tried to install it(hipotesis).
- Once I had an extrange problem when I disconnected an USB HD and I couldn't mount any more until I halted the system.
- I tried with the IOUSBFamily kext for 10.5.8(349.4.3), but nothing changes.
- I tried reinstall rEFIT.
- I tried updating Partition table.
- I can't backup my data with no USB, I don't wanna format (if possible) my HD and I want to discover the problem.
- My USB HDs function in other PCs.
- Map Partition Scheme: GUID Partition table.
- My knowledge on this subject are scarce
I think the problem is EFI partition but I want to confirm previously before trying to recover this partition.
Thanks for the patience,
Alejandro.
(Sorry about my english, if you don't understand anything, please tell me)I am having exactly the same problem. I have a LaCie 750GB HD that I've been using to store files too large for my internal HD and suddenly it won't mount to my computer (when it plug it it I get a message that says "The disk you inserted was not readable by this computer." And when I tried to fix it using disk utility it said my only option was to backup my HD and reformat, but I can't access the files on the HD to back them up and I would rather not lose everything. Any ideas?
-
Multiple Vulnerabilities in Apple Mac OS X
Every few months, somebody (with a PC) emails me one of notices.
I assume Apple does their security updates othen enough to take care of this. Or am I wrong?
Who makes these notices?
What should I do when I get one of these notices?
Here's THe whole EMAIL:
Multiple Vulnerabilities in Apple Mac OS X
Multiple Vulnerabilities in Apple Mac OS X. The full text of the document is
provided below.
Joint Task Force - Global Network Operations
U N C L A S S I F I E D
Joint Task Force - Global Network Operations (JTF-GNO) Information Assurance
Vulnerability Technical Advisory
Title: Multiple Vulnerabilities in Apple Mac OS X
References:
Security Focus
http://www.securityfocus.com/bid/22948
STIG Finding Severity: Category I
CVE:
CVE-2005-2959
CVE-2006-0225
CVE-2006-0300
CVE-2006-1516
CVE-2006-1517
CVE-2006-2753
CVE-2006-3081
CVE-2006-3469
CVE-2006-4031
CVE-2006-4226
CVE-2006-4829
CVE-2006-4924
CVE-2006-5051
CVE-2006-5052
CVE-2006-5330
CVE-2006-5679
CVE-2006-5836
CVE-2006-6061
CVE-2006-6062
CVE-2006-6097
CVE-2006-6129
CVE-2006-6130
CVE-2006-6173
CVE-2007-0229
CVE-2007-0236
CVE-2007-0267
CVE-2007-0299
CVE-2007-0318
CVE-2007-0463
CVE-2007-0467
CVE-2007-0588
CVE-2007-0719
CVE-2007-0720
CVE-2007-0721
CVE-2007-0722
CVE-2007-0723
CVE-2007-0724
CVE-2007-0728
CVE-2007-0726
CVE-2007-0730
CVE-2007-0731
CVE-2007-0733
CVE-2007-1071
Executive Summary:
There are multiple vulnerabilities affecting Apple Mac Operating System
(OS) X and various Apple applications running on Mac OS X. Mac OS X is a
proprietary operating system developed and sold by Apple Computer, Inc.,
that is included with all currently shipped Apple Macintosh computers.
Mac OS X Server is architecturally identical to its desktop counterpart and
usually runs on Apple's line of Macintosh server hardware. It includes
workgroup management and administration software tools that provide
simplified access to key network services, including a mail server, a
directory server, and a domain name server. Apple Mac OS X is Apple's latest
OS software architecture. These vulnerabilities exist due to unchecked
buffers, error conditions, and incorrect security settings in the software.
Successful exploitation of these vulnerabilities may allow a remote attacker
to execute arbitrary code, access or modify arbitrary data, escalation of
privileges or cause denial of service conditions.
Technical Overview:
There are thirty vulnerabilities affecting Apple Mac Operating System OS X
and various Apple applications running on Mac OS X addressed in this latest
release. An attacker could exploit these vulnerabilities by enticing a user
to use a maliciously crafted website, image, program, or code; or by making
use of known implementation flaws. Results of an attacker exploiting any of
these vulnerabilities include the execution of arbitrary code, triggering a
Denial of Service (DoS), or elevation of user privileges.
The following specific vulnerabilities affecting Apple Mac OS X:
ColorSync Profile Vulnerability - CVE-2007-0719 A stack buffer overflow
exists in the handling of embedded ColorSync profiles. By enticing a user to
open a maliciously-crafted image, an attacker can trigger the overflow,
which may lead to an unexpected application termination or arbitrary code
execution. This update performs additional validation of ColorSync profiles.
Crash Reporter Vulnerability - CVE-2007-0467 Crash Reporter uses an
admin-writable system directory to store logs of processes that have been
unexpectedly terminated. A malicious process running as an admin can cause
these logs to be written to arbitrary files as root, which could result in
the execution of commands with elevated privileges. This update performs
additional validation prior to writing to log files.
CUPS Vulnerability - CVE-2007-0720
A partially-negotiated SSL connection with the CUPS service may prevent
other requests from being served until the connection is closed. Remote
attackers may cause a denial of service during SSL negotiation This update
implements timeouts during SSL negotiation.
Disk Images-Helper Vulnerability - CVE-2007-0721 A memory corruption
vulnerability exists in diskimages-helper. By enticing a user to open a
maliciously-crafted compressed disk image, an attacker could trigger this
issue which may lead to an unexpected application termination or arbitrary
code execution. Mounting a maliciously-crafted disk image may lead to an
unexpected application termination or arbitrary code execution. This update
performs additional validation of disk images.
AppleSingleEnding Disk Images Vulnerability - CVE-2007-0722 An integer
overflow vulnerability exists in the handler for AppleSingleEncoding disk
images. By enticing a local user to open a maliciously-crafted disk image,
an attacker could trigger the overflow which may lead to an unexpected
application termination or arbitrary code execution. Mounting a
maliciously-crafted AppleSingleEncoding disk image may lead to an unexpected
application termination or arbitrary code execution. This update performs
additional validation of AppleSingleEncoding disk images.
Multiple Malicious Disk Image Vulnerabilities - CVE-2006-6061,
CVE-2006-6062, CVE-2006-5679, CVE-2007-0229, CVE-2007-0267,
CVE-2007-0299
Several vulnerabilities exist in the processing of maliciously-crafted disk
images that may lead to an unexpected termination of system operations or
arbitrary code execution. Since a disk image may be automatically mounted
when visiting web sites, this allows a malicious web site to cause a denial
of service. This update performs additional validation of downloaded disk
images prior to mounting them.
Directory Service (DS) Plug-In Vulnerability - CVE-2007-0723 An
implementation flaw in DirectoryService allows an unprivileged LDAP user to
change the local root password. The authentication mechanism in
DirectoryService has been fixed in this release.
Flash Player Vulnerability - CVE-2006-5330 Adobe Flash Player is updated to
version 9.0.28.0 to fix a potential vulnerability that could allow HTTP
request splitting attacks. This is accomplished by playing a
maliciously-crafted Flash content on a vulnerable system. This issue is
described as APSB06-18 on the Adobe web site at
http://www.adobe.com/support/security/
Multiple GNU Tar Vulnerabilities - CVE-2006-0300, CVE-2006-6097 One GNU TAR
vulnerability involves a buffer overflow, which allows user-assisted
attackers to cause a denial of service (application crash) and possibly
execute arbitrary code via unspecified vectors involving PAX extended
headers. The second GNU TAR vulnerability allows user-assisted attackers to
overwrite arbitrary files via a tar file that contains a GNUTYPE_NAMES
record with a symbolic link. This record is not properly handled by the
extract_archive function in extract.c and
extract_mangle function in mangle.c.
HFS+ Filesystem Vulnerability - CVE-2007-0318
An HFS+ filesystem in a mounted disk image can be constructed to trigger a
kernel panic (denial of service) when attempting to remove a file from a
mounted filesystem. This update performs additional validation of the
HFS+ filesystem.
IOKit HID Vulnerability - CVE-2007-0724 Insufficient controls in the IOKit
HID interface allow any logged in user to capture console keystrokes,
including passwords and other sensitive information of other users on a
local system. This update limits HID device events to processes belonging to
the current console user.
ImageIO GIF Vulnerability - CVE-2007-1071 An integer overflow vulnerability
exists in the process of handling GIF files. By enticing a user to open a
maliciously-crafted image, an attacker can trigger the overflow which may
lead to an unexpected application termination or arbitrary code execution.
This issue does not affect systems prior to Mac OS X v10.4.
ImageIO Raw Images Vulnerability - CVE-2007-0733 A memory corruption issue
exists in the process of handling RAW images.
By enticing a user to open a maliciously-crafted RAW image, an attacker can
trigger the issue which may lead to an unexpected application termination or
arbitrary code execution. This update performs additional validation of RAW
images. This issue does not affect systems prior to Mac OS X v10.4.
Kernel Vulnerability via fpathconf() System Call - CVE-2006-5836 Malicious
local users may be able to cause a denial of service by using the
fpathconf() system call on certain file types. The result of this action
would be a kernel panic (denial of service). This update improves the
handling for all kernel defined file types.
Kernel Vulnerability via Universal Mach-O Binaries - CVE-2006-6129 An
integer overflow vulnerability exists in the loading of maliciously-crafted
Universal Mach-O binaries. This could allow a malicious local user to cause
a kernel panic, an arbitrary code execution, or the elevation of system
privileges. This update performs additional validation of Universal
binaries.
Kernel Vulnerability via sharedregion_make_privatenp() System Call -
CVE-2006-6173
The sharedregion_make_privatenp() system call allows a maliciously-crafted
program to request a large allocation of kernel memory. This could allow a
malicious local user to cause a system hang.
This issue does not allow an integer overflow to occur, and it cannot lead
to arbitrary code execution. This update incorporates additional validation
of the arguments passed to sharedregion_make_privatenp().
Multiple MySQL Server Vulnerabilities - CVE-2006-1516, CVE-2006-1517,
CVE-2006-2753, CVE-2006-3081, CVE-2006-4031, CVE-2006-4226,
CVE-2006-3469
Multiple vulnerabilities exist in MySQL which could be exploited by
attackers making use of known system flaws via specially crafted codes.
In addition to being able to execute arbitrary code, the attacker could also
exploit these vulnerabilities causing a denial of service or buffer
over-read; obtaining sensitive information; and creating/accessing a
database.
Networking Vulnerability via AppleTalk Protocol Handler - CVE-2006-6130 A
memory corruption issue exists in the AppleTalk protocol handler. This could
allow a malicious local user to cause a kernel panic, or gain system
privileges to execute arbitrary code. This update performs additional
validation of the input data structures.
Networking Vulnerability via AppleTalk Requests - CVE-2007-0236 A heap
buffer overflow vulnerability exists in the AppleTalk protocol handler. By
sending a maliciously-crafted request, a local user can trigger the overflow
which may lead to a denial of service or arbitrary code execution. This
update performs additional validation of the input data.
OpenSSH Keys Vulnerability - CVE-2007-0726 A remote attacker can destroy
established trust between SSH hosts by causing SSH Keys to be regenerated.
SSH keys are created on a server when the first SSH connection is
established. An attacker connecting to the server before SSH has finished
creating the keys could force the keys then to be recreated. This could
result in a denial of service against processes that rely on a trust
relationship with the server.
Systems that already have SSH enabled and have rebooted at least once are
not vulnerable to this issue. This issue is addressed by improving the SSH
key generation process. This issue is specific to the Apple implementation
of OpenSSH.
Multiple OpenSSH Vulnerabilities - CVE-2006-0225, CVE-2006-4924,
CVE-2006-5051, CVE-2006-5052 Multiple vulnerabilities exist in OpenSSH, to
include compilation and faulty authentication errors. An attacker could use
these vulnerabilities in specially crafted codes/commands to cause the
execution of arbitrary code, or a denial of service.
USB Printing Vulnerability - CVE-2007-0728 Insecure file operations may
occur during the initialization of a USB printer. An unprivileged attacker
with system privileges may leverage this issue to create or overwrite
arbitrary files on the system. This update improves the printer
initialization process.
QuickDraw PICT Image Processing Vulnerability - CVE-2007-0588 A heap buffer
overflow vulnerability exists in QuickDraw's PICT image processing. By
enticing a user to open a maliciously-crafted PICT image, an attacker can
trigger the overflow which may lead to an unexpected application termination
or arbitrary code execution. This update performs additional validation of
PICT files.
servermgrd Authentication Credentials Vulnerability - CVE-2007-0730 An issue
in Server Manager's validation of authentication credentials could allow a
remote attacker without valid credentials to alter the system configuration.
This update addresses the issue by additional validation of authentication
credentials.
SMB File Server Vulnerability - CVE-2007-0731 A stack-based buffer overflow
in the Apple-specific Samba module (SMB File Server) allows a user with
write access to an SMB share to execute arbitrary code via a long ACLA file
with an overly-long ACL. This could lead to a denial of service or arbitrary
code execution. This update performs additional validation of ACLs. This
issue does not affect systems prior to Mac OS X v10.4.
Software Update Application Vulnerability - CVE-2007-0463 A format string
vulnerability exists in the Software Update application.
By enticing a user to download and open a maliciously-crafted Software
Update Catalog file, an attacker can trigger the vulnerability which may
lead to an unexpected application termination or arbitrary code execution.
This update removes document bindings for Software Update Catalogs. This
issue does not affect systems prior to Mac OS X v10.4.
sudo Configuration Vulnerability - CVE-2005-2959 A user-modified sudo
configuration could allow environment variables to be passed through to the
program running as a privileged user. If sudo is configured to allow an
otherwise unprivileged user to execute a given bash script with elevated
privileges, the user may be able to execute arbitrary code with elevated
privileges. Systems with the default sudo configuration are not vulnerable
to this issue. This issue has been addressed by updating sudo to 1.6.8p12.
Further information is available via the sudo web site at
http://www.sudo.ws/sudo/current.html
Blojsom WebLog Vulnerability - CVE-2006-4829 A cross-site scripting
vulnerability exists in Blojsom. This allows remote attackers to inject
JavaScript into blog content that will execute in the domain of the Blojsom
server. This update performs additional validation of the user input. This
issue does not affect systems prior to Mac OS X v10.4.
Vulnerable Applications/Systems and Countermeasures:
Vulnerable applications/systems with fixes available:
Compliance is RECOMMENDED. Although this notice is a Technical Advisory,
Systems Administrators should strongly consider implementing these updates.
Apple Mac OS X 10.3.9
Apple Mac OS X 10.4.0
Apple Mac OS X 10.4.1
Apple Mac OS X 10.4.2
Apple Mac OS X 10.4.3
Apple Mac OS X 10.4.4
Apple Mac OS X 10.4.5
Apple Mac OS X 10.4.6
Apple Mac OS X 10.4.7
Apple Mac OS X 10.4.8
Apple Mac OS X Server 10.3.9
Apple Mac OS X Server 10.4.0
Apple Mac OS X Server 10.4.1
Apple Mac OS X Server 10.4.2
Apple Mac OS X Server 10.4.3
Apple Mac OS X Server 10.4.4
Apple Mac OS X Server 10.4.5
Apple Mac OS X Server 10.4.6
Apple Mac OS X Server 10.4.7
Apple Mac OS X Server 10.4.8
Temporary Mitigation Strategies
None
Vulnerable applications/systems with no patches available, vendor temporary
recommended mitigations available:
Permanent fixes are not available. Temporary mitigations have been provided
to protect vulnerable systems until permanent patches are available.
Administrators should consider using the temporary mitigations provided or
develop local strategies to protect vulnerable systems from attack.
None
Vulnerable applications/systems with no patch or temporary recommended
mitigations:
There are no patches or temporary mitigations available. Administrators
should consider developing strategies to protect vulnerable systems based on
local mission requirements and operational impact. As patches or workarounds
become available the status will be upgraded to "Fix available" or
"Mitigation Available".
None
Unsupported Software:
Mac OS X versions prior to 10.3.9Who's sending you these emails and why? It sounds like a Windows apologist with an inferiority complex trying to make OS X look bad. The facts are that there are no viruses or malware in the wild at this time actively compromising OS X users. Discovered flaws and vulnerabilities do not immediately translate into active malware on OS X like they do on Windows. Apple releases security updates on a regular basis. The recent OS X 10.4.9 update, for example, provided fixes for some 45 known security issues. OS X is by no means a perfect piece of code but you are infinitely safer on the internet using OS X than you are using any version of Windows, including the new Vista.
As to who makes these notices there are security researchers and companies whose job it is to find and report security flaws in any operating system or application they choose to inspect. They provide a valuable service to companies like Apple and Microsoft in helping them close holes in their software.
CVE stands for "Common Vulnerabilities and Exposures" and is a standardized way of cataloging security issues. CVE is supported by CERT (Computer Emergency Response Team) which in turn is supported by the Federal Government and the Department of Homeland Security.
Here is the web site link...
http://cve.mitre.org/about/
The best response when you get one of these emails is to do nothing. Instead, keep your system current and up-to-date with all security updates and OS X updates released by Apple. And above all, don't worry.
Dual 2.5GHz G5 Power Macintosh Mac OS X (10.4.9) -
How do you make a time stamp update?
Hi, thanks in advance...
I am programming an interface to a scale... it retrieves a weight, time stamps it, enters a comment, then sends this string to a spreadsheet.
My problem: the time stamp never updates unless I right click it > select "data operations" > select "set time to now". Then it's stuck there and never updates while the program is running. It just keeps on stamping 8:15 (or whatever time it is updated to) all day long.
Am I using the wrong VI here or is there something else I have to select to get it to work?
Thanks a million...
Adam Stagnaro
Abaxis IncTry using the 'Get Date/Time String' or 'Get Date/Time Seconds' vi to obtain your timestamp. Which one you use depends on how you wish to format your timestamp. Im not sure which vi you are currently using, but it looks to me like you are either using a timestamp constant (which wont update in your loop) or control (which you need to manually update from the front panel).
Hope this helps.
Maybe you are looking for
-
Disable on screen keyboard?
If it were up to the user then there is a way to turn it off. I found this discussion because even with a physical keyboard attached (type keyboard) that dang thing pops up all the time when browsing web pages. Extremely annoying and no it doesnt go
-
How do I use my 2011 27" iMac as an external display for a pc?
I just bought a 27" imac for my home, and was also planning on using it as an external display for my work Dell Laptop running Windows 7. The Dell laptop has a displayport output, so I was planning on getting a displayport <-> minidisplayport cable,
-
Possible fonctionalities with SAP MM
Hello Could you confirm that with SAP MM I can deal with automatic creation of purchase orders from a flat file (with Idocs or BAPI solutions) and that the creation of the purchase order can generate an EDI message to send the order to the supplier ?
-
I am trying to convert a Word Document to PDF. This document has 2 pages, and there is a table on each page. When I convert them to PDF, the table on page two shows up at the bottom of page 1. That row at the very bottom is the top of the table tha
-
How to transmit V/A signal over internet?
I have transmit the signal over network successfully,but how to transport them over internet? I use AVTransmit2.java or VideoTransmit.java can transport the V/A signal over network,but the sample need to fill in the parameter. I hope transmitting V/A