Feature #108

Asus UL30A unimplemented wwan kill

Added by Corentin Chary over 1 year ago. Updated about 16 hours ago.

Status:Resolved Start date:10/10/2010
Priority:Normal Due date:
Assignee:Corentin Chary % Done:

0%

Category:asus-laptop
Target version:-

Add

CC Addresses

  • none

History

Updated by Dan Haworth over 1 year ago

Comment

Hi Corentin,

Firstly, thank you so much for taking time out to look at my problem, I really appreciate the effort :)

I've applied the patch against the current Ubuntu sources for my kernel and the new switches work perfectly! wimax as no effect on my laptop (as expected) and wwan enables / disables the radio on my wwan card, allowing me to connect to mobile broadband without a hitch.

The only issue I've noticed is that both wwan and wimax already read 1 regardless of the state of the switches. I've made an educated guess that asus_wireless_status(asus, BT_RSTS) in both show_wimax and show_wwan should use WM_RSTS and WW_RSTS respectively?

I've made these changes and started rebuilding again, I'll update this issue with the results but I'm guessing you can mark off this variant of the ul30a as fully supported now, thanks! :)

--dan

Updated by Corentin Chary over 1 year ago

  • Status changed from Assigned to Resolved

Updated by Anonymous over 1 year ago

Comment

Please merge this with mainline!
Thanks

Updated by Corentin Chary over 1 year ago

Updated by Anonymous over 1 year ago

Comment

Hi,

I am running kernel 2.6.37 amd64 on ubuntu, but it looks like the radio of my 3g modem is still off. How should I change the status of the radio of the device, rfkill list all only shows wlan and bluetooth, but you didn't implement the rf switches right?
Kind regards

Giuseppe

Updated by Corentin Chary over 1 year ago

Comment

Anonymous wrote:

Hi,

I am running kernel 2.6.37 amd64 on ubuntu, but it looks like the radio of my 3g modem is still off. How should I change the status of the radio of the device, rfkill list all only shows wlan and bluetooth, but you didn't implement the rf switches right?
Kind regards

Giuseppe

Check http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blobdiff;f=Documentation/ABI/testing/sysfs-platform-asus-laptop;h=41ff8ae4dee0f852380f9e4007025293501b10c0;hp=1d775390e8562dae8e4eb53d1db9959edff4b943;hb=ba1ff5be52163a97ac4ce8bc51beae2c96861a43;hpb=67fa38ec097a3e270ab175636338185017b49fa7 to control wwan.

This is not implemented using rfkill because I'm currently not sure that these methods always control the devices. If I Asus sends me the specs, or if I get enougth report that these files always control the device, I'll implement rfkill.

Updated by Anonymous over 1 year ago

Comment

Hi,
first of all I would like to express my appreciation for the work you've done. Unfortunately I can't say this works for me. I have tried to get in touch with Dan since apparently he has exactly the same hardware as me and managed to get it working but I never got a reply, thanks.
In my case even if the device control file is set correctly, the radio still seems to be off as I get no signal to connect. AT+COPS? gives +COPS: 0 and AT+COPS=? gives just error. In general I believe the radio is still off as I get the NO CARRIER message at times and I cannot register the device with any carrier. I have checked all the different settings and everything seems to be fine, I did the same on windows and the same command give me different results, mainly because there is signal and it is registered to O2 UK. I am currently running Ubuntu 10.10 64bit with 2.6.35-26-generic.
If you need any other info or details please let me know
I have run out of ideas and any suggestions would be much appreciated.

Thanks in advance

Giuseppe

Updated by Corentin Chary over 1 year ago

Comment

Anonymous wrote:

Hi,
first of all I would like to express my appreciation for the work you've done. Unfortunately I can't say this works for me. I have tried to get in touch with Dan since apparently he has exactly the same hardware as me and managed to get it working but I never got a reply, thanks.
In my case even if the device control file is set correctly, the radio still seems to be off as I get no signal to connect. AT+COPS? gives +COPS: 0 and AT+COPS=? gives just error. In general I believe the radio is still off as I get the NO CARRIER message at times and I cannot register the device with any carrier. I have checked all the different settings and everything seems to be fine, I did the same on windows and the same command give me different results, mainly because there is signal and it is registered to O2 UK. I am currently running Ubuntu 10.10 64bit with 2.6.35-26-generic.
If you need any other info or details please let me know

Hi,
Could you send me the output of :
dmesg
ls -l /sys/devices/platform/asus_laptop/

Do you use the vanilla 2.6.35 asus-laptop module, or did you try to grab a newer one ? (check Backport_module).

Updated by Anonymous over 1 year ago

Comment

Hi, thanks for answering so promptly.
I am using the vanilla version, but I will try the backports now.
Please find attached the dmseg and ls outputs.

Kind regards

Giuseppe

Updated by Anonymous over 1 year ago

Comment

Thank you very much, it's working now. I downloaded the last asus-laptop.c you modified and built it, and now the internal modem works.
Fantastic, thanks again!

Giuseppe

Updated by Anonymous over 1 year ago

Comment

Just a little update, of course Ubuntu Natty is still in alpha 2, but I upgraded and the modem radio is off again, it all worked fine in 10.10 with 2.6.35 kernel. Now running 2.6.38-2-generic kernel.

Giuseppe

Updated by Corentin Chary over 1 year ago

Comment

Anonymous wrote:

Just a little update, of course Ubuntu Natty is still in alpha 2, but I upgraded and the modem radio is off again, it all worked fine in 10.10 with 2.6.35 kernel. Now running 2.6.38-2-generic kernel.

Could you send me the dmesg and ls -l /sys/devices/platform/asus*/ for this kernel ?
Thanks,

Updated by Anonymous over 1 year ago

Comment

I confirm that by adding asus_laptop.wwan_status=1 to the kernel command (I did it from GRUB) the radio is now turned on at boot and the modem works perfectly on Ubuntu 11.04 Natty Narwhal alpha 2, kernel 2.6.38-2 and the latest backport module.

Thanks again for great support!

Updated by Anonymous 11 months ago

Comment

Hi I'm getting the same problem with my new ul30a. Running mint 11 (based on ubuntu 11.04), kernel 2.6.38.22

Updated by Anonymous 11 months ago

Comment

Anonyme wrote:

Hi I'm getting the same problem with my new ul30a. Running mint 11 (based on ubuntu 11.04), kernel 2.6.38.22

Did you try to boot with asus_laptop.wwan_status=1 or to enable the modem directly by writing 1 in the wwan file available in /sys/devices/platform/asus_laptop/ ?

Thanks,;

Updated by Anonymous 11 months ago

Comment

Thanks for the quick reply, it is much appreciated. There is a 1 in the wwan file already.
I have tried to add asus_laptop.wwan_status=1 at the grub menu, but i'm not really sure what i'm doing in grub, having a look at the manual now but i'm a bit lost. Forgive my ignorance.

Updated by Anonymous 11 months ago

Comment

Am I right that you add:
set asus_laptop.wwan_status=1
to the grub script?
Have tried all kinds of variations and orders with no success.
Also the exact model of my laptop is UL30A-QX328V if this makes any difference.

Updated by Anonymous 11 months ago

Comment

Had another look and there is a 1 in the wwan file but not the wimax file.
Have tried to change this, but don't seem to be able to edit the file at all.

Updated by Anonymous 11 months ago

Comment

Anonymous wrote:

Had another look and there is a 1 in the wwan file but not the wimax file.
Have tried to change this, but don't seem to be able to edit the file at all.

Could you send me the output of dmesg, lsmod et lspci ?
Thanks

Updated by Anonymous 8 months ago

Comment

Hi there,

trying sudo insmod asus-laptop.ko but I get the error:
insmod: error inserting 'asus-laptop.ko': -1 Unknown symbol in module
Dmesg says:

[ 3637.767682] asus_laptop: Unknown symbol sparse_keymap_free (err 0)
[ 3637.767770] asus_laptop: Unknown symbol input_allocate_polled_device (err 0)
[ 3637.767808] asus_laptop: Unknown symbol input_free_polled_device (err 0)
[ 3637.767889] asus_laptop: Unknown symbol sparse_keymap_report_event (err 0)
[ 3637.767922] asus_laptop: Unknown symbol sparse_keymap_setup (err 0)
[ 3637.767984] asus_laptop: Unknown symbol input_register_polled_device (err 0)
[ 3637.768062] asus_laptop: Unknown symbol input_unregister_polled_device (err 0)

Any suggestions? I tried both the git version and the tar version of the module.

Thanks in advance

Platform: Ubuntu 11.10 64bit on Asus UL30A

Updated by Corentin Chary 8 months ago

Comment

You need to load some modules first, or to install the new asus-laptop module and the run depmod -a so that modprobe can resolved dependencies automatically.

Look for modules named input_polldev and sparse_keymap.

Updated by Anonymous 8 months ago

Comment

No luck running it in Ubuntu 11.10, the Mobile Broadband option doesn't even appear in the networkmanager menu. Help please! Let me know if you need to know more.

Updated by Corentin Chary 8 months ago

Comment

So, you loaded the new module and it didn't work ? What files are available in /sys/devices/platform/asus_laptop/ ? If there is a wwan file in it, could you try to write a one in it ? (echo 1 > wwan).

Updated by Anonymous 8 months ago

Comment

Hi there,

sorry to bother you, I'm running Ubuntu 11.10 I noticed that the Enable Mobile Broadband option was on from the drop down menu on the top bar, and that the network was registered and I managed to connect. Then I did a reboot after an upgrade and now I cannot select the Mobile Broadband as it doesn't appear in the menu! Is this a bug with the menu itself? I am sure the module is loaded as the command dmesg | grep Asus gives:
[ 17.588812] asus_laptop: Asus Laptop Support version 0.42
[ 17.592359] input: Asus Laptop extra buttons as /devices/platform/asus_laptop/input/input4

I just do not see the option to select Mobile Broadband anymore!

Thank you!

P.S. There is already a 1 in the wwan file.

Updated by Corentin Chary 8 months ago

Comment

What did this upgrade change ? Something related to the kernel ? or network manager ?
If the wwan file is here, i'm afraid the driver job is done, and I won't be able to do a lot more since I don't own this laptop and I don't use ubuntu. Maybe it's a known issue and you should try on ubuntu forum ?

Also available in: Atom PDF