Saturday, August 9, 2008
An introduction to USB
The USB protocol is strictly hierarchical. In any USB system there is only a single host, and the USB interface to the host computer is referred to as the host controller. There are two standards for host controllers -- the Open Host Controller Interface (OHCI, by Compaq) and the Universal Host Controller Interface (UHCI, by Intel). Both standards provide the same capabilities and work with all USB devices; the hardware implementation of a UHCI is simpler, but requires a more complex device driver (and thus puts more load onto the CPU).
The USB physical interconnect is a tiered star topology, with up to seven tiers. A hub is at the center of each star, and the USB host is considered the root hub. Each wired segment is a point-to-point connection between a hub and USB device; the latter can be either another hub that provides additional attachment points to the system, or a device of some sort that provides functional capabilities. The host uses a master/subordinate protocol to communicate with the USB devices. This approach solves the problem of packet collision but also prevents the attached devices from establishing direct communication with each other.
All the data transfers are initiated by the host controller. Data directed from the host to a device is called downstream or out transfer; data directed from a device to the host is called upstream or in transfer. Data transfer occurs between the host and a particular endpoint on the USB device, and the data link between the host and the endpoint is called a pipe. A given USB device may have many endpoints, and the number of data pipes between the host and the device is the same as the number of endpoints on the device. A pipe may be uni-directional or bi-directional, and the data flow in one pipe is independent of the data flow in any other pipes.
Communication on the USB network can use any one of four different data transfer types:
* Control transfers: These are short data packets for device control and configuration, particularly at attach time.
* Bulk transfers: These are data packets in relatively large quantities. Devices like scanners or SCSI adapters use this transfer type.
* Interrupt transfers: These are data packets that are polled periodically. The host controller will automatically post an interrupt at a specified interval.
* Isochronous transfers: These are data streams in real time with higher requirements for bandwidth than for reliability. Audio and video devices generally use this transfer type.
Like a serial port, each USB port on a computer is assigned a unique identification number (port ID) by the USB controller. When a USB device is attached to a USB port, this unique port ID is assigned to the device and the device descriptor is read by the USB controller The device descriptor includes information that applies globally to the device, as well as information on the configuration of the device. A configuration defines the functionality and I/O behavior of a USB device. A USB device may have one or more configurations, which are described by their corresponding configuration descriptors. Each configuration has one or more interfaces, which can be considered as a physical communication channel; each interface has zero or more endpoints, which can be either data providers or data consumers, or both. Interfaces are described by interface descriptors, and endpoints are described by end-point descriptors. Furthermore, a USB device might also have string descriptors to provide additional information such as vendor name, device name, or serial numbers.
Post Source
http://www.ibm.com/developerworks/linux/library/j-usb.html
Tuesday, August 5, 2008
Saturday, August 2, 2008
A new search engine - CUIL
For more information read cuil
Public Universities of Bangladesh
It is very much unfortunate that many propaganda have been made against public universities. I think this is also a part of business of private universities. Public universities have also many problems. But the concern authority don't find time to solve the problems.
List of public universities of Bangladesh
List of private universities of Bangladesh
Thursday, July 31, 2008
Movie Title in Bangla
Wednesday, July 30, 2008
My Favorite Two ScreenSaver
Here I want to give two of my favorite screen saver. One is from cricinfo about Bangladesh cricket team and another one is from new7wonders about 7wonders.
Click the image to download.
Tuesday, July 29, 2008
International Mobile Equipment Identity(IMEI Number)
The International Mobile Equipment Identity or IMEI is a number unique to every GSM and UMTS mobile phone as well as some satellite phones. It is usually found printed on the phone underneath the battery.
The IMEI number is used by the GSM network to identify valid devices and therefore can be used to stop a stolen phone from accessing the network. For example, if a mobile phone is stolen, the owner can call his or her network provider and instruct them to "ban" the phone using its IMEI number. This renders the phone useless, regardless of whether the phone's SIM is changed.
The International Mobile Equipment Identity - a unique 15-digit code used to identify an individual GSM mobile telephone to a mobile network. It can be displayed on most phones by dialling *#06#. It is also usually printed on the compliance plate under the battery.
Prior to April 1st 2004 the numerical format of the code was:
111111-22-333333-4
| TAC | FAC | SNR | CD | |||||||||||
| D14 | D13 | D12 | D11 | D10 | D09 | D08 | D07 | D06 | D05 | D04 | D03 | D02 | D01 | |
- TAC: Type Approval Code
- FAC: Final Assembly Code
- SNR: Serial Number
- CD: Check Digit
The first six digits are the TAC (Type Approval Code), which identifies the country where type approval was sought for the phone, as well as the approval number. NOTE: since the 1st April 2004 the TAC will be the abbreviation for Type Allocation Code.
The FAC (Final Assembly Code) identifies the company that produced the mobile phone (eg: SonyEricsson or Nokia). NOTE: From 1st January 2003 a new code allocation procedure has been in place. The changes relate to the format - the Final Assembly Code (FAC) is obsolete and is set to 00 for the period from 1st January 2003 until 1st April 2004. The FAC is now obsolete, and the TAC is now eight instead of six digits, as follows: 11111111-222222-3
| TAC | SNR | CD | ||||||||||||
| D14 | D13 | D12 | D11 | D10 | D09 | D08 | D07 | D06 | D05 | D04 | D03 | D02 | D01 | |
The 6 digit SNR (Serial Number) has been uniquely assigned to the specific type of handset. The CD (Check Digit) is used to check the code for its validity for Phase 2 and Phase 2+ handsets. Phase 1 GSM handsets, however, always have zero ("0") as check digit.
IMEISV (International Mobile Equipment Identity and Software Version number) is also sometimes used. It offers the possibility of adding the handset's original software version number. It adds a two digit SVN (Software Version Number) at the end of the code, so the numerical format is:
111111-22-333333-4-55, which changed to 11111111-222222-3-44 on 1st April 2004.
Post Source:
http://en.wikipedia.org/wiki/International_Mobile_Equipment_Identity
http://www.orate.co.uk/Mobiles/imei.html
Monday, July 28, 2008
Earthquake at Dhaka, Bangladesh
Saturday, July 26, 2008
A New Computer Virus
For more read click the link
Friday, July 25, 2008
Just Install Ubuntu
Thanks Ubuntu. Ooh, Ubuntu is not shipped with audio and video support for windows file format. So I have downloaded VLC player to listen my favorite music as well as seeing videos.

