Posts

Showing posts with the label USB

usb3 transciever

This news article was interesting.. hmm... how long before we see the first products in the market in the world of wireless devices?? munching time ;)

quick removable drive with omap3

One neat little trick of having an OTG port is the capability to have the board act as any type of device you'd want it to be.. in my case, I wanted to emulate a disk drive for the heck of it.. I found this link particularly useful. g_file_storage.ko which is generated once you enable file storage gadget as a module in the kernel build. Step 1: create the "disk" - essentially a file dd bs=1M count=64 if=/dev/zero of=fs fdisk fs (follow the steps in the link) fdisk -lu fs sudo losetup -o 4096 /dev/loop0 fs sudo mkdosfs /dev/loop0 mkdir r sudo mount -t vfat /dev/loop0 r vim r/hellow.txt (put what ever files we want here) sudo umount r sudo losetup -d /dev/loop0 ensure that fs file exists in the filesystem of the target Step 2: load it up.. insmod g_file_storage.ko file=./fs stall=n where fs is the file which we created in the first place.. and that'z it.. once you connect the musb to a windows PC, it appears as a disk ;)...

USB peripheral boot support on a Linux PC

Folks who have CSST know the capability of OMAP doing something known as a peripheral boot mode support over USB and UART. on Linux, well.. looks like no one(at least to my knowledge) has done the same thing.. So, today, in the middle of cooking some kadai chicken and some chicken kebobs, i played around and got thru to give a proof of concept code( http://www.geocities.com/crecmca98/Linux/omap_linux_peripheral_boot.tgz ): 1) “Hacking” to get the vendor id and product id: I dont own a Catc or a usb monitor.. so just plugged in the board to my laptop and dumped the syslog ;) $ cat /var/log/syslog Mar 16 15:26:23 coyote NetworkManager: [1205699183.236191] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_451_d009_N/A'). Voila!! 3430 is nothin but, VendorId = 0x0451 DeviceID = 0xD009 2) Trigger an external program to download image: Would you believe it, last time i was working in the kernel, hotplug was still working.. i...

GRRRR USB3.0

Damn... they killed my template!!!!!! by the way, USB 3.0 is out!!! here is more what my friend passed on: USB 3.0 ---------- Superspeed Personal USB interface 10 times faster than the present USB optimized for low power and improved protocol efficiency USB 3.0 ports and cabling will be designed to enable backward compatibility as well as future-proofing for optical capabilitie USB 3.0 specification is expected by the first half of 2008 Intel, HP, NEC, NXP, TI, Microsoft are the 3.0 promotors Ref: http://www.intel.com/pressroom/archive/releases/20070918comp.htm http://focus.ti.com/docs/pr/pressrelease.jhtml?prelId=sc07155