-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added Kernel support for Huawei ME909u #45
Conversation
added Kernelsupport for Huawei M909
|
Added a Post to FreeBSD Bugzilla |
|
Hi, This pull request doesn't compile. There is a typo in there. Can you send the "dmesg" and "usbconfig -d X.Y dump_device_desc dump_curr_config_desc" output from before and after this patch? --HPS |
|
Hi Hans Petter, thank you for working on this Ticket. I have done my changes due this to posts: https://forum.pfsense.org/index.php?topic=86064.90 http://technotation.com/2012/08/15/freebsd-and-mobile-broadband/ And the idProduct of the Huawei ME909 is 0x1573. Sorry but i can´t send you only the dmesg and USB config before when I am at home later. Thanks Simon |
|
You used usbconfig to set the quirk? How did you test it? I have no urgency :-) |
|
I can´t test it ... because nobody can explain us really how to compile the Kernel for pfSense ;-( All manuals are stucked. I am not realy a programmer ... i know what i have to do (in most cases) but i don´t compail a kernel every day ;-) |
|
OK, maybe you can do some tests for me, so we can resolve this issue. The patch you added corresponds to this: usbconfig -d X.Y add_quirk UQ_MSC_EJECT_HUAWEI Then replug your device. Does it work now? If not your quirk is wrong. Else it is right :-) More quirks: usbconfig dump_quirk_names | grep EJECT |
|
ok i will do it when I am at home and let you know. Thanks for your Support!!! |
|
Hi Hans Petter, here some outputs: dmesg | grep ugen usbconfig dump_quirk_names | grep EJECT with ejecting end reconnecting it is a little bit difficult because the ME909u is a PCIe Card placed on the Mainboard. After I do a "usbconfig -d 3.2 add_quirk UQ_MSC_EJECT_HUAWEI" the output of "dmesg | grep ugen" is ugen0.1: ATI at usbus0 nothing has changed.... |
|
Try to reset the parent HUB: usbconfig -d 3.1 reset --HPS |
|
done... but nothing happens ... dmesg | grep ugen usbconfig -u 3 -a 2 dump_device_desc bLength = 0x0012 |
|
on my FreeBSD 10.2 VM it kompiles without an error .... |
|
Can you try: And dump all the configuration descriptors using usbconfig? Basically it means that your patch is not correct. --HPS |
|
ok when I set it to config 1 I will see a ue0 interface in pfsense.... is this permanently now? |
|
but I do not get an port for a ppp connection |
|
Can you send output from: and: usbconfig -d X.Y set_config 2 |
|
According to this thread: You should be using quirk "UQ_MSC_EJECT_HUAWEISCSI2" which means you are using a bit old kernel because you don't have that quirk in the quirk list. To get the modems you need to patch u3g.c like this: U3G_DEV(HUAWEI, ME909U, U3GINIT_HUAWEISCSI2), --HPS |
|
usbconfig -d 3.2 set_config 1 usbconfig -d 3.2 dump_all_config_desc Configuration index 0 Configuration index 1 Configuration index 2 usbconfig -d 3.2 set_config 2 usbconfig -d 3.2 dump_all_config_desc Configuration index 0 Configuration index 1 Configuration index 2 |
| @@ -308,6 +308,7 @@ static const STRUCT_USB_HOST_ID u3g_devs[] = { | |||
| U3G_DEV(HUAWEI, E143D, U3GINIT_HUAWEI), | |||
| U3G_DEV(HUAWEI, E143E, U3GINIT_HUAWEI), | |||
| U3G_DEV(HUAWEI, E143F, U3GINIT_HUAWEI), | |||
| U3G_DEV(HUAWEI, ME909u, U3GINIT_HUAWEI). | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
U3GINIT_HUAWEI). => U3GINIT_HUAWEI),
More fixes for the iflib-multiple-qsizes update
|
This support has made its way into FreeBSD, closing pull request ticket. |
Newer VGAs don't support any mono modes, but bugs in the tables created 2 virtual mono modes (#45 90x43 and #112 80x43) that behaved more strangely than crashing. 90-column modes are tweaked 80-column ones and also fail to work on newer VGAs. #45 did crash (hang) on some hardware. git-svn-id: svn+ssh://svn.freebsd.org/base/head@315986 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Newer VGAs don't support any mono modes, but bugs in the tables created 2 virtual mono modes (freebsd#45 90x43 and freebsd#112 80x43) that behaved more strangely than crashing. 90-column modes are tweaked 80-column ones and also fail to work on newer VGAs. freebsd#45 did crash (hang) on some hardware. git-svn-id: https://svn.freebsd.org/base/head@315986 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Newer VGAs don't support any mono modes, but bugs in the tables created 2 virtual mono modes (freebsd#45 90x43 and freebsd#112 80x43) that behaved more strangely than crashing. 90-column modes are tweaked 80-column ones and also fail to work on newer VGAs. freebsd#45 did crash (hang) on some hardware. git-svn-id: svn+ssh://svn.freebsd.org/base/head@315986 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
modes if the font size is >= 14. This is the X cursor XC_left_ptr (#68) (glyph #45 in an X cursor font). Also found in vt. The old 9x13 cursor is the 10x16 one trimmed not very well. 8x8 fonts need a smaller cursor instead of a larger one, except when the pixel size is small. Text mode is still limited to width and height 1 more than the font (so the 9x13 is already 4 pixels too high for it). git-svn-id: svn+ssh://svn.freebsd.org/base/head@316977 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
modes if the font size is >= 14. This is the X cursor XC_left_ptr (#68) (glyph #45 in an X cursor font). Also found in vt. The old 9x13 cursor is the 10x16 one trimmed not very well. 8x8 fonts need a smaller cursor instead of a larger one, except when the pixel size is small. Text mode is still limited to width and height 1 more than the font (so the 9x13 is already 4 pixels too high for it).
modes if the font size is >= 14. This is the X cursor XC_left_ptr (freebsd#68) (glyph freebsd#45 in an X cursor font). Also found in vt. The old 9x13 cursor is the 10x16 one trimmed not very well. 8x8 fonts need a smaller cursor instead of a larger one, except when the pixel size is small. Text mode is still limited to width and height 1 more than the font (so the 9x13 is already 4 pixels too high for it). git-svn-id: https://svn.freebsd.org/base/head@316977 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
modes if the font size is >= 14. This is the X cursor XC_left_ptr (freebsd#68) (glyph freebsd#45 in an X cursor font). Also found in vt. The old 9x13 cursor is the 10x16 one trimmed not very well. 8x8 fonts need a smaller cursor instead of a larger one, except when the pixel size is small. Text mode is still limited to width and height 1 more than the font (so the 9x13 is already 4 pixels too high for it). git-svn-id: svn+ssh://svn.freebsd.org/base/head@316977 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix 3 entries in mode tables related to mono and 90-column text modes. Newer VGAs don't support any mono modes, but bugs in the tables created 2 virtual mono modes (#45 90x43 and #112 80x43) that behaved more strangely than crashing. 90-column modes are tweaked 80-column ones and also fail to work on newer VGAs. #45 did crash (hang) on some hardware.
Fix 3 entries in mode tables related to mono and 90-column text modes. Newer VGAs don't support any mono modes, but bugs in the tables created 2 virtual mono modes (freebsd#45 90x43 and freebsd#112 80x43) that behaved more strangely than crashing. 90-column modes are tweaked 80-column ones and also fail to work on newer VGAs. freebsd#45 did crash (hang) on some hardware. git-svn-id: https://svn.freebsd.org/base/stable/11@331191 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
added Kernel support for Huawei ME909u