LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-10-2010, 10:13 PM   #1
jfmas
LQ Newbie
 
Registered: Sep 2009
Location: Mexico
Distribution: fedora
Posts: 4

Rep: Reputation: 0
driver for USB to Parallel Cable ?


Hi all,

I have been trying to install an old HP Laserjet 4100 printer using an USB to Parallel Cable (“Cables Limited USB IEEE 1284 printer cable”). The driver provided with the cable worked on windows XP and I was able to print. The cable is also sold as supporting Linux but it seems that is was tested for fedora core 4 and Moschip Support Team wrote me that ubuntu 9.04 was not supported. When trying to install the driver (makefile) I got a lot of errors (see annex) . I have a System 76 PC with ubuntu 9.04, kernel 2.6.28-17-generic, intel(R) Core(TM). Whwn connected the printer is not recognized.

Any advice to install the cable ? Or any trade / model of printer cable really able to work with ubuntu ?

I will appreciate a lot any help!

Thanks in advance

JF

Additional information: lsusboutput, linux dirver file list, errors whwn carrying out the make and dmesg output

Additional information:

lsusb indicates Bus 002 Device 002: ID 9710:7705 MosChip Semiconductor Printer USB to Parallel



The linux driver files are
Makefile mos7705-2.6.17.7-patch mos7705.h usb-serial.h

mos7705_16C50.h mos7705.c README

mos7705-2.6.16.1-patch mos7705-FC5-patch Releasenotes


Errors when doing make
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-17-generic'

CC [M] /home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.o

/home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.c:215: warning: initialization from incompatible pointer type

/home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.c:1069: error: conflicting types for ‘mos7705_interrupt_callback’

/home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.h:286: error: previous declaration of ‘mos7705_interrupt_callback’ was here

/home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.c:1173: error: conflicting types for ‘mos7705_bulk_in_callback’

/home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.h:285: error: previous declaration of ‘mos7705_bulk_in_callback’ was here

/home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.c: In function ‘mos7705_bulk_in_callback’:

/home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.c:1186: warning: unused variable ‘i’

/home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.c: At top level:

/home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.c:1321: error: conflicting types for ‘mos7705_bulk_out_data_callback’

/home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.h:287: error: previous declaration of ‘mos7705_bulk_out_data_callback’ was here

/home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.c: In function ‘mos7705_bulk_out_data_callback’:

/home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.c:1364: error: ‘struct tty_ldisc’ has no member named ‘write_wakeup’

/home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.c:1365: error: ‘struct tty_ldisc’ has no member named ‘write_wakeup’

/home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.c: In function ‘mos7705_shutdown’:

/home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.c:3448: error: implicit declaration of function ‘kill_proc’

make[2]: *** [/home/jf/Desktop/resp_fedora/programas/driver_cable/src/mos7705.o] Error 1

make[1]: *** [_module_/home/jf/Desktop/resp_fedora/programas/driver_cable/src] Error 2

make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-17-generic'

make: *** [default] Error 2



