[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /dev/ACM, LG Arena phone, and tethering



On Tue, Feb 04, 2014 at 02:37:09PM +1100, Scott Ferguson wrote:
> I have an LG Arena KM900 mobile phone I'd like to be able to tether with
> Debian Wheezy boxes. The problem is that it's not doing this automagically.
> I have usbmodeswitch installed:-
> usb-modeswitch       1.2.3+repack0-1
> 
> Connecting the phone with a USB cable and the phone set to use "PC
> suite" (which it what it's supposed to support tethering under Windoof
> with) shows the following in dmesg:-
> 
> [10207.956039] usb 3-2: new full-speed USB device number 2 using ohci_hcd
> [10208.180078] usb 3-2: New USB device found, idVendor=1004, idProduct=607f
> [10208.180090] usb 3-2: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [10208.180096] usb 3-2: Product: LGE USB Device
> [10208.180101] usb 3-2: Manufacturer: LG
> [10208.180105] usb 3-2: SerialNumber: 352154035075943
> [10208.209439] scsi4 : usb-storage 3-2:1.0
> [10209.216189] scsi 4:0:0:0: CD-ROM            LGE      mobile
>  1.0  PQ: 0 ANSI: 0
> [10209.252139] sr0: scsi-1 drive
> [10209.252151] cdrom: Uniform CD-ROM driver Revision: 3.20
> [10209.252841] sr 4:0:0:0: Attached scsi CD-ROM sr0
> [10209.253600] sr 4:0:0:0: Attached scsi generic sg2 type 5
> [10210.119708] usb 3-2: USB disconnect, device number 2
> [10212.652037] usb 3-2: new full-speed USB device number 3 using ohci_hcd
> [10212.873303] usb 3-2: New USB device found, idVendor=1004, idProduct=6000
> [10212.873314] usb 3-2: New USB device strings: Mfr=1, Product=2,
> SerialNumber=0
> [10212.873321] usb 3-2: Product: LGE USB Device
> [10212.873325] usb 3-2: Manufacturer: LG
> [10213.076340] cdc_acm 3-2:2.0: This device cannot do calls on its own.
> It is not a modem.
> [10213.076523] cdc_acm 3-2:2.0: ttyACM0: USB ACM device
> [10213.120352] usbcore: registered new interface driver cdc_acm
> [10213.120362] cdc_acm: USB Abstract Control Model driver for USB modems
> and ISDN adapters
> 
> 
[cut]
> 
> 
> I can't mount the fake CD-ROM it creates at /dev/sg2 (or /dev/sr0)

Given what you've done above, that's not surprising. Note the line at
[10210] where it says "USB disconnect". USBModeSwitch will cause the USB
device to stop pretending to be a CDRom and start being a modem. The
CDRom device should disappear when /dev/ttyACM0 appears. That said, you
*should* be able to mount the CDROM /before/ doing the mode-switch, but
just expect it to contain Windows drivers.

> 
> I have pointed picocom at /dev/ttyACM0 without error, but echoing stuff
> to /dev/sg* doesn't make it to the picocom terminal

I don't know what the implications of "This device [...] is not a modem"
are, but a web search on that line may help.

> 
> 
> Any suggestions appreciated, (especially safe AT commands).

AT (Should reply "OK")
ATI (Show Identification)

Attachment: signature.asc
Description: Digital signature


Reply to: