Bug 9065
Summary: | usb/serial/pl2303: support for BenQ Siemens Mobile Phone S81 | ||
---|---|---|---|
Product: | Drivers | Reporter: | Rolf Leggewie (bugzilla.kernel.org) |
Component: | USB | Assignee: | Greg Kroah-Hartman (greg) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | alan, protasnb |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.22-12-generic (latest gutsy) | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 5089 | ||
Attachments: |
Ausgabe von "lsusb -s 007 -v"
patch for S81 mobile phone modelled after attachment 12517 Test patch |
Description
Rolf Leggewie
2007-09-25 09:22:11 UTC
Created attachment 12935 [details]
Ausgabe von "lsusb -s 007 -v"
Rolf, In the last patchset that Greg KH submitted for 2.6.23 there is one: Andreas Loibl (1): usb: serial/pl2303: support for BenQ Siemens Mobile Phone EF81 And if this is for the bug that you are referring to, this should be it. Have you tested with 2.6.23+? Thanks. Natalie, thank you for your comment. I believe that the patchset you are referring to deals with bug 8932 but not this one (yet). Seems to all be merged Created attachment 18054 [details] patch for S81 mobile phone modelled after attachment 12517 [details] (In reply to comment #4) > Seems to all be merged Doesn't look like it is to me: $ grep 81 drivers/usb/serial/pl2303.c { USB_DEVICE(SIEMENS_VENDOR_ID, SIEMENS_PRODUCT_ID_EF81) }, The EF81 has made it in and thus bug 8932 is indeed fixed. I guess we need something similar to attachment 12517 [details] from that bug. Please see the attachment from this comment which I assume should do the trick. Thanks for clarifying that the two phones have differing identifiers. In order to get your patched merged can you either - post a copy with a Signed-off-by: line to the linux-kernel@vger.kernel.org list (you don't need to be a subscriber) - or if you'd prefer to do it via bugzilla just give me permission to add a signed-off-by: line for you to the patch and do the merging. Thanks Alan Thanks, Alan. Unfortunately, apparently, that patch in itself is not sufficient. With that patch applied, the kernel cannot be compiled. It looks like that in the case of the EF81 there was already some information about it in pl2303.h. There is notthing about the S81 in there and I believe that is why the compilation fails. Maybe somebody more experienced than me can take a look? Finally got time to glance at this please test the patch that follows Created attachment 20674 [details]
Test patch
I apologize for the late response. I believe the patch is working fine. From syslog: Jun 2 15:27:04 X24 kernel: [18496.590824] usb 1-1.1: new full speed USB device using uhci_hcd and address 4 Jun 2 15:27:04 X24 kernel: [18496.709050] usb 1-1.1: configuration #1 chosen from 1 choice Jun 2 15:27:10 X24 kernel: [18502.239306] usbcore: registered new interface driver usbserial Jun 2 15:27:10 X24 kernel: [18502.239339] USB Serial support registered for generic Jun 2 15:27:10 X24 kernel: [18502.239406] usbcore: registered new interface driver usbserial_generic Jun 2 15:27:10 X24 kernel: [18502.239410] usbserial: USB Serial Driver core Jun 2 15:27:10 X24 kernel: [18502.299789] USB Serial support registered for pl2303 Jun 2 15:27:10 X24 kernel: [18502.299840] pl2303 1-1.1:1.0: pl2303 converter detected Jun 2 15:27:10 X24 kernel: [18502.313345] usb 1-1.1: pl2303 converter now attached to ttyUSB0 Jun 2 15:27:10 X24 kernel: [18502.313382] pl2303 1-1.1:1.1: pl2303 converter detected Jun 2 15:27:10 X24 kernel: [18502.325326] usb 1-1.1: pl2303 converter now attached to ttyUSB1 Jun 2 15:27:10 X24 kernel: [18502.325367] usbcore: registered new interface driver pl2303 Jun 2 15:27:10 X24 kernel: [18502.325373] pl2303: Prolific PL2303 USB to serial adaptor driver Jun 2 15:27:12 X24 NetworkManager: <info> (ttyUSB1): ignoring due to lack of mobile broadband capabilties Jun 2 15:27:12 X24 NetworkManager: <info> (ttyUSB0): ignoring due to lack of mobile broadband capabilties The only thing I am not sure about are those last two lines. I have not yet made any GSM connection or actually accessed the device apart from looking at syslog right after plugging the phone in via USB. I cannot acces the internal storage on the phone. Is this something that should be driven by pl2303? In that case, I would like to reopen this bug. That all looks in order The last 2 are not the kernel but NetworkManager (part of some desktops) deciding your phone doesn't look like a 3G dongle and therefore doesn't need to be managed that way. I have no idea how the internal storage is handled on this phone. I assume you would need a suitable application to talk syncml or whatever the phone speaks over the serial link for this purpose. |