dmseg output (I had to cut it it was too long ...
[ 0.000000] BIOS EBDA/lowmem at: 0009fc00/0009fc00
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.28-17-generic (buildd@crested) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #58-Ubuntu SMP Tue Dec 1 21:27:25 UTC 2009 (Ubuntu 2.6.28-17.58-generic)
[ 0.000000] Command line: root=UUID=e7728359-15b1-4eb6-a7c9-db1b40e7c807 ro quiet splash
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 00000000cfbb9000 (usable)
[ 0.000000] BIOS-e820: 00000000cfbb9000 - 00000000cfbfc000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000cfbfc000 - 00000000cfd50000 (reserved)
[ 0.000000] BIOS-e820: 00000000cfd50000 - 00000000cfd56000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000cfd56000 - 00000000cfd57000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000cfd57000 - 00000000cfd59000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000cfd59000 - 00000000cfd5b000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000cfd5b000 - 00000000cfd5c000 (reserved)
[ 0.000000] BIOS-e820: 00000000cfd5c000 - 00000000cfd60000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000cfd60000 - 00000000cfd6f000 (reserved)
[ 0.000000] BIOS-e820: 00000000cfd6f000 - 00000000cff00000 (usable)
[ 0.000000] BIOS-e820: 00000000fed1c000 - 00000000fed20000 (reserved)
[ 0.000000] BIOS-e820: 00000000ffa00000 - 00000000ffc00000 (reserved)
[ 0.000000] BIOS-e820: 00000000ffe00000 - 0000000100000000 (reserved)
[ 0.000000] BIOS-e820: 0000000100000000 - 0000000130000000 (usable)
[ 0.000000] DMI 2.4 present.
[ 0.000000] last_pfn = 0x130000 max_arch_pfn = 0x3ffffffff
[ 0.000000] last_pfn = 0xcff00 max_arch_pfn = 0x3ffffffff
[ 0.000000] Scanning 2 areas for low memory corruption
[ 0.000000] modified physical RAM map:
[ 0.000000] modified: 0000000000000000 - 0000000000001000 (usable)
[ 0.000000] modified: 0000000000001000 - 0000000000006000 (reserved)
[ 0.000000] modified: 0000000000006000 - 0000000000008000 (usable)
[ 0.000000] modified: 0000000000008000 - 0000000000010000 (reserved)
[ 0.000000] modified: 0000000000010000 - 0000000000092c00 (usable)
[ 0.000000] modified: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] modified: 00000000000e0000 - 0000000000100000 (reserved)
[ 0.000000] modified: 0000000000100000 - 00000000cfbb9000 (usable)
[ 0.000000] modified: 00000000cfbb9000 - 00000000cfbfc000 (ACPI NVS)
[ 0.000000] modified: 00000000cfbfc000 - 00000000cfd50000 (reserved)
[ 0.000000] modified: 00000000cfd50000 - 00000000cfd56000 (ACPI data)
[ 0.000000] modified: 00000000cfd56000 - 00000000cfd57000 (ACPI NVS)
[ 0.000000] modified: 00000000cfd57000 - 00000000cfd59000 (ACPI data)
[ 0.000000] modified: 00000000cfd59000 - 00000000cfd5b000 (ACPI NVS)
[ 0.000000] modified: 00000000cfd5b000 - 00000000cfd5c000 (reserved)
[ 0.000000] modified: 00000000cfd5c000 - 00000000cfd60000 (ACPI NVS)
[ 0.000000] modified: 00000000cfd60000 - 00000000cfd6f000 (reserved)
[ 0.000000] modified: 00000000cfd6f000 - 00000000cff00000 (usable)
[ 0.000000] modified: 00000000fed1c000 - 00000000fed20000 (reserved)
[ 0.000000] modified: 00000000ffa00000 - 00000000ffc00000 (reserved)
[ 0.000000] modified: 00000000ffe00000 - 0000000100000000 (reserved)
[ 0.000000] modified: 0000000100000000 - 0000000130000000 (usable)
[ 0.000000] init_memory_mapping: 0000000000000000-00000000cff00000
[ 0.000000] 0000000000 - 00cfe00000 page 2M
[ 0.000000] 00cfe00000 - 00cff00000 page 4k
[ 0.000000] kernel direct mapping tables up to cff00000 @ 10000-16000
[ 0.000000] last_map_addr: cff00000 end: cff00000
[ 0.000000] init_memory_mapping: 0000000100000000-0000000130000000
[ 0.000000] 0100000000 - 0130000000 page 2M
[ 0.000000] kernel direct mapping tables up to 130000000 @ 14000-1a000
[ 0.000000] last_map_addr: 130000000 end: 130000000
[ 0.000000] RAMDISK: 3785e000 - 37fef40d
[ 0.000000] ACPI: RSDP 000F03C0, 0024 (r2 INTEL)
[ 0.000000] ACPI: XSDT CFD57F10, 0044 (r1 INTEL DG31PR 6222004 MSFT 10013)
[ 0.000000] ACPI: FACP CFD55D90, 00F4 (r4 INTEL DG31PR 6222004 MSFT 10013)
[ 0.000000] ACPI: DSDT CFD50010, 4A8F (r1 INTEL DG31PR 0 INTL 20051117)
[ 0.000000] ACPI: FACS CFD56F40, 0040
[ 0.000000] ACPI: APIC CFD55F10, 006C (r2 INTEL DG31PR 6222004 MSFT 10013)
[ 0.000000] ACPI: HPET CFD5ED10, 0038 (r1 INTEL ICH7HPET 6222004 AMI. 1)
[ 0.000000] ACPI: MCFG CFD5EC10, 003C (r1 INTEL DG31PR 6222004 MSFT 97)
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] (7 early reservations) ==> bootmem [0000000000 - 0130000000]
[ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
[ 0.000000] #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000]
[ 0.000000] #2 [0000200000 - 0000b7cbb0] TEXT DATA BSS ==> [0000200000 - 0000b7cbb0]
[ 0.000000] #3 [003785e000 - 0037fef40d] RAMDISK ==> [003785e000 - 0037fef40d]
[ 0.000000] #4 [000009fc00 - 0000100000] BIOS reserved ==> [000009fc00 - 0000100000]
[ 0.000000] #5 [0000010000 - 0000014000] PGTABLE ==> [0000010000 - 0000014000]
[ 0.000000] #6 [0000014000 - 0000015000] PGTABLE ==> [0000014000 - 0000015000]
[ 0.000000] found SMP MP-table at [ffff8800000fd420] 000fd420
[ 0.000000] [ffffe20000000000-ffffe200043fffff] PMD -> [ffff880028200000-ffff88002c5fffff] on node 0
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000000 -> 0x00001000
[ 0.000000] DMA32 0x00001000 -> 0x00100000
[ 0.000000] Normal 0x00100000 -> 0x00130000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[6] active PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00000001
[ 0.000000] 0: 0x00000006 -> 0x00000008
[ 0.000000] 0: 0x00000010 -> 0x00000092
[ 0.000000] 0: 0x00000100 -> 0x000cfbb9
[ 0.000000] 0: 0x000cfd6f -> 0x000cff00
[ 0.000000] 0: 0x00100000 -> 0x00130000
[ 0.000000] On node 0 totalpages: 1047759
[ 0.000000] DMA zone: 56 pages used for memmap
[ 0.000000] DMA zone: 2534 pages reserved
[ 0.000000] DMA zone: 1383 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 14280 pages used for memmap
[ 0.000000] DMA32 zone: 832898 pages, LIFO batch:31
[ 0.000000] Normal zone: 2688 pages used for memmap
[ 0.000000] Normal zone: 193920 pages, LIFO batch:31
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] ACPI: PM-Timer IO Port: 0x408
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] disabled)
[ 0.000000] ACPI: IOAPIC (id[0x00] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 0, version 0, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] SMP: Allowing 4 CPUs, 2 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: 0000000000001000 - 0000000000006000
[ 0.000000] PM: Registered nosave memory: 0000000000008000 - 0000000000010000
[ 0.000000] PM: Registered nosave memory: 0000000000092000 - 00000000000a0000
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000e0000
[ 0.000000] PM: Registered nosave memory: 00000000000e0000 - 0000000000100000
[ 0.000000] PM: Registered nosave memory: 00000000cfbb9000 - 00000000cfbfc000
[ 0.000000] PM: Registered nosave memory: 00000000cfbfc000 - 00000000cfd50000
[ 0.000000] PM: Registered nosave memory: 00000000cfd50000 - 00000000cfd56000
[ 0.000000] PM: Registered nosave memory: 00000000cfd56000 - 00000000cfd57000
[ 0.000000] PM: Registered nosave memory: 00000000cfd57000 - 00000000cfd59000
[ 0.000000] PM: Registered nosave memory: 00000000cfd59000 - 00000000cfd5b000
[ 0.000000] PM: Registered nosave memory: 00000000cfd5b000 - 00000000cfd5c000
[ 0.000000] PM: Registered nosave memory: 00000000cfd5c000 - 00000000cfd60000
[ 0.000000] PM: Registered nosave memory: 00000000cfd60000 - 00000000cfd6f000
[ 0.000000] PM: Registered nosave memory: 00000000cff00000 - 00000000fed1c000
[ 0.000000] PM: Registered nosave memory: 00000000fed1c000 - 00000000fed20000
[ 0.000000] PM: Registered nosave memory: 00000000fed20000 - 00000000ffa00000
[ 0.000000] PM: Registered nosave memory: 00000000ffa00000 - 00000000ffc00000
[ 0.000000] PM: Registered nosave memory: 00000000ffc00000 - 00000000ffe00000
[ 0.000000] PM: Registered nosave memory: 00000000ffe00000 - 0000000100000000
[ 0.000000] Allocating PCI resources starting at d0000000 (gap: cff00000:2ee1c000)
[ 0.000000] PERCPU: Allocating 69632 bytes of per cpu data
[ 0.000000] NR_CPUS: 64, nr_cpu_ids: 4, nr_node_ids 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1028201
[ 0.000000] Kernel command line: root=UUID=e7728359-15b1-4eb6-a7c9-db1b40e7c807 ro quiet splash
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
[ 0.000000] Extended CMOS year: 2000
[ 0.000000] TSC: PIT calibration matches PMTIMER. 1 loops
[ 0.000000] Detected 3166.602 MHz processor.
[ 0.004000] Console: colour VGA+ 80x25
[ 0.004000] console [tty0] enabled
[ 0.004000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.004000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.004000] allocated 49807360 bytes of page_cgroup
[ 0.004000] please try cgroup_disable=memory option if you don't want
[ 0.004000] Scanning for low memory corruption every 60 seconds
[ 0.004000] Checking aperture...
[ 0.004000] No AGP bridge found
[ 0.004000] Calgary: detecting Calgary via BIOS EBDA area
[ 0.004000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[ 0.004000] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 0.004000] Placing software IO TLB between 0x20000000 - 0x24000000
[ 0.004000] Memory: 3981800k/4980736k available (4750k kernel code, 789700k absent, 208352k reserved, 2523k data, 536k init)
[ 0.004000] SLUB: Genslabs=12, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.004000] hpet clockevent registered
[ 0.004000] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
[ 0.004000] Calibrating delay loop (skipped), value calculated using timer frequency.. 6333.20 BogoMIPS (lpj=12666408)
[ 0.004000] Security Framework initialized
[ 0.004000] SELinux: Disabled at boot.
[ 0.004000] AppArmor: AppArmor initialized
[ 0.004000] Mount-cache hash table entries: 256
[ 0.004000] Initializing cgroup subsys ns
[ 0.004000] Initializing cgroup subsys cpuacct
[ 0.004000] Initializing cgroup subsys memory
[ 0.004000] Initializing cgroup subsys freezer
[ 0.004000] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 0.004000] CPU: L2 cache: 6144K
[ 0.004000] CPU: Physical Processor ID: 0
[ 0.004000] CPU: Processor Core ID: 0
[ 0.004000] using mwait in idle threads.
[ 0.004000] ACPI: Core revision 20080926
[ 0.004000] ACPI: Checking initramfs for custom DSDT
[ 0.212036] Setting APIC routing to flat
[ 0.212371] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.252114] CPU0: Intel(R) Core(TM)2 CPU E8500 @ 3.16GHz stepping 0a
[ 0.256001] Booting processor 1 APIC 0x1 ip 0x6000
[ 0.004000] Initializing CPU#1
[ 0.004000] Calibrating delay using timer specific routine.. 6333.12 BogoMIPS (lpj=12666247)
[ 0.004000] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 0.004000] CPU: L2 cache: 6144K
[ 0.004000] CPU: Physical Processor ID: 0
[ 0.004000] CPU: Processor Core ID: 1
[ 0.340697] CPU1: Intel(R) Core(TM)2 CPU E8500 @ 3.16GHz stepping 0a
[ 0.340712] checking TSC synchronization [CPU#0 -> CPU#1]: passed.
[ 0.344032] Brought up 2 CPUs
[ 0.344034] Total of 2 processors activated (12666.32 BogoMIPS).
[ 0.344074] CPU0 attaching sched-domain:
[ 0.344076] domain 0: span 0-1 level MC
[ 0.344077] groups: 0 1
[ 0.344080] CPU1 attaching sched-domain:
[ 0.344081] domain 0: span 0-1 level MC
[ 0.344082] groups: 1 0
[ 0.344129] net_namespace: 1400 bytes
[ 0.344129] Booting paravirtualized kernel on bare hardware
[ 0.344189] Time: 0:57:20 Date: 01/11/10
[ 0.344189] regulator: core version 0.5
[ 0.344189] NET: Registered protocol family 16
[ 0.344189] ACPI: bus type pci registered
[ 0.344189] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 64
[ 0.344189] PCI: Not using MMCONFIG.
[ 0.344189] PCI: Using configuration type 1 for base access
[ 0.344564] ACPI: EC: Look up EC in DSDT
[ 0.350112] ACPI: Interpreter enabled
[ 0.350114] ACPI: (supports S0 S1 S3 S4 S5)
[ 0.350126] ACPI: Using IOAPIC for interrupt routing
[ 0.350161] PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 64
[ 0.351887] PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
[ 0.351888] PCI: updated MCFG configuration 0: base e0000000 segment 0 buses 0 - 31
[ 0.352820] PCI: Using MMCONFIG at e0000000 - e1ffffff
[ 0.352996] ACPI: BIOS _OSI(Linux) query ignored
[ 0.356662] ACPI: No dock devices found.
[ 0.356700] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.356753] pci 0000:00:01.0: PME# supported from D0 D3hot D3cold
[ 0.356754] pci 0000:00:01.0: PME# disabled
[ 0.356797] pci 0000:00:1b.0: reg 10 64bit mmio: [0xfeb00000-0xfeb03fff]
[ 0.356817] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
[ 0.356819] pci 0000:00:1b.0: PME# disabled
[ 0.356850] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
[ 0.356853] pci 0000:00:1c.0: PME# disabled
[ 0.356885] pci 0000:00:1c.1: PME# supported from D0 D3hot D3cold
[ 0.356887] pci 0000:00:1c.1: PME# disabled
[ 0.356922] pci 0000:00:1d.0: reg 20 io port: [0xd080-0xd09f]
[ 0.356955] pci 0000:00:1d.1: reg 20 io port: [0xd060-0xd07f]
[ 0.356989] pci 0000:00:1d.2: reg 20 io port: [0xd040-0xd05f]
[ 0.357022] pci 0000:00:1d.3: reg 20 io port: [0xd020-0xd03f]
[ 0.357059] pci 0000:00:1d.7: reg 10 32bit mmio: [0xfeb04000-0xfeb043ff]
[ 0.357087] pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
[ 0.357090] pci 0000:00:1d.7: PME# disabled
[ 0.357175] pci 0000:00:1f.0: quirk: region 0400-047f claimed by
 
