| NIIBE Yutaka's glog | |||||
|
Subscribe
Links |
2006-01-25 (Wed)
GIT
It was first time for him to listen his technical talk.
Enhancement of code of USB HUB (3)
Here it is: hub-ctrl-2.c. HUB-CTRL - program to control port power/led of USB hub $ gcc -o hub-ctrl hub-ctrl.c -lusb # hub-ctrl -b 1 -d 2 -P 1 -p // Power off at port 1 # hub-ctrl -b 1 -d 2 -P 1 -p 1 // Power on at port 1 # hub-ctrl -b 1 -d 2 -P 2 -l // LED on at port 1It found that there has been Python implementation by Vlado Handziski, and this is the discussion. Gniibe considered this tool should be in usbutils.
Enhancement of code of USB HUB (2)
Gniibe wrote a patch to enable control of USB HUB.But it should be possible to implement it only by user space.
Enhancement of code of USB HUB
Here is User space code to control it.
Athlon64 kernel
It seems the kernel configuration variable CONFIG_HPET should be Y.
Rescan a partition table
Gniibe wanted to mount the new disk, but it required to rescan partition table. Don't know how, so, invoked cfdisk and wrote partition table (untouched), then it rescanned. Are there /sys/block/*something* to do that?
|
||||