Bug 533266
Summary: | hp 5310m: qcserial does not create /dev/ttyUSB0 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Need Real Name <lsof> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 13 | CC: | AppelonD, dcbw, dougsland, gansalmon, itamar, jfeeney, kernel-maint, lsof |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-06-06 13:06:30 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Need Real Name
2009-11-05 20:03:58 UTC
To the file: /etc/udev/rules.d/60-gobi.rules I added the line: ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="241d", RUN+="gobi_loader $env{DEVNAME} /lib/firmware/gobi" To the file: ./rpmbuild/BUILD/kernel-2.6.31/linux-2.6.31.x86_64/drivers/usb/serial/qcserial.c I added the line: {USB_DEVICE(0x03f0, 0x241d)}, /* HP Gobi device */ rebuilt the kernel module and loaded qcserial. Still I get no /dev/ttyU* device. If I manually create the device using mknod, I can run gobi_loader, but it hangs. mknod /dev/ttyUSB0 c 188 0 strace says: chdir("/lib/firmware/gobi/") = 0 open("amss.mbn", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0755, st_size=11096116, ...}) = 0 ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B9600 -opost -isig -icanon -echo ...}) = 0 ioctl(3, SNDCTL_TMR_START or TCSETS, {B9600 -opost -isig -icanon -echo ...}) = 0 ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B9600 -opost -isig -icanon -echo ...}) = 0 write(3, "~", 1 With debug enabled I get: # insmod ~/rpmbuild/BUILD/kernel-2.6.31/linux-2.6.31.x86_64/drivers/usb/serial/qcserial.ko debug=1 # dmesg USB Serial support registered for Qualcomm USB modem .. /linux-2.6.31.x86_64/drivers/usb/serial/qcserial.c: qcprobe .. /linux-2.6.31.x86_64/drivers/usb/serial/qcserial.c: Num Interfaces = 1 .. /linux-2.6.31.x86_64/drivers/usb/serial/qcserial.c: This Interface = 1 usbcore: registered new interface driver qcserial Which looks promising, except I never get a /dev/ttyUSB0 device so the udev rule doesn't trigger. This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping It's probably best to take this upstream to the lkml, or possibly gregkh on linux-usb@. The 241d is a Gobi 2000 device, so not handled by the current driver or gobi_loader. Patches to support this have just been sent. (In reply to comment #5) > The 241d is a Gobi 2000 device, so not handled by the current driver or > gobi_loader. Patches to support this have just been sent. Are the patches in F13? They are, yes. Sorry for not updating this! Great, so NetworkManager should be able to work with it out. Taking it there: https://bugzilla.gnome.org/show_bug.cgi?id=602979 Thanks. |