Tag Archives: linux

Who needs a wifi switch?

Wifi stop working. Thinkpad x60. Debian GNU/Linux. Intel(R) PRO/Wireless 3945ABG/BG. Logs below:

Nov 22 12:54:43 thinkpad kernel: [ 5373.816386] iwl3945 0000:03:00.0: Radio Frequency Kill Switch is On:
Nov 22 12:54:43 thinkpad kernel: [ 5373.816388] Kill switch must be turned off for wireless networking to work.
Nov 22 16:11:16 thinkpad kernel: [17168.714311] iwl3945 0000:03:00.0: Radio disabled by HW RF Kill switch
Nov 22 16:11:16 thinkpad kernel: [17168.714487] iwl3945 0000:03:00.0: Radio disabled by HW RF Kill switch
Nov 22 16:13:55 thinkpad kernel: [17328.018434] iwl3945 0000:03:00.0: Radio disabled by HW RF Kill switch
Nov 22 16:13:55 thinkpad kernel: [17328.018603] iwl3945 0000:03:00.0: Radio disabled by HW RF Kill switch

…about 1 hour trying to solve that annoying issue, and then I realize there was a f** wifi switch turned off right in front of my face. #FAIL

Advertisements

Using a HL-340 USB Serial Adapter against 2.6.23 linux kernel

This device is:

idVendor 0x4348
idProduct 0x5523

There is a patch in -mm kernel tree, so I guess it goes to 2.6.24 soon. But if you don’t want to wait, here is a solution using the new ch341 usb serial driver:


wget http://www.csie.ntu.edu.tw/~b94101/ch341_drv.tar.bz2

Then extract the files and comment out lines 301 and 303 of ch341.c file and also line 35 of the tty_ioctl.c file.

Finally run ins.sh to compile and load the modules and use minicom, cu, cutecom or what you prefer to connect to the /dev/ttyUSB0 device.

I’ve seen some people trying to use pl2303 driver with a little patch to use this device. It doesn’t work.