Cyber memos for my personal knowledge.

2009-10-28

Standard Linux uvcvideo doesn't work for Bison camera module 5986:0241

Usually, current uvcvideo driver kernel module can handle all uvc complaint devices.
But I got a special module which ID is 5986:0241, can not work w/ it.
You can see a dmesg log as "No valid video chain found.", and driver never drive this device.
There is no device file created under /dev and /sys.

This is a FW bug, so that driver doesn't parse video steaming data well.
I patch the uvcvideo source to skip this checking.....:-(
Not a good way but it works.

Use kernel 2.6.31.5 source as an example to patch the driver:

-> drivers/media/video/uvc/uvc_driver.c, Line 430:
modify "return -EINVAL;" to "break;"

-> drivers/media/video/uvc/uvc_driver.c, Line 723:
modify "goto error;" to "break;"

Save and compile the uvcvideo.ko again.
After install this new kernel module, your 5986:0241 camera should be back to work.

2009-09-02

RHEL / CentOS 5.3 never read MAC address on SiS 190/191 NIC

Oops........
This issue was reported for a while from my FAE.
The kernel of default RHEL 5.3 is v2.6.18........(WTF..)

I personally think that it's a bug of sis190.c driver but I don't have time to dig into the source code.
The NIC MAC address can not be read correctly from EEPROM.

I use sis190.c and mii.c from kernel v2.6.19.7 w/o any modification, and then compile them on RHEL 5.3.
Well, they still taint kernel a bit because no version magic.
But works well (so far..), and my MAC address of SiS 190/191 NIC was now detected.

Use root permission and just # modprobe -rfv sis190
Make mii.ko and sis190.ko by yourself. If you see warnings, forget about it now......
# install -m 644 *.ko /lib/modules/`uname -r`/kernel/drivers/net/
You can make a backup of original mii.ko and sis190.ko if you want.
# depmod -ae
# modprobe -fv sis190

2009-07-22

Linux SiS 190/191 NIC lose traffic on 64bit kernel with 4GB RAM

SiS190.x driver got a bug on 64bit Linux kernel with 4GB RAM.
NIC can get IP via DHCP correctly but can not have any traffic any more...Orz

If you limit RAM size while bootup to "mem=3G", everything works fine ( Of course......XD ).

See this for bugzilla report: here.

I test the patch on Mandriva 2009.1 and it works.
But I never test it on Ubuntu or any other distro yet.
Here is the duplicated issue on launchpad for Ubuntu.



CM Linux is a small distro which is based and modified from Mandriva Linux......囧rz

2009-07-06

clevo_laptop v1.0.0 is released

Finally, I uploaded the first release of Clevo ACPI WMI Linux kernel driver module to Sourceforge.net.
The release is clevo_laptop_1.0.0.tar.gz.

After a long time investigating of BIOS ASL code, I found so many bugs and NGs on their laptops.
For the ACPI supportinf about Linux.
Even I have told them, the BIOS engineers, no body gives a shit about my opinion........

Will keep developing this kernel module to support Linux on Clevo platform as much as possible.
('Cauz BIOS guys don't want to pay efforts to Linux, this is not listed in their spec........)

2009-06-26

R.I.P - King of Pop - Michael Jackson 1958-2009

OMG, this morning I got a bad news that a most widely famous artist - Michael Jackson just past away!

I got almost all his albums that I can bought here.
Since Off the wall, Thriller, Bad, Dangerous, History, Scream, Invincible...etc.
Of course, too many songs he performed can be classics..

Q__Q..

I will miss you, Michael.
I will miss your dancing.
I will miss the performance you made with Slash.

You are always the best!

2009-06-16

SourceForge clevo-extra project kick-off

It is a milestone for myself...;-)

  • Project UNIX name : clevo-extra
  • Registered : 2009-06-11 10:17


http://sourceforge.net/projects/clevo-extra

2009-06-02

Compiling SiS X driver on Mandriva 2009.1

Based on this one, I also try to compile and install SiS X driver on Mandriva 2009.1.
Of course I have to install some additional packages.
Use urpmi and all related sw automatically:

Xorg X server is v1.6.1.

1. binutils;
2. make;
3. libxorg-x11-devel;
4. xorg-x11 (this is a meta package);
5. xorg-x11-xvfb (I think this one is optional..);

BTW, I try it on a small distro called Caixa Magica 12.
Can compile and install 'cause it's a Mandriva-based distro.