Skip to content
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

USB/U3G: Added Panasonic CF-F9 GOBI 3G modem to U3G module. #115

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 20 additions & 0 deletions etc/devd/u3g.conf
@@ -0,0 +1,20 @@
# $FreeBSD$
#
# Refer to devd.conf(5) and devd(8) man pages for the details on how to
# run and configure devd.
#

# Load GOBI 2000/3000 U3G QDL modem firmware on attach / boot.
# Note: This requires additional "gobi_loader" utility to be installed,
# as well as valid QDL driver firmware files placed in /boot/firmware/gobi.
# If modem does not accept valid firmware try gobi_loader -2000 switch.
# Please adjust modem VID/PID to match your device supported by u3g module.
#attach 100 {
# device-name "(u3g)[0-9]+";
# match "vendor" "0x04da";
# match "product" "0x250e";
# action "logger -s -p kern.crit Loading U3G firmware..";
# action "/usr/local/bin/gobi_loader /dev/cua$ttyname /boot/firmware/gobi/";
#};


8 changes: 8 additions & 0 deletions etc/devd/usb.conf
Expand Up @@ -629,6 +629,14 @@ nomatch 32 {
action "kldload -n uplcom";
};

nomatch 32 {
match "bus" "uhub[0-9]+";
match "mode" "host";
match "vendor" "0x04da";
match "product" "(0x250e|0x250f)";
action "kldload -n u3g";
};

nomatch 32 {
match "bus" "uhub[0-9]+";
match "mode" "host";
Expand Down
2 changes: 2 additions & 0 deletions sys/dev/usb/serial/u3g.c
Expand Up @@ -390,6 +390,8 @@ static const STRUCT_USB_HOST_ID u3g_devs[] = {
U3G_DEV(OPTION, GTMAXHSUPA, 0),
U3G_DEV(OPTION, GTMAXHSUPAE, 0),
U3G_DEV(OPTION, VODAFONEMC3G, 0),
U3G_DEV(PANASONIC, CFF9_3G_QDL, 0),
U3G_DEV(PANASONIC, CFF9_3G, 0),
U3G_DEV(QISDA, H20_1, 0),
U3G_DEV(QISDA, H20_2, 0),
U3G_DEV(QISDA, H21_1, 0),
Expand Down
2 changes: 2 additions & 0 deletions sys/dev/usb/usbdevs
Expand Up @@ -3520,6 +3520,8 @@ product PANASONIC KXLRW32AN 0x0d09 CD-R Drive KXL-RW32AN
product PANASONIC KXLCB20AN 0x0d0a CD-R Drive KXL-CB20AN
product PANASONIC KXLCB35AN 0x0d0e DVD-ROM & CD-R/RW
product PANASONIC SDCAAE 0x1b00 MultiMediaCard
product PANASONIC CFF9_3G_QDL 0x250e ToughBook CF-F9 GOBI 3G Modem Loader
product PANASONIC CFF9_3G 0x250f ToughBook CF-F9 GOBI 3G Modem
product PANASONIC TYTP50P6S 0x3900 TY-TP50P6-S 50in Touch Panel

/* Papouch products */
Expand Down