Old 01-11-2010, 05:05 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Not sure you need to build a driver. It should or at least could be fully supported in the kernel.

Might have to boot the system with the thing installed at cold boot. The dmsg with grep to find usb only info
 
Old 01-12-2010, 02:09 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
No parallel port ? Other possibilities ..
.. an alternative to a driver solution :

When it's a "Desktop Computer" , suggest :
Add a pci card "parallel port adapter"
( cheaper than the cable ! )

Adapter for laptop ( not cheap )
http://www.usbgear.com/Laptop-Express-Cards.html

http://www.google.com/webhp#hl=en&so...0e053116aeea03
.....
 
Old 01-13-2010, 12:10 AM   #4
jfmas
LQ Newbie
 
Registered: Sep 2009
Location: Mexico
Distribution: fedora
Posts: 4

Original Poster
Rep: Reputation: 0
Hi jefro thanks for the response, I have connected the printer with the cable, shut down and turned on the PC
the dmesg | grep -i usb gave me the following:

[ 0.360343] usbcore: registered new interface driver usbfs
[ 0.360343] usbcore: registered new interface driver hub
[ 0.360343] usbcore: registered new device driver usb
[ 1.451344] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.451403] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
[ 1.468006] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
[ 1.468069] usb usb1: configuration #1 chosen from 1 choice
[ 1.468092] hub 1-0:1.0: USB hub found
[ 1.468196] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.468204] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.468243] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
[ 1.468304] usb usb2: configuration #1 chosen from 1 choice
[ 1.468317] hub 2-0:1.0: USB hub found
[ 1.468394] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
[ 1.468453] usb usb3: configuration #1 chosen from 1 choice
[ 1.468466] hub 3-0:1.0: USB hub found
[ 1.468541] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
[ 1.468606] usb usb4: configuration #1 chosen from 1 choice
[ 1.468619] hub 4-0:1.0: USB hub found
[ 1.468697] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
[ 1.468760] usb usb5: configuration #1 chosen from 1 choice
[ 1.468775] hub 5-0:1.0: USB hub found
[ 2.248504] usb 2-1: new full speed USB device using uhci_hcd and address 2
[ 2.402402] usb 2-1: configuration #1 chosen from 1 choice
[ 2.644009] usb 2-2: new low speed USB device using uhci_hcd and address 3
[ 2.820410] usb 2-2: configuration #1 chosen from 1 choice
[ 3.060009] usb 3-1: new low speed USB device using uhci_hcd and address 2
[ 3.239608] usb 3-1: configuration #1 chosen from 1 choice
[ 3.480011] usb 3-2: new full speed USB device using uhci_hcd and address 3
[ 3.637628] usb 3-2: configuration #1 chosen from 1 choice
[ 4.918113] usbcore: registered new interface driver hiddev
[ 4.931641] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-2/2-2:1.0/input/input5
[ 4.976091] generic-usb 0003:046D:C040.0001: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.0-2/input0
[ 4.990899] input: BTC USB Multimedia Keyboard as /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/input/input6
[ 5.012593] generic-usb 0003:046D:C313.0002: input,hidraw1: USB HID v1.10 Keyboard [BTC USB Multimedia Keyboard] on usb-0000:00:1d.1-1/input0
[ 5.053716] input: BTC USB Multimedia Keyboard as /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1/input/input7
[ 5.080643] generic-usb 0003:046D:C313.0003: input,hiddev96,hidraw2: USB HID v1.10 Device [BTC USB Multimedia Keyboard] on usb-0000:00:1d.1-1/input1
[ 5.080657] usbcore: registered new interface driver usbhid
[ 5.080669] usbhid: v2.6:USB HID core driver
[ 5.144650] usb 3-2: SN9C10[12] PC Camera Controller detected (vidid 0x0C45:0x6029)
[ 5.210646] usb 3-2: PAS106B image sensor detected
[ 5.704675] usb 3-2: Initialization succeeded
[ 5.704748] usb 3-2: V4L2 device registered as /dev/video0
[ 5.704750] usb 3-2: Optional device control through 'sysfs' interface disabled
[ 5.704769] usbcore: registered new interface driver sn9c102
[ 604.562974] usb 3-2: usb_submit_urb() failed, error -28
 
