NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Huawei E1820
On Thu, Nov 25, 2010 at 09:23:57PM +0200, Jukka Marin wrote:
> I tried it on 5.1_RC3. The product ID does not exist in usbdevs - I tried
> adding it there and also added the defines to uhmodem.c (I'm running build
> now). I guess u3g.c sounds like a more appropriate driver, now that I think
> of it ;-)
I guess I goofed up, I added the new define in u3g.c, but it didn't help.
(I also upgraded to 5.1_STABLE.)
I added this to usbdevs:
product HUAWEI E1820 0x14ac Huawei E1820
I generated usbdevs.h and usbdevs_data.h and the new defines are there.
Then I added this to u3g.c:
{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1820 },
Here's the dmesg output..
umass0 at uhub10 port 3 configuration 1 interface 0
umass0: Huawei Technologies HUAWEI Mobile, rev 2.00/0.00, addr 7
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, 1 lun per target
umass1 at uhub10 port 3 configuration 1 interface 1cd1 at scsibus1 target 0
lun 0: <HUAWEI, Mass Storage, 2.31> cdrom removable
umass1: Huawei Technologies HUAWEI Mobile, rev 2.00/0.00, addr 7
umass1: using SCSI over Bulk-Only
scsibus2 at umass1: 2 targets, 1 lun per target
sd0 at scsibus2 target 0 lun 0: <HUAWEI, TF CARD Storage, > disk removable
sd0: drive offline
sd0(umass1:0:0:0): Check Condition on CDB: 0x00 00 00 00 00 00
SENSE KEY: Not Ready
ASC/ASCQ: Medium Not Present
sd0: unable to open device, error = 19
umass0: at uhub10 port 3 (addr 7) disconnected
cd1: detached
scsibus1: detached
umass0: detached
umass1: at uhub10 port 3 (addr 7) disconnected
sd0: detached
scsibus2: detached
umass1: detached
I'll investigate further asap.
-jm
Home |
Main Index |
Thread Index |
Old Index