[Bug 233964] New: hp4x module not working
https://bugzilla.novell.com/show_bug.cgi?id=233964 Summary: hp4x module not working Product: SUSE Linux 10.1 Version: Final Platform: i386 OS/Version: SuSE Linux 10.1 Status: NEW Severity: Normal Priority: P5 - None Component: Hotplug AssignedTo: ihno@novell.com ReportedBy: Dr.Graef@t-online.de QAContact: qa@suse.de The hp4x module is needed to communicate with the Hewlett Packard 49G+/50G calculators over the USB port. In openSUSE 10.0 it works fine. But with all kernel versions on 10.1 I tried (including the latest, 2.6.16.27-0.6-default), it doesn't. When plugging in a HP 50G calculator on the USB port and turning it on, the device is properly recognized and the necessary kernel modules are loaded. Here is what dmesg says: usb 1-1: new full speed USB device using uhci_hcd and address 2 usb 1-1: new device found, idVendor=03f0, idProduct=0121 usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0 usb 1-1: Product: HPx9G+ Device usb 1-1: Manufacturer: HP Company usb 1-1: configuration #1 chosen from 1 choice usbcore: registered new driver usbserial drivers/usb/serial/usb-serial.c: USB Serial support registered for generic usbcore: registered new driver usbserial_generic drivers/usb/serial/usb-serial.c: USB Serial Driver core drivers/usb/serial/usb-serial.c: USB Serial support registered for hp4X hp4X 1-1:1.0: hp4X converter detected usb 1-1: hp4X converter now attached to ttyUSB0 usbcore: registered new driver hp4X drivers/usb/serial/hp4x.c: HP4x (48/49) Generic Serial driver v1.00 lsmod gives: ag@idefix:~> /sbin/lsmod | grep hp4x hp4x 2688 0 usbserial 27752 1 hp4x usbcore 108804 5 hp4x,usbserial,ehci_hcd,uhci_hcd The device node is created properly as well: ag@idefix:~> ls -l /dev/ttyUSB0 crw-rw---- 1 root uucp 188, 0 2007-01-12 09:09 /dev/ttyUSB0 Still, trying to transfer data from/to the device just blocks indefinitely. E.g., you can reproduce this using the xmodem utilities: On the calculator: 'X' XRECV On the PC: sx /etc/passwd < /dev/ttyUSB0 > /dev/ttyUSB0 (The latter being executed either as root or as a user in the uucp group.) This should download the /etc/passwd file from the PC to the 'X' variable on the calculator, but it just hangs there. Upload from the calculator to the PC ('X' XSEND on the calc; rx FILENAME < /dev/ttyUSB0 > /dev/ttyUSB0 on the PC) also blocks. On openSUSE 10.0 the same commands work just fine, as does kermit and raw serial I/O. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233964 ------- Comment #1 from Dr.Graef@t-online.de 2007-01-12 02:26 MST ------- Here are some more elaborate instructions to do a transfer between calculator and PC via xmodem. (This assumes that the HP 50G is switched to RPN mode.) This works as described on SUSE 10.0. On SUSE 10.1 none of the transfers work, the sx and rx commands just hang. 1. Create a variable to be transferred on the calculator: Calc: {1. 2. 3.} 'X' STO 2. XMODEM transfer calc -> PC: PC: rx test < /dev/ttyUSB0 > /dev/ttyUSB0 Calc: 'X' XSEND The output from rx on the PC is: rx: ready to receive test Bytes received: 384 BPS:25 Transfer complete 3. XMODEM transfer PC -> calc: PC: sx test < /dev/ttyUSB0 > /dev/ttyUSB0 Calc: 'Y' XRECV The output from sx on the PC is: Sending test, 3 blocks: Give your local XMODEM receive command now. Bytes Sent: 384 BPS:29 Transfer complete You now have two variables X and Y on the calc, both containing the list value {1. 2. 3.}, and executing X Y == on the calc should give the result 1. (indicating that the value of the original variable and the value of the variable transferred back to the calc are identical). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233964 ihno@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|ihno@novell.com |olh@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233964 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |Dr.Graef@t-online.de ------- Comment #2 from olh@novell.com 2007-06-13 05:48 MST ------- can you try a newer 10.1 kernel and the 10.2 kernel? 10.1: ftp://ftp.suse.com/pub/projects/kernel/kotd/SLES10_SP1_BRANCH/i386/kernel-default.rpm 10.2: ftp://ftp.suse.com/pub/projects/kernel/kotd/SL102_BRANCH/i386/kernel-default.rpm There will be some unresolved rpm dependencies for perl-Bootloader and apparmor. Just install the kernel with rpm -Uvh kernel-default.rpm --nodeps -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=233964#c3
Stephan Kulow
participants (1)
-
bugzilla_noreply@novell.com