zhao-sun.com

April 23, 2005

Wireless USB in Linux

Filed under: Computer — blogadmin @ 6:15 pm

Friday January 21, 2005 (08:00 AM GMT)
By: Keith Winston

I needed to connect my new desktop PC wirelessly from my second floor office to my first floor network. As I started researching the options for wireless USB adapters, I realized I might have some work ahead of me. Wireless USB in Linux is still in the early stages of development. But a little searching and some trial and error led to a successful connection.

While I did not expect the configuration to be easy, I did not expect it to be especially difficult either. To be fair, a lot of the complexities have nothing to do with the USB drivers, but are more related to the device naming and mapping changes that occurred in the upgrade from the 2.4 to the 2.6 kernel.

To better handle dynamic, hotplug devices on USB and FireWire, changes were made in the 2.6 kernel to provide persistent device names. The kernel now handles device management via two subsystems called sysfs and udev. If you run a 2.6 kernel, you may notice a new virtual directory called /sys in the root of your system. The /sys directory works like /proc in that it maps directly to part of system memory. While /proc tracks kernel parameters and state, /sys tracks device names known to the system. The device names in /sys are persistent because they are based on unique hardware and bus identifiers. This allows the kernel to always assign the same name to a dynamic device, something that was not possible in the 2.4 kernel.

In the 2.4 kernel the order you plug in USB devices can affect the name that gets assigned to it. The name of a device is neither unique nor guaranteed. The sysfs subsystem in the 2.6 kernel tries to solve that problem by naming devices using a unique identifier. The result is something not very useful to humans, as the device name for my wireless USB adapter turned out to be /sys/devices/pci0000:00/0000:00:02.1/usb3/3-1/3-1:1.0. That name is not very handy to deal with, so the udev subsystem provides a mapping between the /sys device name and the more familiar device names like /dev/wlan0.
(more…)

April 14, 2005

Monster公司:美国招聘业巨兽6500万中国猎英

Filed under: Business — blogadmin @ 2:26 am

在许多大城市都能看到中华英才网的广告,该公司是中国最大的招聘网站之一,专家认为,Monster付出高价,希望换取的不仅仅是一个公司,而是进入中国市场的跳板。

守候三年之后,美国最大的猎头公司巨兽(Monster)终于将手伸向了中国最大的招聘网站之一中华英才网。来自内部的消息称,4月19日,MONSTER公司将斥资5000万美元正式

收购中华英才网40%的股份。
(more…)

Powered by WordPress