Old 01-21-2010, 04:43 PM   #5
jfmas
LQ Newbie
 
Registered: Sep 2009
Location: Mexico
Distribution: fedora
Posts: 4

Original Poster
Rep: Reputation: 0
any idea ???? an alternative question is there is a brand/model of cable which really work work with ubuntu ??
 
Old 01-22-2010, 12:54 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Is it a "Desktop Computer" ?

A ' pci card parallel port ' can be used : USD 6.

http://www.google.com/products?hl=en...prsugg&show=dd
... $ 6.54 .... $ 6.64

http://www.amazon.com/Hi-Speed-Paral.../dp/B001MWARZS
.....
 
Old 01-22-2010, 11:34 PM   #7
jfmas
LQ Newbie
 
Registered: Sep 2009
Location: Mexico
Distribution: fedora
Posts: 4

Original Poster
Rep: Reputation: 0
thanks, Yes it a desktop. I will try installing the card, will have I to configure the card as a new port ?
 
Old 01-24-2010, 04:56 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The new port will show up automagically, I hope,
as : lp0

I only use parallel ports ( one computer has two,
for two printers ) and I never setup any ports on
a modern Linux.

May be a printer setup is required ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Print via Parallel to USB cable gramofenomeno Linux - General 3 07-30-2009 01:32 PM
linux driver needed for 20x4 LCD connected via parallel to USB cable cayo Linux - Newbie 2 01-22-2008 09:27 AM
driver needed for R Driver II USB to IDE cable for Ent . Linux 4.0 byju_das Linux - Hardware 1 12-01-2006 01:48 PM
R-Driver II usb 2.0 to ide cable driver for red hat Enterprise Edition 4. byju_das Linux - Hardware 0 11-22-2006 11:37 PM
parallel scanner to usb cable connection bighooked Linux - Hardware 3 11-21-2004 10:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration