Gadmei 330+ Sound Problem in Linux

In my stupidity after 4 years, with many problem (video capture problem at 1st year, give up 2 years, sound problem at 4th year), at last I can use my tv tuner fully at linux 😀

After 4 years, thanks to V4Linux driver both of my webcam and GADMEI tv tuner can be used. But still there are some problem,  no infrared remote functionality yet.

First , seems kernal 3.xx are doing the detection nicely

[ 4800.990266] usb 2-1.1.1: new high-speed USB device number 6 using ehci_hcd
[ 4801.085327] usb 2-1.1.1: New USB device found, idVendor=eb1a, idProduct=50a6
[ 4801.085332] usb 2-1.1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 4801.085335] usb 2-1.1.1: Product: USB 2861 Device
[ 4801.232397] em28xx: New device USB 2861 Device @ 480 Mbps (eb1a:50a6, interface 0, class 0)
[ 4801.232636] em28xx #0: chip ID is em2860
[ 4801.253990] lirc_dev: IR Remote Control driver registered, major 250 
[ 4801.263112] IR LIRC bridge handler initialized
[ 4801.358214] em28xx #0: Table at 0x04, strings=0x226a, 0x0000, 0x0000
[ 4801.359327] em28xx #0: Identified as Gadmei UTV330 (card=37)
[ 4801.359332] em28xx #0: The support for this board weren’t valid yet.
[ 4801.359334] em28xx #0: Please send a report of having this working
[ 4801.359336] em28xx #0: not to V4L mailing list (and/or to other addresses)
[ 4801.359337]
[ 4801.733607] saa7115 9-0025: saa7113 found (1f7113d0e100000) @ 0x4a (em28xx #0)
[ 4802.518564] i2c-core: driver [tuner] using legacy suspend method
[ 4802.518567] i2c-core: driver [tuner] using legacy resume method
[ 4802.559890] All bytes are equal. It is not a TEA5767
[ 4802.559898] tuner 9-0060: Tuner -1 found with type(s) Radio TV.
[ 4802.564010] tuner-simple 9-0060: creating new instance
[ 4802.564014] tuner-simple 9-0060: type set to 69 (Tena TNF 5335 and similar models)
[ 4802.588225] em28xx #0: Config register raw data: 0x50
[ 4802.612122] em28xx #0: AC97 vendor ID = 0xffffffff
[ 4802.624257] em28xx #0: AC97 features = 0x6a90
[ 4802.624265] em28xx #0: Empia 202 AC97 audio processor detected
[ 4803.083663] em28xx #0: v4l2 driver version 0.1.3
[ 4804.118392] em28xx #0: V4L2 video device registered as video1
[ 4804.118401] em28xx #0: V4L2 VBI device registered as vbi0
[ 4804.118445] em28xx audio device (eb1a:50a6): interface 1, class 1
[ 4804.118490] em28xx audio device (eb1a:50a6): interface 2, class 1
[ 4804.118544] usbcore: registered new interface driver em28xx
[ 4804.118549] em28xx driver loaded
[ 4804.124129] usbcore: registered new interface driver snd-usb-audio

then we:
– apt-get install tvtime
– tvtime-scanner -d /dev/video1
– tvtime
– alsaloop -C hw:1,0  -t 50000

And it is working now with sound




Some Trapezoidal Homework

Some Trapezoidal Homework

Mandriva 2010.2 and Huawei E153 HSPA USB Stick (Mobinil)

I just bought this modem few days ago and tried to connect with it to the internet.

After so many trial and error, I notice something on the syslog.

Jul 2 13:51:45 localhost draknetcenter[7920]: ### Program is starting ###

Jul 2 13:51:46 localhost draknetcenter[7920]: running: udevadm info –query=property –path=/sys/bus/usb/devices/1-8

Jul 2 13:51:52 localhost draknetcenter[7920]: running: /bin/rpm -q –qf %{name}#012 comgt ppp

Jul 2 13:51:53 localhost draknetcenter[7920]: No settings found for driver "option" in category "network::connection::cellular_card"

Jul 2 13:51:53 localhost draknetcenter[7920]: running: udevadm info –query=property –path=/sys/bus/usb/devices/1-8

Jul 2 13:51:53 localhost draknetcenter[7920]: running: udevadm info –query=property –path=/sys/bus/usb/devices/1-8

Jul 2 13:51:53 localhost draknetcenter[7920]: running: comgt -d /dev/ttyUSB2 PIN

Seems the comgt is trying to connect to /dev/ttyUSB2 . If I try to run the comgt manually

comgt -d /dev/ttyUSB2

I got this result:

Trying list of devices


Check device port configuration.

Check SIM is inserted

Test SIM in a mobile phone?

So I check the lsusb and got:

Bus 002 Device 009: ID 12d1:14ac Huawei Technologies Co., Ltd.

And seems the device were detected as 3 dev

crw-rw—- 1 root dialout 188, 0 2011-07-02 19:15 /dev/ttyUSB0

crw-rw—- 1 root dialout 188, 1 2011-07-02 18:30 /dev/ttyUSB1

crw-rw—- 1 root dialout 188, 2 2011-07-02 19:50 /dev/ttyUSB2

crw-rw—- 1 root dialout 188, 3 2011-07-02 19:13 /dev/ttyUSB3

After retrying the modem using windows in virtualbox and release it again to the host (as soon the native windows driver have switch it and failed to connect in virtual machine).

At last the draknetcenter are connecting using /dev/ttyUSB3

So I got some conclusion the problem whether in draknetcenter script or in usb_modeswitch. after 3 days quarelling with usb_modeswitch (I give up), I decided to modify the draknetcenter perl script.

And modify /usr/lib/libDrakX/network/connection/ at the line 111 col 21 and added 3 there in the loop ( I am not a programmer so I just guessing :)).

sub get_control_device {

my ($self) = @_;

my $tty_device = $self->get_tty_device;

if ($tty_device eq "/dev/ttyUSB0") {

for my $id (3, 2, 1) { ##Added 3 by Andi P

my $usb_control_device = "/dev/ttyUSB" . $id;

return $usb_control_device if -e $usb_control_device;





And close the draknetcenter and run it again and ….

it works, but I dont know about the side effect.

The Rise of Apps Store on Netbooks?

Seeing this intel AppUp, makes me wonder does new era of apps store has come to PC?

its available for linux and windows, with the same concept like android market and other apps store for mobile device.

The most cheapest and frienliest food station in batam


I can not believe what I found today.what a nice place to eat with my under budget expense. Hahaha near my place.


Just watched another gundam series STARGAZER, nice romance in the middle of war between interplanetary collony.

Thinking of this fact that human will eventualy thinking of war because of nature of human. No matter how vast the space be, seems everyone thinking of taking rule of other to get instant improvement and feel insecure.

Seems this insecurity, that is what I am feeling right now. I feel I need to gain more than I needed to feel secure. This is good in some ways but evil too in few ways ( I guess everything like that).


Connecting to a VPN PPTP server using Webmin

Well I got problem in connecting to my company VPN server for last 2 years. But finally got it solved using pptp connection from webmin configuration.

Suddently all become simple as that 🙂