probe

Linux USB driver probe not called if device already plugged

If I use a modified usb skeleton driver on Linux and I insmod the module with the USB device already plugged in, the probe function doesn't get called. I need to unplug and replug the device in order for the driver to be activated. This is not the case for e.g. the serial drivers, I made some tests. Is there a reason for this? How do I g...

how to Compute the average probe length for success and failure - Linear probe (Hash Tables)

hi everyone, I'm doing an assignment for my Data Structures class. we were asked to to study linear probing with load factors of .1, .2 , .3, ...., and .9. The formula for testing is: The average probe length using linear probing is roughly Success--> ( 1 + 1/(1-L)**2)/2 or Failure--> (1+1(1-L))/2. we are required to find the theo...

Labjack Humidity Probe Example

I realize this might be a long shot, but does anyone have an example of using the EI-1050 probe with a Labjack controller in something C-related? I'm currently using a Labjack U12 if it matters. It installed 2 examples, ljsht and ljsht-multi, that seem to be doing something related to it, but I can't find the source code. Thank you for...

linux usb driver: probing already plugged devices

hello, im writing a Usb driver and i have an issue. when i insmod the driver with the device already plugged in before, the probe function is not called. it is only called after i disconnect the device and plug it again. i wanna make it work when i start my pc with the device plugged in. could someone please help me? best regards, jacob....

Which (OS X) dtrace probe fires when a page is faulted in from disk?

I'm writing up a document about page faulting and am trying to get some concrete numbers to work with, so I wrote up a simple program that reads 12*1024*1024 bytes of data. Easy: int main() { FILE*in = fopen("data.bin", "rb"); int i; int total=0; for(i=0; i<1024*1024*12; i++) total += fgetc(in); printf("%d\n", total); } ...

usb probe function not called

Hello, I am writing a driver for a gamepad for linux. I have a ps3 controller (wired), a 360 controller (wired) and a Logitech precision (wired). I found the vendor id and product id for each, and I load one at a time. the 360 controller is the only one that calls the probe function. I have the exact same code, just different ids, and o...

Network probing on IPv6

I am familiar using IPv4 broadcast of UDP packets as a technique for probing the network looking for servers running a given service. I.E. the broadcast packet is sent out on a given port and the listening servers can reply to this packet and the reply will allow the client to know the ip addresses of the available servers. I am wonder...