10-modem.fdi and Dell 5530

Dan Williams dcbw at redhat.com
Wed Nov 26 08:10:48 PST 2008


On Wed, 2008-11-26 at 16:58 +0100, Patryk Zawadzki wrote:
> Hi,
> 
> I'm using a Dell Mini 9 (Inspiron 910) with a Dell 5530 HSPA card. I
> was surprised to see it not working with NetworkManager but I've found
> that the cause is in hal-info.
> 
> The rules in the latest release are as follows:
> 
> <match key="@info.parent:usb.product_id"
> int_outof="0x8115;0x8116;0x8118;0x8136;0x8137;0x8138;0x8147">
>   <match key="@info.parent:usb.interface.number" int="0">
>     <append key="modem.command_sets" type="strlist">GSM-07.07</append>
>     <append key="modem.command_sets" type="strlist">GSM-07.05</append>
>   </match>
> </match>
> 
> However the device here has 11 interfaces and interface 0 is not a
> serial device. Interfaces 1 and 3 are Modem and Modem 2 in this order,
> interface 9 is GSM port. To me it looks like we need another way to
> match these devices. Perhaps using the child's serial.port instead of
> parent's interface number? I am not sure how to fix it and it's not
> time critical so I'm free to test any proposed patches.

Yes, we do, and that way is probing.  However, we cannot probe in HAL,
because with 11 serial ports, and hal probing not being parallel, you're
looking at 11 * 4 seconds blocking HAL startup.

Thus, the answer is probing in udev instead, which I'm going to work on
shortly.  udev probing is parallel, thus the hit is only 4 seconds total
when you have any cards plugged in.

Dan




More information about the hal mailing list