[Bug 490068] Re: Haier CE100 CDMA EVDO modem should be recognized by module option.ko (as it is supported)

2010-01-09 Thread donnykurnia
@Hendy,

It's turn out that recently I have upgrade my kernel to 2.6.31-17-generic. The 
patched option.ko that I compile myself is for 2.6.31-16-generic. Today I do 
this:
1. re-patch the option.ko for 2.6.31-17-generic and copy option.ko to 
/lib/modules/2.6.31-17-generic/kernel/drivers/usb/serial/
2. depmod -a
3. disconnect wvdial
4. rmmod usbserial
5. plug-out the modem from usb port, then plug-in 
6. This is the dmesg result:

[15182.472075] usb 5-2: new full speed USB device using uhci_hcd and address 14
[15182.635297] usb 5-2: configuration #1 chosen from 1 choice
[15182.661313] usbcore: registered new interface driver usbserial
[15182.661329] USB Serial support registered for generic
[15182.661376] usbcore: registered new interface driver usbserial_generic
[15182.661378] usbserial: USB Serial Driver core
[15182.665677] USB Serial support registered for GSM modem (1-port)
[15182.665733] option 5-2:1.0: GSM modem (1-port) converter detected
[15182.665823] usb 5-2: GSM modem (1-port) converter now attached to ttyUSB0
[15182.665843] option 5-2:1.1: GSM modem (1-port) converter detected
[15182.665898] usb 5-2: GSM modem (1-port) converter now attached to ttyUSB1
[15182.665918] option 5-2:1.2: GSM modem (1-port) converter detected
[15182.665968] usb 5-2: GSM modem (1-port) converter now attached to ttyUSB2
[15182.665983] usbcore: registered new interface driver option
[15182.665986] option: v0.7.2:USB Driver for GSM modems

Thanks for all the help. I hope this will help others too, while the
patch find it's way to the next kernel release.

This is the last email I got about the patch:

Date: Tue, 05 Jan 2010 12:02:13 -0800
From: Greg KH 
To: linux-ker...@vger.kernel.org,
 sta...@kernel.org,
 a...@linux-foundation.org,
 torva...@linux-foundation.org,
 stable-rev...@kernel.org
Cc: Donny Kurnia 
Subject: [17/39] USB: option: support hi speed for modem Haier CE100
In-Reply-To: <20100105195007.ga23...@kroah.com>

2.6.31-stable review patch.  If anyone has any objections, please let us
know.

--

From: Donny Kurnia 
--my original email--

@Josua, where I can find more information about "new_id" feature? Anyone
have the info about this feature? I have try searching in google, but
still don't get how it work.

Thanks.

-- 
Haier CE100 CDMA EVDO modem should be recognized by module option.ko (as it is 
supported)
https://bugs.launchpad.net/bugs/490068
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 490068] Re: Haier CE100 CDMA EVDO modem should be recognized by module option.ko (as it is supported)

2010-01-07 Thread donnykurnia
Hendy,

I retry adding udev rule, reboot, and now I have the modem device listed
in lsusb. Thanks.

I have rebuild option.ko with patch, but still need to do modprobe once
to get the /dev/ttyUSB0 device created. After that, even if I unplug the
modem and replug it, I can connect using wvdial without doing modprobe
again.

Is there is a way to get the /dev/ttyUSB0 created at boot? Can I put the
modprobe inside udev rules?

-- 
Haier CE100 CDMA EVDO modem should be recognized by module option.ko (as it is 
supported)
https://bugs.launchpad.net/bugs/490068
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 490068] Re: Haier CE100 CDMA EVDO modem should be recognized by module option.ko (as it is supported)

2010-01-02 Thread donnykurnia
Josua & Hendy,

I try to use udev script that I found here:
http://blankblondtank.wordpress.com/2009/09/03/koneksi-internet-smart-dengan-haier-ce-100-cdma-di-linux/

SYSFS{idVendor}=="201e", SYSFS{idProduct}=="2009", RUN+="/usr/bin/eject
%k"

But when I have this rules in the /etc/udev/rules.d/93-haier.rules
files, when I connect the modem to USB port, I still got it detected as
mass storage device. When I try to eject /dev/sr1, I got error that
/dev/sr1 does not exist.

So I just remove the file /etc/udev/rules.d/93-haier.rules, then create a bash 
script that will do:
eject /dev/sr1
pause
modprobe
pause
wvdial

At least, this work well in my Karmic Koala. I compiled my own option.ko
with the patch to recognize haier, but I still need modprobe after
eject. Without modprobe, the device /dev/ttyUSB0 is not exist.

-- 
Haier CE100 CDMA EVDO modem should be recognized by module option.ko (as it is 
supported)
https://bugs.launchpad.net/bugs/490068
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 490068] Re: Haier CE100 CDMA EVDO modem should be recognized by module option.ko (as it is supported)

2009-12-31 Thread donnykurnia
Josua,

I tried your method, but it make the modem unrecognized. Please note
that this modem have same vendor id and product id for both USB mass
storage and for Modem, thus make usb_modeswitch unuseable.

I must eject the USB storage, modprobe, then the modem recognized. Can
you explain more about the new_id method above? Thanks.

-- 
Haier CE100 CDMA EVDO modem should be recognized by module option.ko (as it is 
supported)
https://bugs.launchpad.net/bugs/490068
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 490068] Re: Haier CE100 CDMA EVDO modem should be recognized by module option.ko (as it is supported)

2009-12-23 Thread donnykurnia
Leann and Hendy,

Today I have send and email about this bug and the patch to the linux
kernel upstream maintainers. Here is the reply that I got:

Subject: patch usb-option-support-hi-speed-for-modem-haier-ce100.patch added to 
gregkh-2.6 tree
To: donnykur...@gmail.com,gre...@suse.de,sm...@smurf.noris.de,sta...@kernel.org
From: 
Date: Wed, 23 Dec 2009 09:54:01 -0800


This is a note to let you know that I've just added the patch titled

Subject: USB: option: support hi speed for modem Haier CE100

to my gregkh-2.6 tree.  Its filename is

usb-option-support-hi-speed-for-modem-haier-ce100.patch

This tree can be found at 
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/


>From donnykur...@gmail.com  Wed Dec 23 09:47:01 2009
From: Donny Kurnia 
Date: Wed, 23 Dec 2009 19:03:12 +0700
Subject: USB: option: support hi speed for modem Haier CE100
To: Matthias Urlichs 
Message-ID: <4b320700.8060...@gmail.com>

I made this patch for usbserial driver to add the support for EVDO modem
Haier CE100. The bugs report for this is here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/490068

This patch based on these post:
http://blankblondtank.wordpress.com/2009/09/04/mengoptimalkan-koneksi-modem-haier-ce-100-cdma-di-linux/
http://tantos.web.id/blogs/how-to-internet-connection-using-cdma-evdo-modem-and-karmic-koala-ubuntu-9-10

I hope this patch can help other that have the Haier C100 modem, mostly
in my country, Indonesia.

Signed-off-by: Donny Kurnia 
Cc: stable 
Signed-off-by: Greg Kroah-Hartman 

---
 drivers/usb/serial/option.c |5 +
 1 file changed, 5 insertions(+)

--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -340,6 +340,10 @@ static int  option_resume(struct usb_ser
 #define FOUR_G_SYSTEMS_VENDOR_ID   0x1c9e
 #define FOUR_G_SYSTEMS_PRODUCT_W14 0x9603
 
+/* Haier products */
+#define HAIER_VENDOR_ID0x201e
+#define HAIER_PRODUCT_CE1000x2009
+
 static struct usb_device_id option_ids[] = {
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) },
@@ -641,6 +645,7 @@ static struct usb_device_id option_ids[]
{ USB_DEVICE(AIRPLUS_VENDOR_ID, AIRPLUS_PRODUCT_MCD650) },
{ USB_DEVICE(TLAYTECH_VENDOR_ID, TLAYTECH_PRODUCT_TEU800) },
{ USB_DEVICE(FOUR_G_SYSTEMS_VENDOR_ID, FOUR_G_SYSTEMS_PRODUCT_W14) },
+   { USB_DEVICE(HAIER_VENDOR_ID, HAIER_PRODUCT_CE100) },
{ } /* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, option_ids);


I hope the patch will integrated soon, and coming with next release of the 
kernel.

Thanks.

-- 
Haier CE100 CDMA EVDO modem should be recognized by module option.ko (as it is 
supported)
https://bugs.launchpad.net/bugs/490068
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 371897] Re: Occasional sound drops in Wine via PulseAudio

2009-11-22 Thread donnykurnia
Thank you so much Neil. Your version work nice in my Karmic. Great job
:)

-- 
Occasional sound drops in Wine via PulseAudio
https://bugs.launchpad.net/bugs/371897
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs